/* 
 * Main Stylesheet for Audit Financier
 * Colors:
 * - Background: #0F1C2E (dark blue)
 * - Accents: #00C2FF (cyan), #FF7B00 (orange)
 * - Text: #FFFFFF, #B0BEC5
 */

/* Base Styles */
:root {
    --bg-color: #0F1C2E;
    --accent-cyan: #00C2FF;
    --accent-orange: #FF7B00;
    --text-light: #FFFFFF;
    --text-muted: #B0BEC5;
    --container-width: 1200px;
    --gradient: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-orange) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

section[id] {
    scroll-margin-top: 40px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

img.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-orange);
}

ul {
    list-style-type: none;
}

/* Section Styling */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.separator {
    height: 5px;
    width: 80px;
    background: var(--gradient);
    margin: 0 auto;
    border-radius: 5px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--gradient);
    color: var(--text-light);
}

.btn-primary:hover {
    background-size: 150% 100%;
    color: var(--text-light);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    border: 2px solid var(--accent-cyan);
    color: var(--text-light);
    background: transparent;
}

.btn-outline:hover {
    background: var(--accent-cyan);
    color: var(--text-light);
}

.btn-secondary {
    background: rgba(0, 194, 255, 0.2);
    color: var(--accent-cyan);
}

.btn-secondary:hover {
    background: var(--accent-cyan);
    color: var(--text-light);
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(15, 28, 46, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    display: block;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.main-nav a:hover:after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-button .bar {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    background-image: url('../img/qHUZT.jpg');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 28, 46, 0.8);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-features {
    margin-top: 1.5rem;
}

.about-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.feature-icon {
    margin-right: 0.75rem;
    color: var(--accent-cyan);
    font-weight: bold;
}

/* Benefits Section */
.benefits {
    background: rgba(0, 194, 255, 0.05);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    padding: 2rem;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

/* Services Section */
.services-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.service-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.service-card.reversed {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.service-card.reversed .service-content {
    direction: ltr;
}

.service-features {
    margin: 1.5rem 0;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-size: 1.2rem;
}

/* Trust Section */
.trust {
    background: rgba(255, 123, 0, 0.05);
}

.trust-content {
    text-align: center;
}

.trust-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.trust-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
}

.trust-icon svg {
    margin-bottom: 1rem;
}

.trust-statement {
    max-width: 700px;
    margin: 0 auto;
}

blockquote p {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-light);
    position: relative;
}

blockquote p:before,
blockquote p:after {
    content: '"';
    color: var(--accent-cyan);
    font-size: 2rem;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.faq-toggle {
    display: none;
}

.faq-question {
    display: block;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    position: relative;
    font-weight: 500;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq-arrow {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.faq-arrow:before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--accent-cyan);
    border-bottom: 2px solid var(--accent-cyan);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.faq-toggle:checked + .faq-question .faq-arrow:before {
    transform: rotate(225deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 2rem;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
    padding: 1rem 2rem 2rem;
    background: rgba(255, 255, 255, 0.02);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
}

.contact-icon {
    margin-right: 1.5rem;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--text-light);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
}

.checkbox-item input {
    width: auto;
    margin-right: 0.75rem;
}

.checkbox-item label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Footer Styles */
footer {
    background: rgba(0, 0, 0, 0.2);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-desc {
    color: var(--text-muted);
}

.footer-links h4,
.footer-legal h4,
.footer-contact h4 {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.footer-links ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact address {
    font-style: normal;
    color: var(--text-muted);
}

.footer-contact address p {
    margin-bottom: 0.5rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: rgba(15, 28, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
    animation: slideUp 0.5s ease forwards;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-slide-up {
    animation: slideUp 1s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .about-content,
    .service-card,
    .service-card.reversed,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .service-card.reversed {
        direction: ltr;
    }
    
    .service-image {
        order: -1;
    }
    
    .trust-icons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        left: -100%;
        top: 80px;
        width: 70%;
        height: calc(100vh - 80px);
        background: var(--bg-color);
        transition: left 0.3s ease;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .mobile-menu-button {
        display: flex;
    }
    
    .mobile-menu-toggle:checked ~ .main-nav {
        left: 0;
    }
    
    .mobile-menu-toggle:checked + .mobile-menu-button .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-toggle:checked + .mobile-menu-button .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle:checked + .mobile-menu-button .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .trust-icons {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
} 