/* =========================================
   1. Root Variables & Theme Configuration
   ========================================= */
:root {
    --dark-azure: #06284D;
    --theme-dark-blue: #081C2E;
    --theme-text-white: #ffffff;
    --logo-mid: #3884c3;
    --light-gray: #f4f4f4;
    --accent-blue: #eef7ff;
}

/* =========================================
   2. Reset & Base Styles
   ========================================= */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Lato', system-ui, sans-serif;
    margin: 0;
    color: var(--theme-text-white);
    background-color: rgba(6, 40, 77, 0.8);
    overflow-x: hidden;
    line-height: 1.6;
}

section {
    padding: 3rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   3. Typography
   ========================================= */
.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--theme-text-white);
    font-size: 2.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
}

/* =========================================
   4. Navigation Bar
   ========================================= */
.navbar {
    background: var(--theme-dark-blue);
    padding: 0 5%;
    height: 90px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    position: relative;
    height: 100%;
}

/* Logo positioning: Absolute to allow overhang effect */
.nav-logo {
    height: 150px;
    position: absolute;
    top: -20px;
    left: 0;
    z-index: 1001;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--theme-text-white);
    font-weight: 500;
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.5px;
}

.nav-cta {
    background: transparent;
    color: var(--theme-text-white) !important;
    padding: 8px 20px;
    border: 1px solid var(--theme-text-white);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--theme-text-white);
    color: var(--theme-dark-blue) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--theme-text-white);
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* =========================================
   5. Hero Section
   ========================================= */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('assets/gym-bg.jpg');
    height: auto;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-dark-blue);
    text-align: center;
    background-size: cover;
    background-position: center;
}

.hero-content {
    padding: 20px;
    max-width: 900px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--theme-dark-blue);
}

.hero .slogan {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
}

/* Location Badge */
.location-badge {
    margin: 15px auto 35px auto;
    padding: 0;
    border: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: fit-content;
    background: transparent;
}

.location-badge i {
    color: var(--logo-mid);
    font-size: 1.8rem;
    margin-right: 15px;
    margin-bottom: 0;
}

.location-badge p {
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 500;
    text-align: left;
}

/* =========================================
   6. Services Section
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border-bottom: 4px solid var(--theme-dark-blue);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    margin-bottom: 0;
    color: var(--theme-dark-blue);
    font-size: 1.6rem;
}

.service-card i {
    font-size: 2rem;
    color: var(--logo-mid);
    margin-bottom: 15px;
    display: block;
}

/* Feature Box (Shared Style for Services & Pelvic Health) */
.feature-box {
    margin-top: 50px;
    background: white;
    color: var(--theme-dark-blue);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.feature-box h3 {
    color: var(--theme-dark-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-box i {
    margin-right: 10px;
}

.feature-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.feature-list li {
    background: rgba(0, 0, 0, 0.05);
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================================
   7. Staff Profile Section
   ========================================= */
.staff-card {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
    background: white;
    padding: 0;
    border-radius: 12px;
    color: var(--theme-dark-blue);
}

.staff-card.reverse {
    flex-direction: row-reverse;
}

.staff-img-placeholder {
    width: 300px;
    height: 350px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.staff-info {
    padding: 0 40px;
}

.staff-info h3 {
    color: var(--theme-dark-blue);
    font-size: 1.8rem;
    margin-top: 0;
}

/* =========================================
   8. Booking & Contact Section
   ========================================= */
.booking-container {
    display: flex;
    gap: 40px;
    background: var(--accent-blue);
    padding: 50px;
    border-radius: 20px;
    color: var(--theme-dark-blue);
    align-items: center;
}

.contact-info {
    flex: 1;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    margin-bottom: 20px;
    color: var(--theme-dark-blue);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--theme-dark-blue);
}

.contact-info i {
    color: var(--logo-mid);
    width: 25px;
}

.booking-cta {
    flex: 1.5;
    padding-left: 20px;
}

/* Override Secondary Button inside Light Booking Card */
.booking-cta .btn-secondary {
    border-color: var(--theme-dark-blue);
    color: var(--theme-dark-blue);
}

.booking-cta .btn-secondary:hover {
    background: var(--theme-dark-blue);
    color: white;
}

/* =========================================
   9. Component: Buttons
   ========================================= */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin: 10px 10px 0 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--theme-dark-blue);
    color: white;
    border: 2px solid var(--theme-dark-blue);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-primary:hover {
    background: white;
    color: var(--theme-dark-blue);
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--theme-dark-blue);
}

/* Hero Button Override */
.hero .btn-primary {
    background: var(--theme-dark-blue);
    color: white;
    padding: 15px 40px;
    font-size: 1.2rem;
    border: none;
}

.hero .btn-primary:hover {
    background: var(--logo-mid);
    transform: translateY(-2px);
}

/* =========================================
   10. Media Queries (Mobile)
   ========================================= */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .nav-logo {
        height: 80px;
        top: 5px;
    }

    .nav-links {
        display: none;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 90px;
        left: 0;
        background-color: var(--theme-dark-blue);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .staff-card,
    .staff-card.reverse {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .staff-img-placeholder {
        width: 100%;
        max-width: 300px;
        height: 300px;
    }

    .booking-container {
        flex-direction: column;
        padding: 30px;
        text-align: center;
    }

    .contact-info {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .booking-cta {
        padding-left: 0;
    }

    .btn-primary,
    .btn-secondary {
        display: block;
        margin: 10px 0;
        width: 100%;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero .slogan {
        font-size: 1.1rem;
    }
}