/* Hero text animations */
.hero-animate {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1.5s ease-out forwards;
}

.hero-delay {
    animation-delay: 0.5s;
}

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

/* New Hero Section Styling */
#hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Fallback background while videos load - use brand colors */
    background: linear-gradient(135deg, #f8f0f2, #f5f0eb);
}

#video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* NUCLEAR OPTION - Hide ALL video controls on ALL browsers */
#video-background video::-webkit-media-controls,
#video-background video::-webkit-media-controls-panel,
#video-background video::-webkit-media-controls-play-button,
#video-background video::-webkit-media-controls-start-playback-button,
#video-background video::-webkit-media-controls-overlay-play-button,
#video-background video::-webkit-media-controls-current-time-display,
#video-background video::-webkit-media-controls-time-remaining-display,
#video-background video::-webkit-media-controls-timeline,
#video-background video::-webkit-media-controls-volume-slider,
#video-background video::-webkit-media-controls-mute-button,
#video-background video::-webkit-media-controls-fullscreen-button,
#video-background video::-webkit-media-controls-enclosure,
#video-background video::-webkit-media-controls-overlay-enclosure,
#video-background video::-webkit-media-controls-wireless-playback-picker-button,
#video-background video::-webkit-media-controls-picture-in-picture-button {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Android Chrome specific video control hiding */
#video-background video::-webkit-media-controls-overlay-play-button {
    display: none !important;
    -webkit-appearance: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Create invisible overlay to block any play buttons */
#video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 999;
    pointer-events: none;
}

/* Force no controls attribute on videos */
#video-background video[controls] {
    -webkit-appearance: none !important;
}

/* Android specific fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    #video-background video::-webkit-media-controls-overlay-play-button {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
    }
}

/* Scrolling text animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll {
    /* Animation disabled for performance */
    animation: none;
}

/* Fairytale story scroll animation */
@keyframes fairytale-scroll {
    0% {
        transform: translateX(100vw);
    }
    100% {
        transform: translateX(-100%);
    }
}

.animate-fairytale-scroll {
    /* Animation disabled for performance */
    animation: none;
    display: inline-block;
    white-space: nowrap;
}

/* Jumbotron passion gradient with slow animation */
@keyframes passion-gradient-shift {
    0% {
        background: linear-gradient(45deg, #f8f0f2, #f5f0eb, #f8f0f2);
        background-size: 200% 200%;
        background-position: 0% 50%;
    }
    25% {
        background: linear-gradient(45deg, #f5f0eb, #f8f0f2, #f5f0eb);
        background-size: 200% 200%;
        background-position: 100% 50%;
    }
    50% {
        background: linear-gradient(45deg, #f8f0f2, #f5f0eb, #f8f0f2);
        background-size: 200% 200%;
        background-position: 50% 100%;
    }
    75% {
        background: linear-gradient(45deg, #f5f0eb, #f8f0f2, #f5f0eb);
        background-size: 200% 200%;
        background-position: 50% 0%;
    }
    100% {
        background: linear-gradient(45deg, #f8f0f2, #f5f0eb, #f8f0f2);
        background-size: 200% 200%;
        background-position: 0% 50%;
    }
}

.jumbotron-passion-gradient {
    background: linear-gradient(45deg, #f8f0f2, #f5f0eb, #f8f0f2);
    background-size: 200% 200%;
    /* Animation disabled for performance */
    animation: none;
    position: relative;
}

.jumbotron-text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
}

/* Video Loading Spinner */
#video-loader {
    transition: opacity 0.8s ease-out;
}

#video-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #c4391d;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { 
        transform: rotate(360deg); 
    }
}

/* Loading text pulse animation */
#video-loader p {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
    }
    50% { 
        opacity: 0.7; 
    }
}