@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&family=DM+Mono:wght@300;400;500&display=swap');

:root {
    --bg: #f0ebe4;
    --bg-warm: #e9e2d9;
    --wine: #FF7400;
    --gold: #b49a6a;
    --ink: #2a2320;
    --muted: #9a918a;
    --line: #d8d0c6;
    --dark: #1a1714;
    --orange: #FF7400;
    --orange-dark: #c1671d;
    --orange-gold: #D67E35;
}

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

::selection {
    background: var(--wine);
    color: white;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}


/* ════════════════════════════════════════
   HEADER
   ════════════════════════════════════════ */
.orig-header {
    background-image: url(../img/hed.png);
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

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

.orig-header-line {
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* When header is inside a .container (sub-pages), reduce top padding */
.container .orig-header-line {
    padding-top: 10px;
}

.orig-header-logo {
    display: block;
    transition: transform 0.3s;
}

.orig-header-logo:hover {
    transform: scale(1.08);
}

.orig-header-logo img {
    height: 50px;
}

.orig-nav-item {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    margin-right: 25px;
    transition: color 0.5s linear;
    position: relative;
    font-family: 'Open Sans', sans-serif;
}

.orig-nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF7400;
    transition: width 0.3s ease;
}

.orig-nav-item:hover { color: #FF7400; }
.orig-nav-item:hover::after { width: 100%; }
.orig-nav-item.active { color: #FF7400; }
.orig-nav-item.active::after { width: 100%; }

.orig-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.orig-phone-holder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.orig-phone-img img { height: 20px; }

.orig-num {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 0 15px;
    font-family: 'Open Sans', sans-serif;
    transition: color 0.5s linear;
}

.orig-num:hover { color: #FF7400; }

.orig-phone-text {
    text-align: center;
    margin-top: 5px;
    color: #fff;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
}

.orig-button {
    background-color: #FF7400;
    color: #fff;
    text-decoration: none;
    padding: 14px 24px;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(255, 116, 0, 0.3);
    transition: background-color 0.3s, transform 0.3s ease, box-shadow 0.3s ease;
}

.orig-button:hover {
    background-color: #c1671d;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255, 116, 0, 0.5);
}

.orig-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 116, 0, 0.3);
}

.orig-header-down { position: relative; }

.orig-header-title {
    color: #D67E35;
    font-family: 'Tinos', serif;
    font-size: 50px;
    font-weight: 400;
    text-align: center;
    position: absolute;
    left: 0;
    margin-top: 320px;
}

.orig-header-subtitle { font-family: 'Tinos', serif; }

.orig-header-suptitle {
    color: #fff;
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
    margin-top: 20px;
    position: relative;
}

.orig-header-suptitle::after {
    position: absolute;
    content: '';
    height: 2px;
    width: 61px;
    background-color: #fff;
    top: 50%;
    right: calc(100% + 15px);
}

.orig-header-suptitle::before {
    position: absolute;
    content: '';
    height: 2px;
    width: 61px;
    background-color: #fff;
    top: 50%;
    left: calc(100% + 15px);
}

@media (max-width: 900px) {
    .orig-container { margin: 0 24px; }
    .orig-header-line { flex-wrap: wrap; gap: 16px; padding-top: 24px; }
    .orig-nav { display: none; }
    .orig-phone { display: none; }
    .orig-header-title { font-size: 32px; margin-top: 140px; }
}


/* ════════════════════════════════════════
   БЕГУЩАЯ СТРОКА
   ════════════════════════════════════════ */
.marquee-strip {
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
    background: var(--bg);
}

.marquee-track {
    display: flex;
    gap: 28px;
    width: max-content;
    white-space: nowrap;
    animation: marquee 35s linear infinite;
}

.marquee-track span {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 2.5px;
    color: var(--muted);
    flex-shrink: 0;
}

.mq-dot {
    color: var(--wine);
    font-size: 5px;
    flex-shrink: 0;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* ════════════════════════════════════════
   УТИЛИТЫ
   ════════════════════════════════════════ */
.label {
    display: block;
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}


/* ════════════════════════════════════════
   О НАС
   ════════════════════════════════════════ */
.about {
    padding: 100px 48px;
    background: var(--bg);
}

.about-wrap {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-heading {
    font-family: 'DM Serif Display', serif;
    font-size: 42px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 20px;
    line-height: 1.15;
}

.about-heading em {
    font-style: italic;
    color: var(--wine);
}

.about-text {
    font-size: 15px;
    font-weight: 300;
    color: #706a64;
    line-height: 1.9;
    margin-bottom: 40px;
}

.about-stats {
    display: flex;
    gap: 40px;
}

.about-stat {
    border-top: 1px solid var(--line);
    padding-top: 10px;
}

.st-num {
    font-family: 'DM Serif Display', serif;
    font-size: 36px;
    color: var(--wine);
    display: block;
    line-height: 1;
    margin-bottom: 2px;
}

.st-label {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
}

.about-right {
    position: relative;
    height: 460px;
}

.about-img-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 65%;
    border-radius: 4px;
    overflow: hidden;
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-float {
    position: absolute;
    bottom: 0;
    left: -16px;
    width: 55%;
    height: 50%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    border: 3px solid var(--bg);
}

.about-img-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ════════════════════════════════════════
   БЛЮДА — карточки с фото
   ════════════════════════════════════════ */
.dishes {
    padding: 100px 48px;
    background: var(--bg-warm);
}

.dishes-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.dishes-header {
    margin-bottom: 40px;
}

.dishes-heading {
    font-family: 'DM Serif Display', serif;
    font-size: 42px;
    font-weight: 400;
    color: var(--ink);
}

.dishes-heading em {
    font-style: italic;
    color: var(--wine);
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.dish {
    text-decoration: none;
    color: var(--ink);
    display: block;
    overflow: hidden;
    border-radius: 6px;
    background: var(--bg);
    border: 1.5px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.dish:hover {
    transform: translateY(-6px);
    border-color: var(--wine);
    box-shadow: 0 12px 32px rgba(140, 47, 57, 0.12);
}

.dish-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.dish-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dish:hover .dish-img img {
    transform: scale(1.06);
}

.dish-body {
    padding: 16px 18px;
}

.dish-body h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 4px;
    transition: color 0.3s;
}

.dish:hover .dish-body h3 {
    color: var(--wine);
}

.dish-price {
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    color: var(--gold);
}

.dishes-more {
    text-align: center;
    margin-top: 36px;
}

.link-arrow {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: var(--wine);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(140, 47, 57, 0.3);
    transition: border-color 0.3s;
}

.link-arrow:hover {
    border-color: var(--wine);
}


/* ════════════════════════════════════════
   CTA БАННЕР
   ════════════════════════════════════════ */
.cta-banner {
    position: relative;
    padding: 120px 48px;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 8, 6, 0.75);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-label {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 20px;
}

.cta-heading {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 32px;
}

.cta-heading em {
    font-style: italic;
    color: var(--orange);
}

.cta-btn {
    display: inline-block;
    padding: 13px 32px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s;
}

.cta-btn:hover {
    background: var(--wine);
    border-color: var(--wine);
}


/* ════════════════════════════════════════
   ГАЛЕРЕЯ
   ════════════════════════════════════════ */
.gallery {
    padding: 80px 48px;
    background: #fff;
}

.gallery-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-heading {
    font-family: 'Tinos', serif;
    font-size: 54px;
    font-weight: 400;
    color: var(--ink);
    text-align: center;
    margin-bottom: 50px;
}

.gallery-heading em {
    font-style: normal;
    color: #D67E35;
}

.galery-content {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.galery-left {
    flex: 1;
}

.galery-right {
    flex: 1;
}

.galery-down,
.galery-up {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.galery-content img {
    width: 100%;
    height: 274px;
    object-fit: cover;
    display: block;
}

.galery-left .galery-up img {
    width: 100%;
    height: 274px;
}

.galery-left .galery-down img {
    width: 48%;
    height: 274px;
}

.galery-right .galery-up img {
    width: 48%;
    height: 274px;
}

.galery-right .galery-down img {
    width: 100%;
    height: 274px;
}


/* ════════════════════════════════════════
   ФУТЕР
   ════════════════════════════════════════ */
.footer {
    background: var(--dark);
    padding: 48px 48px 0;
}

.footer-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    height: 24px;
}

.footer-name {
    font-family: 'DM Serif Display', serif;
    font-size: 15px;
    color: #faf7f3;
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 10px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.12);
}


/* ════════════════════════════════════════
   АДАПТИВ
   ════════════════════════════════════════ */
@media (max-width: 900px) {
    .header-inner {
        padding: 12px 24px;
    }

    .header-nav {
        display: none;
    }

    .nav-indicator {
        display: none;
    }

    .header-phone {
        display: none;
    }

    .logo-sub {
        display: none;
    }

    .about {
        padding: 60px 24px;
    }

    .about-wrap {
        grid-template-columns: 1fr;
    }

    .about-right {
        height: 300px;
    }

    .dishes {
        padding: 60px 24px;
    }

    .dishes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-banner {
        padding: 80px 24px;
    }

    .gallery {
        padding: 60px 24px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gal.gal-tall {
        grid-row: span 1;
        aspect-ratio: 1;
    }

    .gal.gal-wide {
        grid-column: span 1;
    }

    .footer {
        padding: 32px 24px 0;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-contact {
        align-items: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 40px;
    }

    .about-heading,
    .dishes-heading,
    .gallery-heading {
        font-size: 32px;
    }

    .about-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

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

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