* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #08090c;
    --surface: #12141a;
    --surface-2: #171a22;
    --text: #f5f7ff;
    --muted: #a4acbf;
    --line: #2a2f3b;
    --gold: #d8b15a;
    --gold-2: #bc8f33;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --shadow-lg: 0 24px 55px rgba(0, 0, 0, 0.45);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.34);
    --grad-accent: linear-gradient(135deg, #d8b15a 0%, #bc8f33 100%);
    --grad-panel: linear-gradient(140deg, rgba(216, 177, 90, 0.16), rgba(255, 255, 255, 0.02) 45%, rgba(255, 255, 255, 0.01));
    --font-body: "Noto Sans Georgian", "Segoe UI", Tahoma, sans-serif;
    --font-head: "Noto Serif Georgian", Georgia, serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: radial-gradient(circle at 10% 10%, #171a22 0%, var(--bg) 45%);
    line-height: 1.55;
    min-width: 320px;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1200px, 100% - 3rem);
    margin-inline: auto;
}

.section {
    padding: 7rem 0;
}

.section[id] {
    scroll-margin-top: 96px;
}

.alt {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.eyebrow {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

h1,
h2,
h3 {
    font-family: var(--font-head);
    line-height: 1.1;
    letter-spacing: 0.01em;
}

h1 {
    font-size: clamp(2.1rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
}

h3 {
    font-size: clamp(1.4rem, 2.3vw, 1.85rem);
}

p {
    color: var(--muted);
}

.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1200;
    backdrop-filter: blur(10px);
    background: rgba(8, 9, 12, 0.7);
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.header.scrolled {
    background: rgba(8, 9, 12, 0.94);
    border-color: var(--line);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    min-height: 82px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--gold);
    font-weight: 700;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 10px;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--gold);
    transition: all 0.25s ease;
}

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

.nav-auth {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.3rem;
}

.nav-auth-link {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
    color: #e2e7f7;
    border-radius: 999px;
    min-height: 38px;
    padding: 0.45rem 0.95rem;
    font-size: 0.84rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

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

.logout-link {
    font-family: inherit;
}

.user-mini {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(216, 177, 90, 0.35);
    border-radius: 999px;
    padding: 0.24rem 0.55rem 0.24rem 0.24rem;
    background: rgba(216, 177, 90, 0.08);
    color: #f2f5ff;
}

.user-mini img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.user-mini span {
    font-size: 0.82rem;
    font-weight: 500;
}

.nav-overlay {
    display: none;
}

.nav-link {
    font-size: 0.92rem;
    color: #c8cedd;
    padding: 0.45rem 0.35rem;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.15rem;
    height: 1px;
    transform: scaleX(0);
    transform-origin: center;
    background: var(--grad-accent);
    transition: transform 0.25s ease;
}

.nav-link.active,
.nav-link:hover {
    color: #fff;
}

.nav-link.active::after,
.nav-link:hover::after {
    transform: scaleX(1);
}

.btn {
    border: none;
    border-radius: 999px;
    min-height: 48px;
    padding: 0.82rem 1.4rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

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

.btn-accent {
    background: var(--grad-accent);
    color: #141111;
    box-shadow: 0 8px 20px rgba(216, 177, 90, 0.35);
}

.btn-accent:hover {
    transform: translateY(-1px);
    box-shadow: 0 13px 26px rgba(216, 177, 90, 0.45);
}

.btn-ghost {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
    color: #f7f8fd;
}

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

.btn.full {
    width: 100%;
}

.btn.inline {
    width: fit-content;
}

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    align-items: center;
    padding-top: 7rem;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(216, 177, 90, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(216, 177, 90, 0.08) 1px, transparent 1px);
    background-size: 70px 70px;
    opacity: 0.22;
    mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
    pointer-events: none;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.1rem;
    position: relative;
    z-index: 1;
}

.hero-copy {
    padding-right: 1rem;
}

.hero-text {
    max-width: 56ch;
    margin-top: 1rem;
    font-size: clamp(1rem, 2.5vw, 1.18rem);
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-banner {
    display: grid;
    gap: 1rem;
}

.banner-track {
    display: grid;
    gap: 1rem;
}

.banner-track .banner-card:nth-child(3) {
    display: none;
}

.banner-card {
    background: var(--grad-panel);
    border: 1px solid rgba(216, 177, 90, 0.25);
    border-radius: var(--radius-lg);
    padding: 1.3rem;
    box-shadow: var(--shadow-md);
}

.banner-card p {
    margin: 0.6rem 0 0.8rem;
}

.banner-card span {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.banner-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(216, 177, 90, 0.12);
    border: 1px solid rgba(216, 177, 90, 0.32);
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.banner-controls {
    display: none;
}

.banner-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    background: #4b5060;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.banner-dot.active {
    background: var(--gold);
    transform: scale(1.15);
}

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

.menu-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 2rem;
}

.menu-tab {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: #cad1df;
    min-height: 44px;
    padding: 0.65rem 1.1rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.menu-tab.active,
.menu-tab:hover {
    color: #131313;
    background: var(--grad-accent);
    border-color: transparent;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.menu-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.15rem;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.menu-card:hover {
    transform: translateY(-3px);
    border-color: rgba(216, 177, 90, 0.4);
}

.menu-card p {
    margin: 0.65rem 0 1.05rem;
}

.meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.meta span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--gold);
}

.meta strong {
    font-size: 1rem;
}

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    align-items: stretch;
}

.panel {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    padding: 2rem;
}

.panel h2 {
    margin-bottom: 0.9rem;
}

.panel p + p {
    margin-top: 0.45rem;
}

.pill-row {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill-row span {
    border: 1px solid var(--line);
    background: rgba(216, 177, 90, 0.08);
    border-radius: 999px;
    padding: 0.48rem 0.82rem;
    color: #d8deeb;
    font-size: 0.83rem;
}

.about-banner {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #171b24, #101218);
    display: grid;
    place-items: center;
    min-height: 300px;
    overflow: hidden;
    position: relative;
}

.about-banner i {
    font-size: clamp(3rem, 7vw, 5rem);
    color: var(--gold);
    z-index: 2;
}

.glow-orb {
    width: 260px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 177, 90, 0.45), transparent 72%);
    filter: blur(8px);
    position: absolute;
}

.card-form,
.profile-card,
.reservation-list {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 0.9rem;
}

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

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

label {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    color: #e4e8f3;
    font-size: 0.89rem;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--text);
    border-radius: 12px;
    font-size: 0.95rem;
    min-height: 46px;
    padding: 0.72rem 0.8rem;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
    font-family: inherit;
}

textarea {
    min-height: 90px;
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(216, 177, 90, 0.18);
}

.status {
    min-height: 1.2rem;
    margin-top: 0.55rem;
    font-size: 0.9rem;
    color: var(--gold);
}

.profile-wrap {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 1rem;
    align-items: start;
}

.profile-card {
    text-align: center;
}

.profile-card img {
    width: min(180px, 60%);
    aspect-ratio: 1;
    border-radius: 50%;
    margin-inline: auto;
    border: 3px solid rgba(216, 177, 90, 0.5);
    object-fit: cover;
}

.profile-card h3 {
    margin-top: 1rem;
}

.account-details {
    margin-top: 1rem;
    text-align: left;
    display: grid;
    gap: 0.65rem;
}

.account-details div {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.55rem 0.65rem;
    background: rgba(255, 255, 255, 0.01);
}

.account-details dt {
    color: #9ea5b7;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 0.18rem;
}

.account-details dd {
    color: #f0f3ff;
    font-size: 0.88rem;
    font-weight: 500;
}

.reservation-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 1rem;
}

.reservation-list h3 {
    margin-bottom: 0.7rem;
}

.reservation-list ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-height: 360px;
    overflow: auto;
    padding-right: 0.2rem;
}

.reservation-list li {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.7rem;
    background: var(--surface-2);
    font-size: 0.9rem;
    color: #d4daea;
    overflow-wrap: anywhere;
}

.footer {
    border-top: 1px solid var(--line);
    padding: 1.4rem 0;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.7rem;
}

.footer-links {
    display: inline-flex;
    gap: 0.95rem;
}

.footer-links a {
    color: #cad1de;
    font-size: 0.9rem;
}

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

.auth-main {
    min-height: 100svh;
    display: grid;
    align-items: center;
}

.auth-container {
    width: min(620px, 100%);
}

.auth-switch {
    margin-top: 0.8rem;
    color: #b7bed2;
    font-size: 0.92rem;
}

.auth-switch a {
    color: var(--gold);
    text-decoration: underline;
}

.profile-main {
    min-height: 100svh;
}

.profile-login-warning {
    max-width: 540px;
    margin: 0 auto 1rem;
    text-align: center;
}

.profile-login-warning p {
    margin-bottom: 0.9rem;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 980px) {
    .menu-toggle {
        display: inline-flex;
    }

    .nav-menu {
        position: fixed;
        top: 82px;
        right: 0;
        width: 100vw;
        max-width: 360px;
        height: calc(100svh - 82px);
        background: rgba(10, 11, 15, 0.98);
        border-left: 1px solid var(--line);
        transform: translateX(100%);
        transition: transform 0.25s ease;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem;
        overflow-y: auto;
        z-index: 1201;
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-overlay {
        display: block;
        position: fixed;
        inset: 82px 0 0;
        border: 0;
        background: rgba(5, 6, 9, 0.52);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
        z-index: 1200;
    }

    .nav-overlay.show {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        min-height: 48px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #1d212b;
        padding: 0.7rem 0.2rem;
    }

    .nav-link::after {
        display: none;
    }

    .nav-reserve {
        margin-top: 0.8rem;
        width: 100%;
    }

    .nav-auth {
        margin-top: 0.85rem;
        margin-left: 0;
        flex-wrap: wrap;
    }

    .nav-auth-link,
    .user-mini {
        width: 100%;
        justify-content: center;
    }

    .hero-layout,
    .profile-wrap,
    .reservation-layout,
    .split,
    .menu-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 5.6rem 0;
    }

    .hero-banner {
        overflow: hidden;
        border-radius: var(--radius-md);
    }

    .banner-track {
        display: flex;
        gap: 0;
        transition: transform 0.35s ease;
        will-change: transform;
    }

    .banner-track .banner-card:nth-child(3) {
        display: block;
    }

    .banner-track .banner-card {
        min-width: 100%;
        border-radius: var(--radius-md);
        margin: 0;
    }

    .banner-controls {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 0.7rem;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(1200px, 100% - 1.5rem);
    }

    .section {
        padding: 5rem 0;
    }

    .hero {
        min-height: auto;
        padding-top: 6.6rem;
    }

    .hero-copy {
        padding-right: 0;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .btn,
    .menu-tab,
    .nav-link,
    input,
    textarea {
        font-size: 1rem;
    }

    .nav-shell {
        min-height: 76px;
    }

    .nav-menu {
        top: 76px;
        height: calc(100svh - 76px);
    }

    .nav-overlay {
        inset: 76px 0 0;
    }

    .header {
        backdrop-filter: blur(14px);
    }

    .logo {
        font-size: 1.65rem;
    }

    .hero-text,
    .panel p,
    .menu-card p,
    .status {
        font-size: 0.96rem;
        line-height: 1.65;
    }

    .section-head {
        margin-bottom: 1.6rem;
    }

    .menu-grid,
    .split,
    .profile-wrap,
    .reservation-layout {
        gap: 0.85rem;
    }

    .banner-card {
        padding: 1.05rem;
    }

    .form-grid {
        gap: 0.72rem;
    }

    .menu-tab {
        min-height: 46px;
    }

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

    .panel,
    .card-form,
    .profile-card,
    .reservation-list {
        padding: 1rem;
        border-radius: var(--radius-sm);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
    }

    .footer-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .account-details {
        gap: 0.5rem;
    }

    .account-details div {
        padding: 0.6rem;
    }

    .reservation-list ul {
        max-height: 300px;
    }
}

@media (max-width: 420px) {
    .container {
        width: min(1200px, 100% - 1.1rem);
    }

    .section {
        padding: 4.4rem 0;
    }

    h1 {
        font-size: clamp(1.75rem, 8vw, 2.2rem);
    }

    h2 {
        font-size: clamp(1.45rem, 7vw, 1.85rem);
    }

    .hero-actions {
        gap: 0.62rem;
    }

    .btn {
        min-height: 46px;
        padding: 0.75rem 1rem;
    }

    .menu-tab {
        padding: 0.56rem 0.86rem;
    }

    .user-mini span {
        font-size: 0.78rem;
    }
}
