/* --- CSS Reset & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color Palette */
    --color-bg: #0d1117;        /* Very dark navy/black background */
    --color-text-main: #ffffff; /* Main white text */
    --color-text-p: #a0a0a0;    /* Grey description text */
    --color-cyan: #10f1ee;      /* The primary cyan/aqua accent */
    --color-orange: #f5a623;    /* The primary orange accent */
    --color-orange-dark: #cc861c; /* A darker hover state for orange */

    /* Glow effect values */
    --glow-cyan-sm: 0 0 10px rgba(16, 241, 238, 0.6);
    --glow-cyan-lg: 0 0 25px rgba(16, 241, 238, 0.8),
                    0 0 50px rgba(16, 241, 238, 0.4);

    /* Main body font */
    --font-main: 'Montserrat', sans-serif;
    /* Special font for the logo */
    --font-logo: 'Orbitron', sans-serif;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header / Navbar --- */
.navbar {
    position: absolute; /* Kept at top of the page */
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    z-index: 1000; /* Stays above other elements */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    outline: none;
}

.logo-small img {
    /* Scaling logic:
       Min size: 35px (mobile)
       Preferred: 4vw (scales with viewport width)
       Max size: 55px (large desktop)
    */
    height: clamp(30px, 4vw, 33px);
    width: auto;
    display: block;
    filter: drop-shadow(0 0 0px transparent);
    transition: filter 0.3s ease, transform 0.3s ease;
    will-change: filter;
}

.logo-small-footer img {
    height: 33px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 0px transparent);
    transition: filter 0.3s ease, transform 0.3s ease;
    will-change: filter;
}

/* --- The Silhouette Glow Effect --- */
.logo-link:hover img {
    /* Reduced spread from 5px/12px to 3px/6px and lowered opacity to 0.3 */
    filter: drop-shadow(0 0 3px rgba(16, 241, 238, 0.5))
            drop-shadow(0 0 6px rgba(16, 241, 238, 0.3));

    /* Optional: Slightly brighten the logo itself to enhance the "on" feel */
    brightness: 1.1;
}

/* Ensure no default anchor styles interfere */
.logo-link:focus {
    outline: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    font-weight: 400;
    font-size: 0.95rem;
}

.nav-links a.active {
    color: var(--color-cyan);
    font-weight: 700;
}

.nav-links a:hover {
    color: var(--color-cyan);
    text-shadow: var(--glow-cyan-sm);
}

.top-right-btn {
    font-size: 0.9rem;
    font-weight: 700;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-family: var(--font-main);
    transition: background-color 0.2s, transform 0.1s, box-shadow 0.2s;
}

.btn-primary {
    background-color: var(--color-orange);
    color: #000000; /* Dark text on orange */
}

.btn-primary:hover {
    background-color: var(--color-orange-dark);
}

/* Sizes */
.large-btn {
    padding: 16px 30px;
    font-size: 1rem;
}

.navbar .top-right-btn {
    padding: 10px 22px;
    margin-right: -10px;
}

/* Active interaction state */
.btn:active {
    transform: scale(0.98);
}

/* Eye Pulse animation */
@keyframes eye-pulse {
    0%, 100% {
        opacity: 0.9;
        text-shadow: 0 0 30px rgba(16, 241, 238, 0.7);
    }
    50% {
        opacity: 1;
        text-shadow: 0 0 50px rgba(16, 241, 238, 1);
    }
}

/* --- Footer Styles --- */
.main-footer {
    background-color: var(--color-bg);
    border-top: 1px solid #1a1f26;
    padding: 40px 0px;
    margin-top: 50px;
    color: var(--color-text-p);
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Footer Left */
.footer-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-small-footer p {
    color: var(--color-text-main);
    font-family: var(--font-logo); /* Using your Orbitron font */
    font-weight: 700;
    font-size: 0.7rem;             /* Keep it small and elegant */
    letter-spacing: 5px;           /* Adds that "Entertainment" studio feel */
    padding: 10px 35px;               /* Small gap between logo and text */
    text-align: center;
    opacity: 0.8;                  /* Slightly subtle so it doesn't distract from the logo */
}

/* Footer Right */
.footer-right {
    text-align: right;
    line-height: 1.8;
}

.tagline {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Bobbing animation for the scroll down arrow */
@keyframes bob-up-down {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 12px); }
}

.menu-toggle {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    color: var(--color-text-main);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

.mobile-only-btn { display: none; }

/* Dropdown Container */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-trigger.active {
    color: var(--color-cyan) !important;
    font-weight: 700;
    text-shadow: var(--glow-cyan-sm);
}

/* The Secret Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #0d1117; /* Matches your bg */
    border: 1px solid rgba(16, 241, 238, 0.2);
    border-radius: 5px;
    min-width: 220px;
    padding: 10px 0px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* Show on Hover */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Dropdown Links */
.dropdown-menu a {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 12px 20px !important;
    font-size: 0.9rem !important;
    color: var(--color-text-p) !important;
    text-transform: none !important;
    transition: background 0.2s ease;
    width: 100%;
    text-align: left;
}

.dropdown-menu a:hover {
    background: rgba(16, 241, 238, 0.1);
    color: var(--color-cyan) !important;
}

/* Icon Colors within Dropdown */
.cyan-text { color: #10f1ee; }
.yellow-text { color: #ffd700; }
.green-text { color: #32cd32; }
.orange-text { color: #ffa500; }

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 280px;
}

/* Variant CTA for Service Page */
.secondary-variant {
    background: linear-gradient(135deg, rgba(13, 35, 40, 0.95) 0%, rgba(10, 15, 20, 0.95) 100%) !important;

    /* --- Flexbox Centering --- */
    display: flex;
    flex-direction: column;   /* Stack items vertically */
    align-items: center;      /* Center horizontally */
    justify-content: center;  /* Center vertically */
    text-align: center;       /* Ensure text lines are centered */

    padding: 60px 20px;       /* Added padding so the box has height */
    border-radius: 5px;      /* Consistent with your studio design */
}

/* Specifically target elements inside the banner to avoid global changes */
.secondary-variant h2 {
    margin: 0 0 15px 0;
    font-size: 2.2rem;         /* Matching your design specs */
}

.secondary-variant p {
    margin: 0 0 30px 0;
    max-width: 600px;         /* Keeps text from stretching too wide */
    line-height: 1.6;
}

.cyan-btn {
    background-color: #00e5ff !important;
    color: #000 !important;
    font-weight: 800 !important;
    border: none !important;
    padding: 16px 32px;       /* Increased padding for a better "Get Quote" look */
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease;
}

.cyan-btn:hover {
    transform: scale(1.05);   /* Subtle pop effect on hover */
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    .logo-large-glow { font-size: 6rem; letter-spacing: 8px; }
    .hero-headline { font-size: 3rem; }
}

@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu.mega-menu {
        display: flex;
        gap: 20px;          /* Reduced from 40px */
        padding: 20px;      /* Reduced from 30px */
        min-width: 300px;   /* Reduced from 600px */
        left: 50%;
        transform: translateX(-50%) translateY(10px);
    }

    .menu-column {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .column-title {
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--color-cyan);
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .dropdown-menu a {
        padding: 8px 0 !important;
        background: none !important;
        font-size: 0.95rem;
    }

    .menu-cta {
        background: rgba(16, 241, 238, 0.05);
        padding: 15px 10px 10px;
        border-radius: 5px;
        text-align: center;
        justify-content: center;
    }
}


@media (max-width: 768px) {
    .container { padding: 0 15px; }

    .navbar { height: 70px; }
    .navbar .top-right-btn { display: none; } /* Hide desktop button */

    .logo-large-glow { font-size: 4rem; letter-spacing: 5px; margin-bottom: 10px;}
    .hero-headline { font-size: 2.2rem; }
    .hero-description { font-size: 1rem; margin-bottom: 30px; }

    .cta-buttons {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;    /* This centers the buttons horizontally */
        gap: 15px;
        width: 100%;
    }

    .cta-buttons .btn {
        width: fit-content;
        min-width: 260px; /* Optional: keeps buttons consistent */
        text-align: center;
    }
    .large-btn { width: 100%; padding: 14px 20px; }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-left {
        flex-direction: column;
        gap: 5px;
    }

    .footer-right {
        text-align: center;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1001;
    }

    .hide-mobile {
        display: none; /* Hide the original desktop button */
    }

    .nav-links {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen */
        width: 80%;
        height: 100vh;
        background-color: #0d1117;
        padding: 100px 30px;
        gap: 25px;
        transition: right 0.4s ease-in-out;
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        overflow-y: auto; /* Allow scrolling if menu is long */
    }

    .nav-links.active {
        right: 0 !important;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .mobile-only-btn {
        display: inline-flex;
        margin-top: 20px;
    }

    .logo-small img {
        /* Ensuring it fits comfortably in the smaller mobile navbar */
        height: 25px;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-trigger {
        width: 100%;
        justify-content: space-between; /* Arrow to the right */
        font-size: 1.2rem;
    }

    .dropdown-menu {
        /* Reset all desktop positioning */
        position: static !important;
        transform: none !important;
        left: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none !important; /* Controlled by JS toggle */

        /* Mobile Styling */
        width: 100% !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: none !important;
        border-left: 2px solid var(--color-cyan) !important; /* Visual cue for nesting */
        margin-top: 10px;
        padding: 0 0 0 15px !important;
        box-shadow: none !important;
    }

    /* Show when toggled via JS */
    .dropdown.mobile-open .dropdown-menu {
        display: block !important;
    }

    .dropdown-menu a {
        padding: 15px 0 !important;
        font-size: 1rem !important;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .dropdown-trigger i {
        transition: transform 0.3s ease;
    }

    .dropdown.mobile-open .dropdown-trigger i {
        transform: rotate(180deg);
    }

    .mobile-only-btn {
        display: inline-flex !important;
        width: 100%;
        margin-top: 20px;
    }

    .column-title {
        display: block;
        padding: 15px 0 5px 0;
        font-size: 0.8rem;
        color: var(--color-orange);
        border-bottom: 1px solid rgba(255,255,255,0.1);
        margin-bottom: 10px;
    }
}
