/* 
   Domain - Buchhaltungsdienstleistungen
   Stylesheet
   Цветовая палитра:
   - Основной цвет: ультрамариновый #3A3AFF
   - Акцентный: кораллово-розовый #FF6B6B
   - Фон: кремовый белый #FAF9F6
   - Текст: угольно-серый #2E2E2E
   - Элементы интерфейса: фисташковый #A6D49F
*/

/* === Reset and Base Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    color: #2E2E2E;
    background-color: #FAF9F6;
    line-height: 1.6;
    font-size: 16px;
}

a {
    color: #3A3AFF;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

a:hover {
    color: #FF6B6B;
}

ul, ol {
    list-style-position: inside;
    margin: 15px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 20px 0 10px;
    line-height: 1.2;
    font-weight: bold;
    color: #2E2E2E;
}

p {
    margin-bottom: 15px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* === Layout === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FF6B6B;
    margin: 15px auto;
}

/* === Header === */
.main-header {
    background-color: #FAF9F6;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 2em;
    font-weight: bold;
    color: #3A3AFF;
    text-transform: lowercase;
}

.main-nav ul {
    display: flex;
    margin: 0;
}

.main-nav li {
    list-style: none;
    margin-left: 30px;
}

.main-nav a {
    color: #2E2E2E;
    font-weight: bold;
}

.main-nav a:hover {
    color: #FF6B6B;
}

/* === Hero Section === */
.hero {
    padding: 80px 0;
    background: linear-gradient(to right, #FAF9F6, #F0F0F0);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #3A3AFF;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* === About Section === */
.about {
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

/* === Benefits Section === */
.benefits {
    background-color: #F7F7F7;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 1.4em;
    color: #3A3AFF;
    margin-bottom: 15px;
}

/* === Services Section === */
.services {
    background-color: #fff;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #FAF9F6;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.service-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.5em;
    color: #3A3AFF;
}

.service-card ul {
    padding: 0 20px;
    list-style-type: none;
}

.service-card li {
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

.service-card li:before {
    content: "✓";
    color: #A6D49F;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.service-card .price {
    padding: 10px 20px;
    font-weight: bold;
    font-size: 1.2em;
    color: #FF6B6B;
}

.service-card .btn {
    margin: 0 20px 20px;
    display: inline-block;
}

/* === Why Us Section === */
.why-us {
    background-color: #F7F7F7;
}

.why-us-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.why-us-text {
    flex: 1;
}

.why-us-image {
    flex: 1;
}

.why-us-text ul {
    list-style-type: none;
}

.why-us-text li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.why-us-text li:before {
    content: "→";
    color: #3A3AFF;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* === Testimonials Section === */
.testimonials {
    background-color: #fff;
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.testimonial {
    background-color: #FAF9F6;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 300px;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-content p:before {
    content: """;
    font-size: 1.5em;
    color: #3A3AFF;
}

.testimonial-content p:after {
    content: """;
    font-size: 1.5em;
    color: #3A3AFF;
}

.testimonial-author {
    text-align: right;
}

/* === Contact Section === */
.contact {
    background-color: #F7F7F7;
}

.contact-container {
    display: flex;
    gap: 40px;
}

.contact-form {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-map {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    font-weight: normal;
}

.map-image, 
.contact-map iframe {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 20px;
}

.contact-info {
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* === Footer === */
.main-footer {
    background-color: #2E2E2E;
    color: #FAF9F6;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-info {
    flex: 2;
    min-width: 300px;
}

.footer-info h3 {
    color: #FAF9F6;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.footer-info .contact-info {
    margin-top: 20px;
    background-color: transparent;
    padding: 0;
    box-shadow: none;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h4 {
    color: #FAF9F6;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #FAF9F6;
}

.footer-links a:hover {
    color: #FF6B6B;
}

.copyright {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.9em;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.btn-primary {
    background-color: #3A3AFF;
    color: #FAF9F6;
}

.btn-primary:hover {
    background-color: #2828CC;
    color: #FAF9F6;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: #A6D49F;
    color: #2E2E2E;
}

.btn-secondary:hover {
    background-color: #8BC784;
    transform: translateY(-3px);
    color: #2E2E2E;
}

/* === Thank You Page === */
.thank-you {
    padding: 100px 0;
    background: linear-gradient(135deg, #FAF9F6 0%, #F0F0F0 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.thank-you-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #A6D49F, #8BC784);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    color: #fff;
    margin: 0 auto 30px;
    font-weight: bold;
}

.thank-you h1 {
    font-size: 2.8em;
    color: #3A3AFF;
    margin-bottom: 20px;
}

.thank-you-message {
    font-size: 1.3em;
    color: #2E2E2E;
    margin-bottom: 40px;
    line-height: 1.6;
}

.thank-you-steps {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    gap: 30px;
}

.step {
    flex: 1;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #3A3AFF;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    margin: 0 auto 15px;
}

.step p {
    color: #2E2E2E;
    font-size: 0.95em;
    line-height: 1.4;
    margin: 0;
}

.thank-you-actions {
    margin: 40px 0;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.thank-you-contact {
    margin-top: 40px;
    padding: 25px;
    background-color: #F7F7F7;
    border-radius: 12px;
    border-left: 4px solid #FF6B6B;
}

.thank-you-contact p {
    margin: 5px 0;
    color: #2E2E2E;
}

.thank-you-contact a {
    color: #3A3AFF;
    font-weight: bold;
}

/* === Legal Pages === */
.legal {
    padding: 60px 0;
}

.legal h1 {
    font-size: 2.5em;
    color: #3A3AFF;
    margin-bottom: 30px;
    text-align: center;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.legal-content h2 {
    color: #3A3AFF;
    font-size: 1.8em;
    margin-top: 40px;
}

.legal-content h3 {
    color: #2E2E2E;
    font-size: 1.4em;
    margin-top: 30px;
}

/* === Cookie Banner === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(46, 46, 46, 0.95);
    color: #FAF9F6;
    padding: 15px 0;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-content p {
    margin: 0;
}

.cookie-content a {
    color: #A6D49F;
}

.cookie-content button {
    background-color: #FF6B6B;
    color: #FAF9F6;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

.cookie-content button:hover {
    background-color: #E05A5A;
}

/* === Responsive Design === */
@media (max-width: 992px) {
    .hero .container,
    .about-content,
    .why-us-content,
    .contact-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-image,
    .about-image,
    .why-us-image {
        order: -1;
    }
    
    .service-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 10px 0;
    }
    
    .main-header .container {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }
    
    .logo a {
        font-size: 1.6em;
    }
    
    .main-nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .main-nav li {
        margin-left: 0;
    }
    
    .main-nav a {
        font-size: 0.9em;
        padding: 5px 10px;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2.2em;
    }
    
    .testimonials-slider {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 1.8em;
    }
    
    .benefit-card,
    .testimonial {
        padding: 20px;
    }
    
    .legal-content {
        padding: 20px;
    }
    
    .thank-you {
        padding: 60px 0;
    }
    
    .thank-you-card {
        padding: 40px 20px;
        margin: 0 20px;
    }
    
    .thank-you h1 {
        font-size: 2.2em;
    }
    
    .thank-you-steps {
        flex-direction: column;
        gap: 20px;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .thank-you-actions .btn {
        width: 100%;
        max-width: 300px;
    }
} 