@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Great+Vibes&family=Inter:wght@300;400;500&display=swap');

:root {
    --olive: #7b7a4a;
    --bg: #f4f1eb;
    --light: #faf7f2;
    --text: #2b2a27;
    --muted: #8f8a7d;
    --line: #e5dfd3;
    --shadow: 0 12px 30px rgba(55, 47, 34, 0.12);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    padding-top: 80px;
}

a {
    color: inherit;
    transition: color 0.2s ease
}

a:hover {
    color: var(--olive)
}

.container {
    width: 1200px;
    max-width: 92%;
    margin: auto
}

header {
    background: var(--light);
    border-bottom: 1px solid var(--line);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
}

.header-inner {
    display: grid;
    grid-template-columns:1fr auto 1fr;
    align-items: center;
    padding: 20px 0
}

.header-nav {
    display: flex;
    gap: 26px
}

.header-nav a {
    text-decoration: none;
    color: #494640;
    font-weight: 500;
    font-size: 15px;
    padding-bottom: 6px
}

.header-nav a.active {
    border-bottom: 2px solid var(--olive)
}

.logo {
    font-family: 'Great Vibes', cursive;
    font-size: 42px;
    color: #2f2c26
}

.header-logo {
    display: block;
    height: 50px;
    width: 100px;
    object-fit: cover;
    object-position: center 32%;
    margin: 0 auto;
    transform: scale(2.5);
}

.header-cta {
    justify-self: end
}

.header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 12px
}

.lang-select {
    appearance: none;
    border: 1px solid #d7ccb8;
    background: #fff;
    color: #4b463d;
    border-radius: 999px;
    padding: 8px 28px 8px 14px;
    font-size: 13px;
    cursor: pointer
}

.btn {
    background: #737B66;
    color: #fff;
    padding: 12px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease
}

.btn:hover {
    background: #737B66;
    color: #fff;
    box-shadow: 0 12px 24px rgba(115, 123, 102, 0.25);
    transform: translateY(-1px)
}

.btn.outline {
    background: transparent;
    color: #737B66;
    border: 1px solid #737B66
}

.btn.outline:hover {
    background: #737B66;
    color: #fff;
    border-color: #737B66
}

.hero {
    position: relative;
    height: 560px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease
}

.slide.active {
    opacity: 1
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(248, 245, 239, 0.78)
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: #737B66;
    color: #fff;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3
}

.slider-arrow.prev {
    left: 40px
}

.slider-arrow.next {
    right: 40px
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 40px;
    margin-bottom: 16px
}

.hero h1 i {
    font-family: 'Great Vibes', cursive;
    font-style: normal
}

.hero-welcome {
    display: block;
    font-size: 32px;
    letter-spacing: 0.04em;
    margin-bottom: 12px
}

.hero-logo {
    display: block;
    height: 265px;
    width: 780px;
    object-fit: cover;
    object-position: center bottom;
    margin: 0 auto
}

.hero p {
    font-size: 18px;
    color: #5c584f;
    margin-bottom: 30px
}

.page-hero {
    position: relative;
    height: 340px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center
}

.page-overlay {
    position: absolute;
    inset: 0;
    background: rgba(248, 245, 239, 0.78)
}

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

.page-hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 40px;
    margin-bottom: 10px
}

.page-hero p {
    color: #5c584f
}

.slider-dots,
.menu-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center
}

.slider-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2
}

.slider-dots::before,
.slider-dots::after,
.menu-dots::before,
.menu-dots::after {
    content: "";
    width: 50px;
    height: 1px;
    background: #d9d0c1
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d0c7b7
}

.dot.active {
    background: var(--olive)
}

.section-title {
    text-align: center;
    margin-bottom: 38px
}

.section-title h2 {
    font-family: 'Cinzel', serif;
    font-size: 32px
}

.title-ornament {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 12px;
    margin: 12px auto 0;
    background: radial-gradient(circle, #c9bda7 2px, transparent 3px) center/10px 10px no-repeat
}

.title-ornament::before,
.title-ornament::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #d7ccb8
}

.events {
    background: #fff;
    padding: 70px 0
}

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

.event-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    padding-bottom: 20px
}

.event-image {
    height: 190px;
    background-size: cover;
    background-position: center;
    border-radius: 10px 10px 0 0;
    position: relative
}

.event-date {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: #737B66;
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px
}

.event-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    margin: 18px 0 8px
}

.event-card p {
    color: var(--muted);
    font-size: 14px
}

.event-time {
    margin-top: 12px;
    font-size: 14px;
    color: #7a6f5b
}

.events-cta {
    display: flex;
    justify-content: center
}

.menu {
    padding: 70px 0
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 28px;
    flex-wrap: wrap
}

.tab {
    border: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #5b564c;
    padding-bottom: 8px;
    border-bottom: 2px solid transparent;
    cursor: pointer
}

.tab.active {
    border-color: #737B66;
    color: #737B66
}

.menu-grid {
    display: grid;
    grid-template-columns:repeat(5, minmax(0, 1fr));
    gap: 18px;
    align-items: end
}

.menu-carousel {
    display: flex;
    align-items: center;
    gap: 14px
}

.menu-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 8px 4px;
    scrollbar-width: none
}

.menu-track::-webkit-scrollbar {
    display: none
}

.menu-carousel .menu-card {
    min-width: 220px
}

.carousel-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #d1c7b4;
    background: #fff;
    color: #6b6355;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease
}

.carousel-arrow:hover {
    background: var(--olive);
    color: #fff;
    transform: translateY(-1px)
}

.menu-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 12px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 36px rgba(55, 47, 34, 0.2)
}

.menu-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px
}

.menu-card .menu-name {
    margin-top: 12px;
    font-size: 14px;
    transition: color 0.2s ease, font-family 0.2s ease
}

.menu-card:hover .menu-name {
    font-family: 'Cinzel', serif;
    color: #3f3b33
}

.menu-card .menu-price {
    margin-top: 6px;
    color: #737B66;
    font-weight: 500
}

.menu-card.featured {
    transform: translateY(-12px);
    padding: 18px
}

.menu-card.featured img {
    height: 160px
}

.menu-card.featured .menu-name {
    font-family: 'Cinzel', serif;
    font-size: 18px
}

.menu-card.featured .menu-price {
    font-size: 16px
}

.menu-dots {
    margin-top: 26px
}

.gallery {
    padding: 70px 0;
    background: #fff
}

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

.gallery-item {
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease
}

.gallery-item:hover img {
    transform: scale(1.03);
    box-shadow: 0 18px 36px rgba(55, 47, 34, 0.2)
}

.map-section {
    background: var(--light);
    padding: 70px 0
}

.map-container {
    position: relative
}

.map-container iframe {
    width: 100%;
    height: 320px;
    border: 0;
    filter: grayscale(100%) brightness(95%);
    border-radius: 12px
}

.map-card {
    position: absolute;
    right: 30px;
    bottom: 30px;
    background: #fff;
    padding: 18px 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    width: 300px;
    display: grid;
    gap: 12px
}

.map-pin {
    width: 36px;
    height: 36px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: var(--olive);
    margin-left: 6px
}

.map-address {
    font-size: 14px;
    color: #5a5347
}

.contacts {
    background: #fff;
    border-top: 1px solid var(--line)
}

.contacts-row {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 20px;
    padding: 24px 0;
    font-size: 14px;
    color: #5d574c
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center
}

.contact-item svg {
    width: 18px;
    height: 18px;
    color: #7a6f5b
}

.social-icons {
    display: flex;
    gap: 8px
}

.social-icons svg {
    width: 18px;
    height: 18px
}

.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 28, 22, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 60
}

.modal.open {
    opacity: 1;
    pointer-events: auto
}

.modal-overlay {
    position: absolute;
    inset: 0
}

.modal-content {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    width: min(520px, 92vw);
    box-shadow: var(--shadow)
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #737B66;
    color: #fff;
    font-size: 20px;
    cursor: pointer
}

.booking-form {
    display: grid;
    gap: 16px
}

.form-grid {
    display: grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap: 16px
}

.form-field label {
    display: block;
    font-size: 13px;
    color: #6a6355;
    margin-bottom: 6px
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid #e2d9c9;
    border-radius: 8px;
    padding: 10px 12px;
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: inherit;
}

.form-field textarea {
    resize: vertical
}

.form-field.full {
    grid-column: 1 / -1
}

.lightbox {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(25, 22, 18, 0.65);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 55
}

.lightbox.open {
    opacity: 1;
    pointer-events: auto
}

.lightbox-content {
    position: relative;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: 90vw;
    max-height: 85vh
}

.lightbox-content img {
    display: block;
    max-width: 80vw;
    max-height: 75vh;
    border-radius: 8px
}

.lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #737B66;
    box-shadow: var(--shadow);
    cursor: pointer;
    font-size: 20px;
    color: #fff
}

footer {
    background: #efeee9;
    border-top: 1px solid #e2e0d8;
    padding: 40px 0
}

.footer-content {
    text-align: center
}

.footer-bottom {
    color: #999;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px
}

.footer-favicon svg {
    width: 28px;
    height: 28px;
    display: block
}

.floating-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: var(--olive);
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2)
}

@media (max-width: 1100px) {
    .menu-grid {
        grid-template-columns:repeat(3, minmax(0, 1fr))
    }

    .header-inner {
        grid-template-columns:1fr auto
    }

    .header-actions {
        gap: 8px
    }

    .header-cta {
        display: none
    }
}

@media (max-width: 900px) {
    .events-grid {
        grid-template-columns:1fr 1fr
    }

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

    .contacts-row {
        grid-template-columns:1fr 1fr
    }
}

@media (max-width: 700px) {
    .header-inner {
        grid-template-columns:1fr
    }

    .header-nav {
        justify-content: center
    }

    .logo {
        order: -1;
        text-align: center;
        margin-bottom: 12px
    }

    .header-actions {
        justify-self: center
    }

    .hero {
        height: 460px
    }

    .page-hero {
        height: 260px
    }

    .hero h1 {
        font-size: 32px
    }

    .hero-welcome {
        font-size: 24px;
        margin-bottom: 10px
    }

    .hero-logo {
        height: 129px;
        width: 390px;
        margin: 0 auto
    }

    .page-hero h1 {
        font-size: 30px
    }

    .events-grid {
        grid-template-columns:1fr
    }

    .menu-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr))
    }

    .menu-carousel {
        gap: 0
    }

    .carousel-arrow {
        display: none
    }

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

    .map-card {
        position: static;
        margin-top: 18px;
        width: 100%
    }
}

@media (max-width: 500px) {
    .menu-grid {
        grid-template-columns:1fr
    }

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

    .contacts-row {
        grid-template-columns:1fr
    }

    .modal-content {
        padding: 20px
    }

    .hero-welcome {
        font-size: 20px;
        margin-bottom: 8px
    }

    .hero-logo {
        height: 72px;
        width: 220px;
        margin: 0 auto
    }

    .slider-arrow {
        display: none
    }
}
