/* Основные стили */
:root {
    --primary-color: #4a6741;
    --accent-color: #ff9a3c;
    --light-accent: #ffca80;
    --dark-bg: #2a2a2a;
    --light-bg: #f8f9fa;
    --text-color: #333333;
    --light-text: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Mulish', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Calistoga', serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 1rem auto;
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 0;
}

section {
    padding: 2rem 0;
}

section:nth-child(even) {
    background-color: var(--light-bg);
}

/* Навигация */
header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Calistoga', serif;
    font-size: 1.3rem;
}

.logo-icon {
    margin-right: 1rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
    position: relative;
}

.nav-links a {
    color: var(--light-text);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--accent-color), var(--light-accent));
    transition: width 0.3s ease;
}

.nav-links a:hover:after {
    width: 100%;
}

/* Герой-секция */
.hero {
    position: relative;
    background-color: var(--primary-color);
    color: var(--light-text);
    overflow: hidden;
    padding: 0;
}

.wave-divider {
    position: absolute;
    width: 100%;
    height: 50px;
    left: 0;
    z-index: 1;
}

.top-wave {
    top: 0;
}

.bottom-wave {
    bottom: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    width: 100%;
    height: 100%;
}

.hero-content {
    display: flex;
    align-items: center;
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    padding-right: 2rem;
}

.hero-text h1 {
    color: #2a2a2a;
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
}

.hero-text p {
    color: #2a2a2a;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    border-radius: 12px;
    max-width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: rotate(0);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    background-color: var(--accent-color);
    color: var(--dark-bg);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: var(--light-accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn.secondary {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: #2a2a2a
}

.btn.secondary:hover {
    background-color: var(--accent-color);
    color: var(--dark-bg);
}

.plate-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.plate-btn:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    z-index: -1;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.plate-btn:hover:before {
    transform: translate(-50%, -50%) scale(1);
}

/* О нас */
.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

/* Меню */
.menu-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.menu-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.menu-item h3 {
    padding: 1rem 1.5rem 0.5rem;
    color: var(--primary-color);
}

.menu-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-color);
}

/* Таймлайн */
.daily-timeline {
    background-color: var(--light-bg);
    padding: 4rem 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline:before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 120px;
    opacity: 0.2;
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.time {
    min-width: 100px;
    font-weight: 700;
    color: var(--primary-color);
    padding-top: 0.5rem;
    text-align: right;
    padding-right: 2rem;
}

.timeline-content {
    position: relative;
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-left: 2rem;
    flex: 1;
}

.timeline-content:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--accent-color);
    border-radius: 50%;
    left: -10px;
    top: calc(50% - 10px);
}

.timeline-icon {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
}

/* Услуги */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    margin-bottom: 1.5rem;
}

/* Недельное меню */
.weekly-menu {
    background-color: var(--light-bg);
    padding: 4rem 0;
}

.weekly-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.day-menu {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.day-menu h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.meal {
    margin-bottom: 1.2rem;
}

.meal:last-child {
    margin-bottom: 0;
}

.meal-type {
    font-weight: 700;
    color: var(--accent-color);
}

.meal p {
    margin-top: 0.3rem;
}

/* Ингредиент дня */
.ingredient-spotlight {
    padding: 4rem 0;
}

.ingredient-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.ingredient-image {
    flex: 1;
}

.ingredient-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ingredient-info {
    flex: 1;
}

.ingredient-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.ingredient-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.fact {
    display: flex;
    align-items: flex-start;
}

.fact-icon {
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Советы */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.tip-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-10px);
}

.tip-icon {
    margin-bottom: 1.5rem;
}

/* Контакты */
.contact {
    background-color: var(--light-bg);
    padding: 4rem 0;
}

.contact-content {
    display: flex;
    gap: 3rem;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.contact-icon {
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Mulish', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Футер */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-logo p {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links h3, .footer-resources h3, .footer-policies h3 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul, .footer-resources ul, .footer-policies ul {
    list-style: none;
}

.footer-links li, .footer-resources li, .footer-policies li {
    margin-bottom: 0.8rem;
}

.footer-links a, .footer-resources a, .footer-policies a {
    color: var(--light-text);
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links a:hover, .footer-resources a:hover, .footer-policies a:hover {
    opacity: 1;
    transform: translateX(5px);
    color: var(--accent-color);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Адаптивность */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content {
        flex-direction: column;
        padding: 4rem 5% 5rem;
    }
    
    .hero-text {
        padding-right: 0;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content, .ingredient-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .time {
        min-width: 60px;
        padding-right: 1rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links li {
        margin: 0.5rem 0.8rem;
    }
    
    .timeline-content {
        margin-left: 1rem;
    }
    
    .ingredient-facts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
        padding: 2rem 0;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-content {
        padding: 3rem 5% 4rem;
    }
    
    .menu-gallery, .services-grid, .weekly-menu-grid, .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline:before {
        display: none;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .time {
        text-align: left;
        padding-bottom: 0.5rem;
        padding-right: 0;
    }
    
    .timeline-content {
        margin-left: 0;
    }
    
    .timeline-content:before {
        display: none;
    }
}

/* Стили для страниц политик */
.policy-page {
    padding: 3rem 0;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.policy-content h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.policy-content h2 {
    text-align: left;
    margin-top: 2rem;
}