:root {
    --primary-color: #5D4037;
    --accent-color: #D4AF37;
    --secondary-color: #8D6E63;
    --bg-light: #FDFBF7;
    --text-dark: #333333;
    --text-light: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --spacing: 4rem;
    --success-color: #4CAF50;
    --error-color: #e74c3c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    background: rgba(244, 229, 201, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    height: var(--navbar-height);
    display: flex;
    align-items: center;
}

.logoimg img {
    height: 100px;
}


.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-color);
}

.btn-cta-nav {
    background-color: var(--primary-color);
    color: var(--text-light) !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-cta-nav:hover {
    background-color: var(--secondary-color);
}

.btn-cta-nav.active {
    background-color: var(--accent-color);
    color: var(--text-dark) !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    margin-top: 100px;
    overflow: hidden;
}

.hero.small-hero {
    height: 50vh;
}

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

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

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

.hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.25rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Sections General */
.section-padding {
    padding: var(--spacing) 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.hidden {
    display: none !important;
}

/* Booking Container */
.booking-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 2.5rem;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.step.active, .step.completed {
    opacity: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.step.active .step-number {
    background: var(--accent-color);
    color: var(--text-dark);
}

.step.completed .step-number {
    background: var(--success-color);
}

.step span {
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 500;
}

.step-line {
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
    margin: 0 0.5rem;
}

/* Treatment Grid */
.treatment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.treatment-card {
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.treatment-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.treatment-card.selected {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
}

.treatment-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.treatment-card .duration {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    gap: 1rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-light);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Selected Treatment Info */
.selected-treatment-info {
    background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
    border-left: 4px solid var(--accent-color);
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0 8px 8px 0;
}

.selected-treatment-info h4 {
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.selected-treatment-info p {
    color: var(--secondary-color);
    margin: 0;
}

/* Date & Staff Row */
.date-staff-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    accent-color: var(--accent-color);
}

.checkbox-label a {
    color: var(--accent-color);
}

/* Info Message */
.info-message {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    text-align: center;
    color: #856404;
}

/* Timeslots */
.timeslots-container {
    margin-top: 2rem;
}

.timeslots-container h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.timeslots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
}

.timeslot-btn {
    padding: 0.75rem 1rem;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    background: #fff;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.timeslot-btn:hover {
    border-color: var(--accent-color);
    background: #fffbf0;
}

.timeslot-btn.selected {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-dark);
}

.timeslot-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Step Navigation */
.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

/* Buttons */
.btn {
    padding: 0.85rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: #c9a227;
    transform: translateY(-2px);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Booking Summary */
.booking-summary {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.booking-summary h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row .label {
    color: var(--secondary-color);
}

.summary-row .value {
    font-weight: 600;
    color: var(--primary-color);
}

/* Contact Form */
.contact-form {
    margin-top: 1rem;
}

/* Confirmation */
.confirmation-container, .error-container {
    text-align: center;
    padding: 2rem 0;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    background: var(--success-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.error-icon {
    width: 80px;
    height: 80px;
    background: var(--error-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.confirmation-text, .error-text {
    font-size: 1.1rem;
    color: var(--secondary-color);
    max-width: 500px;
    margin: 0 auto 2rem;
}

.final-summary {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 400px;
    text-align: left;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: #e0e0e0;
    padding-top: 4rem;
}

.grid-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.footer-bottom {
    background-color: #4a332a;
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

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

    .mobile-menu-btn {
        display: block;
    }

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

    .booking-container {
        padding: 1.5rem;
    }

    .progress-steps {
        gap: 0.25rem;
    }

    .step span {
        display: none;
    }

    .step-line {
        width: 30px;
    }

    .date-staff-row, .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .step-navigation {
        flex-direction: column-reverse;
        gap: 1rem;
    }

    .step-navigation .btn {
        width: 100%;
        text-align: center;
    }

    .timeslots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}