/* Основная цветовая палитра */
:root {
    --color-indigo: #3A3C7D;     /* Основной фон */
    --color-yellow: #FEE440;     /* Акцент */
    --color-turquoise: #1BE7FF;  /* Дополнительный */
    --color-white: #F9F9F9;      /* Текст */
    --color-lilac: #CAB8FF;      /* Фон блоков */
    --font-main: 'Ubuntu', 'Roboto', sans-serif;
}

/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-indigo);
    color: var(--color-white);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--color-turquoise);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-yellow);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--color-yellow);
    color: var(--color-indigo);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--color-turquoise);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

img {
    max-width: 100%;
    height: auto;
}

/* Медиа-запросы */
@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 30px 0;
    }
}

/* Секции сайта */
header {
    background-color: rgba(58, 60, 125, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}
.thankyou-section {
    text-align: center;
    height: 60vh;
    display: flex;
    align-items: center;
}
.form-section {
    text-align: center;
    height: 80vh;
    display: flex;
    align-items: center;
}
.form-section h1{
    text-align: center;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

@media (max-width: 768px) {
    .logo img {
        height: 30px;
    }
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: var(--color-white);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--color-yellow);
}

/* Стили для футера - Улучшенная версия */
footer {
    background: linear-gradient(to bottom, #1a1a1a, #000);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--color-indigo), var(--color-turquoise), var(--color-yellow));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--color-yellow);
    font-size: 1.4rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--color-turquoise);
}

.footer-section p {
    color: #ccc;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #ccc;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--color-yellow);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
    margin: 0;
}

/* Hero section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(58, 60, 125, 0.7), rgba(58, 60, 125, 0.7)), url('../img/47n1Zw.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--color-white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* О компании - Улучшенная версия */
.about {
    background-color: var(--color-lilac);
    color: var(--color-indigo);
    position: relative;
    padding: 80px 0;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.2), transparent 70%);
    pointer-events: none;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--color-indigo);
    position: relative;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--color-yellow);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    position: relative;
    z-index: 1;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text p:first-of-type {
    position: relative;
    padding-left: 20px;
    font-weight: 500;
}

.about-text p:first-of-type::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-turquoise);
    border-radius: 2px;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: rotate(0);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid var(--color-yellow);
    border-radius: 15px;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.about-image:hover::after {
    opacity: 1;
    transform: scale(1);
}

.about-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 30px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Преимущества */
.benefits {
    background-color: var(--color-white);
    color: var(--color-indigo);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--color-lilac);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
}

/* Услуги */
.services {
    background-color: var(--color-indigo);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--color-lilac);
    border-radius: 10px;
    overflow: hidden;
    color: var(--color-indigo);
}
.thankyou-content{
    text-align: center;
    margin: 0 auto;
}
.service-content {
    padding: 20px;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-indigo);
    margin: 15px 0;
}

/* Отзывы */
.testimonials {
    background-color: var(--color-white);
    color: var(--color-indigo);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--color-lilac);
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.testimonial-author {
    margin-top: 20px;
    font-weight: 700;
}

/* Форма заказа */
.order-form {
    background-color: var(--color-indigo);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {

    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 25px;
    background-color: #252651;
    color: var(--color-white);
}

.form-control:focus {
    outline: none;
    background-color: #252651;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

/* FAQ */
.faq {
    background-color: var(--color-lilac);
    color: var(--color-indigo);
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    background-color: var(--color-turquoise);
    padding: 15px 20px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
}

.faq-answer {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.7);
}

/* Галерея */
.gallery {
    background-color: var(--color-indigo);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    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);
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--color-lilac);
    color: var(--color-indigo);
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-popup p {
    margin: 0;
    padding-right: 20px;
}

.cookie-close {
    display: none;
}

.cookie-popup-toggle:checked ~ .cookie-popup {
    display: none;
}

.cookie-btn {
    padding: 8px 15px;
    background-color: var(--color-yellow);
    color: var(--color-indigo);
    border: none;
    border-radius: 5px;
    cursor: pointer;
} 