/* Parkside Youth Theme - Turquoise Color Palette */
/* Color Variables */
:root {
    --gray-turquoise: #89b2ad;
    --dark-gray-azure: #0f1b1d;
    --alt-dark-turquoise: #203330;
}

/* YouTube Video Background */
.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.video-container iframe,
.video-container #youtube-player {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100vw;
    min-height: 100vh;
    width: 177.78vh;
    height: 100vh;
    transform: translate(-50%, -50%) scale(1.2);
}

@media screen and (max-aspect-ratio: 16/9) {
    .video-container iframe,
    .video-container #youtube-player {
        width: 100vw;
        height: 56.25vw;
        transform: translate(-50%, -50%) scale(1.3);
    }
}

.text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* Hide default slideshow when using video background */
.slideshow {
    display: none !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    min-height: 100vh;
    padding-bottom: 5rem;
}

.hero-bottom-content {
    position: absolute;
    bottom: 15%;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
}

.hero-bottom-content .command {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Text overlay positioning for homepage - enlarged and moved down */
.text-overlay {
    background-size: 120% auto;
    background-position: center calc(50% + 150px);
}

/* Responsive text overlays - crop and zoom on smaller screens */
@media screen and (max-width: 1400px) {
    .text-overlay {
        background-size: 140% auto;
    }
}

@media screen and (max-width: 1024px) {
    .text-overlay {
        background-size: 180% auto;
    }
}

@media screen and (max-width: 768px) {
    .text-overlay {
        background-size: 220% auto;
    }
}

@media screen and (max-width: 480px) {
    .text-overlay {
        background-size: 280% auto;
    }
}

/* Button Styles - Turquoise Theme */
.light-btn {
    border: 2px solid #89b2ad !important;
    color: #89b2ad !important;
    background: transparent !important;
}

.light-btn:hover {
    background: #89b2ad !important;
    color: #0f1b1d !important;
}

/* Arrow colors in buttons */
.light-btn .ask-to-scroll .arrow span {
    background: #89b2ad !important;
}

.light-btn:hover .ask-to-scroll .arrow span {
    background: #0f1b1d !important;
}

/* Hamburger menu color */
#small-screen-menu {
    background: #203330 !important;
    border: 1px solid rgba(137, 178, 173, 0.3) !important;
}

#small-screen-menu:hover,
#small-screen-menu:active,
#small-screen-menu:focus {
    background: #203330 !important;
}

#small-screen-menu span.custom-menu,
#small-screen-menu span.custom-menu:before,
#small-screen-menu span.custom-menu:after {
    background-color: #89b2ad !important;
}

#small-screen-menu.open span.custom-menu {
    background-color: transparent !important;
}

/* Logo swap - default: show desktop, hide mobile */
.logo-mobile {
    display: none;
}

.logo-desktop {
    display: block;
}

/* Section backgrounds */
.section {
    background: linear-gradient(180deg, rgba(15, 27, 29, 0.85) 0%, rgba(32, 51, 48, 0.9) 100%);
}

/* Section name/label styling */
.section-name {
    color: #89b2ad !important;
}

/* Separator styling */
.separator {
    background: #89b2ad !important;
}

/* Links in text */
.link_in_text {
    color: #89b2ad !important;
}

.link_in_text:hover {
    color: #ffffff !important;
}

/* About list bullets */
.about-list li::before {
    color: #89b2ad !important;
}

/* Form styling */
.form-control {
    border-color: rgba(137, 178, 173, 0.3) !important;
    background: rgba(32, 51, 48, 0.5) !important;
    color: #ffffff !important;
}

.form-control:focus {
    border-color: #89b2ad !important;
    box-shadow: 0 0 0 0.2rem rgba(137, 178, 173, 0.25) !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Submit button */
.submit {
    background: #203330 !important;
    border: 2px solid #89b2ad !important;
    color: #89b2ad !important;
}

.submit:hover {
    background: #89b2ad !important;
    color: #0f1b1d !important;
}

/* Footer styling */
footer {
    background: rgba(15, 27, 29, 0.95) !important;
}

footer .line {
    background: rgba(137, 178, 173, 0.3) !important;
}

footer a {
    color: #89b2ad !important;
}

footer a:hover {
    color: #ffffff !important;
}

/* Dialog/Popup styling */
.dialog__content {
    background: #0f1b1d !important;
    border: 1px solid rgba(137, 178, 173, 0.3) !important;
}

.dialog-inner h3 {
    color: #89b2ad !important;
}

.close-newsletter {
    color: #89b2ad !important;
}

.close-newsletter:hover {
    color: #ffffff !important;
}

/* Block items (gallery cards) */
.block-item h3 {
    color: #89b2ad !important;
}

.block-item h3 small {
    color: rgba(137, 178, 173, 0.7) !important;
}

/* Navigation dots */
#fp-nav ul li a span {
    background: #89b2ad !important;
}

/* Contact section headings */
#section3 h4 {
    color: #89b2ad !important;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    /* Mobile video - zoom to fit height */
    .video-container iframe,
    .video-container #youtube-player {
        width: auto !important;
        height: 100vh !important;
        min-width: 177.78vh !important;
        transform: translate(-50%, -50%) scale(1.2) !important;
    }
    
    /* Mobile text overlay - add top padding/spacing and enlarge */
    .text-overlay {
        background-size: auto 120% !important;
        background-position: center 70% !important;
        top: 100px !important;
    }
    
    .hero-background {
        padding-top: 100px !important;
    }
    
    /* Mobile hero content adjustments */
    .hero-content {
        padding-bottom: 3rem !important;
    }
    
    .hero-bottom-content {
        bottom: 10% !important;
        left: 0 !important;
        right: 0 !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    .hero-bottom-content .command {
        flex-direction: column !important;
        gap: 1.5rem !important;
        padding: 0 1rem;
        align-items: center !important;
    }
    
    .light-btn {
        width: auto !important;
        max-width: 280px !important;
        font-size: 1.2rem !important;
        padding: 1rem 2rem !important;
        margin-bottom: 0.5rem !important;
        display: inline-block !important;
        text-align: center !important;
    }
    
    /* Mobile logo swap - show black icon, hide white logo */
    .logo-desktop {
        display: none !important;
    }
    
    .logo-mobile {
        display: block !important;
        max-width: 50px !important;
    }
    
    /* Force hamburger menu to turquoise on mobile */
    #small-screen-menu {
        background: #203330 !important;
        border: 1px solid rgba(137, 178, 173, 0.3) !important;
    }
    
    #small-screen-menu:hover,
    #small-screen-menu:active,
    #small-screen-menu:focus {
        background: #203330 !important;
    }
    
    #small-screen-menu span.custom-menu,
    #small-screen-menu span.custom-menu:before,
    #small-screen-menu span.custom-menu:after {
        background-color: #89b2ad !important;
    }
    
    #small-screen-menu.open span.custom-menu {
        background-color: transparent !important;
    }
}
