/* Global Styles */
:root {
    --background: #101820;
    --primary-accent: #F95738;
    --secondary-accent: #43BCCD;
    --block-background: #1A1F2B;
    --text-color: #EDEDED;
    --button-gradient-from: #FF9F1C;
    --button-gradient-to: #2EC4B6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--background);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-accent);
}

ul {
    list-style: none;
}

/* Header Styles */
header {
    background-color: var(--block-background);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 150px;
}

.logo svg {
    width: 100%;
    height: auto;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 20px;
}

.cta-button {
    background-image: linear-gradient(to right, var(--button-gradient-from), var(--button-gradient-to));
    padding: 10px 20px;
    border-radius: 30px;
    color: var(--background);
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: var(--background);
}

/* Мобильное меню-гамбургер */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 3px;
    margin: 6px 0;
    background-color: var(--primary-accent);
    transition: all 0.3s ease;
}

/* Main Content Styles */
main {
    margin-top: 90px;
}

section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--primary-accent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--block-background);
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--primary-accent);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-button {
    display: inline-block;
    background-image: linear-gradient(to right, var(--button-gradient-from), var(--button-gradient-to));
    padding: 15px 30px;
    border-radius: 30px;
    color: var(--background);
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    color: var(--background);
}

/* Presentation Section */
.presentation-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.presentation-text {
    flex: 1;
}

.presentation-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rounded-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Services Section */
#services {
    background-color: var(--background);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--block-background);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-accent);
    border-radius: 50%;
    color: var(--background);
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-accent);
}

/* Avantages Section */
#avantages {
    background-color: var(--block-background);
}

.avantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.avantage-card {
    background-color: var(--background);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.avantage-card:hover {
    transform: scale(1.05);
}

.avantage-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-accent);
}

/* Méthodologie Section */
#methodologie {
    background-color: var(--background);
}

.methodo-steps {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

.step-number {
    background-color: var(--primary-accent);
    color: var(--text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--secondary-accent);
}

/* Témoignages Section */
#temoignages {
    background-color: var(--block-background);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid var(--primary-accent);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    text-align: center;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-accent);
    text-align: center;
}

/* Commande Form Section */
#commande {
    background-color: var(--background);
    background-image: linear-gradient(135deg, var(--block-background) 25%, transparent 25%, transparent 50%, var(--block-background) 50%, var(--block-background) 75%, transparent 75%, transparent);
    background-size: 40px 40px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--block-background);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--secondary-accent);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
select:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 10px rgba(249, 87, 56, 0.3);
    outline: none;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-option input {
    margin-right: 8px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.checkbox-group input {
    margin-right: 10px;
}

button[type="submit"] {
    background-color: var(--primary-accent);
    color: var(--text-color);
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: bold;
}

button[type="submit"]:hover {
    background-color: var(--secondary-accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Contact Section */
#contact {
    background-color: var(--block-background);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    padding: 30px;
    background-color: var(--background);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-accent);
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-detail i {
    margin-right: 10px;
    color: var(--secondary-accent);
    font-size: 1.2rem;
}

.contact-image {
    margin-top: 30px;
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer Styles */
footer {
    background-color: var(--block-background);
    padding: 60px 0 20px;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(249, 87, 56, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 30%, rgba(67, 188, 205, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 50% 80%, rgba(255, 159, 28, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 20% 60%, rgba(46, 196, 182, 0.1) 0%, transparent 20%);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, var(--background) 25%, transparent 25%),
                      linear-gradient(225deg, var(--background) 25%, transparent 25%);
    background-size: 60px 60px;
    opacity: 0.05;
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-accent);
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-accent);
    bottom: -8px;
    left: 0;
}

.footer-section p, .footer-section li {
    margin-bottom: 10px;
}

.footer-section i {
    margin-right: 8px;
    color: var(--secondary-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

/* Cookie Popup */
#cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background-color: var(--block-background);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1001;
}

.cookie-content {
    text-align: center;
}

.cookie-content p {
    margin-bottom: 20px;
}

#accept-cookies {
    background-color: var(--primary-accent);
    color: var(--text-color);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#accept-cookies:hover {
    background-color: var(--secondary-accent);
}

/* Policy Pages */
.policy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--block-background);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.policy-container h1 {
    color: var(--primary-accent);
    margin-bottom: 30px;
}

.policy-container h2 {
    color: var(--secondary-accent);
    margin-top: 40px;
    margin-bottom: 20px;
}

.policy-container p, .policy-container ul {
    margin-bottom: 20px;
}

.policy-container ul {
    padding-left: 20px;
    list-style-type: disc;
}

.policy-container li {
    margin-bottom: 10px;
}

/* CSS анимации без JavaScript */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Thank You Page */
.thank-you-container {
    text-align: center;
    max-width: 600px;
    margin: 120px auto 40px;
    padding: 40px;
    background-color: var(--block-background);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.thank-you-container h1 {
    color: var(--primary-accent);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.thank-you-container p {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.back-button {
    display: inline-block;
    background-image: linear-gradient(to right, var(--button-gradient-from), var(--button-gradient-to));
    padding: 12px 25px;
    border-radius: 30px;
    color: var(--background);
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: var(--background);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .presentation-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    /* Скрываем навигацию на мобильных устройствах */
    nav ul {
        display: none;
    }

    /* Показываем кнопку мобильного меню */
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    /* Отображаем только кнопку CTA на мобильных устройствах */
    nav ul li:last-child {
        display: block;
        text-align: center;
        margin: 20px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .services-grid, .avantages-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .presentation-text,
    .presentation-image {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .radio-group {
        flex-direction: column;
    }
    
    .testimonial-card {
        padding: 15px;
    }
    
    .testimonial-image {
        width: 100px;
        height: 100px;
    }
} 