/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #f5f5f5;
    background-color: #111;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid #222;
    z-index: 1000;
    padding: 1rem 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.img {
    color: #fff;
    font-size: 2.2rem; /* Taille augmentée, ajuste selon ton besoin */
    letter-spacing: 1px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #f5f5f5;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.burger span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #181818;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: #fff;
    display: block;
}

.hero-description {
    color: #ccc;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Profile Card */
.profile-card {
    background: #181818;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
}

.profile-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.profile-card h3 {
    margin-bottom: 0.5rem;
    color: #fff;
}

.profile-card p,
.location {
    color: #ccc;
    background: #111;
    margin-bottom: 1rem;
}

.location {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: #fff;
    color: #111;
}

.btn-primary:hover {
    background: #222;
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #111;
}

/* Sections */
section {
    padding: 80px 0;
    background: #111;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
    font-weight: 600;
}

/* Services */
.services {
    background: #181818;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    border-radius: 15px;
    background: #111;
    color: #f5f5f5;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #fff;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #181818;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image img {
    width: 100%;
    height: auto;         /* Laisse l'image s'adapter à sa largeur */
    object-fit: contain;  /* Affiche l'image entière sans la couper */
    background: #111;     /* Ajoute un fond si l'image ne remplit pas tout */
    display: block;
}

.project-content {
    padding: 1.5rem;
    color: #f5f5f5;
}

.project-content h3 {
    margin-bottom: 0.5rem;
    color: #fff;
}

.project-tag {
    display: inline-block;
    background: #fff;
    color: #111;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* Testimonials */
.testimonials {
    background: #181818;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #111;
    border-left: 4px solid #fff;
    color: #f5f5f5;
    padding: 2rem;
    border-radius: 15px;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.2rem;
    color: #fff;
}

.author-info span {
    color: #ccc;
    font-size: 0.9rem;
}

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 1.5rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-icon {
    font-size: 1.2rem;
}

.contact-item a {
    color: #f7f7f7;
    text-decoration: none;
}

.contact-form {
    background: #181818;
    color: #f5f5f5;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    background: #111;
    color: #f5f5f5;
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #181818;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #fff;
}

/* Footer */
.footer {
    background: #111;
    color: #f5f5f5;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 0 1rem 0;
    border-bottom: 1px solid #222;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #222;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ccc;
    text-decoration: underline;
}

.footer-socials .social-icon {
    color: #fff;
    text-decoration: none;
    margin-right: 1rem;
    transition: color 0.3s;
}

.footer-socials .social-icon:hover {
    color: #ccc;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid,
    .projects-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .profile-card {
        padding: 1.5rem;
    }
    
    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
}
/* Project Page Styles */

/* Breadcrumb */
.breadcrumb {
    background: #181818;
    padding: 1rem 0;
    margin-top: 70px;
    border-bottom: 1px solid #222;
}

.breadcrumb a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    color: #fff;
}

/* Project Hero */
.project-hero {
    background: #181818;
    padding: 80px 0;
}

.project-hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.project-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.project-category,
.project-year {
    background: #111;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-category {
    background: #fff;
    color: #111;
}

.project-title {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.project-subtitle {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.project-description {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.project-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.detail-item h4 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-item p {
    color: #ccc;
    font-size: 1rem;
}

.project-hero-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Project Content */
.project-content {
    background: #111;
    padding: 100px 0;
}

.content-section {
    margin-bottom: 4rem;
}

.content-section h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.content-section p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    background: #181818;
    padding: 2rem;
    border-radius: 15px;
    position: relative;
}

.step-number {
    background: #fff;
    color: #111;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.step h4 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.step p {
    color: #ccc;
    font-size: 0.95rem;
}

/* Gallery */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    background: #181818;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item.large {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: auto;         /* Laisse l'image s'adapter à sa largeur */
    object-fit: contain;  /* Affiche l'image entière sans la couper */
    background: #111;     /* Ajoute un fond si l'image ne remplit pas tout */
    display: block;
    margin: 0 auto;
    max-height: none;     /* Ajouté : retire la limite de hauteur */
}

.gallery-item.large img {
    height: 400px;
}

.gallery-caption {
    padding: 1.5rem;
}

.gallery-caption h4 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.gallery-caption p {
    color: #ccc;
    font-size: 0.95rem;
    margin: 0;
}

/* Strategy Points */
.strategy-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.strategy-item {
    background: #181818;
    padding: 2rem;
    border-radius: 15px;
}

.strategy-item h4 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.strategy-item p {
    color: #ccc;
    margin: 0;
}

/* Design Elements */
.design-elements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.element-item {
    background: #181818;
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #fff;
}

.element-item h4 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.element-item p {
    color: #ccc;
    font-size: 0.95rem;
    margin: 0;
}

/* Color Palette */
.color-palette {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.color-item {
    background: #181818;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
}

.color-swatch {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.color-info h4 {
    color: #fff;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.color-info p {
    color: #ccc;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.color-info span {
    color: #999;
    font-size: 0.9rem;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.result-item {
    background: #181818;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.result-item h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.result-item p {
    color: #ccc;
    margin: 0;
}

/* Project CTA */
.project-cta {
    background: #181818;
    padding: 80px 0;
    text-align: center;
}

.project-cta h3 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-cta p {
    color: #ccc;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Project Navigation */
.project-navigation {
    background: #111;
    padding: 60px 0;
}

.project-navigation .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.nav-item {
    background: #181818;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.nav-item:hover {
    transform: translateY(-5px);
}

.nav-item a {
    display: block;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
}

.nav-item span {
    color: #ccc;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

.nav-item h4 {
    color: #fff;
    font-size: 1.3rem;
    margin: 0;
}

.nav-item.prev {
    text-align: left;
}

.nav-item.next {
    text-align: right;
}

/* Responsive Design for Project Pages */
@media (max-width: 1024px) {
    .gallery-item.large {
        grid-column: span 1;
    }
    
    .project-details {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .project-hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-title {
        font-size: 2.5rem;
    }
    
    .project-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .process-steps,
    .strategy-points,
    .design-elements,
    .color-palette {
        grid-template-columns: 1fr;
    }
    
    .project-gallery {
        grid-template-columns: 1fr;
    }
    
    .project-navigation .container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-cta h3 {
        font-size: 2rem;
    }
    
    .content-section h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .project-title {
        font-size: 2rem;
    }
    
    .project-subtitle {
        font-size: 1.2rem;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .step,
    .strategy-item,
    .element-item,
    .color-item,
    .result-item {
        padding: 1.5rem;
    }
    
    .nav-item a {
        padding: 1.5rem;
    }
    
    .breadcrumb {
        font-size: 0.9rem;
    }
}

/* Animation pour les éléments qui apparaissent */
.gallery-item,
.step,
.strategy-item,
.element-item,
.color-item,
.result-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Retards d'animation pour un effet séquentiel */
.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.3s; }
.step:nth-child(4) { animation-delay: 0.4s; }
