@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #d4a797;
    --primary-hover: #c59685;
    --primary-light: #f5ebe6;
    --accent: #b08d7f;
    --background: #fdfbf9;
    --text-main: #4a3e39;
    --text-muted: #8c7e78;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow: 0 8px 30px rgba(212, 167, 151, 0.08);
    --shadow-hover: 0 12px 40px rgba(212, 167, 151, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--background);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #3b302c;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Header & Navigation */
header {
    position: sticky;
    top: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,0.02);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--primary);
    font-weight: 400;
}

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

.nav-links a:hover {
    color: var(--primary);
}

.btn-book {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 12px 28px;
    border-radius: var(--radius-lg);
    font-weight: 500;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(212, 167, 151, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 167, 151, 0.4);
    opacity: 0.95;
    color: var(--white);
}

/* Hero Section */
.hero {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #2b201c;
}

.hero-content h1 span {
    color: var(--primary);
    display: block;
    font-weight: 300;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 50% 50% 20px 20px;
    overflow: hidden;
    height: 480px;
    background: linear-gradient(135deg, #f5ebe6 0%, #e8dcd5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.hero-image-placeholder {
    text-align: center;
    padding: 40px;
}

.hero-image-placeholder svg {
    color: var(--primary);
    margin-bottom: 16px;
}

/* Services Section */
.services-section {
    padding: 80px 24px;
    background-color: var(--primary-light);
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(212, 167, 151, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-title {
    font-size: 22px;
    margin-bottom: 16px;
    color: #3b302c;
}

.service-description {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 30px;
    flex-grow: 1;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f2e9e4;
    padding-top: 20px;
    margin-top: auto;
}

.service-price {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

.service-duration {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 14px;
}

/* Footer */
footer {
    background-color: #3b302c;
    color: #e8dcd5;
    padding: 60px 24px 30px;
    font-size: 15px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo span {
    color: var(--primary);
    font-weight: 300;
}

.footer-about p {
    color: #bfaea5;
    max-width: 320px;
}

.footer-title {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #bfaea5;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid #4f423d;
    padding-top: 30px;
    text-align: center;
    color: #948278;
    font-size: 13px;
}

/* Booking Layout & Multi-step form */
.page-header {
    background: linear-gradient(135deg, #f5ebe6 0%, #e8dcd5 100%);
    padding: 60px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(212, 167, 151, 0.15);
}

.page-header h1 {
    font-size: 38px;
    margin-bottom: 12px;
}

.booking-container {
    max-width: 800px;
    margin: -40px auto 80px;
    padding: 0 20px;
}

.booking-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-hover);
    padding: 48px 40px;
    border: 1px solid rgba(212, 167, 151, 0.15);
}

.steps-indicator {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 48px;
}

.steps-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #f0e6e1;
    z-index: 1;
}

.step-dot {
    position: relative;
    z-index: 2;
    background-color: var(--white);
    border: 2px solid #e8dad3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.step-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.step-item.active .step-dot {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 0 15px rgba(212, 167, 151, 0.4);
}

.step-item.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

.step-item.completed .step-dot {
    border-color: var(--accent);
    background-color: var(--accent);
    color: var(--white);
}

.booking-step-content {
    display: none;
}

.booking-step-content.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #4a3e39;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid #dcd1ca;
    background-color: #faf8f7;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-main);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(212, 167, 151, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Service Options List in booking */
.service-select-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-select-item {
    border: 2px solid #eae1db;
    border-radius: var(--radius-sm);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-select-item:hover {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.service-select-item.selected {
    border-color: var(--primary);
    background-color: var(--primary-light);
    box-shadow: 0 4px 15px rgba(212, 167, 151, 0.1);
}

.service-select-info h4 {
    font-size: 16px;
    margin-bottom: 6px;
}

.service-select-info p {
    font-size: 13px;
    color: var(--text-muted);
}

.service-select-price {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
}

/* Calendar & Time Selection Grid */
.slots-wrapper {
    margin-top: 24px;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.slot-btn {
    background-color: #faf8f7;
    border: 1px solid #e8dad3;
    padding: 12px 8px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.slot-btn:hover:not(:disabled) {
    background-color: var(--primary-light);
    border-color: var(--primary);
    color: var(--accent);
}

.slot-btn.selected {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.slot-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    background-color: #f0e6e1;
}

/* Form Buttons */
.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    border-top: 1px solid #eae1db;
    padding-top: 30px;
}

.btn-secondary {
    background-color: #faf8f7;
    border: 1px solid #eae1db;
    color: var(--text-main);
    padding: 12px 28px;
    border-radius: var(--radius-lg);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: #f0e6e1;
}

/* Success Confirmation layout */
.booking-success-wrapper {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #d1ebd5;
    color: #43a047;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.booking-success-wrapper h2 {
    font-size: 30px;
    margin-bottom: 16px;
}

.booking-success-wrapper p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Special Payment Page design */
.payment-card-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.payment-summary {
    background-color: #faf8f7;
    border-radius: var(--radius-sm);
    padding: 30px;
    border: 1px solid #eae1db;
}

.payment-summary-title {
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eae1db;
    padding-bottom: 12px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 15px;
}

.payment-row.total {
    border-top: 1px solid #eae1db;
    padding-top: 16px;
    margin-top: 20px;
    font-weight: 700;
    font-size: 18px;
    color: var(--accent);
}

/* Toast Messages */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.toast {
    background-color: #3b302c;
    color: var(--white);
    padding: 16px 28px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast.success {
    border-left: 4px solid #43a047;
}

.toast.error {
    border-left: 4px solid #e53935;
}

/* Responsive Utilities */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 40px 24px;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-image-wrapper {
        height: 380px;
    }
    .payment-card-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple hidden state for mobile nav in prototype */
    }
    .booking-card {
        padding: 30px 20px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
