/*
* Domain - Services Comptables
* Styles CSS pour le site
*/

/* Variables */
:root {
    /* Цветовая палитра */
    --color-primary: #00695c;
    --color-primary-light: #439889;
    --color-primary-dark: #003d33;
    --color-accent-1: #ffb300;
    --color-accent-2: #00acc1;
    --color-text: #333333;
    --color-text-light: #f5f5dc;
    --color-bg-light: #ffffff;
    --color-bg-dark: #f5f5f5;
    --color-border: #e0e0e0;
    
    /* Шрифты */
    --font-family: 'Poppins', sans-serif;
    
    /* Размеры и отступы */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --section-padding-mobile: 50px 0;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg-light);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent-1);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    color: var(--color-primary);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--color-accent-1);
    margin: 15px auto 0;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 500;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-accent-1);
    color: var(--color-text);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-accent-1);
    border-color: var(--color-accent-1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.btn-accent {
    background-color: var(--color-accent-2);
    color: var(--color-text-light);
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.btn-accent:hover {
    background-color: #0097a7;
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 105, 92, 0.95);
    color: var(--color-text-light);
    padding: 15px 20px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    align-items: center;
    justify-content: space-between;
}

.cookie-banner.show {
    display: flex;
}

.cookie-banner p {
    margin: 0;
    max-width: 80%;
}

.cookie-banner a {
    color: var(--color-accent-1);
    text-decoration: underline;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    color: var(--color-primary);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: lowercase;
    letter-spacing: 1px;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background-color: var(--color-primary);
    height: 2px;
    width: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
    left: 0;
}

.nav-toggle-label span::before {
    bottom: 8px;
}

.nav-toggle-label span::after {
    top: 8px;
}

.nav ul {
    display: flex;
    gap: 20px;
}

.nav a {
    color: var(--color-text);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-1);
    transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(0, 172, 193, 0.1) 0%, rgba(0, 105, 92, 0.1) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: translateY(-10px);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

/* About Section */
.about {
    padding: var(--section-padding);
    background-color: var(--color-bg-light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: var(--color-primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-features {
    margin-top: 30px;
}

.feature {
    display: flex;
    margin-bottom: 20px;
}

.feature-icon {
    background-color: var(--color-accent-1);
    color: var(--color-text);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--color-primary);
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background-color: var(--color-bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--color-bg-light);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Service Image */
.service-image {
    height: 180px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    margin: -30px -30px 20px -30px;
    position: relative;
}

.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-icon {
    margin: -40px auto 20px;
    width: 80px;
    height: 80px;
    background-color: var(--color-bg-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-primary);
    text-align: center;
}

.service-card p {
    margin-bottom: 20px;
}

.service-card ul {
    margin: 20px 0;
    padding-left: 20px;
}

.service-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.service-card ul li::before {
    content: '•';
    color: var(--color-accent-1);
    position: absolute;
    left: 0;
}

.service-card .btn-secondary {
    margin-top: 20px;
    display: block;
    text-align: center;
}

/* Why Us Section */
.why-us {
    padding: var(--section-padding);
    background-color: var(--color-bg-light);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-us-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.why-us-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.why-us-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding);
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.testimonials .section-title {
    color: var(--color-text-light);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial {
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.testimonial-content {
    position: relative;
}

.testimonial-rating {
    margin-bottom: 15px;
    color: var(--color-accent-1);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background-color: var(--color-bg-dark);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.contact-info p {
    margin-bottom: 30px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item svg {
    margin-right: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background-color: #fff;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-2);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.9rem;
}

button[type="submit"] {
    width: 100%;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
}

/* Thank You Page */
.thank-you {
    padding: 150px 0 150px;
    text-align: center;
   
    display: flex;
    align-items: center;
}
.thank-you-content{
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--color-bg-light);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); 
}
.thank-you-icon {
    margin: 0 auto 30px;
    max-width: 100px;
}

.thank-you h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.thank-you p {
    margin-bottom: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.thank-you .btn-primary {
    margin-top: 30px;
}

/* Legal Pages */
.legal-page {
    padding: 150px 0 80px;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--color-primary);
}

.legal-content {
    background-color: var(--color-bg-light);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--color-primary);
}

.legal-content p, 
.legal-content ul {
    margin-bottom: 15px;
}

.legal-content ul {
    padding-left: 20px;
}

.legal-content ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.legal-content ul li::before {
    content: '•';
    color: var(--color-accent-1);
    position: absolute;
    left: 0;
}

/* Footer */
.footer {
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--color-accent-1);
}

.footer p {
    margin-bottom: 15px;
    opacity: 0.9;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--color-text-light);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-accent-1);
}

.footer-contact a {
    color: var(--color-text-light);
    text-decoration: underline;
    opacity: 0.9;
}

.footer-contact a:hover {
    opacity: 1;
    color: var(--color-accent-1);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content, .about-text, .service-card, .why-us-card, .testimonial {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .services-grid, .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle-label {
        display: block;
        margin-right: 15px;
    }
    
    .nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--color-bg-light);
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }
    
    .nav ul li {
        margin: 10px 20px;
    }
    
    .nav-toggle:checked ~ .nav {
        height: auto;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span {
        background-color: transparent;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::after {
        transform: rotate(-45deg);
        top: 0;
    }
    
    .hero .container, .about-content {
        flex-direction: column;
    }
    
    .hero-image, .about-image {
        margin-top: 40px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    :root {
        --section-padding: var(--section-padding-mobile);
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .services-grid, .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-banner {
        flex-direction: column;
    }
    
    .cookie-banner p {
        margin-bottom: 15px;
        max-width: 100%;
    }
    
    .legal-content {
        padding: 20px;
    }
} 

/* Form Errors */
.form-errors {
    background-color: rgba(255, 87, 87, 0.1);
    border-left: 4px solid #ff5757;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.form-errors p {
    color: #d32f2f;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-errors p:not(:last-child) {
    margin-bottom: 8px;
} 