/* 
   Eladronysova.com - Financial Audit Company
   Style.css - Main stylesheet
*/

:root {
    --primary: #2E2B5F;       /* Deep blue-violet */
    --accent: #FFD300;        /* Bright yellow neon */
    --secondary: #00D1C1;     /* Turquoise */
    --text-light: #FFFFFF;    /* White */
    --text-gray: #E0E0E0;     /* Light gray */
    --gradient-start: #FF0066; /* Fuchsia */
    --gradient-end: #8A2BE2;   /* Purple */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    background-color: var(--primary);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-shadow: 0 0 8px var(--accent);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 1; /* S'assurer que les boutons sont toujours visibles par défaut */
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--accent);
}

.btn-secondary {
    background-color: var(--secondary);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

/* Header & Navigation */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: rgba(46, 43, 95, 0.95);
    backdrop-filter: blur(10px);
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-light);
}

.logo:hover {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    text-decoration: none;
    padding: 5px 10px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
    position: relative;
    padding: 100px 0;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.6s;
}

.hero .btn {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.9s;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background-color: var(--accent);
    bottom: -10px;
    left: 25%;
    border-radius: 2px;
}

/* Cards */
.card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--accent);
}

.card::before {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 211, 0, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

/* Grid system */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-1, .col-2, .col-3, .col-4, .col-6, .col-12 {
    padding: 0 15px;
    margin-bottom: 30px;
}

.col-1 { width: 8.33%; }
.col-2 { width: 16.66%; }
.col-3 { width: 25%; }
.col-4 { width: 33.33%; }
.col-6 { width: 50%; }
.col-12 { width: 100%; }

/* Form styling */
.form-container {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 209, 193, 0.2);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 16px;
    background: linear-gradient(45deg, var(--accent), transparent, var(--secondary)) border-box;
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-light);
    transition: all 0.3s ease;
}

/* Sélecteur spécifique pour corriger la couleur du texte dans les options */
select.form-control {
    color-scheme: dark; /* Indique au navigateur d'utiliser un thème sombre pour ce select */
}

select.form-control option {
    background-color: var(--primary); /* Couleur de fond pour les options */
    color: var(--text-light); /* Couleur du texte pour les options */
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 8px rgba(255, 211, 0, 0.3);
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-check input {
    margin-right: 10px;
    margin-top: 5px;
}

/* Testimonials */
.testimonial {
    text-align: center;
    padding: 20px;
}

.testimonial-content {
    position: relative;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin-bottom: 20px;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.3;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-light);
}

.testimonial-position {
    font-size: 0.9rem;
    color: var(--accent);
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 60px 0 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: rgba(46, 43, 95, 0.95);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 211, 0, 0.3);
}

.cookie-popup p {
    margin-bottom: 0;
    margin-right: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styles */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    
    .col-md-6 { width: 50%; }
    .col-md-12 { width: 100%; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.3rem; }
    
    .mobile-toggle {
        display: block;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        flex-direction: column;
        padding: 20px;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .cookie-popup {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-popup p {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .col-sm-6 { width: 50%; }
    .col-sm-12 { width: 100%; }
}

@media (max-width: 576px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    
    section {
        padding: 60px 0;
    }
    
    .card {
        padding: 20px;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .col-xs-12 { width: 100%; }
}
