/* ===== ОБЩИЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #007F7F;
    --accent-color: #FF3377;
    --background-color: #F9F9F9;
    --text-dark: #222222;
    --text-medium: #555555;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, #FF3377, #007F7F);
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-medium);
    background-color: var(--background-color);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ЗАГОЛОВКИ ===== */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: bold;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* ===== КНОПКИ ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    color: var(--white);
    padding: 20px;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.btn-accept {
    background: var(--gradient);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-info {
    color: var(--white);
    text-decoration: underline;
    padding: 10px 15px;
}

/* ===== ШАПКА ===== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* ===== ОСНОВНОЙ КОНТЕНТ ===== */
main {
    margin-top: 100px;
}

.section {
    padding: 60px 0;
}

.section:nth-child(even) {
    background: var(--white);
}

/* ===== ГЕРОЙ-БЛОК ===== */
.hero {
    background: var(--gradient);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    background-image: url('./img/WnUCMm.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 51, 119, 0.8), rgba(0, 127, 127, 0.8));
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* ===== СЕТКИ ===== */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ===== КАРТОЧКИ ===== */
.card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* ===== УСЛУГИ ===== */
.service-card {
    text-align: center;
    padding: 40px 20px;
}

.service-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin: 15px 0;
}

.service-features {
    list-style: none;
    margin: 20px 0;
}

.service-features li {
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== ФОРМА ===== */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    animation: inputFocus 0.3s ease;
}

@keyframes inputFocus {
    0% { box-shadow: 0 0 0 0 rgba(0, 127, 127, 0.4); }
    100% { box-shadow: 0 0 0 4px rgba(0, 127, 127, 0.1); }
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 3px;
}

/* ===== FAQ ===== */
.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #006666;
}

.faq-answer {
    padding: 20px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== ОТЗЫВЫ ===== */
.testimonial {
    text-align: center;
    font-style: italic;
    position: relative;
    padding: 30px;
}

.testimonial::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent-color);
    position: absolute;
    top: -10px;
    left: 10px;
}

.testimonial-author {
    margin-top: 20px;
    font-weight: bold;
    color: var(--primary-color);
}

/* ===== ПОДВАЛ ===== */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
}

.disclaimer {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 10px;
}

/* ===== МЕДИА-ЗАПРОСЫ ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav {
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .form-container {
        padding: 20px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
}

@media (max-width: 480px) {
    .section {
        padding: 40px 0;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .card {
        padding: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
} 