:root {
    --primary: #ffae19;
    --ink: #0f172a;
    --dark: #080808;
    --card: #141414;
    --muted: #a3a3a3;
    --line: rgba(255,255,255,.08);
    --light-line: rgba(255,255,255,.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #fff; background: var(--dark); font-family: Segoe UI, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; display: block; }

.site-header {
    position: fixed;
    inset: 0 0 auto;
    height: 78px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    background: rgba(8, 8, 8, .8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.logo {
    color: var(--primary);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: .02em;
}

.logo span {
    display: block;
    color: #9ca3af;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .18em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #d1d5db;
    font-size: 14px;
    font-weight: 700;
}

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

.pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--primary);
    color: #050505;
    font-weight: 900;
    border: 0;
    cursor: pointer;
}

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

.page {
    width: min(1480px, calc(100% - 48px));
    margin: 0 auto;
    padding: 116px 0 76px;
}

.section {
    position: relative;
    overflow: hidden;
    padding: 92px 8%;
}

.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 42px 42px;
    pointer-events: none;
}

.eyebrow {
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 34px;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 28px;
    background:
        radial-gradient(circle at 20% 18%, rgba(255,174,25,.18), transparent 30%),
        linear-gradient(135deg, #101010, #070707 72%);
}

.gallery-panel,
.detail-content,
.calendar-card,
.booking-list,
.not-found > * {
    position: relative;
    z-index: 1;
}

.main-image {
    min-height: 430px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #0b0b0b;
    border: 1px solid var(--line);
    overflow: hidden;
    padding: 22px;
}

.main-image img {
    width: 100%;
    max-height: 430px;
    object-fit: contain;
    filter: drop-shadow(0 28px 34px rgba(0,0,0,.62));
}

.thumb-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.thumb-grid button {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #101010;
    padding: 8px;
    cursor: pointer;
}

.thumb-grid button.active,
.thumb-grid button:hover { border-color: var(--primary); }

.thumb-grid img {
    width: 100%;
    height: 72px;
    object-fit: contain;
}

.multi-gallery-section {
    padding: 74px 0 0;
}

.multi-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.multi-gallery-grid button {
    min-height: 260px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 60%, rgba(255,174,25,.12), transparent 42%),
        #0b0b0b;
    cursor: pointer;
    overflow: hidden;
    padding: 18px;
    transition: .2s ease;
}

.multi-gallery-grid button:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.multi-gallery-grid img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    filter: drop-shadow(0 22px 28px rgba(0,0,0,.62));
}

.detail-content {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,.06);
    padding: 30px;
    backdrop-filter: blur(14px);
}

.detail-content h1 {
    font-size: clamp(42px, 5vw, 72px);
    line-height: .95;
    margin: 18px 0;
}

.detail-content p,
.section-title p,
.booking-list p,
.muted {
    color: var(--muted);
    line-height: 1.8;
}

.price-card {
    margin: 26px 0;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255,174,25,.38);
    background: rgba(255,174,25,.08);
}

.price-card small,
.spec-grid small {
    display: block;
    color: #737373;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.price-card strong {
    display: block;
    color: var(--primary);
    font-size: 34px;
    margin-top: 8px;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.spec-grid div {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    background: rgba(255,255,255,.04);
}

.spec-grid strong {
    display: block;
    margin-top: 8px;
    font-size: 18px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.booking-section {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 18px;
    padding: 0 0 18px;
}

.detail-alert,
.booking-warning {
    border: 1px solid rgba(255,174,25,.35);
    border-radius: 8px;
    background: rgba(255,174,25,.12);
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 18px;
    padding: 14px 16px;
}

.booking-warning[hidden] {
    display: none;
}

.booking-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
    padding: 24px;
}

.booking-card h2 {
    margin: 10px 0 10px;
    font-size: 28px;
}

.booking-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 18px;
}

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

.booking-form-grid label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    color: #9ca3af;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.booking-form-grid input,
.booking-form-grid select {
    width: 100%;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    padding: 12px 13px;
    background: rgba(255,255,255,.04);
    color: #fff;
}

.booking-form-grid select option {
    background: #111;
    color: #fff;
}

.booking-form-grid select option:checked {
    background: var(--primary);
    color: #050505;
}

.booking-form-grid select option[hidden] {
    display: none;
}

.booking-summary {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #0f0f0f;
    padding: 24px;
}

.booking-summary .summary-row {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.booking-summary .summary-row:last-child { border-bottom: 0; }

.booking-summary small,
.booking-summary .summary-row span {
    display: block;
    color: var(--muted);
}

.booking-summary strong {
    display: block;
    margin-top: 4px;
    font-size: 18px;
}

.calendar-section {
    padding: 74px 0 0;
}

.section-title {
    text-align: center;
    margin: 0 auto 34px;
    max-width: 780px;
}

.section-title h2 {
    margin: 14px 0 10px;
    font-size: clamp(30px, 4vw, 46px);
}

.calendar-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}

.calendar-layout-single {
    grid-template-columns: 1fr;
}

.calendar-card,
.booking-list {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--card);
    padding: 22px;
}

.calendar-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.calendar-head strong {
    color: var(--primary);
    font-size: 22px;
}

.calendar-head a {
    color: #d1d5db;
    font-weight: 900;
    font-size: 13px;
}

.calendar-head a:hover { color: var(--primary); }

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

.weekday-grid {
    color: #737373;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .12em;
    margin-bottom: 8px;
    text-align: center;
    text-transform: uppercase;
}

.day {
    min-height: 92px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #101010;
    padding: 10px;
}

button.day {
    width: 100%;
    cursor: pointer;
    color: #fff;
    text-align: left;
}

button.day:hover:not(.booked) {
    border-color: var(--primary);
}

.day strong {
    display: block;
    font-size: 20px;
}

.day span {
    display: inline-flex;
    margin-top: 14px;
    color: #737373;
    font-size: 12px;
    font-weight: 900;
}

.day.booked {
    border-color: rgba(255,174,25,.6);
    background: rgba(255,174,25,.14);
}

.day.selected {
    border-color: var(--primary);
    background: rgba(255,174,25,.24);
}

.day.range {
    border-color: rgba(255,174,25,.38);
    background: rgba(255,174,25,.16);
}

.day.booked span,
.day.booked strong { color: var(--primary); }

.empty-day {
    opacity: .35;
    background: transparent;
}

.booking-list {
    position: sticky;
    top: 104px;
}

.booking-list h3 {
    color: var(--primary);
    margin: 0 0 16px;
}

.booking-list article {
    border-bottom: 1px solid var(--line);
    padding: 15px 0;
}

.booking-list article:last-child { border-bottom: 0; }

.booking-list small {
    color: var(--primary);
    display: block;
    font-weight: 950;
    letter-spacing: .14em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.booking-list strong {
    display: block;
    line-height: 1.4;
}

.booking-list p { margin-bottom: 0; }

.not-found {
    min-height: 60vh;
    display: grid;
    place-items: center;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--card);
}

.not-found h1 {
    font-size: clamp(36px, 5vw, 64px);
    margin: 14px 0;
}

.footer {
    min-height: auto;
    background: #050505;
    padding-top: 74px;
    padding-bottom: 34px;
}

.footer-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 34px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding-bottom: 38px;
}

.footer h3 {
    color: var(--primary);
    margin-top: 0;
}

.footer p {
    color: #a3a3a3;
    line-height: 1.8;
    max-width: 620px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer li {
    margin: 12px 0;
    color: #a3a3a3;
}

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

.footer-bottom {
    position: relative;
    z-index: 2;
    color: #737373;
    font-size: 13px;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

@media (max-width: 1100px) {
    .detail-hero,
    .calendar-layout,
    .multi-gallery-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .booking-section {
        grid-template-columns: 1fr;
    }

    .booking-list { position: static; }
}

@media (max-width: 760px) {
    .site-header {
        padding: 14px 18px;
        height: auto;
        gap: 12px;
        align-items: start;
    }

    .site-nav { display: none; }
    .page { width: min(100% - 32px, 720px); padding-top: 102px; }
    .detail-hero { padding: 16px; }
    .main-image { min-height: 280px; }
    .thumb-grid { grid-template-columns: repeat(3, 1fr); }
    .spec-grid { grid-template-columns: 1fr; }
    .calendar-card { padding: 14px; }
    .calendar-head { align-items: flex-start; flex-direction: column; }
    .calendar-grid { gap: 5px; }
    .weekday-grid { font-size: 10px; }
    .day { min-height: 66px; padding: 7px; }
    .day strong { font-size: 16px; }
    .day span { font-size: 10px; margin-top: 8px; }
    .booking-form-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: start; }
}
