/* Custom Font - Nakadai */
@font-face {
    font-family: 'Nakadai';
    src: url('fonts/Nakadai.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nakadai';
    src: url('fonts/Nakadai Italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

:root {
    --color-bg: #050505;
    --color-text: #f0f0f0;
    --color-gold: #D4AF37;
    --color-gold-light: #F4D03F;
    --color-dark-grey: #1a1a1a;

    --font-heading: 'Montserrat', sans-serif;
    --font-subheading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-slow: 0.8s ease;
    --transition-medium: 0.4s ease;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--color-bg);
}

body {
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Carousel Container */
.background-carousel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

/* Individual Slides */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 3s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-1 {
    background-image: url('background-ndaya0.jpg');
}

.slide-2 {
    background-image: url('background-ndaya1.jpg');
}

.slide-3 {
    background-image: url('background-ndaya2.jpg');
}

.slide-4 {
    background-image: url('background-ndaya3.jpg');
}

.slide-5 {
    background-image: url('background-ndaya4.jpg');
}


/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 400;
}

.gold-text {
    color: var(--color-gold);
    background: linear-gradient(to right, var(--color-gold), var(--color-gold-light), var(--color-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Fixed Navbar (appears when scrolling past hero) */
.navbar-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;

    /* Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);

    /* Hidden by default, shown on scroll */
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.navbar-fixed.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 2px;
    font-weight: 700;
}

/* Logo Image Styling */
.logo-img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1);
}

.logo:hover .logo-img {
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
    transform: scale(1.02);
}

/* Footer Logo Image */
.footer-logo-img {
    height: 35px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;

    /* Glassmorphism Effect (matching reference) */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

    transition: all 0.3s ease;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-family: var(--font-subheading);
    font-size: 1.1rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-link::before {
    content: '>';
    position: absolute;
    left: -1rem;
    opacity: 0;
    color: var(--color-gold);
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--color-gold);
    padding-left: 1.2rem;
}

.nav-link:hover::before {
    opacity: 1;
    left: 0;
}

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

/* Hero Section */
.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5%;
}

/* Centered Glassmorphic Frame */
.hero-glass-frame {
    max-width: 900px;
    width: 100%;
    padding: 3rem;

    /* Glassmorphism Effect - Matching music player style */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);

    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Navigation inside hero frame */
.hero-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-nav .logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.hero-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 0;

    /* Glassmorphic background matching music player active track */
    background-color: rgba(212, 175, 55, 0.1);
    border-right: 4px solid var(--color-gold);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
}

.hero-nav .nav-list li {
    padding: 0 1.5rem;
    position: relative;
}

.hero-nav .nav-list li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}


.hero-nav .nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-family: var(--font-subheading);
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.hero-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

.hero-nav .nav-link:hover {
    color: var(--color-gold);
    padding-left: 1.2rem;
}

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

/* Hero Content inside frame */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2rem;
    padding-left: 20%;
}

.hero-title {
    font-family: 'Nakadai', sans-serif;
    font-size: 5.5rem;
    margin-bottom: 0;
    letter-spacing: 2px;
    text-transform: none;
    line-height: 1.3;
    text-align: right;
    font-weight: 400;
}

.hero-subtitle {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0;
    font-style: normal;
    font-weight: 200;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
    text-align: right;
}

/* DRC Map - Positioned above gold leaves, below logo */
.drc-map {
    position: absolute;
    bottom: 8%;
    left: 5%;
    width: 80px;
    height: 100px;
    opacity: 0.3;
    z-index: 0;
    transition: all 0.6s ease;
    filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.3));
}

.drc-map svg {
    width: 100%;
    height: 100%;
}

.drc-outline {
    fill: none;
    stroke: var(--color-gold);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: all 0.6s ease;
}

.drc-star {
    fill: var(--color-gold);
    opacity: 0.8;
}

/* Subtle pulse animation for the map */
@keyframes map-pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.02);
    }
}

.drc-map {
    animation: map-pulse 6s ease-in-out infinite;
}

/* Hover effect on frame enhances the map */
.hero-glass-frame:hover .drc-map {
    opacity: 0.6;
    filter: drop-shadow(0 4px 12px rgba(244, 208, 63, 0.5));
}

.hero-glass-frame:hover .drc-outline {
    stroke-width: 2;
}

/* Keyframes for smooth gold leaf movements */

@keyframes float-leaf-5 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scaleX(1);
    }

    35% {
        transform: translate(4px, 6px) rotate(0deg) scaleX(1.1);
    }

    65% {
        transform: translate(-5px, -4px) rotate(0deg) scaleX(0.9);
    }

    85% {
        transform: translate(2px, 3px) rotate(0deg) scaleX(1.05);
    }
}

@keyframes float-leaf-6 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scaleX(1);
    }

    40% {
        transform: translate(-6px, 5px) rotate(0deg) scaleX(0.9);
    }

    70% {
        transform: translate(4px, -7px) rotate(0deg) scaleX(1.1);
    }

    95% {
        transform: translate(-2px, 4px) rotate(0deg) scaleX(0.95);
    }
}

/* Gold Leaf Fragments - Decorative positioning - Bottom-left cluster */
.gold-leaf-img {
    position: absolute;
    z-index: 0;
    opacity: 0.8;
    pointer-events: none;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}


.wing-img-2 {
    bottom: 12%;
    left: 15%;
    width: 110px;
    animation: float-leaf-5 15s ease-in-out infinite;
    animation-delay: 3s;
}

.wing-img {
    bottom: 12%;
    left: -2%;
    width: 110px;
    animation: float-leaf-6 11s ease-in-out infinite;
    animation-delay: 5s;
}

/* Flying Microphone - Positioned between wings */
.flying-micro {
    bottom: 12%;
    left: calc(6.5% + 35px);
    /* Exact visual center: 6.5% (midpoint of % start) + 35px (midpoint of widths diff) */
    width: 40px;
    /* Scaled relative to wings */
    z-index: 1;
    animation: float-micro 13s ease-in-out infinite;
    /* Average of 11s and 15s */
    animation-delay: 4s;
    /* Offset */
}

@keyframes float-micro {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    35% {
        transform: translate(-2px, 8px) rotate(-5deg) scale(1.05);
    }

    60% {
        transform: translate(3px, -5px) rotate(3deg) scale(0.95);
    }

    85% {
        transform: translate(0px, 4px) rotate(-2deg) scale(1.02);
    }
}




/* Ensure content is above gold fragments */
.hero-nav,
.hero-content {
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    text-decoration: none;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-bottom-right-radius: 20px;
}

.cta-button::before {
    content: '>';
    position: absolute;
    left: 1.2rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease-in-out, filter 0.3s ease;
    z-index: -1;
    border-bottom-right-radius: 20px;
    filter: blur(15px);
}

.cta-button:hover {
    color: var(--color-bg);
    padding-left: 3.5rem;
    padding-right: 2.5rem;
}

.cta-button:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.cta-button:hover::after {
    transform: scaleX(1);
    filter: blur(0);
    transition: transform 0.4s ease-in-out, filter 0s linear 0.4s;
}

/* About Section */
.about-section {
    padding: 8rem 5%;
    background-color: transparent;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}


.image-frame {
    position: relative;
    border: none;
    padding: 1rem;
    /* overflow: hidden; Removed to allow decorative line to extend */
    border-bottom-left-radius: 25px;
}

.image-mask {
    overflow: hidden;
    border-bottom-left-radius: 25px;
    width: 100%;
    height: 100%;
}

.decorative-square {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    border: 2px solid var(--color-gold);
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.2), inset 1px 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 2;
    pointer-events: none;
    transition: background-color 0.4s ease;
}

.decorative-line {
    position: absolute;
    right: -4px;
    /* Adjusted to center the 30px wide SVG */
    top: -10px;
    width: 30px;
    height: calc(100% + 20px);
    color: var(--color-gold);
    z-index: 2;
    pointer-events: none;
}

.decorative-bottom-line {
    position: absolute;
    bottom: 0;
    /* Stuck to the image initially */
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 4px;
    /* Increased height for pointed effect */
    background-color: var(--color-gold);
    z-index: 20;
    pointer-events: none;
    /* Initial rounded pill shape */
    border-radius: 2px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    /* Return Sequence: Width/Shape retract first, then Bottom/Height return.
       Delays (0.6s) wait for the width to shrink. */
    transition: width 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0s,
        clip-path 0.4s ease 0s,
        border-radius 0.4s ease 0s,
        bottom 0.4s ease 0.6s,
        height 0.3s ease 0.6s;
}

.image-frame img {
    width: 100%;
    display: block;
    filter: grayscale(20%) contrast(110%);
    transition: filter 0.5s ease;
    border-bottom-left-radius: 50px;
    position: relative;
    transform: scale(1.4);
}



.section-title {
    margin-bottom: 2rem;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cowrie-icon {
    height: 1.2em;
    /* Slightly larger for SVG detail */
    width: auto;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
    transform: none;
    transition: transform 0.4s ease;
}

.section-title:hover .cowrie-icon {
    transform: rotate(0deg) scale(1.1);
}

.about-text {
    /* Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    padding-left: 2.5rem;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: visible;

    /* Masque SVG pour échancrure transparente avec coins arrondis */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L100,0 L100,100 L0,100 L0,75 Q5,75 5,70 L5,30 Q5,25 0,25 Z' fill='black'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L100,0 L100,100 L0,100 L0,75 Q5,75 5,70 L5,30 Q5,25 0,25 Z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.about-text:hover {
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}



.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #ccc;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 300;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
    padding: 6rem 5%;
    background: transparent;
    position: relative;
    overflow: hidden;
}

/* Inner frame with glassmorphic effect */
.gallery-section::before {
    content: '';
    position: absolute;
    top: 3rem;
    left: 3rem;
    right: 3rem;
    bottom: 3rem;

    /* Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);

    z-index: 0;
    pointer-events: none;
}

/* Ensure content is above the frame */
.gallery-section>* {
    position: relative;
    z-index: 1;
}

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

/* Vertical Staggered Gallery Layout - 5 Images */
.gallery-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Center items vertically */
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    min-height: 650px;
}

.gallery-item {
    position: relative;
    width: 240px;
    height: 400px;
    cursor: pointer;
    cursor: pointer;
    overflow: visible;
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    flex-shrink: 0;

    /* Remove hexagon clip-path */
    clip-path: none;

    /* Remove gold border */
    filter: none;

    /* Floating Animation */
    top: 0;
    animation: galleryFloat 8s ease-in-out infinite;
}

@keyframes galleryFloat {

    0%,
    100% {
        top: 0;
    }

    50% {
        top: -15px;
    }
}

/* Randomized floating timing for Row 1 */
.gallery-grid .gallery-item:nth-child(1) {
    animation-duration: 7.2s;
    animation-delay: -0.5s;
}

.gallery-grid .gallery-item:nth-child(2) {
    animation-duration: 9.5s;
    animation-delay: -2.2s;
}

.gallery-grid .gallery-item:nth-child(3) {
    animation-duration: 8.1s;
    animation-delay: -4.8s;
}

.gallery-grid .gallery-item:nth-child(4) {
    animation-duration: 10.4s;
    animation-delay: -1.3s;
}

.gallery-grid .gallery-item:nth-child(5) {
    animation-duration: 7.8s;
    animation-delay: -3.6s;
}

/* Randomized floating timing for Row 2 */
.gallery-grid-2 .gallery-item:nth-child(1) {
    animation-duration: 8.7s;
    animation-delay: -5.2s;
}

.gallery-grid-2 .gallery-item:nth-child(2) {
    animation-duration: 7.4s;
    animation-delay: -1.9s;
}

.gallery-grid-2 .gallery-item:nth-child(3) {
    animation-duration: 9.8s;
    animation-delay: -6.4s;
}

.gallery-grid-2 .gallery-item:nth-child(4) {
    animation-duration: 8.3s;
    animation-delay: -2.7s;
}

.gallery-grid-2 .gallery-item:nth-child(5) {
    animation-duration: 7.6s;
    animation-delay: -4.1s;
}

/* Decorative Circle in Top-Left */
.gallery-item::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 15px;
    height: 15px;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.2), inset 1px 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 5;
    pointer-events: none;
    transition: all 0.4s ease;
    /* Keep gap constant during scale */
}

.gallery-item:hover::before {
    /* Compensate for image scale(1.02) to keep gap constant, using specific percentage values for precision */
    transform: translate(-29%, -37%);
    background-color: var(--color-gold);
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.2);
    /* Remove inset shadow on fill */
}

/* Inner Shadow extending towards the center */
.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 1;
    transform: scale(1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.gallery-item:hover::after {
    box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.6);
    transform: scale(1.05);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

/* Vertical offsets using margins for physical flow offset - Randomized */
.gallery-item:nth-child(1) {
    margin-top: 120px;
}

.gallery-item:nth-child(2) {
    margin-top: -45px;
}

.gallery-item:nth-child(3) {
    margin-top: 90px;
}

.gallery-item:nth-child(4) {
    margin-top: -80px;
}

.gallery-item:nth-child(5) {
    margin-top: 55px;
}

/* Hide items beyond the 5th */
.gallery-item:nth-child(n+6) {
    display: none;
}

/* Second Gallery - Different random vertical offsets */
.gallery-grid-2 .gallery-item:nth-child(1) {
    margin-top: -35px;
}

.gallery-grid-2 .gallery-item:nth-child(2) {
    margin-top: 110px;
}

.gallery-grid-2 .gallery-item:nth-child(3) {
    margin-top: -70px;
}

.gallery-grid-2 .gallery-item:nth-child(4) {
    margin-top: 75px;
}

.gallery-grid-2 .gallery-item:nth-child(5) {
    margin-top: -20px;
}

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

    /* Remove hexagon clip-path */
    clip-path: none;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.gallery-item:hover {
    transform: translateY(var(--hover-offset, 0px)) scale(1.02);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.4);
    z-index: 10;
}

.gallery-item:hover .decorative-bottom-line {
    bottom: -25px;
    /* Detach from image */
    width: 80%;
    transform: translateX(-50%);
    /* Diamond/needle shape on hover */
    clip-path: polygon(0 50%, 50% 0, 100% 50%, 50% 100%);
    border-radius: 0;
    /* Sharp points on hover */
    height: 1px;
    /* Hover Sequence: Move down first, then expand and sharpen.
       Delays (0.4s) wait for the downward movement. */
    transition: bottom 0.4s ease 0s,
        width 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.4s,
        clip-path 0.4s ease 0.4s,
        border-radius 0.4s ease 0.4s,
        height 0.3s ease 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.image-frame:hover img {
    filter: grayscale(0%) contrast(100%);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* Remove hexagonal clip-path */
    clip-path: none;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;

    /* Glassmorphism Effect */
    background:
        linear-gradient(125deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    backdrop-filter: blur(10px) brightness(0.8);
    -webkit-backdrop-filter: blur(10px) brightness(0.8);

    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover .overlay {
    opacity: 1;
    transform: scale(1.05);
}

.overlay span {
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    letter-spacing: 2px;
    border: 2px solid var(--color-gold);
    padding: 0.6rem 1.8rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

/* Contact Section */
.contact-section {
    padding: 6rem 5%;
    background-color: transparent;
}

.contact-glass-card {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2.5rem;

    /* Glassmorphism identique aux autres sections */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    padding: 3rem 3.5rem;

    transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.contact-glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 8px 40px rgba(212, 175, 55, 0.15);
}

.contact-icon-wrap {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}

.contact-glass-card:hover .contact-icon-wrap {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.6);
    transform: scale(1.08);
}

.contact-envelope-icon {
    width: 32px;
    height: 32px;
    color: var(--color-gold);
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-gold);
    opacity: 0.8;
}

.contact-value {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: var(--color-gold);
}

/* Music Section */
.music-section {
    padding: 6rem 5%;
    background-color: transparent;
}

.music-player-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.music-track {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.music-track:last-child {
    border-bottom: none;
}

.music-track:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.music-track.active {
    background-color: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--color-gold);
}

.track-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.track-number {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #666;
    font-weight: 700;
}

.music-track.active .track-number {
    color: var(--color-gold);
}

.track-details {
    display: flex;
    flex-direction: column;
}

.track-title {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--color-text);
}

.track-artist {
    font-size: 0.9rem;
    color: #888;
}

.track-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.duration {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #888;
}

.play-btn {
    background: none;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    flex-shrink: 0;
    /* Prevent shrinking */
}

/* Progress Bar Styles */
.track-progress-container {
    flex-grow: 1;
    height: 4px;
    background-color: #888;
    /* Matching duration color */
    margin: 0 1.5rem;
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    /* Invisible by default */
    transition: opacity 0.3s ease;
}

.music-track.active .track-progress-container {
    opacity: 1;
    /* Visible when playing */
}

.track-progress-bar {
    height: 100%;
    width: 0%;
    background-color: var(--color-gold);
    /* Gold fill */
    transition: width 0.1s linear;
}

.play-btn:hover {
    background-color: var(--color-gold);
    color: var(--color-bg);
    transform: scale(1.1);
}

/* Footer */
.footer {
    padding: 4rem 5%;
    background-color: #000;
    text-align: center;
    border-top: 1px solid var(--color-dark-grey);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-link {
    color: #fff;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--color-gold);
}

.copyright {
    color: #444;
    font-size: 0.8rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

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

.reveal-left,
.reveal-right,
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.reveal-left.active,
.reveal-right.active,
.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

/* Tablet / Intermediate Screens */
@media (min-width: 769px) and (max-width: 1280px) {
    .hero-nav {
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
    }

    .gallery-grid {
        flex-wrap: wrap;
        gap: 2rem;
        min-height: auto;
    }
    
    .gallery-item {
        margin-top: 0 !important;
        animation: none;
    }
}

/* Responsive */
@media (max-width: 768px) {

    /* Navigation Mobile */
    .menu-toggle {
        display: block;
        z-index: 1001;
        /* Above overlay */
        cursor: pointer;
    }

    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        background-color: var(--color-gold);
        border-radius: 2px;
    }

    /* Hamburger Animation */
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-list {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: rgba(5, 5, 5, 0.98);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        justify-content: center;
        padding-top: 0;
        gap: 3rem;
        z-index: 1000;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .nav-list.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .logo-img {
        height: 24px;
        /* Smaller logo on mobile */
    }

    /* Hero adjustments */
    .hero-title {
        font-size: 3rem;
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
        font-size: 1.2rem;
    }

    .hero-content {
        align-items: center;
        padding-left: 0;
        text-align: center;
    }

    .hero-glass-frame {
        padding: 1.5rem;
        gap: 2rem;
        max-width: 95%;
    }

    .hero-nav {
        /* Hide hero nav on mobile if simpler, or just adjust padding */
        padding: 1rem 0;
    }

    .hero-nav .nav-list {
        background: transparent;
        border: none;
        display: none;
        /* Hide desktop nav list inside hero */
    }

    .drc-map {
        /* Reduce size or hide map on very small screens if overlapping */
        width: 60px;
        bottom: 5%;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0.15;
    }

    /* About Section */
    .about-section {
        padding: 4rem 5%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image .image-frame img {
        transform: scale(1);
        /* Reset scale on mobile to avoid cut-off */
        object-fit: cover;
    }

    /* Gallery Section */
    .gallery-section {
        padding: 4rem 5%;
    }

    .gallery-grid {
        flex-wrap: wrap;
        /* Allow wrapping */
        gap: 2rem;
        padding: 2rem 0;
        min-height: auto;
    }

    .gallery-item {
        width: 100%;
        /* Full width cards on mobile */
        max-width: 320px;
        /* But capped */
        height: 380px;
        margin: 0 auto;
        /* Disable floating animation to save performance/layout */
        animation: none;
        top: 0 !important;
        /* Force reset top offset from random/staggered */
    }

    /* Contact Section */
    .contact-section {
        padding: 4rem 5%;
    }

    .contact-glass-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .contact-value {
        font-size: 1.1rem;
    }

    /* Music Section */
    .music-section {
        padding: 4rem 5%;
    }

    .music-player-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .music-track {
        width: 100%;
    }

    .footer {
        padding: 3rem 5%;
    }

    /* Languette de Contact Fixe - Cacher sur mobile */
    .contact-tab {
        display: none;
    }

    /* Scroll to Top - Adjust position */
    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }

    /* Ajustement du micro ailé sur mobile */
    .wing-img {
        width: 30px;
        left: 5%;
        bottom: 45%;
    }
    .wing-img-2 {
        width: 30px;
        left: 15%;
        bottom: 45%;
    }
    .flying-micro {
        width: 12px;
        left: 11%;
        bottom: 45.5%;
    }
}

/* Prevent scrolling when menu is open */
body.no-scroll {
    overflow: hidden;
}

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;

    /* Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);

    /* Couleur et transition */
    color: var(--color-gold);

    /* Caché par défaut */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--color-gold);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* Languette de Contact Fixe - Côté Gauche */
.contact-tab {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

.contact-tab-toggle {
    writing-mode: vertical-lr;
    text-orientation: mixed;
    transform: rotate(180deg);
    padding: 1.5rem 0.6rem;
    cursor: pointer;
    position: relative;
    z-index: 1;
    /* Derrière le contenu */

    /* Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-right: none;
    border-radius: 12px 0 0 12px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);

    transition: all 0.3s ease, transform 1.5s ease;
    /* Transition lente pour le mouvement */
}

.contact-tab-content {
    width: 0;
    height: 200px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    /* Devant le toggle */

    /* Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: none;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.25);

    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-tab:hover .contact-tab-content {
    width: 220px;
    padding: 1.5rem;
}

.contact-tab-label {
    font-family: var(--font-subheading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gold);
}

.contact-tab:hover .contact-tab-toggle {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
    /* Déplacement lent vers la gauche (arrière du panel) après délai */
    transform: rotate(180deg) translateX(90%);
    /* 90% pour garder un petit bout visible ou 100% pour cacher */
    transition-delay: 0s, 0.8s;
    /* Pas de délai pour couleur, 0.8s pour mouvement */
}

.contact-tab-content h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 1rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease 0s;
}

.contact-tab:hover .contact-tab-content h4 {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.4s;
}

.contact-info p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    line-height: 1.5;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.contact-tab:hover .contact-info p:nth-child(1) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.5s;
}

.contact-tab:hover .contact-info p:nth-child(2) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.6s;
}

.contact-info strong {
    color: var(--color-gold);
    font-weight: 500;
}