/* ─── Google Fonts ──────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ─── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary-color: #d4145a;
    --secondary-color: #f472b6;
    --accent-color:  #5c1a6e;
    --text-dark:     #1a1a2e;
    --text-light:    #6b7280;
    --bg-light:      #f9f4fc;
    --white:         #ffffff;
    --border:        #ead5f4;
    --shadow:        0 2px 12px rgba(92,26,110,.10);
    --shadow-lg:     0 8px 32px rgba(92,26,110,.16);
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    line-height: 1.65;
    color: var(--text-dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Header & Nav ──────────────────────────────────────── */
header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar { padding: 0; }

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

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.92rem;
    font-weight: 500;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
    position: relative;
    background:
        linear-gradient(160deg, rgba(92,26,110,.80) 0%, rgba(212,20,90,.65) 100%),
        url('https://images.unsplash.com/photo-1604654894610-df63bc536371?w=1600&auto=format&fit=crop&q=80') center/cover no-repeat;
    color: var(--white);
    padding: 140px 24px 120px;
    text-align: center;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    animation: fadeInUp 0.7s ease-out both;
}

.hero-content p {
    font-size: 1.15rem;
    font-weight: 300;
    opacity: 0.92;
    margin-bottom: 2.2rem;
    animation: fadeInUp 0.7s ease-out 0.12s both;
}

.cta-button {
    display: inline-block;
    padding: 14px 40px;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 24px rgba(0,0,0,.18);
    animation: fadeInUp 0.7s ease-out 0.24s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,.24);
}

/* ─── Section Shared ────────────────────────────────────── */
.prices-section,
.booking-section,
.reviews-section {
    padding: 80px 24px;
}

.prices-section { background: var(--bg-light); }
.booking-section { background: var(--white); }
.reviews-section { background: var(--bg-light); }

.prices-section h2,
.booking-section h2,
.reviews-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 3rem;
}

/* ─── Price Grid / Cards ────────────────────────────────── */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 2rem;
}

.price-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary-color);
    padding: 24px 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.price-card.featured {
    border-top-color: var(--accent-color);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--white);
    padding: 3px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.price-icon {
    font-size: 2rem;
    margin-bottom: 0.6rem;
}

.price-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.card-desc {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    line-height: 1.4;
}

.savings {
    color: #16a34a;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.3rem;
}

.price-features {
    list-style: none;
    text-align: left;
    margin-top: 1rem;
}

.price-features li {
    padding: 6px 0;
    border-bottom: 1px solid #f0e8f8;
    font-size: 0.88rem;
    color: var(--text-light);
}

.price-features li:before {
    content: "✓ ";
    color: var(--primary-color);
    font-weight: 700;
}

.price-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 2rem;
}

/* ─── Overview Cards (homepage) ─────────────────────────── */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.overview-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--primary-color);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.overview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.overview-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 1.1rem;
    border: 3px solid var(--border);
}

.overview-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.overview-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.overview-from {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 4px 16px;
    border-radius: 20px;
}

/* ─── Extras Block ──────────────────────────────────────── */
.extras-block {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.extra-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.2rem;
    border-bottom: 1px solid #f3eaf9;
}

.extra-item:last-child { border-bottom: none; }

.extra-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.extra-price {
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 20px;
    white-space: nowrap;
    margin-left: 1rem;
}

/* ─── Service Category Headings ─────────────────────────── */
.svc-category {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin: 2.5rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.svc-category svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent-color);
    flex-shrink: 0;
}

/* Lucide icons inside service-detail headings */
.service-detail h2 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.service-detail h2 svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent-color);
    flex-shrink: 0;
}

/* Admin link lock icon */
.admin-link svg {
    width: 18px;
    height: 18px;
    stroke: #aaa;
    transition: stroke 0.2s;
}
.admin-link:hover svg { stroke: var(--primary-color); }

.svc-category::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
    margin-left: 0.5rem;
}

/* ─── Booking Section ───────────────────────────────────── */
.booking-container {
    max-width: 760px;
    margin: 0 auto;
}

.booking-form {
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 36px;
    border-radius: 16px;
}

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

.form-group { display: flex; flex-direction: column; }

.form-group label {
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.92rem;
    font-family: inherit;
    background: var(--white);
    color: var(--text-dark);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    margin-top: 16px;
    letter-spacing: 0.3px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.submit-button:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.booking-message {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 0.92rem;
    text-align: center;
}

.booking-message.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.booking-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ─── Public Booking Checkboxes ─────────────────────────── */
.pub-svc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 0.6rem;
    max-height: 260px;
    overflow-y: auto;
    background: var(--white);
    margin-top: 4px;
}

.pub-svc-heading {
    grid-column: 1 / -1;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--accent-color);
    margin-top: 0.4rem;
    padding: 0.2rem 0.3rem 0;
}

.pub-svc-grid label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    padding: 0.3rem 0.4rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
}

.pub-svc-grid label:hover { background: var(--bg-light); }

.pub-svc-total {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.pub-svc-total strong {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
}

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

/* ─── Reviews ────────────────────────────────────────────── */
.reviews-section h2 { margin-bottom: 0.5rem; }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 2.5rem;
    align-items: start;
}

.review-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 26px 22px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Large decorative quote mark */
.review-card::before {
    content: '\201C';
    position: absolute;
    top: 14px;
    right: 20px;
    font-size: 4rem;
    line-height: 1;
    color: var(--border);
    font-family: Georgia, serif;
    pointer-events: none;
}

.star-rating {
    display: inline-flex;
    gap: 3px;
}

.star-rating svg { width: 16px; height: 16px; }
.star-filled { color: #f59e0b; fill: #f59e0b; }
.star-empty  { color: #e5e7eb; fill: #e5e7eb; }

.review-text {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.75;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.reviewer-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reviewer {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
}

.leave-review {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.leave-review h3 {
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.leave-review p {
    color: var(--text-light);
    font-size: 0.88rem;
    margin-bottom: 1.2rem;
}

.review-button {
    display: inline-block;
    padding: 11px 30px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.review-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ─── Footer ─────────────────────────────────────────────── */
footer {
    background: #1a0a24;
    color: rgba(255,255,255,0.85);
    padding: 48px 24px 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h3 {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section ul li {
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.65);
}

.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 4px; }

.footer-section a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover { color: var(--white); }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

/* ─── Booking Progress ───────────────────────────────────── */
.booking-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f3e8ff;
    color: #c4b5d8;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e9d5ff;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.75rem;
    color: #c4b5d8;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.3s;
}

.progress-step.active .step-circle,
.progress-step.done .step-circle {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(212,20,90,.3);
}

.progress-step.active .step-label,
.progress-step.done .step-label { color: var(--accent-color); }

.progress-line {
    height: 2px;
    width: 80px;
    background: #e9d5ff;
    margin: 0 8px 22px;
    transition: background 0.3s;
}

.progress-line.active {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

/* ─── Calendar Styles ────────────────────────────────────── */
.calendar-container {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 28px;
    border-radius: 14px;
    margin-bottom: 28px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.calendar-nav { display: flex; gap: 8px; }

.calendar-nav button {
    padding: 7px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    transition: opacity 0.2s, transform 0.15s;
}

.calendar-nav button:hover { opacity: 0.88; transform: translateY(-1px); }

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

.calendar-day-header {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    padding: 4px 0 10px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.calendar-day:hover:not(.disabled):not(.past):not(.booked) {
    background: var(--bg-light);
    color: var(--primary-color);
}

.calendar-day.today {
    background: #fce7f3;
    color: var(--primary-color);
    font-weight: 700;
}

.calendar-day.selected {
    background: var(--primary-color);
    color: white;
    font-weight: 700;
}

.calendar-day.past,
.calendar-day.disabled {
    color: #d1d5db;
    cursor: not-allowed;
}

.calendar-day.booked {
    background: #fef2f2;
    color: #fca5a5;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* ─── Time Slots ─────────────────────────────────────────── */
.time-slots-container {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 24px 28px;
    border-radius: 14px;
    margin-bottom: 28px;
}

.time-slots-container h3 {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
}

.time-slot {
    padding: 10px 8px;
    text-align: center;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.15s;
}

.time-slot:hover:not(.booked) {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #fce7f3;
}

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

.time-slot.booked {
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #d1d5db;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 64px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s;
        border-top: 1px solid var(--border);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu li { border-bottom: 1px solid var(--bg-light); }
    .nav-menu a { display: block; padding: 12px 0; border-bottom: none; }

    .nav-menu.active { left: 0; }
    .hamburger { display: flex; }

    .hero { padding: 100px 24px 90px; }
    .hero-content h1 { font-size: 2.1rem; }
    .hero-content p { font-size: 1rem; }

    .overview-grid { grid-template-columns: 1fr; }
    .price-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .footer-content { grid-column: 1fr; text-align: center; }

    .booking-form { padding: 24px 20px; }
}

@media (max-width: 480px) {
    .hero { padding: 70px 20px 70px; }
    .hero::after { display: none; }

    .prices-section,
    .booking-section,
    .reviews-section { padding: 56px 20px; }

    .price-grid { grid-template-columns: 1fr; }
    .progress-line { width: 36px; }
    .step-label { font-size: 0.68rem; }
}
