/* Hero Section Styles */
.hero-section {
    position: relative;
    /*min-height: 100vh;*/
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Video Background */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    z-index: 1;
}

/* Video Overlay */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(32, 27, 29, 0.8) 0%,
            rgba(32, 27, 29, 0.7) 50%,
            rgba(233, 191, 110, 0.4) 100%);
    z-index: 2;
}

/* Fallback Background */
.hero-fallback-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*  background: linear-gradient(135deg, #201b1d 0%, #2d2529 50%, #3a2f33 100%);*/
    background: linear-gradient(180deg, rgba(32, 32, 32, 0.85) 0%, rgba(32, 32, 32, 0.3) 51.04%, rgba(32, 32, 32, 0.75) 100%), linear-gradient(0deg, rgba(32, 32, 32, 0.25), rgba(32, 32, 32, 0.25));
    z-index: 0;
}

/* Animated Elements */
.hero-animated-elements {
    background: rgba(0,0,0,0.4);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    pointer-events: none;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 20;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-content {
        padding: 0 2rem;
    }
}

/* Hero Badge */
.hero-badge {
    line-height: 0;
    display: inline-block;
    padding: 1.25rem 1.75rem;
    background: rgba(233, 191, 110, 0.2);
    border: 1px solid rgba(233, 191, 110, 0.4);
    border-radius: 9999px;
    color: #e9bf6e;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

/* Hero Title */
.hero-title {
    font-size: 2rem;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 5rem;
    }
}

/* Hero Description */
.hero-description {
    font-size: 1rem;
    font-family: "Inter", sans-serif;
    color: rgba(255, 255, 255, 0.9);
    line-height: 2;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.2rem;
    }
}

/* CTA Container */
.hero-cta-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-cta-container {
        flex-direction: row;
    }
}

/* CTA Buttons */
.hero-cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 1rem 3rem;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.hero-cta-primary {
    background-color: #e9bf6e;
    color: #201b1d;
    border: 2px solid #e9bf6e;
    box-shadow: 0 10px 30px rgba(233, 191, 110, 0.3);
}

.hero-cta-primary:hover {
    box-shadow: 0 15px 40px rgba(233, 191, 110, 0.4);
    transform: translateY(-3px);
}

.hero-cta-primary-inv {
    background: #FFF;
    color: #201b1d;
    border: 2px solid #e9bf6e;
    box-shadow: 0 10px 30px rgba(233, 191, 110, 0.3);
}

.hero-cta-primary-inv:hover {
    box-shadow: 0 15px 40px rgba(233, 191, 110, 0.4);
    transform: translateY(-3px);
}

.hero-cta-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-cta-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

.hero-cta-secondary:before, .hero-cta-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.hero-cta-secondary:hover:before, .hero-cta-primary:hover:before {
    left: 100%;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(233, 191, 110, 0.3);
}

@media (min-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-number {
    font-size: 2rem;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    color: #e9bf6e;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .hero-stat-number {
        font-size: 2.5rem;
    }
}

.hero-stat-label {
    font-size: 0.875rem;
    font-family: "Inter", sans-serif;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
}

.scroll-indicator-container {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid rgba(233, 191, 110, 0.8);
    border-radius: 1.25rem;
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
}

.scroll-indicator-dot {
    width: 0.25rem;
    height: 0.75rem;
    background-color: #e9bf6e;
    border-radius: 0.125rem;
    animation: scroll-dot 2s infinite;
}

.scroll-indicator-text {
    font-size: 0.75rem;
    font-family: "Inter", sans-serif;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

/* Video Controls */
.hero-video-controls {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 20;
    display: flex;
    gap: 0.5rem;
}

.video-control-btn {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-control-btn:hover {
    background: rgba(233, 191, 110, 0.8);
    color: #201b1d;
    transform: scale(1.1);
}

/* Animations */
@keyframes bounce {

    0%,
    20%,
    53%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40%,
    43% {
        transform: translateX(-50%) translateY(-10px);
    }

    70% {
        transform: translateX(-50%) translateY(-5px);
    }

    90% {
        transform: translateX(-50%) translateY(-2px);
    }
}

@keyframes scroll-dot {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0.3;
        transform: translateY(0.5rem);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Optimizations */
@media (max-width: 767px) {
    .hero-video {
        /* On mobile, prioritize performance */
        display: none;
    }

    .hero-fallback-bg {
        background-image: url("/placeholder.svg?height=800&width=400");
        background-size: cover;
        background-position: center;
    }

    .hero-video-controls {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta-button {
        padding: 0.875rem 1.5rem;
        font-size: .9rem;
        width: 100%;
        justify-content: center;
    }
    
    .hero-cta-container{
        margin-bottom: 0px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-scroll-indicator {
        animation: none;
    }

    .scroll-indicator-dot {
        animation: none;
    }

    .hero-animated-elements {
        display: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .hero-video-overlay {
        background: rgba(0, 0, 0, 0.8);
    }

    .hero-badge {
        background: rgba(233, 191, 110, 0.9);
        color: #201b1d;
    }
}
