/* HERO SECTION */
.hero-section {
    position: relative;
    width: 100%;
    height: 75vh; /* Full screen height */
    overflow: hidden;
     display: flex;
     z-index: 1;
     margin-top: 130px;
     scroll-snap-align: start;
     
}

/* Background container */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* Background image (temporary until video is added) */
.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark overlay (0.3 opacity) */
.hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 16, 37, 0.30);
    z-index: 2;
}

/* HERO CONTENT LAYER */
.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3; /* Above overlay */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

/* HERO LOGO (below gold line, left) */
.hero-logo img {
    height: 70px;
    margin-top: 35px;  /* Distance from gold line */
    margin-left: 70px; /* Distance from left edge */
}

/* MAIN HEADLINE TEXT */
.hero-text {
    position: absolute;
    top: 42%;        /* vertically centered */
    left: 50%;       /* perfectly matches design */
    transform: translate(-50%, -50%);
    text-align: center;
    
}

.hero-text h1 {
    font-family: 'BPG Arial', sans-serif;
    font-size: 48px;
    font-weight: bold;
    color: white;
    margin: 0;
    line-height: 1.2;
}

/* SEARCH BAR (bottom-right) */
.hero-search {
    position: absolute;
    right: 60px;
    bottom: 90px;
    display: flex;
    align-items: center;
    background: white;
    padding: 0;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.hero-search input {
    border: none;
    padding: 14px 20px;
    font-size: 16px;
    width: 320px;
    outline: none;
    font-family: 'BPG Arial', sans-serif;
}

.hero-search button {
    background: #C8A046;
    color: white;
    border: none;
    padding: 14px 24px;
    font-size: 18px;
    cursor: pointer;
    font-family: 'BPG Arial', sans-serif;
    transition: 0.3s;
}

.hero-search button:hover {
    background: #e6b758;
}


.section-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;            /* Slightly thicker for premium feel */
    background-color: #C8A046;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}


/* ============================
   RESPONSIVE HERO FIX (60vh)
   ============================ */
@media (max-width: 1024px) {
    .hero-section {
        height: 60vh;
        margin-top: 110px;
        scroll-snap-align: none; /* prevents weird scroll jumps */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* Background always fully visible */
    .hero-bg-img {
        object-position: center;
    }

    /* HERO CONTENT STACKED */
    .hero-content {
        position: static;
        width: 100%;
        height: auto;
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    /* LOGO */
    .hero-logo img {
        height: 55px;
        margin: 0 0 10px;
        margin-top: 25px;
    }

    /* TITLE */
    .hero-text {
        position: static;
        transform: none;
        margin-top: 25px;
        width: 100%;
    }

    .hero-text h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    /* SEARCH BAR MOVES CENTER */
    .hero-search {
        position: static;
        margin-top: 60px;
        margin-bottom: 20px;
        width: 90%;
        max-width: 450px;
        right: auto;
        bottom: auto;
    }

    .hero-search input {
        width: 100%;
        font-size: 15px;
    }

    .hero-search button {
        font-size: 16px;
        padding: 14px 20px;
    }
}

/* Mobile phones (425px and smaller) */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 26px;
    }
    .hero-search {
        width: 100%;
    }
    .hero-search input {
        padding: 12px 16px;
    }
    .hero-search button {
        padding: 12px 18px;
    }
}
@media (max-width: 1024px) {
    html, body {
        scroll-snap-type: none !important;
        overflow-y: auto !important;
    }
}

@media (max-width: 768px) {
    .hero-section {
        margin-top: 320px !important;  /* or 240 if needed */
    }
}

@media (max-width: 1024px) {

    /* Push hero content slightly downward */
    .hero-logo img {
        margin-top: 55px;   /* was 35px */
        margin-left: 40px;
    }

    /* More space between logo and text */
    .hero-text {
        top: 48%;   /* was 42% */
        
    }

    .hero-text h1 {
        font-size: 42px; /* slightly smaller for balance */
        line-height: 1.25;
    }

    /* Push search bar further down */
    .hero-search {
        bottom: 70px;  /* was 90px */
        transform: scale(0.95); /* slightly smaller on tablets */
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 35px; /* slightly smaller for balance */
        line-height: 1.1;
    }
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}