/* Base Styles */
:root {
    
    --primary-color: #2d3436;
    --primary-light: #636e72;
    --primary-dark: #1e272e;
    --accent-color: #0984e3;
    --accent-dark: #0365b3;
    --text-color: #2d3436;
    --text-light: #636e72;
    --background: #ffffff;
    --background-light: #f1f1f1;
    --background-alt: #f5f6fa;
    --success: #00b894;
    --warning: #fdcb6e;
    --error: #d63031;
    --spacing: 8px;
    --radius: 12px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Navigation */
#navbar {
    transition: var(--transition);
}

.nav-links {
    display: flex;
    align-items: center;
    margin-left: auto; /* pousse le bloc à droite */
    gap: 24px;
    padding-right:36px;
}

#nav-container {
    display: flex;
    align-items: center;
    /*justify-content: space-between;*/
    background-color: transparent;
    transition: var(--transition);
    padding: calc(var(--spacing) * 2);
}

.logo {
    font-family: 'Caveat', cursive;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--background);
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-link {
    font-weight: 500;
    color: var(--background);
    position: relative;
    padding: 8px 16px;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.contact-btn {
    background-color: var(--accent-color);
    border-radius: var(--radius);
    padding: 8px 20px;
    margin-left: 16px;
}

.contact-btn:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
}

.section-light {
  background-color: #f1f1f1;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(45, 52, 54, 0.9), rgba(45, 52, 54, 0.7)),
                url('https://images.pexels.com/photos/3183150/pexels-photo-3183150.jpeg') center/cover;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(45, 52, 54, 0.8) 100%);
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-tag {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--background);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 24px;
    transform: translateY(-20px);
    opacity: 0;
    animation: slideUp 0.6s ease forwards 0.2s;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 24px;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.primary-button {
    background-color: var(--accent-color);
    color: var(--background);
    padding: 16px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    text-transform: none;
    letter-spacing: 0;
}

.primary-button:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
}

.secondary-button {
    background-color: transparent;
    color: var(--background);
    border: 2px solid var(--background);
    padding: 16px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    text-transform: none;
    letter-spacing: 0;
}

.secondary-button:hover {
    background-color: var(--background);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--background);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--background);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

/* About Section */
.profile-container {
    position: relative;
    margin-bottom: 40px;
}

.profile-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.profile-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.profile-image:hover img {
    transform: scale(1.05);
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat {
    text-align: center;
    padding: 20px;
    background-color: var(--background);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Expertise Section */
.expertise-card {
    height: 100%;
    transition: var(--transition);
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.expertise-card i {
    color: var(--accent-color);
    margin-bottom: 16px;
}

.expertise-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

/* Method Section */
.method-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.method-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background-color: var(--background);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.method-step:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: var(--background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-content h3 {
    margin-bottom: 8px;
    color: var(--primary-color);
}

/* Results Section */
.result-card {
    height: 100%;
    transition: var(--transition);
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.result-card i {
    color: var(--accent-color);
    margin-bottom: 16px;
}

/* Testimonials Section */
.testimonial-container {
    position: relative;
    max-width: 800px;
    margin: auto;
}

.testimonial-slide {
    display: none;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 24px 32px;
}

.testimonial-btn {
    background-color: var(--accent-color);
    color: var(--background);
    opacity: 0.7;
    transition: var(--transition);
}

.testimonial-btn:hover {
    opacity: 1;
    background-color: var(--accent-color);
}

/* Contact Section */
.contact-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

/* Footer */
.social-icons a {
    color: var(--background);
    opacity: 0.7;
    transition: var(--transition);
}

.social-icons a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.footer-links a {
    color: var(--background);
    opacity: 0.7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: var(--background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-dark);
    transform: translateY(-3px);
}

/* Modal Styles */
.w3-modal-content {
    border-radius: var(--radius);
}

/* Utility Classes */
.primary-bg {
    background-color: var(--primary-color);
    color: var(--background);
}

.accent-bg {
    background-color: var(--background-light);
    /*color: var(--background);*/
}

.primary-text {
    color: var(--primary-color);
}

.accent-text {
    color: var(--accent-color);
}

.accent-border {
    border-color: var(--accent-color) !important;
    width: 50px;
    margin: 20px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

/* Animations */
@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .profile-stats {
        grid-template-columns: 1fr;
    }
    
    .method-step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 16px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-tag {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
