/* 
* Стили для сайта guhohe-xakeni
* Цветовая палитра:
* - Темный сливовый (#4B1248) - фон
* - Мандариновый (#FF9F1C) - акценты
* - Абрикосовый (#FFBC80) - кнопки, элементы UI
* - Молочный белый (#F5F1ED) - текст на фоне
* - Пыльно-зеленый (#A3B18A) - декоративные элементы и иконки
*/

/* Основные стили */
:root {
    --color-dark-plum: #4B1248;
    --color-mandarin: #FF9F1C;
    --color-apricot: #FFBC80;
    --color-milk-white: #F5F1ED;
    --color-dusty-green: #A3B18A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fira Sans', sans-serif;
    color: var(--color-milk-white);
    background: linear-gradient(135deg, var(--color-dark-plum) 0%, #651263 100%);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--color-apricot);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-mandarin);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 24px;
}

p {
    margin-bottom: 20px;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--color-mandarin);
    color: var(--color-dark-plum);
}

.btn-primary:hover {
    background-color: var(--color-apricot);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--color-dark-plum);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-apricot);
    color: var(--color-apricot);
}

.btn-secondary:hover {
    background-color: var(--color-apricot);
    color: var(--color-dark-plum);
    transform: translateY(-3px);
}

/* Шапка */
.site-header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(75, 18, 72, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 159, 28, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.main-nav ul {
    display: flex;
    gap: 24px;
}

.main-nav a {
    color: var(--color-milk-white);
    font-weight: 500;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-mandarin);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Hero секция */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(75, 18, 72, 0.9) 0%, rgba(101, 18, 99, 0.9) 100%), url('img/ZfMG4s.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--color-dark-plum) 70%);
    opacity: 0.8;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.hero-content {
    width: 50%;
    animation: fadeInLeft 1s ease-out forwards;
}

.hero-image {
    width: 45%;
    position: relative;
    animation: fadeInRight 1s ease-out forwards;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0);
}

/* О компании */
.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text, .about-image {
    width: calc(50% - 20px);
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease;
}

.about-image img:hover {
    transform: scale(1.03);
}

/* Преимущества */
.benefits {
    background-color: rgba(75, 18, 72, 0.7);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 159, 28, 0.1);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 159, 28, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: var(--color-apricot);
}

/* Категории */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    transition: transform 0.5s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-card h3, .category-card p {
    padding: 0 20px;
}

.category-card h3 {
    margin-top: 20px;
    color: var(--color-apricot);
}

.category-card .btn {
    margin: 20px;
    align-self: flex-start;
    margin-top: auto;
}

/* Рецепты */
.recipes {
    background-color: rgba(75, 18, 72, 0.7);
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.recipe-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.recipe-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    transition: transform 0.5s ease;
}

.recipe-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.recipe-card:hover img {
    transform: scale(1.05);
}

.recipe-card h3, .recipe-card p, .recipe-card .recipe-price {
    padding: 0 20px;
}

.recipe-card h3 {
    margin-top: 20px;
    color: var(--color-apricot);
}

.recipe-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-mandarin);
    margin-top: 10px;
    margin-bottom: 20px;
}

.recipe-card .btn {
    margin: 0 20px 20px;
    align-self: flex-start;
}

/* Отзывы */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 150px;
    color: rgba(255, 159, 28, 0.1);
    position: absolute;
    top: -30px;
    left: 20px;
    z-index: -1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-stars {
    color: var(--color-mandarin);
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-author {
    font-style: italic;
    color: var(--color-apricot);
    margin-top: 20px;
    text-align: right;
}

/* FAQ */
.faq {
    background-color: rgba(75, 18, 72, 0.7);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: var(--color-apricot);
    border-bottom: 1px solid rgba(255, 159, 28, 0.2);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    transition: transform 0.3s ease;
}

.faq-item:hover .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-item:hover .faq-answer {
    max-height: 500px;
    padding: 20px;
}

/* Форма заказа */
.order {
    background: linear-gradient(135deg, rgba(75, 18, 72, 0.8) 0%, rgba(101, 18, 99, 0.8) 100%), url('img/TrStb1.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.order-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 159, 28, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.order-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 159, 28, 0.1) 0%, transparent 100%);
    z-index: -1;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 159, 28, 0.3);
    color: var(--color-milk-white);
    font-family: 'Fira Sans', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group select option {
    background-color: var(--color-dark-plum);
    color: var(--color-milk-white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-mandarin);
    box-shadow: 0 0 0 2px rgba(255, 159, 28, 0.3);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
}

/* Подвал */
.site-footer {
    background-color: rgba(50, 10, 48, 0.95);
    padding: 60px 0 20px;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 0 0 200px;
}

.footer-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-contact,
.footer-nav {
    flex: 1;
    min-width: 200px;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 159, 28, 0.2);
    text-align: center;
    font-size: 14px;
    color: rgba(245, 241, 237, 0.7);
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(50, 10, 48, 0.95);
    padding: 15px;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    animation: slideUp 0.5s forwards;
}

.cookie-popup p {
    margin-bottom: 0;
    flex: 1;
}

.cookie-popup-actions {
    display: flex;
    gap: 15px;
}

/* Анимации */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 992px) {
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .hero-content,
    .hero-image,
    .about-text,
    .about-image {
        width: 100%;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .header-cta {
        display: none;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .benefits-grid,
    .categories-grid,
    .recipes-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .order-form-container {
        padding: 30px 20px;
    }
    
    .cookie-popup {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-popup-actions {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 20px;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-nav ul {
        align-items: center;
    }
} 