/* Import Montserrat font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

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

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

/* Hero Navigation */
.hero-nav {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 100;
    display: flex;
    gap: 1rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
}

.hero-content {
    max-width: 800px;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

.hero-image-small {
    max-width: 250px;
    margin: 2rem auto;
    animation: scaleIn 0.8s ease-out 0.3s both;
}

.hero-image-small img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: #aaaaaa;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: fadeIn 1s ease-out 0.5s both;
}

.hero-description {
    font-size: 1.1rem;
    color: #cccccc;
    margin-top: 1.5rem;
    line-height: 1.8;
    font-weight: 300;
    animation: fadeIn 1s ease-out 0.7s both;
}

/* Sections */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.section h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleReveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) both;
    position: relative;
    padding-bottom: 1.5rem;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    border-radius: 10px;
    animation: barExpand 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.section h2:hover {
    animation: titleGlow 0.6s ease-in-out;
}

/* Video Container */
.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-thumb-local {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.video-thumb-local.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.video-thumb-local:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9);
}

.local-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.video-thumb {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 2rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.video-thumb.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.video-thumb:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9);
}

.video-thumb img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

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

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 25px solid #0a0a0a;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 5px;
}

.video-thumb:hover .play-button {
    background: #ffffff;
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.5);
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* Photo Gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.photo-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 1;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

.photo-item.fade-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.photo-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.photo-item:hover img {
    transform: scale(1.1);
}

/* Instagram & Contact Buttons */
.instagram-cta {
    text-align: center;
    padding: 4rem 2rem;
}

.btn-instagram {
    display: inline-block;
    padding: 1.3rem 3.5rem;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 35px rgba(188, 24, 136, 0.5);
    letter-spacing: 0.5px;
}

.btn-instagram:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(188, 24, 136, 0.7);
}

/* Contact Section */
.contact-section {
    text-align: center;
    padding: 4rem 2rem;
}

.btn-contact {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 3.5rem;
    background: #ffffff;
    color: #0a0a0a;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 35px rgba(255, 255, 255, 0.25);
    margin: 2rem 0;
}

.contact-label {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.7;
    margin-bottom: 0.3rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(255, 255, 255, 0.35);
    background: #f8f8f8;
}

/* Value Section */
.value-section {
    text-align: center;
    padding: 5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.value-section h2 {
    font-size: 2rem;
    line-height: 1.6;
    font-weight: 500;
    color: #cccccc;
    background: none;
    -webkit-text-fill-color: #cccccc;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 2rem;
    background: #000000;
    color: #666666;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Video Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    position: relative;
    margin: 3% auto;
    max-width: 1200px;
    width: 90%;
    animation: slideInDown 0.4s ease-out;
}

.close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #ffffff;
    font-size: 35px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.close:hover {
    color: #cccccc;
    transform: rotate(90deg);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.9);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Nouvelles animations pour les titres de sections */
@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(-40px) scale(0.9);
        filter: blur(10px);
    }
    60% {
        opacity: 0.8;
        transform: translateY(5px) scale(1.02);
        filter: blur(0px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

@keyframes barExpand {
    0% {
        transform: translateX(-50%) scaleX(0);
        opacity: 0;
    }
    100% {
        transform: translateX(-50%) scaleX(1);
        opacity: 1;
    }
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
    }
    50% {
        text-shadow: 0 0 60px rgba(255, 255, 255, 0.3), 0 0 80px rgba(255, 255, 255, 0.2);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: #ffffff;
    color: #0a0a0a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-nav {
        top: 1rem;
        right: 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }

    .section h2 {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .value-section h2 {
        font-size: 1.6rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1.5rem;
    }

    .play-button {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .btn-instagram,
    .btn-contact {
        padding: 1.1rem 2.5rem;
        font-size: 1rem;
    }

    .section {
        padding: 3.5rem 1.5rem;
    }

    .video-thumb-local {
        max-width: 350px;
        max-height: 450px;
    }

    .local-video {
        max-height: 450px;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
    }

    .close {
        top: -35px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .section h2 {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 1rem;
    }

    .value-section h2 {
        font-size: 1.4rem;
    }

    .video-thumb-local {
        max-width: 280px;
        max-height: 400px;
    }

    .local-video {
        max-height: 400px;
    }
}
