:root {
    --primary-color: #2C3E50;
    --secondary-color: #E74C3C;
    --text-color: #333;
    --background-color: #fff;
    --accent-color: #F1C40F;
    --nav-width: 250px;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    padding-left: 0;
}

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

/* Header styles */
.header {
    background-color: var(--background-color);
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    position: fixed;
    width: var(--nav-width);
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
}

.nav {
    height: 100%;
    padding: 2rem 0;
}

.nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    height: 100%;
}

.logo {
    display: block;
    padding: 0 1rem;
}

.logo img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 2rem;
    width: 100%;
    padding: 0 1rem;
}

.nav-list a {
    text-decoration: none;
    color: #683B0D;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: block;
    padding: 0.8rem 1.2rem;
    border-radius: 5px;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #FBB540;
    transition: width 0.3s ease;
}

.nav-list a:hover {
    color: #FBB540;
    background-color: rgba(251, 181, 64, 0.1);
}

.nav-list a:hover::after {
    width: 80%;
}

/* Main content */
.main-content {
    width: calc(100% - var(--nav-width));
    margin-left: var(--nav-width);
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/font.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.4rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Common styles for section headings */
h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #683B0D;
    font-size: 2.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #FBB540;
}

/* Menu section */
.menu {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.menu h2 {
    margin-bottom: 3rem;
}

.menu-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.menu-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.menu-image:hover {
    transform: scale(1.02);
}

/* About section */
.about {
    padding: 5rem 0;
    text-align: center;
}

.about h2 {
    margin-bottom: 2rem;
}

/* Contacts section */
.contacts {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.contacts h2 {
    margin-bottom: 3rem;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background-color: #683B0D;
    color: white;
    padding: 2rem 0;
    text-align: center;
    border-top: 3px solid #FBB540;
}

.footer p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    list-style: none;
    padding: 0;
    margin: 2rem auto 0;
}

.social-link {
    color: #683B0D;
    font-size: 2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(251, 181, 64, 0.1);
    box-shadow: 0 2px 5px rgba(104, 59, 13, 0.1);
    text-decoration: none;
    border: 2px solid #FBB540;
}

.social-link:hover {
    transform: translateY(-3px);
    background-color: #FBB540;
    color: #683B0D;
    box-shadow: 0 4px 8px rgba(104, 59, 13, 0.2);
}

.social-link i {
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.1);
}

/* Location section */
.location {
    padding: 5rem 0;
    background-color: #fff;
}

.location h2 {
    margin-bottom: 3rem;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.address-block, .working-hours {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.address-block h3, .working-hours h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.working-hours ul {
    list-style: none;
    padding: 0;
}

.working-hours li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #666;
}

.working-hours li:last-child {
    margin-bottom: 0;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Delivery section */
.delivery {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.delivery-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.delivery-info {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.delivery-info p {
    font-size: 1.2rem;
    color: #683B0D;
    margin-bottom: 2rem;
}

.delivery-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background-color: #FF0000;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.2);
}

.delivery-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
    background-color: #E60000;
}

.delivery-logo {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding-left: 0;
    }

    .header {
        width: 100%;
        height: auto;
        position: relative;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        gap: 1rem;
    }

    .logo {
        padding: 0;
    }

    .logo img {
        width: 120px;
        height: auto;
    }

    .nav-list {
        flex-direction: row;
        padding: 0;
        gap: 1rem;
        justify-content: flex-end;
    }

    .nav-list a {
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }

    .main-content {
        width: 100%;
        margin-left: 0;
        padding-top: 0;
    }

    .hero {
        height: 50vh;
        min-height: 300px;
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        padding-bottom: 0.8rem;
    }

    h2::after {
        width: 60px;
        height: 2px;
    }

    .menu {
        padding: 3rem 0;
    }

    .menu-list {
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .menu-image {
        border-radius: 6px;
    }

    .about {
        padding: 3rem 1rem;
    }

    .about p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .contacts {
        padding: 3rem 0;
    }

    .contact-info {
        padding: 0 1rem;
    }

    .contact-info p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .social-links {
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .social-link {
        font-size: 1.3rem;
        width: 45px;
        height: 45px;
        border-width: 1.5px;
    }

    .location {
        padding: 3rem 0;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .map-container {
        height: 250px;
    }

    .address-block, .working-hours {
        padding: 1.2rem;
    }

    .address-block h3, .working-hours h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .address-block p, .working-hours li {
        font-size: 0.95rem;
    }

    .footer {
        padding: 1.5rem 0;
    }

    .footer p {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .modal-content {
        max-width: 95%;
    }

    .modal-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }

    .book-table-btn {
        margin: 0;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .book-table-btn i {
        font-size: 1rem;
    }

    .menu-swiper {
        padding: 15px 0;
    }

    .menu-swiper .swiper-button-next,
    .menu-swiper .swiper-button-prev {
        width: 35px;
        height: 35px;
    }

    .menu-swiper .swiper-button-next:after,
    .menu-swiper .swiper-button-prev:after {
        font-size: 16px;
    }

    .delivery {
        padding: 3rem 0;
    }

    .delivery-info {
        padding: 1.5rem;
    }

    .delivery-info p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .delivery-link {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 480px) {
    .nav-content {
        padding: 0.8rem;
    }

    .logo img {
        width: 100px;
    }

    .nav-list {
        gap: 0.8rem;
    }

    .nav-list a {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
    }

    .hero {
        height: 40vh;
        min-height: 250px;
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }

    .hero p {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .menu-list {
        gap: 1rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        border-width: 1px;
    }

    .map-container {
        height: 200px;
    }

    .book-table-btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }

    .book-table-btn i {
        font-size: 0.9rem;
    }

    .menu-swiper .swiper-button-next,
    .menu-swiper .swiper-button-prev {
        width: 30px;
        height: 30px;
    }

    .menu-swiper .swiper-button-next:after,
    .menu-swiper .swiper-button-prev:after {
        font-size: 14px;
    }

    .delivery-info p {
        font-size: 1rem;
    }

    .delivery-link {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .delivery-logo {
        width: 20px;
        height: 20px;
    }

    .modal-close {
        top: 8px;
        right: 15px;
        font-size: 25px;
    }
}

/* Стили для модального окна */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #FBB540;
}

.book-table-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background-color: #FBB540;
    color: #683B0D;
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(104, 59, 13, 0.2);
}

.book-table-btn i {
    font-size: 1.2rem;
}

.book-table-btn:hover {
    background-color: #683B0D;
    color: #FBB540;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(104, 59, 13, 0.3);
}

/* Стили для карусели меню */
.menu-swiper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.menu-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.menu-swiper .menu-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.menu-swiper .swiper-button-next,
.menu-swiper .swiper-button-prev {
    color: #683B0D;
    background-color: rgba(251, 181, 64, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #FBB540;
}

.menu-swiper .swiper-button-next:after,
.menu-swiper .swiper-button-prev:after {
    font-size: 18px;
}

.menu-swiper .swiper-button-next:hover,
.menu-swiper .swiper-button-prev:hover {
    background-color: #FBB540;
    color: #683B0D;
}

.menu-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #FBB540;
    opacity: 0.5;
}

.menu-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: #683B0D;
} 