/* Основные стили для сайта levuhi-hubala */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #1D1E3C 0%, #2A2B4A 100%);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Контейнеры */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-up {
    animation: slideUp 1s ease-out;
}

/* Заголовки */
h1, h2, h3 {
    font-family: 'Georgia', serif;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
    color: #FFA931;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

h2 {
    font-size: 2.5rem;
    color: #5E4AE3;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.8rem;
    color: #FFA931;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(45deg, #FFA931, #FF8C00);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 24px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 169, 49, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 169, 49, 0.4);
    background: linear-gradient(45deg, #FF8C00, #FFA931);
}

.btn-secondary {
    background: linear-gradient(45deg, #5E4AE3, #7B68EE);
    box-shadow: 0 8px 25px rgba(94, 74, 227, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(45deg, #7B68EE, #5E4AE3);
    box-shadow: 0 12px 35px rgba(94, 74, 227, 0.4);
}

/* Хедер */
header {
    background: rgba(29, 30, 60, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(197, 195, 214, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: #C5C3D6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #FFA931;
}

/* Hero секция */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1D1E3C 0%, rgba(168, 230, 207, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/ErnLIM.jpg') center/cover;
    opacity: 0.1;
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    z-index: 2;
}

.hero-slogan {
    font-size: 1.3rem;
    color: #A8E6CF;
    margin-bottom: 30px;
    font-style: italic;
}

.hero-description {
    font-size: 1.2rem;
    color: #C5C3D6;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Карточки */
.card {
    background: rgba(246, 245, 242, 0.05);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(197, 195, 214, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border-color: rgba(255, 169, 49, 0.3);
}

/* Сетка продуктов */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.product-card {
    background: linear-gradient(135deg, rgba(168, 230, 207, 0.1), rgba(220, 237, 193, 0.05));
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 169, 49, 0.1), transparent);
    transition: left 0.6s ease;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    border-color: #FFA931;
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 169, 49, 0.2);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 20px;
}

.product-price {
    font-size: 2rem;
    color: #FFA931;
    font-weight: bold;
    margin: 20px 0;
}

/* Отзывы */
.testimonials {
    background: linear-gradient(90deg, #A8E6CF, #DCEDC1);
    color: #1D1E3C;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #1D1E3C;
}

.testimonial-author {
    font-weight: bold;
    color: #5E4AE3;
}

/* Форма заказа */
.order-section {
    background: linear-gradient(135deg, #1D1E3C, #2A2B4A);
    padding: 80px 0;
}

.order-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.order-info {
    padding: 40px;
}

.order-form {
    background: rgba(246, 245, 242, 0.05);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(197, 195, 214, 0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #C5C3D6;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(197, 195, 214, 0.3);
    border-radius: 12px;
    background: rgba(246, 245, 242, 0.1);
    color: #FFFFFF;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group select {
    color: #000000;
    background: rgba(246, 245, 242, 0.9);
}

.form-group select option {
    color: #000000;
    background: #FFFFFF;
}

.form-group input::placeholder {
    color: #C5C3D6;
    opacity: 0.8;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #FFA931;
    box-shadow: 0 0 0 3px rgba(255, 169, 49, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group a {
    color: #FFA931;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* Cookie баннер */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(29, 30, 60, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-top: 2px solid #FFA931;
    z-index: 1001;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    color: #C5C3D6;
}

.cookie-button {
    padding: 10px 25px;
    background: #FFA931;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cookie-button:hover {
    background: #FF8C00;
    transform: translateY(-2px);
}

/* Футер */
footer {
    background: #1D1E3C;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(197, 195, 214, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #FFA931;
    margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
    color: #C5C3D6;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: #FFA931;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(197, 195, 214, 0.1);
    color: #C5C3D6;
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Открепляем шапку в мобильной версии */
    header {
        position: relative;
    }
    
    /* Убираем отступ сверху для hero секции, так как шапка больше не фиксированная */
    .hero {
        padding-top: 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .order-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        gap: 20px;
    }
    
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    /* Открепляем шапку в мобильной версии */
    header {
        position: relative;
    }
    
    /* Убираем отступ сверху для hero секции */
    .hero {
        padding-top: 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .card,
    .product-card,
    .order-form {
        padding: 25px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
    }
}

/* Специальные стили для страниц политики */
.policy-page {
    padding-top: 120px;
    min-height: 100vh;
}

.policy-content {
    background: rgba(246, 245, 242, 0.05);
    border-radius: 24px;
    padding: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(197, 195, 214, 0.2);
    margin-bottom: 40px;
}

.policy-content h2 {
    color: #FFA931;
    margin-top: 40px;
    margin-bottom: 20px;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #C5C3D6;
}

.policy-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.policy-content li {
    margin-bottom: 10px;
    color: #C5C3D6;
    line-height: 1.6;
}

/* Страница благодарности */
.thank-you-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    background: linear-gradient(135deg, #1D1E3C 0%, rgba(168, 230, 207, 0.1) 100%);
}

.thank-you-content {
    background: rgba(246, 245, 242, 0.05);
    border-radius: 24px;
    padding: 60px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(197, 195, 214, 0.2);
    max-width: 600px;
}

.thank-you-icon {
    font-size: 4rem;
    color: #A8E6CF;
    margin-bottom: 30px;
}

/* Скрытие элементов */
.hidden {
    display: none !important;
} 