/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 120px; /* Увеличенный отступ для якорей с учетом фиксированного хедера */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #FFFAFA;
    background-color: #BF00FF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Header and Navigation */
.header {
    background: linear-gradient(135deg, #2B2B2B 0%, #1a1a1a 100%);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #FFFAFA;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-text {
    margin-left: 10px;
    color: #98FF98;
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #FFFAFA;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #98FF98;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #98FF98;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.contact-phone {
    color: #98FF98;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-phone:hover {
    color: #FF5E57;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #FFFAFA;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #BF00FF 0%, #8B00BF 100%);
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    color: #FFFAFA;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #FFFAFA;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #98FF98 0%, #7FE67F 100%);
    color: #2B2B2B;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(152, 255, 152, 0.3);
}

.cta-button:hover {
    background: linear-gradient(135deg, #FF5E57 0%, #FF4444 100%);
    color: #FFFAFA;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 94, 87, 0.4);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* About Section */
.about-section {
    background-color: #2B2B2B;
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #FFFAFA;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Advantages Section */
.advantages-section {
    background: linear-gradient(135deg, #BF00FF 0%, #8B00BF 100%);
    padding: 4rem 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
    background: rgba(43, 43, 43, 0.8);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    color: #98FF98;
    margin-bottom: 1rem;
}

.advantage-item h3 {
    color: #98FF98;
    margin-bottom: 1rem;
}

/* Services Section */
.services-section {
    background-color: #2B2B2B;
    padding: 4rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: linear-gradient(135deg, #EBDDFD 0%, #D8C7FD 100%);
    border-radius: 15px;
    padding: 2rem;
    color: #2B2B2B;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #BF00FF;
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    margin-top: 1rem;
}

.service-card li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #98FF98;
    font-weight: bold;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #BF00FF 0%, #8B00BF 100%);
    padding: 4rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    background: rgba(43, 43, 43, 0.8);
    padding: 2rem;
    border-radius: 15px;
}

.contact-details p {
    margin-bottom: 1rem;
    color: #FFFAFA;
}

.contact-details a {
    color: #98FF98;
    text-decoration: none;
}

.contact-details a:hover {
    color: #FF5E57;
}

/* Form Styles */
.styled-form {
    background: #EBDDFD;
    padding: 2rem;
    border-radius: 15px;
    color: #2B2B2B;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2B2B2B;
}

.form-group input[type="text"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #BF00FF;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #98FF98;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
    margin: 0;
}

.checkbox-label a {
    color: #BF00FF;
    text-decoration: underline;
}

.submit-button {
    background: linear-gradient(135deg, #98FF98 0%, #7FE67F 100%);
    color: #2B2B2B;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background: linear-gradient(135deg, #FF5E57 0%, #FF4444 100%);
    color: #FFFAFA;
    transform: translateY(-2px);
}

/* Testimonials Section */
.testimonials-section {
    background-color: #2B2B2B;
    padding: 4rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: linear-gradient(135deg, #EBDDFD 0%, #D8C7FD 100%);
    padding: 2rem;
    border-radius: 15px;
    color: #2B2B2B;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: #BF00FF;
    position: absolute;
    top: -10px;
    left: 20px;
    line-height: 1;
}

.testimonial-author {
    margin-top: 1rem;
    border-top: 2px solid #BF00FF;
    padding-top: 1rem;
}

.testimonial-author strong {
    color: #BF00FF;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, #BF00FF 0%, #8B00BF 100%);
    padding: 4rem 0;
}

.faq-list {
    margin-top: 2rem;
}

.faq-item {
    background: rgba(43, 43, 43, 0.8);
    margin-bottom: 1rem;
    border-radius: 10px;
    padding: 1.5rem;
}

.faq-item h3 {
    color: #98FF98;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: #FFFAFA;
    margin: 0;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2B2B2B 0%, #1a1a1a 100%);
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #98FF98;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #FFFAFA;
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: #98FF98;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom-content p {
    font-size: 0.9rem;
    color: #FFFAFA;
    opacity: 0.8;
}

.footer-disclaimer {
    font-size: 0.8rem !important;
    margin-top: 0.5rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2B2B2B 0%, #1a1a1a 100%);
    padding: 1rem;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.cookie-banner.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    color: #FFFAFA;
    margin: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-accept {
    background: linear-gradient(135deg, #98FF98 0%, #7FE67F 100%);
    color: #2B2B2B;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept:hover {
    background: linear-gradient(135deg, #FF5E57 0%, #FF4444 100%);
    color: #FFFAFA;
}

.cookie-learn {
    color: #98FF98;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 1px solid #98FF98;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.cookie-learn:hover {
    background: #98FF98;
    color: #2B2B2B;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #2B2B2B;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-contact {
        display: none;
    }
    
    .hero-container,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .advantages-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
            .hero-section {
            padding: 2rem 0;
            min-height: auto;
        }
        
        html {
            scroll-padding-top: 100px; /* Увеличенный отступ для мобильных */
        }
    }

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .service-card,
    .advantage-item,
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.advantage-item,
.service-card,
.testimonial-card,
.faq-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
} 