* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


body {
    background-color: #000;
    margin: 0;
    color: white;
    font-family: sans-serif;
}

.fon {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    filter: brightness(40%);
}

.n {
    font-size: 60px;
    margin-top: 70px;
    margin-left: 30px;
    margin-bottom: 0;
    display: block;
}

.t {
    font-size: 25px;
    margin-left: 35px;
    margin-top: 5px;
    margin-bottom: 40px;
    color: #a1887f;
}

/* Контейнер для сетки 2x2 */
.photo-container {
    display: flex;
    flex-wrap: wrap;    /* Позволяет карточкам перепрыгивать на нижний ряд */
    gap: 25px;          /* Отступы между карточками */
    margin-left: 35px;
    max-width: 700px;   /* Ширина подобрана так, чтобы влезло только 2 карточки в ряд */
}

/* Общий стиль для всех четырех блоков */
.foto1, .foto2, .foto3, .foto4 {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

/* Эффект при наведении */
.foto1:hover, .foto2:hover, .foto3:hover, .foto4:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

/* Настройка самих изображений */
.foto1 img, .foto2 img, .foto3 img, .foto4 img {
    height: 300px;
    width: 250px;       /* Фиксированная ширина для ровности сетки */
    object-fit: cover;  /* Чтобы фото не растягивалось, а красиво обрезалось под размер */
    border-radius: 10px;
    display: block;
}


/* Увеличиваем общий контейнер правой части */
.right-sidebar {
    position: fixed;
    top: 100px;      /* Подняли чуть выше */
    right: 80px;     /* Сделали отступ от края побольше */
    width: 450px;    /* СУЩЕСТВЕННО увеличили ширину (было 300px) */
    background: rgba(0, 0, 0, 0.5);
    padding: 50px;   /* Больше внутренних отступов */
    border-radius: 25px;
    border: 1px solid rgba(161, 136, 127, 0.3);
    backdrop-filter: blur(15px);
}

/* Огромный заголовок меню */
.menu-title {
    font-size: 50px; /* Сделали заголовок очень крупным */
    color: #a1887f;
    margin-bottom: 40px;
    text-align: center;
    font-family: serif;
    text-transform: uppercase;
    letter-spacing: 5px;
    border-bottom: 2px solid #a1887f; /* Добавили линию под заголовком */
    padding-bottom: 10px;
}

/* Увеличиваем каждую строчку кофе */
.meny-container div p {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 32px; /* Увеличили размер шрифта (был 20px) */
    margin: 35px 0;  /* Увеличили расстояние между позициями */
    color: white;
    border-bottom: 2px dotted rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    transition: 0.4s;
}

/* Стиль цены (сделаем её еще заметнее) */
.price {
    font-weight: bold;
    color: #a1887f;
    margin-left: 20px;
    font-size: 36px; /* Цена чуть крупнее названия */
}

/* Эффект при наведении — теперь еще выразительнее */
.meny-container div:hover p {
    color: #d7ccc8; /* Цвет светлого латте при наведении */
    border-bottom: 2px solid #a1887f;
    transform: scale(1.05); /* Легкое увеличение всей строки */
    cursor: pointer;
}


/* Сама панель */
.nav-panel {
    position: fixed;   /* Всегда сверху */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;     /* Чтобы была поверх фона и картинок */
    background: rgba(0, 0, 0, 0.6); /* Полупрозрачный черный */
    backdrop-filter: blur(10px);    /* Эффект размытия */
    border-bottom: 1px solid rgba(161, 136, 127, 0.3);
}

/* Список меню */
.nav-panel ul {
    display: flex;
    justify-content: center; /* Центрируем пункты меню */
    list-style: none;        /* Убираем точки */
    margin: 0;
    padding: 20px 0;
}

/* Каждый пункт */
.nav-panel li {
    margin: 0 30px; /* Расстояние между словами */
}

/* Ссылки */
.nav-panel a {
    color: white;
    text-decoration: none;  /* Убираем подчеркивание */
    font-size: 18px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

/* Эффект при наведении */
.nav-panel a:hover {
    color: #a1887f; /* Кофейный цвет при наведении */
}

/* Выделим кнопку "Сделать заказ" */
.order-link {
    border: 1px solid #a1887f;
    padding: 8px 20px;
    border-radius: 20px;
}

.order-link:hover {
    background: #a1887f;
    color: white !important;
}


/* Магия плавного скролла */
html {
    scroll-behavior: smooth;
}

/* Стили блока "О нас" */
.about-section {
    margin-top: 150px; /* Отступ от верхних карточек */
    padding: 100px 40px;
    background: rgba(0, 0, 0, 0.6); /* Темная подложка для читаемости */
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
}

.about-content {
    max-width: 900px;
    text-align: center;
}

.about-content h2 {
    font-size: 55px;
    color: #a1887f;
    font-family: serif;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.about-content p {
    font-size: 24px;
    line-height: 1.6;
    color: #ddd;
    font-weight: 300;
}

.about-content p span {
    color: #a1887f;
    font-weight: bold;
}

/* Статистика */
.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 60px;
    border-top: 1px solid rgba(161, 136, 127, 0.3);
    padding-top: 40px;
}

.stat-box h3 {
    font-size: 45px;
    color: #a1887f;
    margin: 0;
}

.stat-box p {
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
}


/* Секция заказа */
.order-section {
    padding: 100px 30px;
    display: flex;
    justify-content: center;
    margin-top: 100px;
}

.order-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    padding: 60px;
    border-radius: 30px;
    border: 1px solid rgba(161, 136, 127, 0.2);
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.order-container h2 {
    font-size: 40px;
    color: #a1887f;
    margin-bottom: 10px;
}

.order-container p {
    color: #ccc;
    margin-bottom: 40px;
}

/* Поля ввода */
.order-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-form input, .order-form select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    outline: none;
}

.order-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.order-form input:focus {
    border-color: #a1887f;
}

/* Кнопка внутри формы */
.send-btn {
    background: #a1887f;
    color: white;
    border: none;
    padding: 18px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
}

.send-btn:hover {
    background: #8d7368;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}


.reviews-section {
    padding: 80px 30px;
    margin-top: 100px;
    text-align: center;
}

.reviews-title {
    font-size: 45px;
    color: #a1887f;
    margin-bottom: 50px;
    font-family: serif;
}

.reviews-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Чтобы на мобилках падали друг под друга */
    gap: 30px;
}

.review-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(161, 136, 127, 0.2);
    padding: 40px 30px;
    border-radius: 20px;
    width: 300px;
    backdrop-filter: blur(5px);
    transition: 0.3s;
    position: relative;
}

/* Декоративная кавычка */
.review-card::before {
    content: "“";
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 80px;
    color: rgba(161, 136, 127, 0.2);
    font-family: serif;
}

.review-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-10px);
    border-color: #a1887f;
}

.review-text {
    font-style: italic;
    font-size: 18px;
    line-height: 1.6;
    color: #eee;
    margin-bottom: 20px;
}

.review-author {
    display: block;
    font-size: 14px;
    color: #a1887f;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.right-sidebar {
    /* Убираем fixed и top/right */
    position: relative;

    /* Теперь оно не прибито к экрану, а стоит в блоке */
    width: 450px;
    background: rgba(0, 0, 0, 0.4);
    padding: 50px;
    border-radius: 25px;
    border: 1px solid rgba(161, 136, 127, 0.3);
    backdrop-filter: blur(10px);

    /* Добавим отступ сверху, чтобы выровнять с карточками */
    margin-top: 20px;
    margin-
}

.main-content {
    display: flex;        /* Выстраивает карточки и меню в один ряд */
    align-items: flex-start; /* Прижимает их к верху */
    gap: 50px;            /* Расстояние между сеткой фото и меню */
    margin-left: 30px;    /* Твой стандартный отступ слева */
    margin-bottom: 100px; /* Чтобы блоки снизу не прилипали */
}

/* Находим строчку, где ты описывал каждый напиток */
.meny-container div p {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 32px;

    /* Добавляем отступ СНИЗУ для каждой позиции */
    margin-bottom: 40px;

    color: white;
    border-bottom: 2px dotted rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    transition: 0.4s;
}

/* Убираем отступ у самого последнего пункта, чтобы не ломать рамку меню */
.meny-container div:last-child p {
    margin-bottom: 0;
}
.main-content {
    display: flex;
    flex-direction: row; /* Карточки слева, меню справа */
    justify-content: flex-start;

    /* ВОТ ЭТО ВАЖНО: выравнивает меню по центру высоты карточек */
    align-items: center;

    gap: 60px;
    margin-left: 35px;
    margin-top: 50px; /* Можно чуть увеличить отступ от заголовка */
}

.right-sidebar {
    position: relative;
    width: 450px;
    margin-top: 0; /* Обнуляем, чтобы центровка сработала идеально */

    /* Остальные твои стили (background, padding и т.д.) */
}


/* Выравниваем лого и меню по краям */
.nav-panel nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none; /* Убираем подчеркивание у ссылки-логотипа */
}

/* Настройка размера картинки логотипа */
.logo img {
    height: 50px; /* Высота логотипа, чтобы он не был огромным */
    width: auto;
    margin-right: 15px;
}

.logo span {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Убедись, что у ul нет лишних margin, чтобы не кривило */
.nav-panel ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
}


@media (max-width: 480px) {
    /* 1. Убираем всё позиционирование "на глаз" (left/right) */
    .n, .t, .main-content, .photo-container, .right-sidebar, .stats, .reviews-container {
        position: static !important;
        width: 100% !important;
        margin: 10px 0 !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    /* 2. Навигация */
    .nav-panel ul {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    /* 3. Картинки (Кофе) */
    .photo-container img {
        width: 90% !important;
        height: auto !important;
        margin-bottom: 15px;
    }

    /* 4. Меню (Прайс) */
    .meny-container {
        width: 90% !important;
    }
    .meny-container p {
        display: flex;
        justify-content: space-between;
        width: 100%;
        font-size: 18px;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        padding: 5px 0;
    }

    /* 5. Фон */
    .fon {
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
        z-index: -1;
        object-fit: cover;
    }

    /* 6. Скрываем пустые футеры, если они мешают */
    footer { display: none; }
}
