:root {
    --bg: #eef3f8;
    --surface: #ffffff;
    --surface-2: #f8fbff;
    --ink: #0e1c2f;
    --muted: #5d6b7a;
    --line: #d9e3ee;
    --primary: #0e5fb8;
    --primary-2: #0ea5a0;
    --warning: #b76d00;
    --success: #1f9d55;
    --danger: #cc3a3a;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 16px 38px rgba(20, 43, 71, 0.12);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Space Grotesk", "Segoe UI", Tahoma, sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at 90% 10%, #dcecff 0%, var(--bg) 42%, #eaf5f4 100%);
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: #0a4a90;
}

.app-shell {
    max-width: 1220px;
    margin: 28px auto;
    padding: 0 14px 24px;
}

.top-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin-bottom: 14px;
}

.page-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: 14px;
    margin-bottom: 16px;
    padding: 18px 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(246, 250, 255, 0.84));
    border: 1px solid rgba(217, 227, 238, 0.92);
    box-shadow: 0 12px 28px rgba(14, 28, 47, 0.08);
}

.page-title {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    margin: 0;
}

.page-lead {
    color: var(--muted);
    max-width: 760px;
    margin: 8px 0 0;
}

.hero-strip {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: var(--shadow);
}

.hero-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(11, 20, 38, 0.72), rgba(11, 107, 203, 0.18));
}

.hero-strip-inner {
    position: relative;
    z-index: 1;
    padding: 28px;
    color: #fff;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.74rem;
    font-weight: 700;
    opacity: 0.85;
}

.hero-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.stat-card {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    box-shadow: 0 10px 22px rgba(14, 28, 47, 0.08);
    padding: 14px 16px;
}

.stat-label {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
}

.brand-card {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: linear-gradient(140deg, rgba(14, 95, 184, 0.95), rgba(14, 165, 160, 0.92));
    color: #fff;
    box-shadow: var(--shadow);
}

.hero-panel {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 72vh;
    box-shadow: var(--shadow);
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(10, 25, 47, 0.72), rgba(12, 72, 115, 0.42));
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 48px;
    color: #fff;
}

.hero-title {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.05;
    margin: 0;
}

.hero-sub {
    margin-top: 12px;
    font-size: clamp(1rem, 2vw, 1.3rem);
    max-width: 780px;
    opacity: 0.95;
}

.btn-brand {
    border: none;
    border-radius: 999px;
    font-weight: 700;
    padding: 10px 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(12, 58, 107, 0.2);
}

.btn-primary-brand {
    background: var(--primary);
    color: #fff;
}

.btn-secondary-brand {
    background: #ffffff;
    color: var(--primary);
}

.auth-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
}

.auth-card {
    width: min(520px, 100%);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #dbe5ef;
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 26px;
    animation: fadeUp 450ms ease;
}

.auth-title {
    font-family: "Fraunces", Georgia, serif;
    font-size: 2rem;
    margin-bottom: 4px;
}

.auth-subtitle {
    color: var(--muted);
    margin-bottom: 16px;
}

.form-control,
.form-select {
    border-radius: var(--radius-sm);
    border: 1px solid #ced8e5;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(14, 95, 184, 0.12);
    border-color: #8fb5de;
}

.section-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(15, 33, 53, 0.08);
}

.section-card-header {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
}

.section-card-body {
    padding: 16px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.gallery-grid-wide {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.gallery-item {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(14, 28, 47, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 26px rgba(14, 28, 47, 0.14);
}

.gallery-item img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.gallery-body {
    padding: 12px;
}

.gallery-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.gallery-title {
    font-weight: 700;
    margin: 0;
}

.gallery-text {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 6px 0 0;
}

.booking-panel {
    width: min(760px, 100%);
    background: rgba(255, 255, 255, 0.94);
    border-radius: 22px;
    border: 1px solid rgba(217, 227, 238, 0.92);
    box-shadow: var(--shadow);
    padding: 24px;
}

.booking-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin: 12px 0 18px;
}

.booking-stat {
    border-radius: 14px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    padding: 12px;
}

.booking-stat .label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
}

.booking-stat .value {
    display: block;
    margin-top: 4px;
    font-size: 1rem;
    font-weight: 700;
}

.modal-box {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 15, 26, 0.74);
    justify-content: center;
    align-items: center;
    padding: 12px;
    z-index: 1000;
}

.modal-content {
    background: #fff;
    color: var(--ink);
    padding: 20px;
    border-radius: 16px;
    width: min(460px, 100%);
    box-shadow: var(--shadow);
}

.table thead th {
    white-space: nowrap;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 24px;
    }

    .page-head,
    .booking-panel,
    .hero-strip-inner {
        padding: 18px;
    }
}
