:root {
    --cream: #f7f0e8;
    --cream-deep: #efe4d6;
    --gold: #c9a227;
    --gold-light: #e0c36a;
    --gold-dark: #9a7b1a;
    --rosegold: #b76e79;
    --rosegold-light: #d4a0a8;
    --ink: #3d2b1f;
    --muted: #7a6558;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(ellipse at top, rgba(201, 162, 39, 0.12), transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(183, 110, 121, 0.1), transparent 45%),
        linear-gradient(180deg, #faf4ec 0%, var(--cream) 40%, #f3e7db 100%);
    min-height: 100vh;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    letter-spacing: 0.01em;
    margin: 0 0 0.5rem;
}

p { margin: 0 0 0.75rem; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding-left: 1.1rem; }

.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }

.site-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(12px);
    background: rgba(247, 240, 232, 0.88);
    border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--ink);
}

.brand img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(183, 110, 121, 0.25);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }

.brand-text strong {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    background: linear-gradient(120deg, var(--gold-dark), var(--rosegold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text span {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--ink);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

.locale-switch a {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
}

.locale-switch a.active { color: var(--gold-dark); font-weight: 600; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.35rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn[hidden],
[hidden] {
    display: none !important;
}

.btn:hover { transform: translateY(-1px); }

.btn-gold {
    color: #fff;
    background: linear-gradient(135deg, var(--gold-light), var(--gold) 45%, var(--rosegold));
    box-shadow: 0 8px 24px rgba(201, 162, 39, 0.35);
}

.btn-outline {
    color: var(--ink);
    background: transparent;
    border: 1px solid rgba(201, 162, 39, 0.55);
}

.btn-danger {
    color: #fff;
    background: linear-gradient(135deg, #c47a84, #8b4a54);
}

.hero {
    position: relative;
    min-height: calc(100vh - 90px);
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 3rem 1.25rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 30%, rgba(224, 195, 106, 0.28), transparent 40%),
        radial-gradient(circle at 25% 70%, rgba(183, 110, 121, 0.18), transparent 42%),
        url('../images/logo.jfif') center/cover no-repeat;
    opacity: 0.18;
    animation: heroGlow 12s ease-in-out infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    animation: fadeUp 0.9s ease both;
}

.hero-logo {
    width: min(280px, 70vw);
    height: auto;
    margin: 0 auto 1.5rem;
    border-radius: 999px;
    box-shadow: 0 20px 50px rgba(183, 110, 121, 0.25);
    animation: softFloat 6s ease-in-out infinite;
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    line-height: 1.05;
    margin-bottom: 0.75rem;
    background: linear-gradient(120deg, var(--gold-dark), var(--rosegold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p { color: var(--muted); font-size: 1.1rem; margin-bottom: 1.75rem; }

.section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 4rem 1.25rem;
}

.section-title { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.5rem; }
.section-intro { color: var(--muted); max-width: 560px; margin-bottom: 2rem; }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.service-tile {
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(201, 162, 39, 0.22);
    box-shadow: 0 10px 30px rgba(61, 43, 31, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(183, 110, 121, 0.12);
}

.service-tile h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.service-description {
    color: var(--ink);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0.35rem 0 0.75rem;
    white-space: pre-line;
}
.meta { color: var(--muted); font-size: 0.92rem; }
.price { margin-top: 0.85rem; color: var(--gold-dark); font-weight: 600; }

.loyalty-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
    gap: 2rem;
    align-items: start;
}

.loyalty-body {
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1.7;
}

.loyalty-image {
    width: 100%;
    border-radius: 1.25rem;
    border: 1px solid rgba(201, 162, 39, 0.25);
    box-shadow: 0 16px 40px rgba(61, 43, 31, 0.1);
    object-fit: cover;
}

.map-embed {
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 39, 0.25);
    box-shadow: 0 12px 32px rgba(61, 43, 31, 0.08);
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, 0.4);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.instagram-float {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 40;
    width: 3.1rem;
    height: 3.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 100%);
    box-shadow: 0 12px 28px rgba(61, 43, 31, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instagram-float:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 16px 34px rgba(221, 42, 123, 0.28);
}

.footer-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.85rem;
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 500;
}

.footer-instagram:hover {
    text-decoration: underline;
}

@media (max-width: 820px) {
    .loyalty-layout {
        grid-template-columns: 1fr;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.9rem;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 1rem;
    border: 1px solid rgba(201, 162, 39, 0.25);
    transition: transform 0.35s ease;
}

.gallery-grid img:hover { transform: scale(1.03); }

.form-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 1.75rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(201, 162, 39, 0.28);
    box-shadow: 0 16px 40px rgba(61, 43, 31, 0.06);
}

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

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

label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
    color: var(--muted);
}

input, select, textarea {
    width: 100%;
    border: 1px solid rgba(201, 162, 39, 0.35);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 0.75rem;
    padding: 0.7rem 0.85rem;
    color: var(--ink);
    outline: none;
    font: inherit;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--rosegold);
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.15);
}

.slots { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.slot {
    border: 1px solid rgba(201, 162, 39, 0.4);
    background: #fff;
    color: var(--ink);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    cursor: pointer;
    font: inherit;
}

.slot.active {
    background: linear-gradient(135deg, var(--gold), var(--rosegold));
    color: #fff;
    border-color: transparent;
}

.waitlist-box {
    margin-top: 0.5rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px dashed rgba(183, 110, 121, 0.45);
    background: rgba(183, 110, 121, 0.06);
}

.booking-loading[hidden] { display: none !important; }

.booking-loading {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(61, 43, 31, 0.42);
    backdrop-filter: blur(2px);
}

.booking-loading-card {
    width: min(360px, 100%);
    text-align: center;
    padding: 1.6rem 1.35rem;
    border-radius: 1.1rem;
    background: #fffaf4;
    border: 1px solid rgba(201, 162, 39, 0.35);
    box-shadow: 0 18px 40px rgba(61, 43, 31, 0.2);
}

.booking-spinner {
    width: 42px;
    height: 42px;
    margin: 0 auto 1rem;
    border-radius: 999px;
    border: 3px solid rgba(201, 162, 39, 0.25);
    border-top-color: var(--gold);
    animation: bookingSpin 0.8s linear infinite;
}

.booking-loading-title {
    margin: 0 0 0.35rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.45rem;
    color: var(--ink);
}

.booking-loading-hint {
    margin: 0;
    font-size: 0.92rem;
    color: var(--muted);
}

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

.alert {
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    margin-bottom: 1rem;
}

.alert-success {
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.35);
}

.alert-error {
    background: rgba(183, 110, 121, 0.12);
    border: 1px solid rgba(183, 110, 121, 0.35);
    color: #7a3340;
}

.site-footer {
    margin-top: 2rem;
    padding: 2rem 1.25rem 4.5rem;
    text-align: center;
    border-top: 1px solid rgba(201, 162, 39, 0.25);
    color: var(--muted);
    font-size: 0.92rem;
}

.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
    background: #f4ebe1;
}

.admin-side {
    background: linear-gradient(180deg, #3d2b1f 0%, #5a3d33 55%, #6e4450 100%);
    color: #f7f0e8;
    padding: 1.5rem 1rem;
}

.admin-side .brand-text strong {
    color: #f0d68a;
    background: none;
    -webkit-text-fill-color: initial;
}

.admin-side nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 2rem;
}

.admin-side a {
    color: rgba(247, 240, 232, 0.85);
    text-decoration: none;
    padding: 0.7rem 0.85rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
}

.admin-side a:hover,
.admin-side a.active {
    background: rgba(201, 162, 39, 0.22);
    color: #fff;
}

.admin-main { padding: 1.5rem; }

.admin-card {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(201, 162, 39, 0.25);
    border-radius: 1rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.admin-table { width: 100%; border-collapse: collapse; }

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 0.7rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.18);
    font-size: 0.92rem;
    vertical-align: top;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.9rem;
}

.stat {
    padding: 1rem;
    border-radius: 1rem;
    background: linear-gradient(145deg, rgba(224, 195, 106, 0.2), rgba(183, 110, 121, 0.12));
    border: 1px solid rgba(201, 162, 39, 0.25);
}

.stat strong {
    display: block;
    font-size: 1.8rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.stat-danger {
    background: linear-gradient(145deg, rgba(196, 92, 92, 0.16), rgba(183, 110, 121, 0.1));
    border-color: rgba(196, 92, 92, 0.35);
}

.stat-danger strong { color: #8f3a3a; }

.admin-grid-2 {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1rem;
}

.rank-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(201, 162, 39, 0.18);
}

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

.rank-index {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.45rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(201, 162, 39, 0.2);
    font-size: 0.8rem;
}

.rank-value {
    font-weight: 600;
    white-space: nowrap;
}

.analytics-filters {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.quick-filters,
.range-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: end;
}

.range-filters > div { min-width: 160px; }

.status-pill {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
}

.status-active {
    background: rgba(201, 162, 39, 0.18);
    color: #7a5d12;
}

.status-done {
    background: rgba(93, 155, 106, 0.18);
    color: #2f5d3a;
}

.status-muted {
    background: rgba(156, 163, 175, 0.2);
    color: #4b5563;
}

@media (max-width: 980px) {
    .admin-grid-2 { grid-template-columns: 1fr; }
}

.login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.login-card {
    width: min(420px, 100%);
    padding: 2rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(201, 162, 39, 0.3);
    box-shadow: 0 20px 50px rgba(61, 43, 31, 0.08);
    text-align: center;
}

.login-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 999px;
    margin: 0 auto 1rem;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.checkbox-row input { width: auto; }

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

@keyframes softFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes heroGlow {
    from { opacity: 0.14; }
    to { opacity: 0.24; }
}

.admin-modal[hidden] { display: none !important; }

.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.admin-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(61, 43, 31, 0.45);
}

.admin-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: min(90vh, 900px);
    overflow: auto;
    background: #fffaf4;
    border: 1px solid rgba(201, 162, 39, 0.35);
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 18px 48px rgba(61, 43, 31, 0.22);
}

.event-details p {
    margin: 0 0 0.45rem;
    font-size: 0.95rem;
}

.fc .fc-event {
    cursor: pointer;
}

@media (max-width: 860px) {
    .admin-layout { grid-template-columns: 1fr; }
    .admin-side nav { flex-direction: row; flex-wrap: wrap; margin-top: 1rem; }
    .form-grid { grid-template-columns: 1fr; }
    .nav-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width:860px){.about-grid{grid-template-columns:1fr !important}}
