/* Police personnalisée - Cream Cake */
@font-face {
    font-family: 'Cream Cake';
    src: url('../assets/fonts/CreamCake.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #202020;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Classe générique pour les titres avec police classique en capitales (style DEUS logo) */
.font-cream-cake,
h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title,
.service-intro-title,
.service-pack-name,
.about-section h2,
.experience-section h2,
.cta-content h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(32, 32, 32, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 90px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-menu a:hover {
    color: #ffffff;
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    transition: width 0.3s ease;
}

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

.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
    position: relative;
}

.contact-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(32, 32, 32, 0.2);
}

.contact-btn i {
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    margin: 0 50px;
    border-radius: 20px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: opacity 0.3s ease;
    will-change: opacity;
}

.hero-content {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    z-index: 2;
    text-align: right;
}

.hero-title {
    font-size: 6rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 12px;
    text-shadow: 2px 2px 4px rgba(32, 32, 32, 0.5);
}

.hero-logo {
    height: 120px;
    width: auto;
    display: block;
    margin: 0;
    filter: drop-shadow(2px 2px 4px rgba(32, 32, 32, 0.5));
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(32, 32, 32, 0.5);
    margin-top: -40px;
}

/* Image Carousel */
.image-carousel {
    position: relative;
    z-index: 2;
    margin: -20px 0 0 0;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #202020;
    padding: 30px 0;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #ffffff;
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.carousel-btn:hover {
    background: #ffffff;
    color: #202020;
}

.carousel-btn.left {
    left: 15vw;
}

.carousel-btn.right {
    right: 15vw;
}

.carousel-images {
    display: flex;
    gap: 15px;
    align-items: center;
    width: 100%;
    justify-content: center;
    position: relative;
}

.carousel-item {
    width: 20vw;
    height: 12vw;
    min-width: 150px;
    min-height: 120px;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: pointer;
    will-change: opacity, transform;
    flex-shrink: 0;
}

.carousel-item.active {
    opacity: 1;
    border: 3px solid #ffffff;
    width: 30vw;
    height: 12vw;
    min-width: 250px;
    min-height: 120px;
    transform: scale(1.05);
    margin: 0 7px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Vacation Message Section */
.vacation-message {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 60px 0;
    margin: 0;
    border-top: 3px solid #ffd700;
    border-bottom: 3px solid #ffd700;
}

.vacation-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.vacation-content i {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 1.5rem;
    display: block;
}

.vacation-content p {
    font-size: 1.5rem;
    color: #202020;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-weight: 500;
}

.vacation-content p:first-of-type {
    font-size: 1.75rem;
    font-weight: 600;
}

.vacation-content #vacation-return-date {
    color: #ff6b6b;
    font-weight: 700;
    text-decoration: underline;
}

.vacation-subtitle {
    font-size: 1.25rem !important;
    color: #666 !important;
    font-weight: 400 !important;
    font-style: italic;
    margin-top: 1rem;
}

/* About Section */
.about-section {
    background: transparent;
    padding: 80px 0;
    margin: 0 50px;
}

.about-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 0;
    align-items: stretch;
}

.about-text {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px 0 0 20px;
}

.about-text h2 {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #202020;
    margin-top: 30px;
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-section .about-image {
    margin-top: -2px;
}

.about-section .about-image img {
    width: 100%;
    height: 720px;
    object-fit: cover;
    border-radius: 0 10px 10px 0 !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    display: block;
}

/* Location Bar */
.location-bar {
    background: #202020;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 0 50px;
    border-radius: 10px;
}

.location-bar span {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Experience Section */
.experience-section {
    background: #ffffff;
    padding: 100px 0 20px 0;
    position: relative;
    overflow: hidden;
    margin: 0 50px;
    border-radius: 20px;
}

.experience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-end;
    margin-bottom: 60px;
}

.experience-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.experience-text h2 {
    font-family: 'Inter', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: #202020;
    line-height: 1.1;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.experience-text h2 br {
    display: block;
}

.experience-image {
    margin-top: 0;
    width: 100%;
    max-width: 430px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(32, 32, 32, 0.3);
}

.experience-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    margin-bottom: 0;
}

.services-list {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.about-image {
    margin-top: 0;
    width: 100%;
    max-width: 550px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(32, 32, 32, 0.3);
    align-self: flex-end;
}

.about-image img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    display: block;
    margin-bottom: 0;
}



.services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(10, 10, 10, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 5px 0;
    position: relative;
    box-sizing: border-box;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(32, 32, 32, 0.2);
}

.service-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #202020;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.service-item span::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #666666 0%, #999999 50%, #666666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 10px rgba(102, 102, 102, 0.3);
    filter: brightness(1.2);
    overflow: hidden;
    transition: width 0.4s ease-out;
    white-space: nowrap;
}

.service-item:hover span::before {
    width: 100%;
}

.service-item i {
    color: #202020;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.service-item:hover i {
    color: #202020; /* Gris anthracite au lieu de blanc */
    text-shadow: 0 0 8px rgba(32, 32, 32, 0.4);
    filter: brightness(1.3);
}

/* Supprimer le soulignement des liens service-item */
a.service-item {
    text-decoration: none;
    color: inherit;
}

.about-btn {
    background: #202020;
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.about-btn i {
    display: none;
}

.about-btn:hover {
    background: #333333;
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(32, 32, 32, 0.2);
}


/* Selected Works Section */
.selected-works {
    background: #202020;
    padding: 100px 0;
}

/* Puces carrousel projets - cachées par défaut (desktop) */
.works-carousel-dots {
    display: none;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.work-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    contain: layout style paint;
    transform: translateZ(0);
}

.work-item:hover {
    transform: scale(1.05) translateZ(0);
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: optimizeSpeed;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: contrast(0.9) brightness(1.05);
    transform: translateZ(0);
    will-change: transform;
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(32, 32, 32, 0.9));
    padding: 30px 20px 20px;
    color: #ffffff;
}

.work-number {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #c0c0c0, #ffffff, #c0c0c0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 10px rgba(192, 192, 192, 0.3);
    display: block;
    margin-bottom: 10px;
}

.work-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 1px;
}

.see-all-btn {
    background: transparent;
    color: #ffffff;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    width: fit-content;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.see-all-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(32, 32, 32, 0.2);
}

/* Call to Action Section */
.cta-section {
    background: #ffffff;
    padding: 100px 0;
    margin: 0 50px;
    border-radius: 20px;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-content h2 {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: #202020;
    letter-spacing: 2px;
    text-transform: uppercase;
    flex: 1;
}

.work-with-me-btn {
    background: #202020;
    color: #ffffff;
    border: none;
    padding: 20px 40px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.work-with-me-btn:hover {
    background: #333333;
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(32, 32, 32, 0.2);
}

/* Footer */
.footer {
    background: #202020;
    padding: 40px 0;
    border-top: 1px solid #333333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 75px;
    width: auto;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.footer-nav a:hover {
    color: #ffffff;
    opacity: 0.8;
}

.footer-copyright {
    display: flex;
    align-items: center;
}

.footer-copyright span {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Footer Social Links - Inline avec les liens */
.footer-nav ul .footer-social {
    display: flex;
    align-items: center;
    list-style: none;
}

.footer-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.125rem;
}

.footer-social .social-link:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    transform: scale(1.1);
}

.footer-signature a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 300;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
    position: relative;
}

.footer-signature a:hover {
    color: #ffffff;
    transform: translateY(-1px);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(32, 32, 32, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .experience-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .experience-text h2 {
        font-size: 2rem;
    }
    
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .cta-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .location-bar {
        flex-direction: row;
        gap: 0.5rem;
        padding: 1rem 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .location-bar span {
        font-size: 0.7rem;
        white-space: nowrap;
    }
    
    .carousel-images {
        gap: 10px;
    }
    
    .carousel-item {
        width: 80px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .nav-menu ul {
        gap: 20px;
    }
    
    .footer-nav ul {
        gap: 20px;
    }
}

/* Partners Logos Carousel */
.partners-section {
    padding: 3rem 0 5rem 0;
    background: transparent;
    overflow: hidden;
    position: relative;
}

.partners-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.partners-carousel {
    width: 100%;
    overflow: hidden;
}

.partners-track {
    display: flex;
    animation: scroll 30s linear infinite;
    gap: 3rem;
    align-items: center;
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.partner-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo img {
    max-width: 180px;
    max-height: 90px;
    width: auto;
    height: auto;
    filter: grayscale(0%) brightness(1);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%) brightness(1.1);
}

/* Effet de fade sur les extrémités */
.partners-fade-left,
.partners-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 10;
    pointer-events: none;
}

.partners-fade-left {
    left: 0;
    background: linear-gradient(to right, #202020 0%, transparent 100%);
}

.partners-fade-right {
    right: 0;
    background: linear-gradient(to left, #202020 0%, transparent 100%);
}

/* Animation du carrousel */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .partners-section {
        padding: 1.5rem 0 3rem 0;
    }
    
    .partners-track {
        gap: 2rem;
        animation: scroll 25s linear infinite;
        will-change: transform;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .partner-logo img {
        max-width: 140px;
        max-height: 70px;
    }
    
    .partners-fade-left,
    .partners-fade-right {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .partners-section {
        padding: 1rem 0 2.5rem 0;
    }
    
    .partners-track {
        gap: 1.5rem;
        animation: scroll 20s linear infinite;
        will-change: transform;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .partner-logo img {
        max-width: 110px;
        max-height: 55px;
    }
    
    .partners-fade-left,
    .partners-fade-right {
        width: 40px;
    }
}
