/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Color Palette */
:root {
    --primary-color: #3498db;      /* Синий */
    --accent-color: #2c3e50;       /* Тёмно-синий */
    --bg-color: #f9f9f9;           /* Светло-серый */
    --text-color: #333333;         /* Графитовый */
    --secondary-color: #1abc9c;    /* Бирюзовый */
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
}

/* Base Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    text-transform: lowercase;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
}

.menu-button {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-button span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Main Content */
.thank-you-content{
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    color: #333;
}
.thank-you-content h1{
    font-size: 2rem;
    
}
.thank-you-content p{
    box-shadow: none !important;
}

/* Стили для анимированной галочки */
.checkmark-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    position: relative;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: circle-appear 0.4s ease-in-out;
    box-shadow: 0 5px 20px rgba(26, 188, 156, 0.3);
}

.checkmark {
    width: 30px;
    height: 60px;
    border-right: 5px solid white;
    border-bottom: 5px solid white;
    transform: rotate(45deg) translate(-5px, -10px);
    animation: checkmark-appear 0.6s ease-in-out forwards;
    opacity: 0;
}

@keyframes circle-appear {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes checkmark-appear {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -10px) scale(0.8);
    }
    60% {
        opacity: 1;
        transform: rotate(45deg) translate(-5px, -10px) scale(1.15);
    }
    100% {
        opacity: 1;
        transform: rotate(45deg) translate(-5px, -10px) scale(1);
    }
}

section{
    padding: 120px 0 !important;
}
/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./img/VAtgHV.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 8rem 0;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--accent-color);
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
}

/* Services Section */
.services {
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--secondary-color);
    opacity: 0.05;
    border-radius: 50%;
}

.services::after {
    content: '';
    position: absolute;
    bottom: -70px;
    left: -70px;
    width: 300px;
    height: 300px;
    background-color: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    opacity: 0.1;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.2rem;
}

.service-card p {
    line-height: 1.7;
    color: #666;
}

/* Advantages Section */
.advantages {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.advantage-item {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    transition: all 0.4s ease;
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--primary-color);
}

.advantage-item h4 {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.advantage-item h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.advantage-item:hover h4::after {
    width: 50px;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover .advantage-icon img {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.advantage-icon::after {
    content: '';
    position: absolute;
    width: 86px;
    height: 86px;
    border: 2px solid var(--primary-color);
    opacity: 0.3;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: all 0.3s ease;
}

.advantage-item:hover .advantage-icon::after {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.5;
    border-color: var(--secondary-color);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0.03;
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 15px;
    left: 20px;
    line-height: 0.5;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: bold;
    color: var(--accent-color);
    display: flex;
    align-items: center;
}

.testimonial-author::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    margin-right: 10px;
}

/* Contact Form Section */
.contact {
    background-color: var(--white);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./img/ZYwo04.jpg') no-repeat center center/cover;
    opacity: 0.05;
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--accent-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--bg-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.submit-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.submit-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Info */
.contact-info {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.contact-info h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    width: 30px;
}

.info-text {
    flex: 1;
}

.info-text strong {
    color: var(--accent-color);
}

.info-text a {
    color: var(--text-color);
    text-decoration: none;
}

.info-text a:hover {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 4rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-color: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
    transform: translate(150px, -150px);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.2rem;
    color: var(--white);
    position: relative;
    display: inline-block;
}

.footer-section h3::after,
.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.85;
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.7rem;
}

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.85;
    position: relative;
    padding-left: 15px;
}

.footer-nav a::before {
    content: '›';
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.footer-nav a:hover::before {
    transform: translateX(3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px var(--shadow);
    max-width: 400px;
    z-index: 1001;
    display: none;
}

.cookie-content p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.cookie-content a:hover {
    text-decoration: underline;
}

.cookie-accept {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cookie-accept:hover {
    background-color: var(--accent-color);
}

/* Location Section */
.location {
    background-color: var(--bg-color);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.location-map {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
}

#google-map {
    width: 100%;
    height: 450px;
    border-radius: 15px;
}

#google-map iframe {
    width: 100%;
    height: 100%;
}

.location-details h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.location-details p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile menu */
    .menu-button {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 2px 10px var(--shadow);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-list {
        display: none;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .nav-list a {
        display: block;
        padding: 0.5rem;
    }
    
    .menu-toggle:checked ~ .nav {
        transform: translateY(0);
    }
    
    .menu-toggle:checked ~ .menu-button span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .menu-toggle:checked ~ .menu-button span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-button span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Hero adjustments */
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Grid adjustments */
    .about-content,
    .contact-content,
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cookie-popup {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
} 