/* 
* Styles pour le site d'audit financier
* Palette de couleurs :
* - Ярко-фиолетовый (#7F00FF) — фон заголовков и акцентов
* - Нежно-желтый (#FFF8DC) — фон блоков
* - Графитово-серый (#2C2C2C) — основной текст
* - Электрик-синий (#00FFFF) — кнопки и ссылки
* - Белый (#FFFFFF) — контрастный фон и тексты
*/

/* === Base Styles === */
:root {
    --purple: #7F00FF;
    --light-yellow: #FFF8DC;
    --dark-gray: #2C2C2C;
    --electric-blue: #00FFFF;
    --white: #FFFFFF;
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--electric-blue);
    transition: var(--transition);
}

.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--electric-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--purple);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.text-center {
    text-align: center;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--electric-blue);
    color: var(--dark-gray);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--purple);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(127, 0, 255, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark-gray);
    border: 2px solid var(--electric-blue);
}

.btn-secondary:hover {
    background-color: var(--electric-blue);
    color: var(--dark-gray);
}

/* === Header === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    z-index: 100;
}

.logo img {
    transition: var(--transition);
}

/* === Navigation === */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    color: var(--dark-gray);
    font-weight: 500;
    padding: 8px 12px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--electric-blue);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

/* === Main Content === */
main {
    padding-top: 80px;
}

/* === Hero Section === */
.hero {
    background: linear-gradient(135deg, var(--purple) 0%, rgba(127, 0, 255, 0.8) 100%);
    color: var(--white);
    text-align: center;
    padding: 120px 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.5s;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.7s;
}

.hero-btns {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.9s;
}

.hero-btns .btn {
    margin: 0 10px;
}

/* === About Section === */
.about {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.about-content {
    animation: slideInLeft 1s ease-out;
}

.about-image {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: slideInRight 1s ease-out;
    height: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* === Values Section === */
.values {
    background-color: var(--light-yellow);
    position: relative;
    overflow: hidden;
}

.values::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(127, 0, 255, 0.1);
    z-index: 1;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    color: var(--purple);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* === Services Section === */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--light-yellow);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-price {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--purple);
    color: var(--white);
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* === Process Section === */
.process {
    background-color: var(--light-yellow);
    position: relative;
}

.process-steps {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 50px auto 0;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    width: 3px;
    height: 100%;
    background-color: var(--purple);
}

.step {
    display: flex;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease-out;
}

.step.active {
    opacity: 1;
    transform: translateX(0);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--purple);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    margin-right: 25px;
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* === Testimonials Section === */
.testimonials {
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: var(--light-yellow);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(127, 0, 255, 0.1);
    line-height: 0;
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.testimonial-author-name {
    font-weight: bold;
}

.testimonial-author-title {
    font-size: 0.875rem;
    color: #666;
}

/* === Contact Form Section === */
.contact {
    background-color: var(--light-yellow);
    position: relative;
    overflow: hidden;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(127, 0, 255, 0.1);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info p {
    margin-bottom: 30px;
}

.contact-details {
    margin-top: 30px;
}

.contact-details-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--purple);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.contact-form-container {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--electric-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.2);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-check-input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-check-label {
    font-size: 0.875rem;
}

/* === Footer === */
.site-footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-about p {
    color: #bbb;
    margin-bottom: 0;
}

.footer-contact h3,
.footer-links h3,
.footer-legal h3 {
    color: var(--electric-blue);
    margin-bottom: 20px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #bbb;
}

.footer-contact ul li i {
    margin-right: 10px;
    color: var(--electric-blue);
}

.footer-contact ul li a,
.footer-links ul li a,
.footer-legal ul li a {
    color: #bbb;
    transition: var(--transition);
}

.footer-contact ul li a:hover,
.footer-links ul li a:hover,
.footer-legal ul li a:hover {
    color: var(--electric-blue);
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom p {
    color: #bbb;
    margin-bottom: 0;
}

/* === Cookie Popup === */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.cookie-content h3 {
    margin-bottom: 10px;
}

.cookie-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.cookie-btn-accept {
    padding: 10px 25px;
    background: linear-gradient(135deg, #7F00FF 0%, #00FFFF 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(127, 0, 255, 0.3);
}

.cookie-btn-accept:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(127, 0, 255, 0.4);
}

.cookie-btn-more {
    padding: 10px 20px;
    background: transparent;
    color: #2C2C2C;
    border: 2px solid #00FFFF;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cookie-btn-more:hover {
    background-color: #00FFFF;
    color: #2C2C2C;
}

/* === Animations === */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* === Responsive Design === */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .services-grid,
    .values-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .site-header .container {
        height: 70px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        z-index: 10;
    }
    
    .nav-toggle:checked ~ .nav-menu {
        left: 0;
    }
    
    .nav-toggle-label {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 100;
    }
    
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        position: absolute;
        width: 30px;
        height: 3px;
        background-color: var(--dark-gray);
        border-radius: 2px;
        transition: var(--transition);
    }
    
    .nav-toggle-label span::before {
        content: '';
        top: -8px;
    }
    
    .nav-toggle-label span::after {
        content: '';
        top: 8px;
    }
    
    .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;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    main {
        padding-top: 70px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-btns .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-popup {
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        border-radius: 10px 10px 0 0;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* === Helper Classes === */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* === Legal Pages === */
.legal-page {
    padding: 120px 0 80px;
}

.legal-page h1 {
    margin-bottom: 40px;
    color: var(--dark-gray);
    position: relative;
    padding-bottom: 15px;
}

.legal-page h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--electric-blue);
}

.legal-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.legal-content h2 {
    color: var(--purple);
    margin-top: 30px;
    font-size: 1.5rem;
}

.legal-content h3 {
    color: var(--dark-gray);
    margin-top: 20px;
    font-size: 1.2rem;
}

.legal-content p, .legal-content ul {
    margin-bottom: 20px;
}

.legal-content ul {
    padding-left: 20px;
    list-style-type: disc;
}

.legal-content ul li {
    margin-bottom: 10px;
}

.legal-content a {
    color: var(--electric-blue);
    text-decoration: none;
    transition: var(--transition);
}

.legal-content a:hover {
    color: var(--purple);
    text-decoration: underline;
} 