/* Основные стили */
:root {
    --black: #000000;
    --dark-gray: #111111;
    --gray: #222222;
    --light-gray: #333333;
    --gold: #FFD700;
    --dark-gold: #B8860B;
    --light-gold: #FFF8DC;
    --white: #FFFFFF;
    --red: #FF3333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Черно-желтые тексты */
.black-text {
    color: var(--black);
    -webkit-text-stroke: 1px var(--gold);
    text-wrap-style: 1px var(--gold);
}

.gold-text {
    color: var(--gold);
}

/* Боковая панель */
.sidebar {
    position: fixed;
    top: 0;
    left: -350px;
    width: 320px;
    height: 100vh;
    background-color: var(--dark-gray);
    z-index: 1000;
    transition: left 0.3s ease;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.sidebar.open {
    left: 0;
}

.sidebar-header {
    padding: 20px;
    background-color: var(--gray);
    border-bottom: 2px solid var(--gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.min-order {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--red);
    font-weight: 600;
}

.min-order i {
    font-size: 1.2rem;
}

.sidebar-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.sidebar-close:hover {
    color: var(--gold);
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.nav-section {
    margin-bottom: 25px;
}

.nav-section h3 {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-section ul {
    list-style: none;
}

.nav-section li {
    margin-bottom: 8px;
}

.nav-section a {
    display: block;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s;
    color: var(--white);
}

.nav-section a:hover,
.nav-section a.active {
    background-color: var(--light-gray);
    color: var(--gold);
    transform: translateX(5px);
}

.nav-section a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.delivery-btn {
    background-color: var(--gold);
    color: var(--black) !important;
    font-weight: 600;
    text-align: center;
    margin-top: 10px;
}

.delivery-btn:hover {
    background-color: var(--dark-gold) !important;
    color: var(--black) !important;
}

.sidebar-footer {
    padding: 20px;
    background-color: var(--gray);
    border-top: 1px solid var(--light-gray);
}

.contact-info {
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--gold);
    color: var(--black);
    transform: translateY(-3px);
}

/* User Feedback: Hide specific items */
.social-links a:has(.fa-instagram),
.social-links a:has(.fa-vk),
.footer-social a:has(.fa-instagram),
.footer-social a:has(.fa-vk),
.contact-info p:has(.fa-phone) {
    display: none !important;
}

/* Fallback if :has not supported (hide icon at least) */
.fa-instagram,
.fa-vk,
.fa-phone {
    display: none;
}

/* Основной контент */
.main-content {
    transition: margin-left 0.3s ease;
}

.main-content.shifted {
    margin-left: 320px;
}

/* Шапка */
.main-header {
    background-color: var(--gray);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--gold);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--gold);
    color: var(--black);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.sidebar-toggle:hover {
    background-color: var(--dark-gold);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    text-align: left;
}

.logo h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
    line-height: 1;
    margin: 0;
}

.tagline {
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}



.reserve-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.reserve-btn:hover {
    background-color: var(--gold);
    color: var(--black);
}

/* Герой-секция */
.hero-section {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-overlay {
    text-align: center;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    max-width: 800px;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ccc;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-gold {
    display: inline-block;
    background-color: var(--gold);
    color: var(--black);
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-gold:hover {
    background-color: var(--dark-gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--black);
    transform: translateY(-3px);
}

/* Секция категорий */
.categories-section {
    padding: 80px 0;
    background-color: var(--dark-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 50px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: var(--gray);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.category-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.category-icon i {
    font-size: 2rem;
    color: var(--gold);
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.category-card p {
    color: #ccc;
    margin-bottom: 20px;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-weight: 600;
    transition: all 0.3s;
}

.category-link:hover {
    gap: 15px;
    color: var(--dark-gold);
}

/* Информационная секция */
.info-section {
    padding: 80px 0;
    background-color: var(--black);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.info-card {
    text-align: center;
    padding: 30px 20px;
}

.info-icon {
    width: 80px;
    height: 80px;
    background-color: var(--gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 2px solid var(--gold);
}

.info-icon i {
    font-size: 2rem;
    color: var(--gold);
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.info-card p {
    color: #ccc;
    margin-bottom: 20px;
}

.info-link {
    color: var(--gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.info-link:hover {
    color: var(--dark-gold);
}

/* Подвал */
.main-footer {
    background-color: var(--gray);
    padding: 60px 0 30px;
    border-top: 2px solid var(--gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.footer-social a:hover {
    background-color: var(--gold);
    color: var(--black);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--light-gray);
    color: #ccc;
}



/* СТИЛИ ДЛЯ СТРАНИЦ МЕНЮ */
.breakfast-header,
.menu-header {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.breakfast-header h1,
.menu-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.breakfast-header p,
.menu-header p {
    font-size: 1.2rem;
    color: #ccc;
}

.menu-container {
    padding: 0 20px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--gray);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.product-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.5rem;
}

.product-card p {
    padding: 0 20px;
    color: #ccc;
    margin-bottom: 10px;
    min-height: 60px;
}

.product-card .price {
    padding: 0 20px;
    font-size: 1.8rem;
    color: var(--gold);
    font-weight: bold;
    margin-bottom: 20px;
    text-align: right;
}

.buy-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--gold);
    color: var(--black);
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    border-top: 1px solid var(--light-gray);
}

.buy-btn:hover {
    background-color: var(--dark-gold);
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .logo h1 {
        font-size: 2rem;
    }

    .breakfast-header h1,
    .menu-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        left: -100%;
    }

    .main-content.shifted {
        margin-left: 0;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .header-container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .logo {
        order: 1;
        width: 100%;
        margin-top: 10px;
    }

    .header-right {
        order: 2;
    }

    .sidebar-toggle {
        order: 0;
    }

    .breakfast-header h1,
    .menu-header h1 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .breakfast-header h1,
    .menu-header h1 {
        font-size: 1.8rem;
    }

}