/* Основные стили для сайта domain - финансовый аудит в Чехии */

/* Импорт шрифтов */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Основные настройки */
:root {
    --primary-bg: #F9F7F3;
    --primary-accent: #1C6E8C;
    --secondary-accent: #F46036;
    --dark: #1B1B1E;
    --light: #E8E9EB;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-bg);
    color: var(--dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--primary-accent);
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-accent);
}

/* Контейнер для всех секций */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section {
    padding: 60px 0;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-accent);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.btn:hover {
    background-color: var(--secondary-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--secondary-accent);
}

.btn-secondary:hover {
    background-color: var(--primary-accent);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-accent);
    color: var(--primary-accent);
}

.btn-outline:hover {
    background-color: var(--primary-accent);
    color: white;
}

/* Шапка */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-accent);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    font-weight: 500;
    display: block;
    line-height: 1;
}

/* Гамбургер-меню для мобильных устройств */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
}

.menu-close {
    display: none;
    font-size: 1.5rem;
    color: var(--dark);
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero секция */
.hero {
    background-color: var(--primary-bg);
    padding-top: 120px;
    padding-bottom: 60px;
    text-align: center;
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* О компании */
.about {
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    padding: 20px;
    border-radius: 8px;
    background-color: var(--primary-bg);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-card h3 {
    color: var(--primary-accent);
}

/* Виды аудита */
.services {
    background-color: var(--primary-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-accent);
    margin-bottom: 15px;
}

/* Процесс работы */
.process {
    background-color: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.step {
    text-align: center;
    padding: 20px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-accent);
    color: white;
    font-size: 1.5rem;
    border-radius: 50%;
    margin: 0 auto 20px;
}

/* Преимущества */
.benefits {
    background-color: var(--primary-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit:hover {
    transform: translateY(-5px);
}

.benefit h3 {
    color: var(--primary-accent);
}

/* Отзывы */
.testimonials {
    background-color: white;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: var(--primary-bg);
    padding: 30px;
    border-radius: 8px;
    position: relative;
}

.testimonial::before {
    content: '"';
    font-family: 'Georgia', serif;
    font-size: 5rem;
    position: absolute;
    top: -15px;
    left: 10px;
    color: var(--primary-accent);
    opacity: 0.2;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.client-name {
    font-weight: 600;
}

.client-position {
    color: var(--primary-accent);
    font-size: 0.9rem;
}

/* Форма заказа */
.contact {
    background-color: var(--primary-bg);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light);
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-accent);
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

/* FAQ секция */
.faq {
    background-color: white;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--light);
}

.faq-question {
    display: block;
    width: 100%;
    text-align: left;
    padding: 15px;
    background: none;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 15px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    transition: max-height 0.3s ease;
}

.faq-answer.show {
    max-height: 1000px;
    padding-bottom: 15px;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-links h3 {
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--light);
}

.footer-links ul li a:hover {
    color: var(--secondary-accent);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: var(--light);
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: white;
    max-width: 350px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
}

.cookie-popup.show {
    display: block;
    animation: slideIn 0.5s ease;
}

.cookie-popup p {
    margin-bottom: 15px;
}

.cookie-popup button {
    width: 100%;
}

/* Страницы политики */
.policy-page {
    padding: 120px 0 60px;
}

.policy-container {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-container h1 {
    text-align: center;
    margin-bottom: 30px;
}

/* Страница благодарности */
.thankyou-container {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    border: 2px solid var(--primary-accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.thankyou-button-container {
    margin-top: 30px;
}

/* Анимации */
@keyframes slideIn {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Медиа-запросы для адаптивности */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 40px 0;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background-color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1001;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    nav ul.active {
        right: 0;
    }

    nav ul li {
        margin: 15px 0;
    }

    .menu-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .hero {
        padding-top: 100px;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section {
        padding: 30px 0;
    }

    .cookie-popup {
        left: 20px;
        right: 20px;
        max-width: none;
    }
}
