/* ===== VARIABLES ===== */
:root {
    --bg: #0B0A08;
    --bg-card: #141210;
    --bg-elevated: #1C1A17;
    --bg-input: #1C1A17;

    --text: #FAF9F6;
    --text-secondary: #A8A196;
    --text-muted: #6B6560;

    --gold: #C8A96E;
    --gold-light: #E8D5A8;
    --gold-dark: #9E8555;
    --gold-glow: rgba(200, 169, 110, 0.25);

    --green: #5CB176;
    --green-bg: rgba(92, 177, 118, 0.12);
    --red: #D45B5B;
    --amber: #D4A34B;
    --amber-bg: rgba(212, 163, 75, 0.12);

    --border: rgba(255, 255, 255, 0.06);
    --border-gold: rgba(200, 169, 110, 0.25);

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(180deg, rgba(11, 10, 8, 0.98) 0%, rgba(11, 10, 8, 0.85) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.brand {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.04em;
}

.brand-tagline {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: -3px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color 0.2s;
}

.nav-link:hover { color: var(--gold); }

.nav-phone {
    display: none;
}

@media (min-width: 480px) {
    .nav-phone { display: block; }
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 1.25rem 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    filter: brightness(0.9) saturate(1);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 10, 8, 0.6) 0%, rgba(11, 10, 8, 0.2) 40%, rgba(11, 10, 8, 0.7) 100%),
        radial-gradient(ellipse 80% 60% at 50% 30%, rgba(200, 169, 110, 0.1) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeUp 0.8s ease-out;
}

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

.hero-badge {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--border-gold);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 12vw, 6rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--text) 0%, var(--gold-light) 50%, var(--text) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 380px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.btn-reserve {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--bg);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border: none;
    border-radius: var(--radius-full);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 4px 24px var(--gold-glow);
}

.btn-reserve:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--gold-glow);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeUp 0.8s ease-out 0.3s backwards;
}

.hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ===== ATMOSPHERE GALLERY ===== */
.atmosphere {
    padding: 2rem 0 4rem;
    overflow: hidden;
}

.atmosphere-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.atmosphere-text {
    text-align: center;
    margin-bottom: 2rem;
}

.atm-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    font-weight: 400;
    margin: 0.5rem 0 0.75rem;
}

.atm-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto;
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.4s ease;
}

.gallery-item--large {
    aspect-ratio: 16 / 10;
}

.gallery-item--small {
    aspect-ratio: 16 / 9;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(11, 10, 8, 0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-overlay span {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--gold-light);
    letter-spacing: 0.03em;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.8);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

@media (min-width: 480px) {
    .atmosphere-gallery {
        grid-template-columns: 3fr 2fr;
    }

    .gallery-item--large {
        aspect-ratio: auto;
    }

    .gallery-item--small {
        aspect-ratio: auto;
    }
}

/* ===== RESERVATION ===== */
.reservation {
    padding: 4rem 0 6rem;
}

.res-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.res-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

.res-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 2.5rem);
    font-weight: 400;
    margin: 0.5rem 0;
}

.res-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Booking Card */
.booking-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.step {
    display: none;
    padding: 2rem 1.5rem;
    animation: fadeUp 0.4s ease-out;
}

.step-active {
    display: block;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 2px solid var(--text-muted);
    transition: all 0.3s;
    flex-shrink: 0;
}

.step-dot.active {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 12px var(--gold-glow);
}

.step-dot.done {
    background: var(--green);
    border-color: var(--green);
}

.step-line {
    width: 60px;
    height: 2px;
    background: var(--bg-elevated);
    transition: background 0.3s;
}

.step-line.filled {
    background: var(--green);
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Fields */
.field {
    margin-bottom: 1.25rem;
}

.field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.field .optional {
    color: var(--text-muted);
    font-weight: 400;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.1);
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--text-muted);
}

.field textarea {
    resize: vertical;
    min-height: 80px;
}

/* Time Grid */
.time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.time-btn {
    padding: 0.65rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.time-btn:hover {
    border-color: var(--gold);
    color: var(--text);
}

.time-btn.selected {
    background: rgba(200, 169, 110, 0.12);
    border-color: var(--gold);
    color: var(--gold);
}

.time-btn.unavailable {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Guest Selector */
.guest-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 0.75rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.guest-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.guest-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.guest-count {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--text);
    min-width: 3rem;
    text-align: center;
}

/* Buttons */
.btn-next,
.btn-confirm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.95rem;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--bg);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.25s;
    margin-top: 0.5rem;
}

.btn-next:hover,
.btn-confirm:hover {
    box-shadow: 0 4px 20px var(--gold-glow);
    transform: translateY(-1px);
}

.btn-next:disabled,
.btn-confirm:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 1.25rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-back:hover {
    border-color: var(--text-muted);
    color: var(--text);
}

.btn-row {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.btn-row .btn-next,
.btn-row .btn-confirm {
    flex: 1;
    margin-top: 0;
}

/* Review Card */
.review-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.review-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
}

.review-row + .review-row {
    border-top: 1px solid var(--border);
}

.review-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-value {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
}

.review-note {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: var(--amber-bg);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--amber);
    text-align: center;
    line-height: 1.5;
}

/* ===== OVERLAYS ===== */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 10, 8, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding: 1.25rem;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Success Card */
.success-card,
.waitlist-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    text-align: center;
    max-width: 440px;
    width: 100%;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s;
}

.overlay.active .success-card,
.overlay.active .waitlist-card {
    transform: translateY(0) scale(1);
}

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
}

.success-icon svg {
    width: 100%;
    height: 100%;
}

.success-circle {
    stroke: var(--green);
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: drawCircle 0.6s ease forwards;
}

.success-check {
    stroke: var(--green);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: drawCheck 0.3s 0.6s ease forwards;
}

@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }

.success-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.success-msg {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.success-details {
    background: var(--bg-elevated);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: left;
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.82rem;
}

.detail-row + .detail-row {
    border-top: 1px solid var(--border);
}

.detail-label {
    color: var(--text-muted);
}

.detail-value {
    font-weight: 500;
}

.btn-done {
    width: 100%;
    padding: 0.9rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-done:hover {
    border-color: var(--gold);
}

/* Waitlist */
.waitlist-icon {
    color: var(--gold);
    margin-bottom: 1rem;
}

.waitlist-card h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.waitlist-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.waitlist-card .field {
    text-align: left;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1.5rem;
}

.footer .container {
    max-width: 960px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.footer-brand .brand-name {
    font-size: 1.25rem;
}

.footer-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.footer-col p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 0.7rem;
    color: var(--text-muted);
}

@media (min-width: 640px) {
    .footer-inner {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        text-align: left;
    }

    .footer-desc {
        margin-left: 0;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }
