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

:root {
    --bg: #0f0a0d;
    --bg-soft: #171116;
    --bg-panel: #0b1220;
    --bg-panel-soft: #111827;
    --card: rgba(255, 255, 255, 0.06);
    --card-soft: rgba(255, 255, 255, 0.04);
    --text: #f8eef2;
    --muted: #ccb9c2;
    --gold: #d4af37;
    --gold-soft: #f0d77b;
    --line: rgba(255, 255, 255, 0.08);
    --success: #86efac;
    --warning: #fcd34d;
    --danger: #fca5a5;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    --radius: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 30%),
        radial-gradient(circle at bottom right, rgba(194, 106, 138, 0.10), transparent 30%),
        linear-gradient(180deg, #120c10 0%, #0f0a0d 100%);
}

body.admin-page,
body.admin-login-page {
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 30%),
        linear-gradient(180deg, #0b1220 0%, #070d18 100%);
    color: #e5e7eb;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(92%, 1240px);
    margin: 0 auto;
}

main {
    min-height: 70vh;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 10, 13, 0.78);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    flex-wrap: wrap;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
}

.logo span,
.brand span {
    color: var(--gold);
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 14px;
    list-style: none;
}

.site-nav a {
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 600;
    transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
}

.hero,
.booking-hero,
.page-hero {
    padding: 110px 0 85px;
}

.hero-grid,
.booking-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
}

.booking-hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.hero-subtitle {
    display: inline-flex;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold-soft);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 22px;
}

.hero h1,
.booking-left h1,
.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.08;
    margin-bottom: 22px;
}

.hero h1 .gold,
.booking-left h1 .gold,
.page-hero h1 .gold {
    color: var(--gold);
}

.hero p,
.booking-left p,
.page-hero p {
    color: var(--muted);
    font-size: 18px;
    margin-bottom: 28px;
    max-width: 700px;
}

.hero-buttons,
.button-row,
.filter-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn,
.btn-small,
.btn-dark,
.btn-ghost,
.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.2s ease;
    text-align: center;
}

.btn {
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    color: #140d11;
    box-shadow: 0 12px 25px rgba(212, 175, 55, 0.25);
}

.btn:hover,
.btn-small:hover,
.btn-dark:hover,
.btn-ghost:hover,
.btn-danger:hover {
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.07);
}

.btn-small {
    padding: 10px 16px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-dark {
    padding: 12px 18px;
    background: #1e293b;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-ghost {
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.04);
    color: #e5e7eb;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-danger {
    padding: 10px 16px;
    background: rgba(127, 29, 29, 0.85);
    color: #fee2e2;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.stat-box,
.info-chip {
    min-width: 150px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: var(--shadow);
}

.stat-box strong {
    display: block;
    font-size: 24px;
    color: #fff;
}

.stat-box span,
.info-chip span {
    color: var(--muted);
    font-size: 14px;
}

.hero-card,
.card,
.booking-form-box,
.booking-info-item,
.panel-box,
.login-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: var(--shadow);
}

.hero-card,
.booking-form-box,
.login-card {
    padding: 34px;
    border-radius: 28px;
}

.hero-card h3,
.booking-form-box h2,
.section-title {
    font-family: 'Playfair Display', serif;
}

.hero-card h3 {
    font-size: 30px;
    margin-bottom: 16px;
}

.hero-card p,
.booking-form-text {
    color: var(--muted);
    margin-bottom: 18px;
}

.hero-card ul {
    list-style: none;
    display: grid;
    gap: 12px;
}

.hero-card li {
    position: relative;
    padding: 14px 16px 14px 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-card li::before {
    content: '•';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: var(--gold);
}

.services-section,
.page-section {
    padding: 82px 0;
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 14px;
}

.section-text {
    text-align: center;
    color: var(--muted);
    max-width: 740px;
    margin: 0 auto 30px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.card {
    padding: 28px;
    border-radius: 24px;
}

.card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 12px;
}

.card p {
    color: var(--muted);
}

.meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.meta span {
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
}

.booking-left h1 {
    font-size: clamp(38px, 5vw, 62px);
}

.booking-info-list,
.settings-sections,
.stack {
    display: grid;
    gap: 14px;
}

.booking-info-item {
    padding: 20px;
    border-radius: 20px;
}

.booking-info-item strong {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
}

.booking-info-item span {
    color: var(--muted);
    font-size: 14px;
}

.appointment-form,
.admin-form,
.stack-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-grid .full {
    grid-column: 1 / -1;
}

label,
.field-label {
    font-weight: 600;
    color: #f2e6eb;
}

body.admin-page label,
body.admin-login-page label,
.dashboard-layout label,
.dashboard-layout .field-label {
    color: #f8fafc;
}

input,
select,
textarea {
    width: 100%;
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    outline: none;
    font-size: 15px;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(212, 175, 55, 0.55);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.10);
}

select option {
    color: #111;
}

.hint {
    color: var(--muted);
    font-size: 13px;
}

.alert {
    padding: 15px 18px;
    border-radius: 16px;
    margin: 14px 0;
}

.alert.success {
    background: rgba(22, 128, 67, 0.18);
    color: #d7ffe5;
}

.alert.error {
    background: rgba(183, 31, 31, 0.18);
    color: #ffdede;
}

.site-footer {
    padding: 34px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-inner p {
    color: #ccb9c2;
}

.footer-link {
    color: #fff;
    font-weight: 700;
}

.whatsapp-button {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.wa-icon {
    width: 32px;
    height: 32px;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.sidebar {
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 28px 20px;
}

.brand {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 30px;
}

.admin-user {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 30px;
}

.admin-user small {
    display: block;
    color: #94a3b8;
    margin-bottom: 6px;
    font-size: 13px;
}

.admin-user strong {
    font-size: 18px;
    color: #fff;
}

.menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu a {
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    color: #dbe4f0;
    transition: 0.2s ease;
    font-weight: 600;
}

.menu a:hover,
.menu a.active {
    background: linear-gradient(135deg, #d4af37, #f3d77a);
    color: #111827;
}

.main-panel {
    padding: 28px;
}

.page-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.page-title h1 {
    margin-bottom: 8px;
    font-size: 34px;
    color: #fff;
}

.page-title p {
    color: #94a3b8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.stat-card {
    background: linear-gradient(180deg, #111827, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    right: -30px;
    top: -30px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.18), transparent 65%);
}

.stat-card .label {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.stat-card .value {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
}

.panel-box {
    border-radius: 22px;
    padding: 24px;
}

.panel-box h2,
.panel-box h3 {
    margin-bottom: 18px;
    color: #fff;
}

.panel-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.table-wrap {
    overflow: auto;
}

.data-table {
    width: 100%;
    min-width: 880px;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: top;
}

.data-table th {
    color: #94a3b8;
    font-size: 13px;
}

.data-table td {
    color: #e5e7eb;
    font-size: 14px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.status-pill.pending {
    background: rgba(245, 158, 11, 0.16);
    color: var(--warning);
}

.status-pill.approved {
    background: rgba(34, 197, 94, 0.16);
    color: var(--success);
}

.status-pill.cancelled {
    background: rgba(239, 68, 68, 0.16);
    color: var(--danger);
}

.actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.toggle-box {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.toggle-box input {
    width: 18px;
    height: 18px;
}

.toggle-box strong {
    display: block;
    color: #fff;
}

.toggle-box span {
    font-size: 13px;
    color: #94a3b8;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.empty-state {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    color: #94a3b8;
}

.login-wrap {
    width: min(92%, 480px);
    margin: 0 auto;
    padding: 90px 0;
}

.login-card h1 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    margin-bottom: 8px;
}

.login-card p {
    color: var(--muted);
}

.login-note {
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: #d5d9e2;
}

.info-list {
    display: grid;
    gap: 14px;
}

.info-list .panel-box p {
    color: #94a3b8;
}

@media (max-width: 1080px) {
    .stats-grid,
    .filters,
    .checkbox-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .panel-grid,
    .split-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .hero-grid,
    .booking-hero-grid,
    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .hero,
    .booking-hero,
    .page-hero {
        padding: 90px 0 70px;
    }

    .sidebar {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .main-panel {
        padding: 18px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .site-nav {
        display: none;
        width: 100%;
    }

    .site-nav.active {
        display: block;
    }

    .site-nav ul {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .site-nav ul li a {
        display: block;
        width: 100%;
    }

    .section-title {
        font-size: 34px;
    }

    .hero h1,
    .booking-left h1,
    .page-hero h1,
    .page-title h1 {
        font-size: 38px;
    }

    .hero-buttons,
    .footer-inner,
    .page-topbar,
    .button-row,
    .actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn,
    .btn-small,
    .btn-dark,
    .btn-ghost,
    .btn-danger {
        width: 100%;
    }

    .form-grid,
    .filters,
    .checkbox-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-button {
        width: 56px;
        height: 56px;
        right: 16px;
        bottom: 16px;
    }

    .wa-icon {
        width: 28px;
        height: 28px;
    }

    .hero-card,
    .booking-form-box,
    .login-card,
    .panel-box {
        padding: 22px;
    }
}
