/* 
* Основные стили сайта
* Цветовая палитра:
* - Основной фон: #1e1f3d (тёмно-индиговый)
* - Акцент: #f7931e (оранжево-янтарный) 
* - Дополнительные: #f2f2f2 (белый дым), #444866 (приглушённый синий), #ffffff (чистый белый)
*/

/* Reset и основные стили */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #1e1f3d;
    --accent: #f7931e;
    --light: #f2f2f2;
    --secondary: #444866;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--light);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* Контейнер и секции */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    color: var(--white);
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    margin: 15px auto 0;
}

/* Утилиты */
.text-center {
    text-align: center;
}

/* Шапка сайта */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(30, 31, 61, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
    transition: var(--transition);
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-nav .nav-list a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    transition: var(--transition);
    position: relative;
}

.main-nav .nav-list a:hover {
    color: var(--accent);
}

.main-nav .nav-list a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 12px;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.main-nav .nav-list a:hover::after {
    width: calc(100% - 24px);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: 5px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-accent:hover {
    background-color: #e08210;
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--white);
    transition: var(--transition);
}

/* Hero секция */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    background: linear-gradient(to bottom right, var(--bg-primary), var(--secondary));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(247,147,30,0.2) 0%, rgba(30,31,61,0) 70%);
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(247,147,30,0.15) 0%, rgba(30,31,61,0) 70%);
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--light);
}

/* О нас */
.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-image {
    flex: 0 0 45%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-text {
    flex: 0 0 55%;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--white);
}

/* Услуги */
.services {
    background-color: rgba(68, 72, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-primary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary);
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--accent);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

/* Преимущества */
.advantages-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    transition: var(--transition);
    background-color: rgba(68, 72, 102, 0.2);
}

.advantage-item:hover {
    background-color: rgba(68, 72, 102, 0.3);
}

.advantage-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.advantage-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--white);
}

/* Процесс работы */
.process {
    background-color: rgba(68, 72, 102, 0.3);
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.process-step {
    flex: 0 0 calc(25% - 30px);
    margin: 0 15px;
    text-align: center;
    position: relative;
}

.process-step-number {
    width: 80px;
    height: 80px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 20px;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.process-step-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--white);
}

.process-line {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary);
    z-index: 1;
}

/* Отзывы */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-item {
    background-color: rgba(68, 72, 102, 0.2);
    padding: 30px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 2rem;
    color: var(--accent);
    position: absolute;
}

.testimonial-text::before {
    left: -15px;
    top: -10px;
}

.testimonial-text::after {
    right: -15px;
    bottom: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.testimonial-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-name {
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--white);
}

.testimonial-author-title {
    font-size: 0.9rem;
    color: var(--accent);
}

/* Форма заказа */
.contact-form-section {
    background-color: rgba(68, 72, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-primary);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--white);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--secondary);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Fix для выпадающего списка */
select.form-control {
    color: var(--white);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6" viewBox="0 0 12 6"><path fill="%23f7931e" d="M0 0l6 6 6-6z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 30px;
}

select.form-control option {
    background-color: var(--bg-primary);
    color: var(--white);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-check-input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-check-label {
    font-size: 0.9rem;
}

.form-check-label a {
    color: var(--accent);
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.btn-lg {
    padding: 15px 30px !important;
    font-size: 1.1rem;
}

.form-error {
    color: #ff4d4d;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Footer */
.main-footer {
    background-color: rgba(25, 26, 51, 0.95);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-about p {
    color: var(--light);
    margin-bottom: 20px;
}

.footer-contact h3,
.footer-links h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-contact ul,
.footer-links ul {
    list-style: none;
}

.footer-contact li,
.footer-links li {
    margin-bottom: 12px;
}

.footer-contact a,
.footer-links a {
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover,
.footer-links a:hover {
    color: var(--accent);
}

.footer-contact i {
    color: var(--accent);
    margin-right: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
    font-size: 0.9rem;
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-primary);
    padding: 15px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: block;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
}

.cookie-content a {
    color: var(--accent);
    text-decoration: none;
}

.cookie-content a:hover {
    text-decoration: underline;
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.slide-up {
    opacity: 0;
}

.slide-up.animated {
    animation: slideUp 0.8s ease forwards;
}

/* Медиа-запросы */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        flex: 0 0 100%;
    }
    
    .process-step {
        flex: 0 0 calc(50% - 30px);
        margin-bottom: 40px;
    }
    
    .process-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .service-card,
    .advantage-item,
    .process-step {
        margin-bottom: 30px;
    }
    
    .testimonial-item {
        padding: 20px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .process-step {
        flex: 0 0 100%;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
} 