/* Reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    font-family: 'Cinzel', serif;
}

/* Background */
.full-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.full-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Header */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    max-width: 250px;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 60px;
    margin-top: 40px;
}

nav ul li a {
    text-decoration: none;
    color: #1d3524;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
}

nav ul li a:hover {
    color: #587344;
    border-bottom: 4px solid #587344;
}

/* ========================
   Hamburger Menu Styling
   ======================== */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #1d3524;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 10;
}

/*

/* OUR title line */
.connection-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.connection-container .line-image {
    width: 300px;

}

.main-title {
    font-size: 52px;
    padding: 0 10px;
    font-family: 'Cinzel', serif;
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

.tab {
    text-decoration: none;
    color: #4b6f39;
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    border-bottom: 4px solid transparent;
    /* prevents layout shift */
    display: inline-block;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: none
}

.tab:hover {
    color: #1a2b2e;
    /*transform: scale(1.1);  smooth zoom effect */
    border-bottom: 4px solid #1a2b2e;
    outline: none;
    box-shadow: none
}

/* Wrapper to sync scrolling */
.scroll-sync-wrapper {
    overflow: hidden;
}

/* Top row: images */
.spa-services-images {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 0 50px;
    margin-bottom: -65px;
    scroll-behavior: smooth;
}

.spa-image-card {
    flex: 0 0 270px;
    text-align: center;
}

.spa-image-card img {
    width: 75%;
    height: 230px;
    object-fit: cover;
    display: block;
    margin-top: 20px;
    margin-left: 40px;
}

.card-title {
    width: 75%;
    margin-left: 40px;
    background-color: #607B3C;
    color: white;
    padding: 25px;
    font-size: 18px;
    text-transform: uppercase;
}

/* Bottom row: paragraph text */
.spa-services {
    display: flex;
    gap: 20px;
    background-color: #1a2b2e;
    padding: 100px 50px 50px;
    overflow-x: auto;
    scroll-behavior: smooth;
    margin-top: -92px;
    /* margin-top: 92px; */
    margin-bottom: 40px;
    overflow-x: hidden;
    margin-left: 20px;
    margin-right: 20px;
}

/* Below Bash color spa-card */
.spa-card {
    flex: 0 0 270px;
    color: #eee;
    /* font-family: 'Cinzel', serif; */
    font-family: 'Times New Roman', Times, serif;
    text-transform: lowercase;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
}


/* RESPONSIVE DESIGN - ≤767px (Mobile)   */

@media (max-width: 767px) {
    .logo img {
        max-width: 140px;
        height: auto;
    }

    .hamburger {
        display: block;
        font-size: 28px;
        color: #1d3524;
        cursor: pointer;
        margin-top: 12px;
        /* Adjust as needed for vertical alignment */
    }
}

/* Responsiveness for services */
@media (max-width: 768px) {
    .tabs {
        flex-wrap: wrap;
        gap: 30px;
    }

    .spa-services-images,
    .spa-services {
        gap: 10px;
        padding: 0 20px;
    }

    .spa-card,
    .spa-image-card {
        flex: 0 0 240px;
    }

    nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-title {
        font-size: 36px;
    }

}

/* RESPONSIVE DESIGN - ≤767px (Mobile)   */
@media (max-width: 767px) {
    .logo img {
        max-width: 140px;
        height: auto;

    }

    .hamburger {
        display: block;
        font-size: 28px;
        color: #1d3524;
        cursor: pointer;
        margin-top: 12px;
        /* Adjust as needed for vertical alignment */
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .spa-card {
        flex: 0 0 240px;
    }

    .spa-services {
        padding: 80px 30px 40px;
    }
}

@media (max-width: 768px) {
    .spa-card {
        flex: 0 0 200px;
    }

    .spa-services {
        padding: 70px 20px 30px;
    }
}

@media (max-width: 480px) {
    .spa-card {
        flex: 0 0 85%;
        /* Allow cards to fill most of the viewport */
    }

    .spa-services {
        padding: 100px 15px 20px;
        gap: 10px;

    }
}

/* ==========================================================================
   RESPONSIVE STYLES - ≤768px
   ========================================================================== */

@media (max-width: 768px) {

    /* Stack footer columns vertically on mobile */
    .footer-columns {
        flex-direction: column;
        align-items: center;
        text-align: center;
        left: 0;
        /* Remove horizontal shift on mobile */
    }

    /* Make each column take up most of the screen width */
    .footer-column {
        width: 90%;
    }

    /* Reduce spacing in the connection section for better fit */
    .connection-container {
        margin: 10px 0 20px;
    }

    /* Scale down the main title for mobile screens */
    .connection-container .main-title {
        font-size: 32px;
        padding: 0 3px;
    }

    /* Resize decorative line images for smaller screens */
    .connection-container .line-image.left {
        width: 100px;
        margin-right: -10px;
    }

    .connection-container .line-image.right {
        width: 100px;
        margin-left: -12px;
    }
}


/* Responsive Styles for Header */
@media (max-width: 767px) {
    .logo img {
        max-width: 140px;
        height: auto;
    }

    .hamburger {
        display: block;
        font-size: 28px;
        color: #1d3524;
        cursor: pointer;
        margin-top: 12px;
        /* Adjust as needed for vertical alignment */
    }

    nav {
        display: none;
        flex-direction: column;
        align-items: center;
        background-color: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        z-index: 999;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
        margin: 0;
        width: 100%;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        font-size: 0.9rem;
        padding: 10px 0;
        display: block;
        width: 100%;
        color: #1d3524;
        text-decoration: none;
    }

    nav ul li a:hover {
        background-color: #f4f4f4;
        color: #587344;
        border-bottom: none;
    }

    /* Hide nav scrollbar */
    nav ul::-webkit-scrollbar {
        display: none;
    }
}