/* 
 * Main stylesheet for domain
 * Financial Audit Services
 */

/* Global styles */
:root {
    --color-primary: #2D3E50; /* Vasylkovy (Deep blue) */
    --color-accent: #00D1FF;  /* Bright Azure */
    --color-background: #FFFFFF; /* White */
    --color-text: #1A1A1A; /* Graphite */
    --color-border: #E0E0E0; /* Light grey for borders */
    --font-primary: 'Roboto', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

p {
    margin-bottom: 1rem;
}

a {
    color: #0082ff;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-primary);
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    margin: auto;
    max-width: max-content;
    display: block;
    padding: 12px 24px;
    background: linear-gradient(to right, var(--color-accent), var(--color-primary));
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: white;
}

.section-padding {
    padding: 5rem 0;
}

/* Header styles */
header {
    background-color: #f9f9f9;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

nav a {
    color: var(--color-primary);
    font-weight: 500;
}

nav a:hover {
    color: var(--color-accent);
}

.menu-toggle {
    display: none;
}

.menu-checkbox {
    display: none;
}

/* Hero section */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* About section */
.about-section {
    background-color: #f9f9f9;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

/* Services section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.service-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 20px;
}

/* Infographic section */
.infographic-section {
    background-color: var(--color-primary);
    color: white;
}

.infographic-section h2 {
    color: white;
}

.infographic-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.infographic-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 20px;
}

.infographic-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 10px;
}

/* Testimonials section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.testimonial-card {
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background-color: white;
    border-left: 4px solid var(--color-accent);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: 700;
}

/* Steps section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.step-card {
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background-color: white;
    text-align: center;
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--color-accent), var(--color-primary));
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 15px;
}

/* Form section */
.form-section {
    background-color: #f9f9f9;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 16px;
}

.form-select {
    background-color: white;
}

.form-select option {
    background: white;
}

.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-checkbox {
    margin-right: 10px;
    margin-top: 5px;
}

.form-submit {
    width: 100%;
}

/* FAQ section */
.faq-section {
    background-color: white;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: block;
    padding: 15px;
    background-color: #f9f9f9;
    color: var(--color-primary);
    font-weight: 700;
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.faq-checkbox {
    display: none;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 15px;
    background-color: white;
}

.faq-checkbox:checked ~ .faq-answer {
    max-height: 500px;
    padding: 15px;
}

.faq-checkbox:checked ~ .faq-question::after {
    content: '-';
}

/* Footer styles */
footer {
    background-color: #f1f1f1;
    color: var(--color-text);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-contact-item {
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--color-border);
}

/* Thanks page */
.thanks-section {
    min-height: 100vh;
    display: grid;
    align-items: center;
}

.thanks-box {
    max-width: 600px;
    margin: 5rem auto;
    padding: 40px;
    text-align: center;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Policy pages */
.policy-content {
    max-width: 800px;
    margin: 3rem auto;
    padding: 40px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Cookie consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-primary);
    color: white;
    padding: 15px;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-text {
    flex: 1;
    margin-right: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    font-weight: 500;
}

.accept-btn {
    background-color: var(--color-accent);
    color: white;
}

.decline-btn {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

/* Mobile menu */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--color-primary);
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #f9f9f9;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul {
        flex-direction: column;
        padding: 0;
        gap: 5px;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        display: flex;
        justify-content: center;
        padding: 15px 20px;
    }
    
    .menu-checkbox:checked ~ nav {
        max-height: 100vh;
        height: 100vh;
    }

    body:has(#menu-toggle:checked) {
        overflow: hidden;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .thanks-section {
        height: auto;
    }
}
