* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    line-height: 1.6;
}

/* ================= ШАПКА ================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #3e2723;
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    transition: 0.3s;
    font-size: 15px;
}

nav a:hover {
    color: #ffb74d;
}

/* ================= БАННЕР ================= */
.hero {
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
                url('images/banner.jpg') center/cover;
    color: white;
    text-align: center;
    padding: 150px 20px;
}

.hero h1 {
    font-size: 52px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.hero-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #ffb74d;
    color: #3e2723;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 30px;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(255,183,77,0.4);
}

.hero-btn:hover {
    background: #ff9800;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255,152,0,0.6);
}

/* ================= ОБЩЕЕ ================= */
section {
    padding: 80px 40px;
}

h2 {
    font-size: 40px;
    text-align: center;
    color: #3e2723;
    margin-bottom: 15px;
}

.subtitle {
    text-align: center;
    color: #777;
    font-size: 17px;
    margin-bottom: 50px;
}

/* ================= МЕНЮ ================= */
.menu {
    background: #fafafa;
}

.menu-items {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.item {
    background: white;
    border-radius: 15px;
    width: 230px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
    overflow: hidden;
    padding-bottom: 20px;
}

.item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.item-photo {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    margin-bottom: 15px;
}

.item h3 {
    color: #3e2723;
    margin-bottom: 8px;
    font-size: 20px;
    padding: 0 15px;
}

.price {
    color: #ff9800;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    padding: 0 15px;
}

.desc {
    color: #777;
    font-size: 14px;
    padding: 0 15px;
}

/* ================= ГАЛЕРЕЯ ================= */
.gallery {
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-item {
    height: 220px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    transition: 0.4s;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ================= О НАС ================= */
.about {
    background: #fafafa;
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.about-text {
    max-width: 500px;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 16px;
}

.hours {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    min-width: 280px;
}

.hours h3 {
    color: #3e2723;
    margin-bottom: 20px;
    font-size: 22px;
}

.hours p {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.hours p:last-child {
    border-bottom: none;
}

.hours-note {
    color: #4caf50;
    font-weight: bold;
    margin-top: 10px;
    justify-content: center !important;
}

/* ================= БРОНИРОВАНИЕ ================= */
.booking {
    background: linear-gradient(135deg, #3e2723, #5d4037);
    color: white;
}

.booking h2 {
    color: white;
}

.booking .subtitle {
    color: #d7ccc8;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.booking-form input {
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    background: rgba(255,255,255,0.95);
    color: #333;
}

.booking-form input:focus {
    outline: 2px solid #ffb74d;
}

.booking-form button {
    padding: 16px;
    background: #ffb74d;
    color: #3e2723;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.booking-form button:hover {
    background: #ff9800;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,152,0,0.4);
}

/* ================= ПОДВАЛ ================= */
footer {
    background: #2d1b17;
    color: #d7ccc8;
    padding: 50px 40px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 30px;
    flex-wrap: wrap;
}

.footer-block {
    flex: 1;
    min-width: 200px;
}

.footer-block h3,
.footer-block h4 {
    color: white;
    margin-bottom: 15px;
}

.footer-block h3 {
    font-size: 22px;
}

.footer-block h4 {
    font-size: 17px;
}

.footer-block p {
    margin-bottom: 8px;
    font-size: 15px;
}

.footer-block a {
    color: #ffb74d;
    text-decoration: none;
    transition: 0.3s;
}

.footer-block a:hover {
    color: #ff9800;
}

.copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #4e342e;
    font-size: 14px;
}

/* ================= АДАПТИВ ================= */
@media (max-width: 768px) {

    section {
        padding: 50px 20px;
    }

    header {
        flex-direction: column;
        padding: 15px 20px;
        gap: 10px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    nav a {
        margin: 0 6px;
        font-size: 14px;
    }

    .hero {
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-btn {
        padding: 13px 30px;
        font-size: 16px;
    }

    h2 {
        font-size: 28px;
    }

    .subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .menu-items {
        flex-direction: column;
        align-items: center;
    }

    .item {
        width: 100%;
        max-width: 320px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-item {
        height: 140px;
    }

    .about {
        flex-direction: column;
        gap: 30px;
        padding: 50px 20px;
    }

    .about-text h2 {
        text-align: center;
    }

    .hours {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
}