/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-family: 'Charm', cursive;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
}

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

/* Header et Navigation */
header {
    background: #000000;
    color: white;
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.8rem 0;
    background: rgba(0, 0, 0, 0.98);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 5px;
    transition: transform 0.3s ease;
}

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

.logo-text {
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: white;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: white;
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

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

.nav-menu a:hover {
    color: #cccccc;
}

/* Hero Section */
.hero {
    position: relative;
    background: #1a1a1a url('https://i.ibb.co/jkkNhmJk/hero-bg.jpg') center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    animation: fadeInUp 1s ease;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.3s both;
    color: #e0e0e0;
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: white;
    color: #000000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s both;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.btn:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-large {
    padding: 1.3rem 3.5rem;
    font-size: 1.2rem;
}

.btn-white {
    background: white;
    color: #000000;
}

.btn-white:hover {
    background: #f0f0f0;
}

/* Social Links in Hero */
.social-links {
    position: absolute;
    bottom: 3rem;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    z-index: 2;
    animation: fadeInUp 1s ease 0.9s both;
    text-decoration: none;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.social-links a:hover {
    background: white;
    color: #000000;
    border-color: white;
    transform: translateY(-5px);
    text-decoration: none;
}

.social-links svg {
    width: 35px;
    height: 35px;
    text-decoration: none;
}

img.planity-logo {
    width: 35px;
    height: 35px;
    object-fit: contain;
    text-decoration: none;
    color: white
}

.cta-button-container {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e0e0e0;
}

/* Sections */
section {
    padding: 6rem 2rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 4rem;
    color: #000000;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #000000, #666666);
}

/* Services Section */
.services {
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
}

.service-category {
    font-size: 1.8rem;
    color: #000000;
    margin: 3rem 0 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
    font-weight: 600;
}

.service-category:first-of-type {
    margin-top: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    text-align: center;
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #000000, #666666);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #000000;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: grayscale(0.3);
}

.service-card h3 {
    color: #000000;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 600;
}

.service-card p {
    color: #555555;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    min-height: 3rem;
}

.service-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.duration {
    color: #666666;
    font-size: 0.95rem;
    font-weight: 500;
}

.price {
    font-size: 1.3rem;
    color: #000000;
    font-weight: bold;
}

/* Gallery Section */
.gallery {
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    background: #1a1a1a;
    cursor: pointer;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.1);
}

.gallery-video:hover video {
    transform: scale(1.05);
}

.gallery-video::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    opacity: 0.8;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-video:hover::after {
    opacity: 0;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    transition: all 0.4s ease;
}

.gallery-overlay span {
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover .gallery-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(-10px);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: white;
}

.contact h2 {
    color: white;
}

.contact h2::after {
    background: linear-gradient(90deg, white, #666666);
}

.contact-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-intro p {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
}

.contact-icon {
    font-size: 2rem;
    filter: grayscale(0.3);
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: white;
}

.contact-details p {
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.6;
}

.map {
    border-radius: 20px;
    overflow: hidden;
    min-height: 400px;
    height: 100%;
    background: #1a1a1a;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* Footer */
footer {
    background: #000000;
    color: white;
    text-align: center;
    padding: 1rem 2rem;
    border-top: 1px solid #333333;
}

footer p {
    margin: 0.5rem 0;
}

.footer-credits {
    color: #999999;
    font-size: 0.9rem;
    text-decoration: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: #000000;
        flex-direction: column;
        gap: 0;
        padding: 6rem 2rem 2rem;
        transition: right 0.4s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu a {
        display: block;
        font-size: 1.1rem;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    section {
        padding: 4rem 1.5rem;
    }
    
    .service-category {
        font-size: 1.5rem;
        margin: 2rem 0 1.5rem;
    }
    
    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }

    .social-links {
        bottom: 2rem;
        gap: 1.5rem;
    }

    .social-links a {
        width: 45px;
        height: 45px;
    }

    .social-links svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.1rem;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
    }
    
    nav {
        padding: 0 1rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 1.1rem 2.5rem;
        font-size: 1.1rem;
    }
    
    .cta-button-container {
        margin-top: 3rem;
        padding-top: 2rem;
    }
    
    .contact-intro p {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .contact-intro p {
        font-size: 1rem;
    }
    
    .service-card,
    .contact-item {
        padding: 1.5rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .service-category {
        font-size: 1.3rem;
    }
    
    .service-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .gallery-overlay span {
        font-size: 1.1rem;
    }
    
    .gallery-video::after {
        font-size: 2rem;
    }
    
    .hero {
        background-attachment: scroll;
    }

    .social-links {
        bottom: 1.5rem;
        gap: 1rem;
    }

    .social-links a {
        width: 70px;
        height: 70px;
    }

    .social-links svg {
        width: 18px;
        height: 18px;
    }

    img.planity-logo {
        width: 18px;
        height: 18px;
    }
}

/* Amélioration de l'accessibilité */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}