/* Основные переменные и сброс стилей */
:root {
    --primary-color: #6A0DAD;
    --secondary-color: #40E0D0;
    --neutral-color: #F0F0F0;
    --text-color: #333333;
    --light-color: #FFFFFF;
    --dark-color: #222222;
    --accent-gradient: linear-gradient(135deg, #6A0DAD, #40E0D0);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.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: 15px;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--light-color);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--light-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.btn-secondary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--dark-color);
}

.btn-tertiary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-tertiary:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* Хедер */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Навигация */
.main-nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    list-style: none;
}

.menu li {
    margin-left: 20px;
}

.menu a {
    padding: 5px 10px;
    font-weight: 600;
    position: relative;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition);
}

.menu a:hover::after {
    width: 100%;
}

/* Мобильное меню (без JavaScript) */
.menu-toggle {
    display: none;
}

.menu-button {
    display: none;
    cursor: pointer;
}

.menu-icon {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    position: relative;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.menu-icon::before {
    transform: translateY(-8px);
}

.menu-icon::after {
    transform: translateY(8px);
}

/* Hero секция */
.hero-section {
    background-image: url('../img/8Aef5S.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    text-align: center;
    padding: 150px 0;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-section h1 {
    color: var(--light-color);
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Секция с услугами */
.services-section {
    padding: 80px 0;
    background-color: var(--neutral-color);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    margin: 15px auto 0;
    border-radius: 2px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.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-card h3,
.service-card p {
    padding: 0 20px;
}

.service-card h3 {
    margin-top: 20px;
}

.service-card .btn {
    margin: 20px;
}

/* Секция с формой заказа */
.order-section {
    padding: 80px 0;
    background: var(--accent-gradient);
    color: var(--light-color);
}

.order-section .section-title {
    color: var(--light-color);
}

.order-section .section-title::after {
    background: var(--light-color);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.form-group select option {
    color: black;
    background-color: white;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
}

/* Секция преимуществ */
.advantages-section {
    padding: 80px 0;
}

.advantages-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius);
    background-color: var(--neutral-color);
    transition: var(--transition);
}

.advantage-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

.advantage-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Секция отзывов */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--neutral-color);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-author {
    font-style: italic;
    color: var(--primary-color);
    font-weight: 600;
}

/* Секция с советами */
.tips-section {
    padding: 80px 0;
}

.tips-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tip-card {
    background-color: var(--neutral-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.tip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.tip-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.tip-card h3,
.tip-card p {
    padding: 0 20px;
}

.tip-card h3 {
    margin-top: 20px;
}

.tip-card .btn {
    margin: 20px;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 20px;
    z-index: 1000;
    max-width: 90%;
    width: 400px;
}

.cookie-content {
    text-align: center;
}

.cookie-content p {
    margin-bottom: 15px;
}

/* Подвал */
.site-footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-info h3 {
    color: var(--secondary-color);
}

.footer-contact h4,
.footer-links h4 {
    color: var(--secondary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-color);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Страницы политик */
.policy-section {
    padding: 80px 0;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.policy-container h1 {
    margin-bottom: 30px;
}

.policy-container h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Страница благодарности */
.thank-you-section {
    padding: 100px 0;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-content h1 {
    margin-bottom: 30px;
}

.thank-you-bordered {
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 40px;
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    position: relative;
}

.thank-you-bordered::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--accent-gradient);
    z-index: -1;
    border-radius: calc(var(--border-radius) + 2px);
}

/* FAQ (без JavaScript) */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
}

details {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

summary {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    background-color: var(--neutral-color);
    position: relative;
    outline: none;
}

summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    transition: var(--transition);
}

details[open] summary::after {
    content: '-';
}

.faq-answer {
    padding: 15px 20px;
}

/* Адаптивный дизайн */
@media (max-width: 768px) {
    /* Мобильное меню */
    .menu-button {
        display: block;
        z-index: 102;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--light-color);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 101;
        padding: 80px 20px 20px;
    }
    
    .menu {
        flex-direction: column;
    }
    
    .menu li {
        margin: 0 0 20px 0;
    }
    
    .menu-toggle:checked ~ .main-nav {
        right: 0;
    }
    
    .menu-toggle:checked ~ .menu-button .menu-icon {
        background-color: transparent;
    }
    
    .menu-toggle:checked ~ .menu-button .menu-icon::before {
        transform: rotate(45deg);
    }
    
    .menu-toggle:checked ~ .menu-button .menu-icon::after {
        transform: rotate(-45deg);
    }
    
    /* Hero секция */
    .hero-section {
        padding: 100px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    /* Секции */
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Форма */
    .form-container {
        padding: 20px;
    }
}
