/* Основные стили */
:root {
    --sky-blue: #6EC1E4;
    --fuchsia: #D53F8C;
    --sunny-yellow: #FFD700;
    --deep-purple: #6A0DAD;
    --mint-green: #98FB98;
    --coral: #FF7F50;
    --light-bg: #F8F9FA;
    --dark-text: #333;
    --light-text: #FFF;
    --gradient-bg: linear-gradient(135deg, var(--sky-blue), var(--deep-purple));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-bg);
}

a {
    text-decoration: none;
    color: var(--deep-purple);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--fuchsia);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
    color: var(--deep-purple);
}

h2 {
    font-size: 2.5rem;
    color: var(--deep-purple);
}

h3 {
    font-size: 2rem;
    color: var(--fuchsia);
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient-bg);
    color: var(--light-text);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    color: var(--light-text);
}

/* Шапка */
header {
    background-color: var(--light-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
}

/* Навигация */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--fuchsia);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-checkbox {
    display: none;
}

/* Херо секция */
.hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--light-text);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--light-text);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Секция услуг */
.services {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.services-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.service-card {
    flex: 0 0 calc(33.333% - 30px);
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Секция "Почему мы" */
.why-us {
    padding: 80px 0;
    background-color: #f0f8ff;
}

.features-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.feature {
    flex: 0 0 calc(25% - 30px);
    text-align: center;
    margin-bottom: 40px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 2rem;
}

/* Галерея */
.gallery {
    padding: 80px 0;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Отзывы */
.testimonials {
    padding: 80px 0;
    background-color: #f0f8ff;
}

.testimonials-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.testimonial {
    flex: 0 0 calc(33.333% - 30px);
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    position: relative;
    padding-left: 30px;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--fuchsia);
    font-family: serif;
}

.testimonial-author {
    margin-top: 20px;
    font-weight: 700;
    color: var(--deep-purple);
}

/* Форма заказа */
.contact {
    padding: 80px 0;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--fuchsia);
    outline: none;
}

select.form-control option {
    color: black;
    background-color: white;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

/* Подвал */
footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-section {
    flex: 0 0 calc(33.333% - 30px);
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
}

.footer-links a:hover {
    color: var(--coral);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 1;
}

.cookie-popup.show {
    display: flex;
}

@media (max-width: 576px) {
    .cookie-popup {
        flex-direction: column;
        padding: 15px;
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
    
    .cookie-popup p {
        margin-bottom: 15px;
        margin-right: 0;
        text-align: center;
    }
    
    .cookie-popup .btn {
        width: 100%;
        text-align: center;
    }
}

.cookie-popup p {
    margin-right: 20px;
}

/* Страницы политик */
.policy-container {
    max-width: 900px;
    margin: 80px auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
    text-align: center;
    margin-bottom: 40px;
}

.policy-container h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.policy-container p {
    margin-bottom: 20px;
}

.policy-container ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-container li {
    margin-bottom: 10px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .service-card {
        flex: 0 0 calc(50% - 20px);
    }
    
    .feature {
        flex: 0 0 calc(50% - 20px);
    }
    
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial {
        flex: 0 0 calc(50% - 20px);
    }
    
    .footer-section {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    nav ul {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 1.5rem;
        color: var(--deep-purple);
    }
    
    .mobile-menu-checkbox:checked ~ nav ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--light-bg);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }
    
    nav ul li {
        margin: 10px 0;
    }
}

@media (max-width: 576px) {
    .service-card {
        flex: 0 0 100%;
    }
    
    .feature {
        flex: 0 0 100%;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .testimonial {
        flex: 0 0 100%;
    }
    
    .footer-section {
        flex: 0 0 100%;
    }
    
    .contact-form {
        padding: 20px;
    }
}

/* Удалены анимации */

/* FAQ стили */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
}

details {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

summary {
    padding: 15px;
    cursor: pointer;
    font-weight: 600;
    background-color: #f5f5f5;
    transition: background-color 0.3s ease;
}

summary:hover {
    background-color: #eee;
}

details[open] summary {
    background-color: var(--sky-blue);
    color: var(--light-text);
}

.faq-content {
    padding: 15px;
}

/* Страницы с одним блоком */
.single-block-page {
    padding: 80px 0;
}

.single-block-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.single-block-container h1 {
    text-align: center;
    margin-bottom: 30px;
}

.single-block-container p {
    margin-bottom: 20px;
}
