/* 
   Groovy Gorilla Studios 
   Main Stylesheet
*/

:root {
    /* Brand Colors */
    --color-teal: #4ECDC4;
    --color-teal-dark: #3DBDB4;
    --color-yellow: #FFE66D;
    --color-orange: #FF6B6B;
    --color-orange-dark: #EE5A5A;
    --color-brown: #8D6E63;
    --color-green: #95E1D3;
    --color-offwhite: #FEFEFA;
    --color-text-main: #2D3436;
    --color-text-light: #636E72;
    --color-footer-bg: #2B7A75;
    /* Darker teal variant */
    --color-white: #FFFFFF;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;

    /* Transitions */
    --transition-fast: 0.2s ease;
}

/* Base Reset & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Quicksand', sans-serif;
    background-color: var(--color-offwhite);
    color: var(--color-text-main);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

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

.section {
    padding: var(--spacing-lg) 0;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--color-orange);
    color: var(--color-white);
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

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

/* Navigation */
.navbar {
    background-color: var(--color-offwhite);
    /* Match bg */
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.2rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    /* Ensure dropdown positions correctly */
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-wrapper:hover .logo-img {
    transform: rotate(10deg) scale(1.1);
}

.logo-text {
    font-weight: 700;
    font-size: 1.2rem;
    color: #0B3D35;
    /* Dark Green */
}

/* Desktop Menu Container */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    font-weight: 700;
    color: var(--color-text-light);
    font-size: 1rem;
}

.nav-link:hover {
    color: var(--color-teal);
}

.nav-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-text-main);
    border-radius: 3px;
    transition: 0.3s;
}

/* Hero Section - Overlay Style */
.hero {
    padding: var(--spacing-xl) 0;
    min-height: 100vh;
    /* Full Height */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Remove old background */
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: right center;
    /* Focus on right side (characters) */
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* Cover full width to control gradient stops */
    height: 100%;
    /* Solid color for text area on left, fading to transparent on right */
    background: linear-gradient(to right, #F0F9F6 45%, rgba(240, 249, 246, 0.8) 60%, rgba(240, 249, 246, 0) 100%);
    z-index: 1;
}

.hero-bg-notes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.note {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 230, 109, 0.6);
    /* Soft Yellow */
    animation: floatNote 6s ease-in-out infinite;
}

.note-1 {
    top: 10%;
    left: 25%;
    animation-delay: 0s;
    font-size: 3rem;
}

/* Moved right */
.note-2 {
    top: 20%;
    right: 15%;
    animation-delay: 1.5s;
    font-size: 2.5rem;
}

.note-3 {
    bottom: 30%;
    left: 5%;
    animation-delay: 3s;
    font-size: 2rem;
}

.note-4 {
    top: 40%;
    right: 5%;
    animation-delay: 4.5s;
    font-size: 3.5rem;
}

.note-5 {
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2s;
    font-size: 2.5rem;
}

/* Centered/Lower */

@keyframes floatNote {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.hero-container {
    /* Updated for centered layout */
    display: block;
    /* No longer grid */
    position: relative;
    z-index: 3;
    max-width: 1200px;
    /* Full width container */
}

/* Reset centers */
/* .text-center { text-align: center; } - Keep utility, but don't apply to hero content implicitly */
/* .justify-center { justify-content: center; } */

.hero-content {
    max-width: 600px;
    /* Constrain text to left side */
    text-align: left;
}

.white-text {
    /* Reverting to dark text since overlay is light/blur */
    color: #064E3B;
    text-shadow: none;
}

.hero-badge {
    display: inline-block;
    background-color: #FEF3C7;
    color: #92400E;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: #064E3B;
    /* Dark Green */
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1);
    /* Subtle definition */
    font-weight: 800;
    /* Ensure Boldest */
}

.highlight-text {
    color: var(--color-yellow);
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to right, #F59E0B, #FBBF24);
    -webkit-background-clip: text;
    background-clip: text;
    /* Fix warning */
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #4B5563;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    text-shadow: none;
    margin-left: 0;
    margin-right: 0;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    justify-content: flex-start;
    /* Left align */
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #064E3B;
    /* Dark Green border */
    color: #064E3B;
    border-radius: var(--radius-pill);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0.8rem 1.8rem;
    text-align: center;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: #064E3B;
    color: white;
}

.btn-secondary-white {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    border-radius: var(--radius-pill);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0.8rem 1.8rem;
    text-align: center;
    backdrop-filter: blur(5px);
    display: inline-block;
}

.btn-secondary-white:hover {
    background-color: white;
    color: var(--color-teal);
}

.btn-secondary-custom {
    background-color: transparent;
    border: 2px solid #064E3B;
    color: #064E3B;
    border-radius: var(--radius-pill);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0.8rem 1.8rem;
    text-align: center;
    display: inline-block;
}

.btn-secondary-custom:hover {
    background-color: #064E3B;
    color: white;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-sm);
    justify-content: flex-start;
    /* Left align */
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-weight: 800;
    font-size: 1.5rem;
    color: #EA580C;
    /* Orange-Red */
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-weight: 600;
}

.hero-stats .stat-number {
    color: #EA580C;
    text-shadow: none;
}

.hero-stats .stat-label {
    color: var(--color-text-light);
    text-shadow: none;
}

/* Pop color */

.hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 4px solid white;
    /* Frame effect */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* General Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-brown);
    margin-bottom: var(--spacing-xs);
}

.section-decoration-line {
    width: 60px;
    height: 6px;
    background-color: var(--color-yellow);
    border-radius: var(--radius-pill);
    margin: 0 auto var(--spacing-md);
}

.section-text {
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.1rem;
}

/* Channel Section (Blue Fade Style) */
.channel-section {
    background: linear-gradient(180deg, #3DBDB4 0%, #E0F2F1 100%);
    /* Teal to Light */
    color: white;
    padding: var(--spacing-xl) 0;
    text-align: center;
    /* Fade Masks */
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

.channel-section .section-title {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.channel-section .section-decoration-line {
    background-color: var(--color-yellow);
    height: 8px;
    width: 100px;
    margin-bottom: var(--spacing-lg);
}

.section-text-white {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
    font-weight: 500;
}

.feature-list {
    display: none;
    /* Hiding feature list to match cleaner visual ref for this section */
}

/* Carousel Styles */
.carousel-card {
    display: block;
    /* Make anchor block */
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.carousel-card:hover {
    transform: translateY(-5px);
}

.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #eee;
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

/* Active slide visible */
.carousel-slide.active {
    opacity: 1;
}

/* Play Button Style for "Magic in Action" vibe */
.magic-play-container {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    margin: var(--spacing-lg) auto;
    max-width: 800px;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.play-btn-large {
    width: 80px;
    height: 80px;
    background-color: #EA580C;
    /* Orange Red */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.4);
    transition: transform var(--transition-fast);
}

.play-btn-large:hover {
    transform: scale(1.1);
    background-color: #C2410C;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.video-card {
    text-align: center;
    background: white;
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.video-caption {
    font-weight: 700;
    color: var(--color-brown);
    /* Dark text on white card */
    margin-top: var(--spacing-sm);
}

/* Studio Section */
.studio-section {
    background-color: #FDF6E3;
    /* Soft warm background */
}

.studio-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.badge {
    background-color: var(--color-yellow);
    color: var(--color-brown);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Coming Soon Section */
.coming-soon-section {
    background-color: #FFFFFF;
    /* Pure White */
    color: var(--color-text-main);
    padding: var(--spacing-xl) 0;
    border-bottom: 20px solid #FFFFFF;
    /* Remove visual connector clash */
}

.coming-soon-tag {
    display: inline-block;
    background-color: var(--color-green);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.coming-soon-section .section-title {
    color: #064E3B;
}

.coming-soon-section .section-text {
    color: var(--color-text-light);
}

.max-width-text {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background-color: #064E3B;
    /* Dark Green */
    color: white;
    /* Text White */
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid-container {
    display: flex;
    /* Flexbox for better fluid spread */
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--spacing-md);
    text-align: left;
    margin-bottom: var(--spacing-lg);
}

.footer-col {
    flex: 1;
    min-width: 150px;
}

.brand-col {
    flex: 1.5;
    min-width: 250px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--spacing-sm);
}

.footer-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
    line-height: 1.5;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    color: var(--color-yellow);
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
    font-weight: 500;
}

.footer-link {
    opacity: 0.8;
    color: white;
    transition: opacity 0.2s;
    font-size: 0.95rem;
}

.footer-link:hover {
    opacity: 1;
    text-decoration: none;
    color: var(--color-yellow);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    display: block;
    color: white;
    opacity: 0.9;
    font-weight: 600;
    transition: transform var(--transition-fast);
}

.social-link:hover {
    transform: translateX(5px);
    color: var(--color-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-sm);
    margin-top: var(--spacing-sm);
    text-align: center;
}

.footer-copy {
    font-size: 0.85rem;
    opacity: 0.5;
    margin-top: var(--spacing-sm);
}

.made-with {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 2px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-md);
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        /* Image on top for mobile */
        margin-bottom: var(--spacing-sm);
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .video-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Mobile Nav */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        /* display: none by default to prevent layout interference */
        display: none !important;
        gap: var(--spacing-md);
        align-items: center;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        display: flex !important;
        animation: slideDown 0.3s ease-out forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links {
        /* Reset Desktop Absolute Positioning */
        position: static;
        transform: none;
        flex-direction: column;
        gap: var(--spacing-sm);
        margin-bottom: 0;
        text-align: center;
    }

    .nav-btn {
        width: 100%;
    }
}