/* Hero Section Styles - Full Width Fix */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px; /* Increased minimum height */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Break out of container constraints */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    left: 0;
    right: 0;
    /* Go to very top of page */
    margin-top: -60px; /* Compensate for header height */
    padding-top: 60px; /* Add padding to prevent content overlap */
    /* Initial state for fade-in animation */
    opacity: 0;
    animation: heroFadeIn 1.5s ease-out forwards;
}

/* Hero section fade-in animation */
@keyframes heroFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Background Images Container */
.hero-backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Optional: creates parallax effect */
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    /* Zoom effect for more vertical coverage */
    transform: scale(1.1);
}

.hero-bg.active {
    opacity: 1;
}

/* Dark Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 0.35rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    opacity: 0.9;
    font-family: 'Segoe UI', 'Arial', sans-serif;
}

/* Animated white lines */
.hero-lines {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    z-index: 4;
    pointer-events: none;
}

.hero-line {
    position: absolute;
    top: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    width: 0;
    animation: lineExpand 1.5s ease-out 0.3s forwards;
}

.hero-line.left {
    left: 0;
    transform-origin: left center;
}

.hero-line.right {
    right: 0;
    transform-origin: right center;
}

/* Line expansion animation */
@keyframes lineExpand {
    from {
        width: 0;
    }
    to {
        width: calc(50% - 400px); /* Half width minus half of max content width */
    }
}

/* Navigation Dots */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 12px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero-dot.active {
    background: rgba(255, 255, 255, 0.9);
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Content Section */
.content-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Remove any default margins/padding that might constrain the hero */
.site-main {
    padding-top: 0;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Ensure body and html don't have margins affecting full width */
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        margin-top: 1rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
     .hero-content {
        max-width: 65vw;
     }
    .hero-section {
        min-height: 600px; /* Adjusted for mobile */
    }

    /* Remove parallax on mobile for better performance */
    .hero-bg {
        background-attachment: scroll;
    }

        .hero-bg {
        background-attachment: scroll;
    }




    /* Adjust line width for mobile */
    @keyframes lineExpand {
        from {
            width: 0;
        }
        to {
            width: calc(50% - 200px); /* Smaller content width on mobile */
        }
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-content {
        padding: 0 15px;
    }

    /* Further adjust line width for small mobile */
    @keyframes lineExpand {
        from {
            width: 0;
        }
        to {
            width: calc(50% - 100px); /* Even smaller content width */
        }
    }

}





/* Experimenting */

@media (max-width: 768px) {

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-content {
        padding: 0 15px;
    }
    .hero-section {
        height: 70vh;
    }
}












/* Core Section */
.static-hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-top: -60px;
    padding-top: 60px;
    opacity: 0;
    animation: heroFadeIn 1.5s ease-out forwards;
}

/* Background */
.static-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transform: scale(1.1);
}

/* Overlay */
.static-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Content */
.static-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: textFadeInUp 1.2s ease-out 0.8s forwards;
}

.static-hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 0rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.static-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    opacity: 0.9;
    font-family: 'Segoe UI', 'Arial', sans-serif;
}

/* Animated Lines */
.static-hero-lines {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    z-index: 4;
    pointer-events: none;
}

.static-hero-line {
    position: absolute;
    top: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    width: 0;
    animation: lineExpand 1.5s ease-out 0.3s forwards;
}

.left-line {
    left: 0;
    transform-origin: left center;
}

.right-line {
    right: 0;
    transform-origin: right center;
}



/* ========================================= */
/* RESPONSIVE ADJUSTMENTS FOR STATIC HERO */
/* ========================================= */
@media (max-width: 768px) {
    .static-hero-bg {
        background-attachment: scroll;
    }

    .static-hero-title {
        font-size: 2.5rem;
    }

    .static-hero-subtitle {
        font-size: 1.2rem;
    }

    .static-hero-content {
        max-width: 50vw;
    }

    .static-hero-section {
        min-height: 600px;
    }
}

@media (max-width: 480px) {
    .static-hero-title {
        font-size: 2rem;
    }

    .static-hero-subtitle {
        font-size: 1rem;
    }

    .static-hero-content {
        padding: 0 15px;
    }
    .static-hero-section {
        height: 70vh;
    }
}

.hero-title {
    opacity: 0;
    transform: scale(0.8);
    animation: titleZoomIn 0.75s ease-out 0.3s forwards;
}

@keyframes titleZoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: subtitleFadeUp 1s ease-out 0.6s forwards;
}

@keyframes subtitleFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}





/* ======= Homepage buttons ========== */

.hero-content {
    text-align: center;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}



.hero-btn {
    margin-top: 1.2rem;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    font-size: 1.2rem; /* or try 1.25rem for a bolder look */

    display: inline-block;
    background-color: var(--brand-dark);
    color: white;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease, border-radius 0.8s ease;
}



.hero-btn:hover {
  background-color: #ffcc00;
  border-radius: 20rem;
}


/* Animations */
@keyframes floatIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.hero-subtitle.animate-float {
    animation: floatIn 1s ease forwards;
}

.hero-title.animate-zoom {
    animation: zoomIn 1s ease forwards;
}

.hero-btn.animate-float {
    animation: floatIn 1.2s ease forwards;
}

