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

:root {
    --black: #0a0a0a;
    --black-light: #141414;
    --black-card: #1a1a1a;
    --gold: #d4a843;
    --gold-light: #e8c76a;
    --text: #e0e0e0;
    --text-muted: #999;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Old Standard TT', serif;
    background: var(--black);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 168, 67, 0.15);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-family: 'Old Standard TT', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav__link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav__link:hover,
.nav__link.active {
    color: var(--gold);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

/* ===== BURGER ===== */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('../img/s1_bg.png') center/cover no-repeat;
    padding: 100px 0 60px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(10, 10, 10, 0.84);
}

.hero__inner {
    position: relative;
    z-index: 1;
}

.hero__pre {
    font-size: 1.1rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
    font-weight: 500;
}

.hero__title {
    font-family: 'Old Standard TT', serif;
    font-size: clamp(3.4rem, 8vw, 6.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero__subtitle {
    font-size: 1.35rem;
    color: var(--text);
    max-width: 520px;
    margin: 0 auto 40px;
}

/* ===== BUTTON ===== */
.btn {
    display: inline-block;
    padding: 16px 46px;
    background: var(--gold);
    color: var(--black);
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    letter-spacing: 0.02em;
}

.btn:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 168, 67, 0.25);
}

/* ===== SECTIONS ===== */
.section {
    padding: 90px 0;
}

.section--alt {
    background: var(--black-light);
}

.section__title {
    font-family: 'Old Standard TT', serif;
    font-size: 2.9rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section__subtitle {
    font-family: 'Old Standard TT', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 24px;
    padding-left: 4px;
}

/* ===== MENU TABLE ===== */
.table-wrap {
    margin-bottom: 50px;
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid rgba(212, 168, 67, 0.15);
}

.menu-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.1rem;
}

.menu-table thead {
    background: rgba(212, 168, 67, 0.1);
}

.menu-table th {
    padding: 16px 22px;
    text-align: left;
    font-weight: 600;
    color: var(--gold);
    /*border-bottom: 2px solid rgba(212, 168, 67, 0.2);*/
    white-space: nowrap;
}

.menu-table td {
    padding: 15px 22px;
    /*border-bottom: 1px solid rgba(255, 255, 255, 0.05);*/
    color: var(--text);
}

.menu-table tbody tr {
    transition: background 0.2s;
}

.menu-table tbody tr:hover {
    background: rgba(212, 168, 67, 0.05);
}

.menu-table td:last-child {
    color: var(--gold);
    font-weight: 600;
    white-space: nowrap;
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-card {
    background: var(--black-card);
    border: 1px solid rgba(212, 168, 67, 0.1);
    border-radius: 8px;
    padding: 36px 28px;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}

.about-card:hover {
    border-color: rgba(212, 168, 67, 0.3);
    transform: translateY(-4px);
}

.about-card__icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.about-card__title {
    font-family: 'Old Standard TT', serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.about-card__text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== STEPS ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.step {
    text-align: center;
    padding: 30px 20px;
}

.step__number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--black);
    font-family: 'Old Standard TT', serif;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.step__title {
    font-family: 'Old Standard TT', serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.step__text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.order-note {
    text-align: center;
    font-size: 1.3rem;
    color: var(--gold);
    font-weight: 600;
    padding: 20px;
    border: 1px solid rgba(212, 168, 67, 0.2);
    border-radius: 8px;
    max-width: 500px;
    margin: 0 auto;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--black-light);
    border-top: 1px solid rgba(212, 168, 67, 0.1);
    padding: 50px 0 30px;
}

.footer__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer__heading {
    font-family: 'Old Standard TT', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 12px;
}

.footer__text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer__phone {
    display: block;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    margin-bottom: 6px;
    transition: color 0.3s;
}

.footer__phone:hover {
    color: var(--gold-light);
}

.footer__link {
    display: block;
    font-size: 1.05rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s;
}

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

.footer__copy {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 90;
        background: rgba(10, 10, 10, 0.97);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 20px 0;
        transform: translateY(-120%);
        transition: transform 0.3s;
        border-bottom: 1px solid rgba(212, 168, 67, 0.15);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav.open {
        transform: translateY(0);
    }

    .nav__link {
        padding: 12px 0;
        font-size: 1rem;
    }

    .burger {
        display: flex;
    }

    .hero__title {
        font-size: 2.4rem;
    }

    .about-grid,
    .steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section {
        padding: 60px 0;
    }

    .section__title {
        font-size: 2rem;
        margin-bottom: 36px;
    }

    .menu-table {
        font-size: 0.85rem;
    }

    .menu-table th,
    .menu-table td {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .menu-table td:last-child {
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .btn,
    .about-card,
    .nav__link,
    .nav__link::after,
    .footer__phone,
    .footer__link,
    .menu-table tbody tr {
        transition: none;
    }
}
