/* ==========================================================
   SHARED LIBRARY VARIABLES
   ========================================================== */
:root {
    --brand-stone: #978671;
    --brand-sand: #EBDFCE;
    --brand-pearl: #F4E5D9;
    --brand-green: #B2BDA3;
    --brand-salmon: #F8D3BB;
    --brand-white: #ffffff;
    --transition-standard: 0.3s ease;
}

/* ==========================================================
   COMPONENT IMPORTS
   ========================================================== */
@import 'components/stepper.css';
/* @import 'components/cookie-modal.css'; <-- Future addition */

/* ==========================================================
   GLOBAL RESET
   ========================================================== */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

html, body {
    margin: 0;
    overflow-x: hidden;
    font-family: sans-serif;
    color: var(--brand-stone);
    background: var(--brand-sand);
    line-height: 1.6;
}

/* Utility container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================
   NAVIGATION
   ========================================================== */

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--brand-pearl);
    border-bottom: 1px solid var(--brand-green);
    padding: 10px 0;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--brand-stone);
}

.main-logo {
    height: 60px;
    width: auto;
    display: block;
    mix-blend-mode: multiply;
    filter: contrast(110%);
    background-color: var(--brand-pearl);
}

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

.nav-links a {
    color: var(--brand-stone);
    text-decoration: none;
    font-weight: 500;
}

.menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    color: var(--brand-stone);
}

#menu-toggle { display: none; }

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0);
    z-index: 998;
}

#menu-toggle:checked ~ .menu-overlay { display: block; }

/* ==========================================================
   HERO SECTION
   ========================================================== */

section { padding: 60px 20px; text-align: center; }

.hero {
    margin-top: 60px;
    height: 85vh;
    background: url('../images/Hero_Banner_Mobile.jpg') no-repeat center center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-white);
}

@media (min-width: 601px) {
    .hero {
        background: url('../images/Hero_Banner_Desktop.jpg') no-repeat center center / cover;
    }
}

/* ==========================================================
   CAROUSEL / GALLERY
   ========================================================== */

.carousel-wrapper { position: relative; max-width: 1000px; margin: 0 auto; overflow: hidden; }
.carousel-container {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    list-style: none;
    padding: 0;
    margin: 0;
}
.carousel-slide { flex: 0 0 100%; scroll-snap-align: center; }
.carousel-slide img { width: 90%; max-width: 800px; border-radius: 8px; }

/* ==========================================================
   MAP
   ========================================================== */

.map-container {
    width: 95%;
    max-width: 600px;
    height: 400px;
    margin: 20px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* ==========================================================
   BUTTONS
   ========================================================== */

.btn {
    background: var(--brand-salmon);
    color: var(--brand-stone);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    border: none;
    transition: opacity var(--transition-standard);
}

.btn:hover { opacity: 0.8; }

.btn-brand { background: var(--brand-salmon) !important; }

.btn-full {
    width: 100%;
    margin-top: 10px;
}

/* ==========================================================
   SOCIAL LINKS
   ========================================================== */

.social-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.social-links a {
    color: var(--brand-stone);
    text-decoration: none;
    transition: transform var(--transition-standard), color var(--transition-standard);
}

.social-links a:hover {
    color: var(--brand-green);
    transform: scale(1.2);
}

/* ==========================================================
   PRICING CARDS
   ========================================================== */

.pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.pricing-card {
    background: var(--brand-pearl);
    border: 1px solid var(--brand-green);
    border-radius: 8px;
    padding: 25px;
    width: 280px;
    text-align: center;
    color: var(--brand-stone);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.pricing-card h3 {
    margin-top: 0;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--brand-green);
    padding-bottom: 10px;
}

.price {
    font-size: 1.6rem;
    font-weight: bold;
    margin: 15px 0 5px 0;
}

.price span {
    font-size: 0.85rem;
    display: block;
    font-weight: normal;
}

.per-session {
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.details {
    font-size: 0.85rem;
    opacity: 0.8;
}

.drop-in-item {
    margin: 12px 0;
    padding: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

/* ==========================================================
   TESTIMONIALS
   ========================================================== */

.testimonial-box {
    border-left: 5px solid var(--brand-salmon);
    padding-left: 15px;
}

.testimonial-author {
    font-style: italic;
    font-weight: bold;
    margin-top: 15px;
}

/* ==========================================================
   PROFILE IMAGE
   ========================================================== */

.profile-frame {
    width: 320px;
    height: 320px;
    margin: 20px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--brand-pearl);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    max-width: 100%;
}

.profile-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================
   BOOKING PAGE — REDESIGNED
   ========================================================== */

.booking-section {
    padding: 60px 20px;
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--brand-stone);
    font-size: 2rem;
}

.booking-form {
    background: var(--brand-pearl);
    padding: 35px;
    border-radius: 12px;
    border: 1px solid var(--brand-green);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.form-row { margin-bottom: 25px; }

.booking-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--brand-stone);
}

.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--brand-green);
    border-radius: 6px;
    background: var(--brand-white);
    color: #555;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    border-color: var(--brand-stone);
    outline: none;
}

.session-label {
    display: block;
    margin: 25px 0 10px;
    font-weight: 600;
    color: var(--brand-stone);
}

/* Session Cards */
.session-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.session-card { cursor: pointer; }

.session-card input { display: none; }

.card-content {
    background: var(--brand-sand);
    border: 1px solid var(--brand-green);
    padding: 18px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.card-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.session-card input:checked + .card-content {
    background: var(--brand-green);
    color: var(--brand-white);
    border-color: #8fa48a;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.card-content .date {
    font-weight: bold;
    display: block;
    font-size: 0.95rem;
}

.card-content .time {
    display: block;
    font-size: 1.2rem;
    margin-top: 4px;
}

.no-sessions-msg {
    grid-column: 1 / -1;
    text-align: center;
    color: #d9534f;
    font-weight: bold;
}

.error-msg {
    color: #d9534f;
    font-weight: bold;
}

/* ==========================================================
   FOOTER
   ========================================================== */

.site-footer {
    background: var(--brand-stone);
    color: var(--brand-pearl);
    padding: 20px 10px;
    text-align: center;
}

.site-footer p a {
    color: var(--brand-pearl);
    text-decoration: none;
    opacity: 0.8;
}

.soretech-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    opacity: 0.6;
    transition: all 0.3s ease;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 768px) {

    .container {
        width: 96%;
        margin: 0 auto;
        padding: 0;
    }

    section { padding: 30px 10px; }

    /* SHOW HAMBURGER ON MOBILE */
    .menu-icon {
        display: block;
        cursor: pointer;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--brand-pearl);
        text-align: center;
        border-top: 1px solid var(--brand-green);
        padding: 20px 0;
        gap: 25px;
        z-index: 1001;
    }

    #menu-toggle:checked ~ .nav .nav-links {
        display: flex;
    }

    .main-logo { height: 45px; }
    .logo-text { font-size: 1rem; }

    .session-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .session-grid {
        grid-template-columns: 1fr;
    }
}

/* Health Form — Consistent with Booking Page */

.disclaimer-card {
    background: var(--brand-sand);
    border-left: 5px solid var(--brand-green);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    color: var(--brand-stone);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.success-banner,
.error-banner {
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.success-banner {
    background: var(--brand-green);
    color: white;
}

.error-banner {
    background: #e74c3c;
    color: white;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
}

.checkbox-row label {
    font-size: 0.9rem;
    color: var(--brand-stone);
    line-height: 1.4;
}

/* Desktop form width */
@media (min-width: 900px) {
    .booking-form {
        max-width: 700px;
    }
}

/* Radio buttons */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 6px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

/* Mobile textarea fix — full width + taller */
.booking-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 140px !important;
    box-sizing: border-box !important;
}
/* Success Page Styling */
.success-wrapper {
    max-width: 600px;
    margin: 40px auto;
    background: var(--brand-pearl);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--brand-green);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    text-align: center;
}

.success-icon {
    font-size: 50px;
    display: block;
    margin-bottom: 10px;
}

.success-greeting {
    color: var(--brand-stone);
    font-weight: bold;
    margin-top: 10px;
}

.success-text {
    color: var(--brand-stone);
    line-height: 1.6;
    margin: 15px 0;
}

.notice-box {
    background: var(--brand-green);
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin: 25px 0;
    font-weight: bold;
}

.success-actions {
    margin-top: 20px;
}

.success-btn {
    max-width: 260px;
}

.success-home {
    margin-top: 20px;
}

.secondary-link {
    color: var(--brand-stone);
    opacity: 0.7;
    text-decoration: none;
    font-size: 0.9rem;
}
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
/* Stepper Base Styles */
.stepper ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.stepper__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #999; /* Default "inactive" grey */
    transition: color 0.3s ease;
}

.stepper__circle {
    width: 30px;
    height: 30px;
    border: 2px solid #999;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    font-weight: bold;
}

/* The "Active" State - This is what changes the colour */
.stepper__item--is-active {
    color: #978671; /* Your brand brown/gold */
}

.stepper__item--is-active .stepper__circle {
    border-color: #978671;
    background-color: #978671;
    color: white;
}
