:root {
    --bg: #08141f;
    --surface: #12263a;
    --surface-soft: #f5f0e8;
    --accent: #d4a64f;
    --text-dark: #102030;
    --text-light: #f8fafc;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background: #fff;
}

.site-navbar,
.admin-sidebar {
    background: linear-gradient(120deg, #07111a, #13314c);
}

.site-navbar .nav-link,
.admin-sidebar .nav-link,
.navbar-brand,
.admin-sidebar h4 {
    color: var(--text-light) !important;
}

.hero-section {
    background-color: #0b1824;
    background-image: linear-gradient(rgba(6, 15, 23, 0.55), rgba(6, 15, 23, 0.75)),
        url('https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1600&q=80');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 82vh;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.hero-section .lead {
    color: rgba(248, 250, 252, 0.92);
}

.section-soft {
    background: var(--surface-soft);
}

.section-dark {
    background: var(--bg);
    color: var(--text-light);
}

.glass-card,
.feature-card,
.booking-card,
.admin-card {
    border: 0;
    border-radius: 1.25rem;
    box-shadow: 0 16px 40px rgba(16, 32, 48, 0.12);
}

.feature-card:hover,
.room-card:hover,
.menu-card:hover {
    transform: translateY(-6px);
}

.feature-card,
.room-card,
.menu-card {
    transition: all 0.3s ease;
}

.gallery-thumb,
.room-hero-media {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: hidden;
    border-radius: 1.25rem;
    cursor: pointer;
}

.gallery-thumb img,
.room-hero-media img {
    width: 100%;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-thumb:hover img,
.room-hero-media:hover img {
    transform: scale(1.04);
    filter: saturate(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1.25rem;
    color: #fff;
    background: linear-gradient(180deg, rgba(7, 17, 26, 0) 0%, rgba(7, 17, 26, 0.85) 100%);
}

.gallery-overlay.compact {
    padding: 0.9rem;
}

.gallery-title {
    font-size: 1.05rem;
    font-weight: 600;
}

.gallery-hint {
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.82);
}

.gallery-filter.is-active {
    box-shadow: 0 12px 24px rgba(16, 32, 48, 0.16);
}

.room-hero-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 600;
}

.room-gallery-note {
    margin-top: -0.75rem;
    color: rgba(16, 32, 48, 0.72);
    font-size: 0.95rem;
}

.room-gallery-thumb img {
    height: 180px;
    object-fit: cover;
}

.room-gallery-thumb {
    box-shadow: 0 0 0 1px rgba(16, 32, 48, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.room-gallery-thumb.is-active {
    box-shadow: 0 0 0 3px rgba(212, 166, 79, 0.9);
}

.room-card img,
.menu-card img,
.gallery-thumb img {
    height: 240px;
    object-fit: cover;
}

.metric-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
}

.cta-strip {
    background: linear-gradient(120deg, #0d2235, #1c3f5d);
    color: white;
    border-radius: 1.5rem;
}

.site-footer {
    background: #09131d;
    color: #d9e2ec;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.admin-body {
    background: #eef4f8;
}

.admin-sidebar {
    width: 260px;
    min-height: 100vh;
}

.table thead th {
    background: #13314c;
    color: white;
}

.badge-soft {
    background: rgba(212, 166, 79, 0.18);
    color: #8f6615;
}

.page-banner {
    background: linear-gradient(rgba(6, 15, 23, 0.58), rgba(6, 15, 23, 0.72)),
        url('https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?auto=format&fit=crop&w=1600&q=80') center/cover;
    color: white;
    padding: 6rem 0;
}

.rounded-4 {
    border-radius: 1.25rem !important;
}

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

.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 15, 23, 0.82);
    backdrop-filter: blur(10px);
}

.lightbox-dialog {
    position: relative;
    width: min(960px, 100%);
    border-radius: 1.5rem;
    overflow: hidden;
    background: #09131d;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.38);
}

.lightbox-image {
    width: 100%;
    max-height: 72vh;
    object-fit: cover;
    display: block;
}

.lightbox-meta {
    padding: 1.25rem 1.5rem 1.5rem;
    color: #f8fafc;
}

.lightbox-meta p {
    color: rgba(248, 250, 252, 0.76);
}

.lightbox-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #08141f;
    font-size: 1.6rem;
    line-height: 1;
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 991px) {
    .admin-sidebar {
        display: none;
    }

    .hero-section {
        min-height: 70vh;
    }

    .gallery-overlay {
        padding: 1rem;
    }

    .room-gallery-thumb img {
        height: 140px;
    }
}
