/* Hero Section Styles */

/* Header */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: var(--z-header);
    background-color: transparent;
    /* Transparent initially */
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: all 0.3s ease;
    padding: 20px 0;
    /* Default padding */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#main-header.scrolled {
    padding: 12px 0;
    background-color: rgba(104, 68, 36, 0.95);
    /* Solid brand brown with slight transparency */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    /* Reduced size */
    width: auto;
    object-fit: contain;
}

/* Desktop Nav */
.desktop-nav ul {
    display: none;
    gap: 20px;
    align-items: center;
}

@media (min-width: 992px) {
    .desktop-nav ul {
        display: flex;
    }
}

.desktop-nav a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brand-gold);
    white-space: nowrap;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-gold);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(228, 217, 187, 0.5);
}

#main-header.scrolled .desktop-nav a.active {
    color: var(--brand-gold);
}

#main-header.scrolled .desktop-nav a::after {
    background-color: var(--brand-gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-cta {
    border: 2px solid var(--brand-gold);
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    line-height: 1;
    color: var(--brand-gold) !important;
    font-weight: bold;
    letter-spacing: 1px;
}

.btn-cta:hover {
    background-color: var(--brand-gold);
    color: var(--brand-brown) !important;
    box-shadow: 0 0 15px rgba(228, 217, 187, 0.4);
}

/* Mobile Menu Toggle */
#mobile-menu-toggle {
    display: flex;
    background-color: var(--brand-brown);
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: calc(var(--z-header) + 1);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

#mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: var(--brand-gold);
    transition: 0.3s;
    border-radius: 1.5px;
}

#mobile-menu-toggle span:nth-child(2) {
    width: 16px;
}

#mobile-menu-toggle span:nth-child(3) {
    width: 22px;
}

#mobile-menu-toggle:hover {
    background-color: #4a2e16;
    transform: scale(1.05);
}

/* Hero Section */
#hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Ensure video doesn't spill out */
    /* Fallback background if video fails */
    background-color: var(--bg-color);
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    /* Smooth cross-fade */
}

.slide.active {
    opacity: 1;
}

/* Keyframes for subtle zoom effect (optional) */
@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}

.slide.active {
    /* animation: zoomEffect 6s linear infinite alternate; */
    /* Disabled for performance */
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    /* Adjusted opacity for video */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 60px;
    /* Offset for fixed header */
}

.hero-content h1 {
    font-size: 3.2rem;
    color: var(--brand-gold);
    /* Pale Gold */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem; /* Aligned with standard p */
    color: var(--brand-gold);
    /* Pale Gold */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    padding: 12px 30px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-color);
    border: 1px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
}

.btn-secondary:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

/* Mobile Nav Overlay */
#mobile-nav-overlay {
    position: fixed;
    top: 20px;
    right: -100%;
    width: auto;
    max-width: fit-content;
    height: auto;
    background-color: var(--brand-brown);
    z-index: var(--z-modal);
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 10px 40px 10px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
}

#mobile-nav-overlay.open {
    right: 20px;
}

#mobile-menu-close {
    position: relative;
    top: 0;
    right: 0;
    background: none;
    border: none;
    color: var(--brand-gold);
    font-size: 1.5rem;
    cursor: pointer;
    margin-right: 20px;
    padding-right: 20px;
    border-right: 1px solid rgba(228, 217, 187, 0.2);
    line-height: 1;
}

.mobile-nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
}

.mobile-nav a {
    font-size: 0.9rem;
    color: var(--brand-gold);
    text-transform: capitalize;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: #ffffff;
}

@media (max-width: 991px) {
    #mobile-nav-overlay {
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100%;
        border-radius: 0;
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 40px;
    }

    #mobile-nav-overlay.open {
        right: 0;
    }

    #mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        border-right: none;
        padding-right: 0;
        margin-right: 0;
        font-size: 2rem;
    }

    .mobile-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .mobile-nav a {
        font-size: 1.2rem;
    }

    .header-actions .btn-cta {
        display: none !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .location-details h2 {
        font-size: 1.8rem; /* Aligned with standard mobile h2 */
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}
