/* ОСНОВНЫЕ СТИЛИ */
:root {
    --primary-bg: #036B52;
    --accent-1: #FF6F61;
    --accent-2: #C5E86C;
    --text-color: #FAF8F6;
    --block-bg-1: #274C5E;
    --block-bg-2: #FDE8C9;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--accent-2);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-1);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* АНИМАЦИИ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInFromLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInFromRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInFromBottom {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* НАВИГАЦИЯ */
.header {
    background-color: rgba(39, 76, 94, 0.9);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: none;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-height: 50px;
    animation: fadeIn 1s ease-in-out;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-list li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-list li a:hover {
    background-color: var(--accent-1);
    color: var(--text-color);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
    text-decoration: none;
}

/* ГЕРОЙ-БЛОК */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-bg), var(--block-bg-1));
    padding-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text {
    animation: slideInFromLeft 1s ease-out;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-2);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-image {
    animation: slideInFromRight 1s ease-out;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-1);
    color: var(--text-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--accent-2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* СЕКЦИИ */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeIn 1s ease-out;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-1);
}

/* БЛОК ПРЕИМУЩЕСТВ */
.benefits {
    background-color: var(--block-bg-1);
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    animation: slideInFromBottom 0.8s ease-out;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-2);
}

/* БЛОК ОТЗЫВОВ */
.testimonials {
    background-color: var(--primary-bg);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--block-bg-2);
    color: #333;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    animation: fadeIn 1s ease-out;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 0;
    left: 20px;
    font-size: 80px;
    color: rgba(0, 0, 0, 0.1);
    line-height: 1;
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: bold;
}

/* О ПРОДУКТЕ */
.about-product {
    background-color: var(--block-bg-1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-product-content {
    animation: slideInFromLeft 1s ease-out;
}

.about-product-image {
    animation: slideInFromRight 1s ease-out;
}

.about-product-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* УСЛУГИ */
.services {
    background-color: var(--primary-bg);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--block-bg-1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    animation: slideInFromBottom 0.8s ease-out;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-2);
}

.service-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-1);
    margin: 20px 0;
}

/* ФОРМА ЗАКАЗА */
.order-form {
    background-color: var(--block-bg-1);
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    transition: var(--transition);
}

/* Fixing select option color */
select.form-control {
    color: var(--text-color);
}

select.form-control option {
    background-color: var(--block-bg-1);
    color: var(--text-color);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-2);
    box-shadow: 0 0 0 3px rgba(197, 232, 108, 0.3);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

/* ПОЧЕМУ ВЫБИРАЮТ НАС */
.why-us {
    background-color: var(--primary-bg);
}

.why-us-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.why-us-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    animation: slideInFromBottom 0.8s ease-out;
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.why-us-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-2);
}

/* FAQ */
.faq {
    background-color: var(--block-bg-1);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    animation: fadeIn 1s ease-out;
}

.faq-question {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--accent-2);
    cursor: pointer;
    display: block;
    position: relative;
    padding-right: 30px;
}

.faq-question:hover {
    color: var(--accent-1);
}

.faq-answer {
    line-height: 1.6;
    padding-top: 10px;
}

/* ПОДВАЛ */
.footer {
    background-color: var(--block-bg-1);
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-logo img {
    max-height: 60px;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-2);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 40px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* COOKIE POPUP */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--block-bg-1);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: slideInFromBottom 0.5s ease-out;
}

.cookie-content {
    padding: 20px;
}

.cookie-text {
    margin-bottom: 20px;
}

.cookie-text p {
    margin: 0;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.accept-button {
    background-color: var(--accent-1);
    color: var(--text-color);
}

.accept-button:hover {
    background-color: var(--accent-2);
    color: var(--block-bg-1);
}

.info-button {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
}

.info-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ОТДЕЛЬНЫЕ СТРАНИЦЫ */
.page-header {
    padding-top: 150px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--primary-bg), var(--block-bg-1));
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-2);
}

.page-content {
    background-color: var(--block-bg-1);
    padding: 60px 0;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.policy-content h2 {
    color: var(--accent-2);
    margin: 30px 0 15px;
}

.policy-content p, .policy-content ul {
    margin-bottom: 20px;
}

.policy-content ul {
    padding-left: 20px;
}

/* СТРАНИЦА БЛАГОДАРНОСТИ */
.thank-you {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-bg), var(--block-bg-1));
}

.thank-you h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-2);
    animation: fadeIn 1s ease-out;
}

.thank-you p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    animation: fadeIn 1.5s ease-out;
    text-align: center;
}

.thank-you .cta-button {
    animation: fadeIn 2s ease-out;
}

/* АДАПТИВНЫЙ ДИЗАЙН */
@media (max-width: 992px) {
    .hero-content, .about-product {
        grid-template-columns: 1fr;
    }
    
    .hero-image, .about-product-image {
        order: -1;
    }
    
    .nav-list {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-list.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--block-bg-1);
        padding: 20px;
    }

    .header {
        display: none;
    }
    
    .hero {
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .cookie-buttons {
        justify-content: center;
    }

    /* Fix grid layouts on mobile */
    [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    /* Ensure images are properly sized */
    img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .cookie-content {
        padding: 15px;
    }
    
    .cookie-button {
        width: 100%;
        margin-bottom: 5px;
    }
} 