/* 
* Domain - Services Comptables
* Main Stylesheet
*/

/* Base Styles and Variables */
:root {
    /* Color Palette */
    --color-bg-primary: #212529;
    --color-accent: #00E6B8;
    --color-text: #F7F9F9;
    --color-btn-gradient-start: #F83600;
    --color-btn-gradient-end: #F9D423;
    --color-shadow-light: #444;
    --color-shadow-dark: #666;
    --color-bg-secondary: #2c3136;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base Elements */
html, body {
    background-color: var(--color-bg-primary);
    color: var(--color-text);
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
}

h3 {
    font-size: 1.5rem;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-text);
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, .btn {
    cursor: pointer;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.site-header {
    padding: 1rem 0;
    background-color: rgba(33, 37, 41, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--color-text);
    text-decoration: none;
}

.header-logo {
    max-height: 40px;
    margin-right: 10px;
}

.site-title {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu li a {
    color: var(--color-text);
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(to right, var(--color-btn-gradient-start), var(--color-btn-gradient-end));
    color: var(--color-text);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
}

.menu-toggle {
    font-size: 24px;
    color: var(--color-text);
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 60px;
    background-color: var(--color-bg-primary);
    overflow: hidden;
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./img/lRbfqO.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.brand-name {
    text-align: center;
    max-width: 800px;
}

.brand-name h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    animation: neonGlow 2s infinite alternate;
}

.hero-text {
    margin: 2rem 0;
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(to right, var(--color-btn-gradient-start), var(--color-btn-gradient-end));
    color: white;
    font-weight: bold;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
    color: white;
}

@keyframes neonGlow {
    0% {
        text-shadow: 0 0 5px rgba(0, 230, 184, 0.7),
                    0 0 10px rgba(0, 230, 184, 0.5),
                    0 0 15px rgba(0, 230, 184, 0.3);
    }
    100% {
        text-shadow: 0 0 10px rgba(0, 230, 184, 0.9),
                    0 0 20px rgba(0, 230, 184, 0.7),
                    0 0 30px rgba(0, 230, 184, 0.5);
    }
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--color-accent);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--color-bg-secondary);
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-img {
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--color-shadow-light);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: var(--color-bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--color-bg-secondary);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--color-shadow-light);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background-color: var(--color-bg-secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--color-bg-primary);
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--color-bg-primary);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: var(--color-bg-secondary);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    position: relative;
    padding: 0 10px;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    color: var(--color-accent);
    font-size: 1.5rem;
}

.client-info {
    margin-top: 1rem;
}

.client-name {
    font-weight: bold;
    color: var(--color-accent);
}

.client-position {
    font-size: 0.9rem;
    color: var(--color-text);
}

/* Calculator Section */
.calculator-section {
    padding: 80px 0;
    background-color: var(--color-bg-secondary);
}

.calculator-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-bg-primary);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-accent);
}

/* Contact Info Box (Replacing Calculator) */
.contact-info-box {
    border: 2px solid var(--color-accent);
    overflow: hidden;
}

.contact-info-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.contact-info-image {
    flex: 1;
    max-width: 45%;
}

.contact-img {
    border-radius: 10px;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-info-text {
    flex: 1;
    padding: 1rem;
}

.contact-info-text h3 {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.contact-info-details {
    margin: 2rem 0;
    padding: 1rem;
    background-color: var(--color-bg-secondary);
    border-radius: 5px;
}

.btn-center {
    text-align: center;
    margin-top: 1.5rem;
}

.contact-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to right, var(--color-btn-gradient-start), var(--color-btn-gradient-end));
    color: white;
    font-weight: bold;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: white;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--color-bg-secondary);
    border: 1px solid var(--color-shadow-light);
    border-radius: 5px;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(0, 230, 184, 0.2);
}

.calculator-result {
    margin-top: 2rem;
    text-align: center;
    padding: 1rem;
    background-color: var(--color-bg-secondary);
    border-radius: 5px;
}

.estimated-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-accent);
}

.calculator-note {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--color-bg-primary);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--color-bg-secondary);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 0 30px rgba(0, 230, 184, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-shadow-light);
}

.form-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
                               var(--color-accent), transparent, 
                               var(--color-accent), transparent);
    z-index: -1;
    animation: animatedBorder 6s linear infinite;
}

@keyframes animatedBorder {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-accent);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--color-bg-primary);
    border: 1px solid var(--color-shadow-light);
    border-radius: 5px;
    color: var(--color-text);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 230, 184, 0.2);
}

.services-checkboxes {
    margin-top: 1.5rem;
}

.checkbox-group {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    accent-color: var(--color-accent);
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(to right, var(--color-btn-gradient-start), var(--color-btn-gradient-end));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Contact Info Section */
.contact-info-section {
    padding: 80px 0;
    background-color: var(--color-bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--color-bg-primary);
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

/* Footer */
.site-footer {
    background-color: #1a1d20;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo-img {
    max-height: 60px;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--color-text);
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-nav h3,
.footer-legal h3 {
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-nav ul,
.footer-legal ul {
    list-style: none;
}

.footer-nav ul li,
.footer-legal ul li {
    margin-bottom: 0.5rem;
}

.footer-nav a,
.footer-legal a {
    color: var(--color-text);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-nav a:hover,
.footer-legal a:hover {
    color: var(--color-accent);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-shadow-light);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--color-bg-secondary);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    max-width: 350px;
    border: 1px solid var(--color-accent);
    display: none;
}

.cookie-content {
    text-align: center;
}

.cookie-btn {
    background: linear-gradient(to right, var(--color-btn-gradient-start), var(--color-btn-gradient-end));
    color: white;
    border: none;
    padding: 8px 16px;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

/* Thank You Page */
.thank-you-section {
    padding: 120px 0 60px;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-you-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.thank-you-actions {
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(to right, var(--color-btn-gradient-start), var(--color-btn-gradient-end));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Policy Pages */
.policy-section {
    padding: 120px 0 60px;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-bg-secondary);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.policy-content h2 {
    margin-top: 2rem;
}

.policy-content p {
    margin-bottom: 1.5rem;
}

.policy-content ul,
.policy-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--color-bg-primary);
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }
    
    .menu-open {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-menu li {
        margin: 0 0 1rem 0;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .contact-info-content {
        flex-direction: column;
    }
    
    .contact-info-image {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
}

@media screen and (max-width: 576px) {
    .calculator-container,
    .form-container {
        padding: 1rem;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .header-logo {
        max-height: 30px;
    }
    
    .site-title {
        font-size: 1.2rem;
    }
} 