:root {
    --header-height: 70px;
}

.new-header {
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0 20px;
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.new-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand-logo img {
    height: 50px;
    max-width: 200px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

.main-nav a {
    color: var(--sub);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 12px;
    border-radius: var(--radius);
}

.main-nav a:hover {
    color: var(--text);
}

.main-nav a.cta-button {
    background-color: var(--sand);
    color: var(--bg);
    font-weight: bold;
    padding: 10px 20px;
}

.main-nav a.cta-button:hover {
    background-color: #d4ac7d;
    /* A slightly darker gold */
    color: var(--bg);
}

.hamburger-menu {
    display: none;
    /* Hidden by default */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* Feature Section Styling */
.feature-section {
    padding: 80px 20px;
    background: var(--bg2);
    border-bottom: 1px solid var(--line);
}

.feature-section.alt {
    background: var(--bg);
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.text-content .h1 {
    color: var(--sand);
    margin-bottom: 20px;
}

.text-content p {
    font-size: 1.1rem;
    color: var(--sub);
    margin-bottom: 30px;
}

.text-content ul {
    list-style: none;
    padding: 0;
}

.text-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text);
}

.text-content ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--sand);
}

.text-content ul li.highlight {
    font-weight: bold;
    color: var(--sand);
}

.visual-content {
    position: relative;
    height: 350px;
    /* Fixed height for the slider */
}

/* Image Slider Styles */
.image-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.image-slider .slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.image-slider .slide.active {
    opacity: 1;
}

.image-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-slider .pagination {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.pagination .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.pagination .dot.active {
    background: white;
}


.feature-section.alt .feature-content {
    grid-template-columns: 1fr 1fr;
}

.feature-section.alt .text-content {
    order: 2;
}

.feature-section.alt .visual-content {
    order: 1;
}


/* Footer Styling */
.new-footer {
    background: var(--bg);
    padding: 60px 20px;
    border-top: 1px solid var(--line);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.map-placeholder img {
    width: 100%;
    border-radius: var(--radius);
    opacity: 0.8;
}

.footer-details {
    text-align: right;
    color: var(--sub);
}

.footer-details h3 {
    color: var(--sand);
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
        /* Show the hamburger on mobile */
    }

    .main-nav {
        display: flex;
        /* Use flex so it can be positioned */
        position: fixed;
        top: var(--header-height);
        left: -100%;
        /* Start off-screen */
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg2);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease-in-out;
        z-index: 999;
        /* Ensure it's below the header */
    }

    .main-nav.is-active {
        left: 0;
        /* Slide in when active */
    }

    .main-nav a {
        font-size: 1.2rem;
        padding: 15px;
    }

    .main-nav a.cta-button {
        padding: 15px 30px;
        font-size: 1.3rem;
    }

    .feature-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-section.alt .text-content,
    .visual-content {
        order: initial;
    }

    .feature-section.alt .feature-content {
        grid-template-columns: 1fr;
    }

    .visual-content {
        margin-top: 30px;
        height: 250px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-details {
        text-align: center;
        margin-top: 20px;
    }
}
