/* ============================================
   Stream Rooms Media - Custom Styles
   Dark modern design inspired by MSG Broadcast
   ============================================ */

:root {
    --color-bg-dark: #0a0a0a;
    --color-bg-section: #111111;
    --color-bg-darker: #060606;
    --color-bg-card: #1a1a1a;
    --color-accent: #00c896;
    --color-accent-hover: #00e6ac;
    --color-text: #ffffff;
    --color-text-muted: #9ca3af;
    --color-border: #2a2a2a;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---- Base ---- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg-dark);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.text-accent {
    color: var(--color-accent) !important;
}

.text-muted-light {
    color: var(--color-text-muted);
}

.ls-2 {
    letter-spacing: 2px;
}

.fw-900 {
    font-weight: 900 !important;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* ---- Navigation ---- */

.navbar {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    z-index: 1050;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid var(--color-border);
    padding: 0.6rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.brand-accent {
    color: var(--color-accent);
}

.nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
    letter-spacing: 0.3px;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff !important;
}

.dropdown-menu-dark {
    background: #1a1a1a;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: rgba(0, 200, 150, 0.1);
    color: var(--color-accent);
}

.btn-accent {
    background: var(--color-accent);
    color: #000;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background: var(--color-accent-hover);
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 200, 150, 0.3);
}

.btn-outline-light {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    transform: translateY(-1px);
}

/* ---- Hero Section ---- */

.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #111827 50%, #0a0a0a 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 200, 150, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 100, 200, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="g" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="1" cy="1" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect fill="url(%23g)" width="100" height="100"/></svg>');
    z-index: 1;
}

.z-2 {
    z-index: 2;
}

.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-accent);
}

.hero-title {
    line-height: 1.05;
    letter-spacing: -2px;
}

.hero-subtitle {
    color: var(--color-text-muted);
    font-weight: 300;
    font-size: 1.15rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ---- Sections ---- */

.section-dark {
    background: var(--color-bg-section);
}

.section-darker {
    background: var(--color-bg-dark);
}

.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
}

/* ---- Service Cards ---- */

.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    border-color: rgba(0, 200, 150, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 200, 150, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-accent);
}

.service-link {
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-link {
    letter-spacing: 0.5px;
}

/* ---- Feature Cards ---- */

.feature-card {
    padding: 2rem;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 200, 150, 0.08);
    border: 1px solid rgba(0, 200, 150, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(0, 200, 150, 0.15);
    transform: scale(1.1);
}

/* ---- Testimonials ---- */

.testimonial-card {
    max-width: 700px;
    text-align: center;
    padding: 2rem;
}

.carousel-nav {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-nav:hover {
    background: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    color: #000 !important;
}

/* ---- CTA Section ---- */

.cta-section {
    background: linear-gradient(135deg, #0a1a15 0%, #0a0a0a 50%, #0a1020 100%);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

/* ---- Footer ---- */

.footer-section {
    background: var(--color-bg-darker);
    border-top: 1px solid var(--color-border);
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-accent);
}

/* ---- Inner Page Hero ---- */

.page-hero {
    padding: 10rem 0 4rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #111827 100%);
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 200, 150, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

/* ---- Service Detail Pages ---- */

.service-detail-section {
    background: var(--color-bg-section);
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}

.service-list li:last-child {
    border-bottom: none;
}

.info-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
}

/* ---- Contact Form ---- */

.form-control,
.form-select {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    color: #fff;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background: var(--color-bg-card);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 200, 150, 0.1);
    color: #fff;
}

.form-control::placeholder {
    color: #666;
}

.form-label {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

/* ---- About Page ---- */

.team-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(0, 200, 150, 0.2), rgba(0, 100, 200, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--color-accent);
    margin: 0 auto;
}

/* ---- Stat Counter ---- */

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ---- Responsive ---- */

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .py-6 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .navbar-collapse {
        background: rgba(10, 10, 10, 0.98);
        border-radius: 12px;
        padding: 1rem;
        margin-top: 0.5rem;
        border: 1px solid var(--color-border);
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}

/* ---- Animations ---- */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
