/* Основные стили */
:root {
    --main-bg-color: #0A2647;
    --accent-coral: #FF6B6B;
    --accent-green: #A3EBB1;
    --text-color: #F5F5F5;
    --font-main: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--main-bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-coral);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: linear-gradient(to right, var(--accent-coral), var(--accent-green));
    color: white;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Хедер */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: rgba(10, 38, 71, 0.9);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
}

.logo img {
    height: 45px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-size: 16px;
    font-weight: 500;
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Главная секция */
.hero {
    height: 100vh;
    background-color: var(--main-bg-color);
    display: flex;
    align-items: center;
    margin-top: 80px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    padding-right: 40px;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

/* О компании */
.about {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 36px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--accent-coral), var(--accent-green));
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-text {
    flex: 1;
    padding-right: 40px;
}

.about-image {
    flex: 1;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Услуги */
.services {
    padding: 100px 0;
    background-color: rgba(255, 255, 255, 0.03);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(to right, var(--accent-coral), var(--accent-green));
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

/* Преимущества */
.benefits {
    padding: 100px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

.benefit-icon {
    font-size: 48px;
    color: var(--accent-coral);
    margin-bottom: 20px;
}

.benefit-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Отзывы */
.testimonials {
    padding: 100px 0;
    background-color: rgba(255, 255, 255, 0.03);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    opacity: 0.8;
}

/* Форма заказа */
.contact-form {
    padding: 100px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--text-color);
    font-family: var(--font-secondary);
}

select.form-control option {
    background-color: #0A2647;
    color: var(--text-color);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-coral);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
}

/* Футер */
footer {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--accent-coral), var(--accent-green));
    bottom: -10px;
    left: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--accent-coral);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* Cookie-баннер */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: rgba(10, 38, 71, 0.95);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.cookie-banner.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-text {
    flex: 1;
    padding-right: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accept-cookies {
    background: linear-gradient(to right, var(--accent-coral), var(--accent-green));
    color: white;
    border: none;
}

.more-info {
    background: transparent;
    border: 1px solid var(--accent-coral);
    color: var(--text-color);
}

/* Анимации */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column-reverse;
    }
    
    .hero-text, .hero-image {
        text-align: center;
        padding: 0;
        margin-bottom: 30px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        padding: 0;
        margin-bottom: 30px;
    }
    
    .cookie-banner {
        flex-direction: column;
    }
    
    .cookie-text {
        padding-right: 0;
        margin-bottom: 20px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
    
    .hero {
        height: auto;
        padding: 120px 0 60px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
}

/* Плавное появление элементов */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* Стили для страниц с юридической информацией */
.legal-page {
    padding: 120px 0 60px;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 40px;
}

.legal-content h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.last-update {
    font-style: italic;
    color: var(--accent-coral);
    margin-bottom: 30px;
}

.legal-section {
    margin-bottom: 30px;
}

.legal-section h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--accent-coral);
}

.legal-section h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.legal-section p, .legal-section ul {
    margin-bottom: 15px;
    line-height: 1.7;
}

.legal-section ul {
    padding-left: 20px;
}

.legal-section ul li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 20px;
    }
    
    .legal-content h1 {
        font-size: 28px;
    }
    
    .legal-section h2 {
        font-size: 20px;
    }
    
    .legal-section h3 {
        font-size: 18px;
    }
} 