
/* FONT FAMILY IMPORTS */

@font-face {
    font-family: 'caviar';
    src: url('../fonts/CaviarDreams.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'playwrite';
    src: url('../fonts/PlaywriteES-VariableFont_wght.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'biryani';
    src: url('../fonts/Biryani-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'tenor';
    src: url('../fonts/TenorSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'comfortaa';
    src: url('../fonts/Comfortaa-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'restrike';
    src: url('../fonts/Restrike.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0020-007F;
}
.font-caviar { font-family: 'CaviarDreams', sans-serif !important ; }
.font-playwrite { font-family: 'Playwrite', sans-serif !important ; }
.font-montserrat {
    font-family: 'Montserrat', sans-serif !important ;
}

.font-karla {
    font-family: 'Karla', sans-serif !important ;
}
.font-biryani { font-family: 'biryani', sans-serif !important ; }
.font-tenor { font-family: 'tenor', sans-serif !important ; }
.font-comfortaa { font-family: 'comfortaa', sans-serif !important ; }
.font-restrike { font-family: 'restrike','Georgia', serif !important ; }
/* HEADER NEW CSS -------------------------------------------------------------------------------------------------------- */

   :root {
        --primary-dark: #2c2c2c;
        --primary: #f5eee5;
        --text-white: #ffffff;
        --text-light: #f8f9fa;
        --accent-gold: #ffeeb7;
        --faq: #c48f84;
    }

    body {
        margin: 0;
        padding: 0;
        font-family: 'Montserrat', sans-serif;
        background-color: var(--primary) !important;
        /* color: var(--text-white); */
    }

   /* Navigation principale */
    .photography-navbar {
       background-color: transparent;
        padding: 20px 0;
        position: fixed; 
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        transition: background-color 0.3s ease, padding 0.3s ease;
    }

    .photography-navbar.scrolled {
        background-color: var(--primary-dark); /* Passe en noir */
        padding: 10px 0; /* Optionnel : rétrécir un peu le header */
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .navbar-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 30px;
        white-space: nowrap;
    }

    /* Sections gauche et droite */
    .nav-section {
        display: flex;
        align-items: center;
        gap: 40px;
    }

    .nav-section.left {
        justify-content: flex-end;
        flex: 1;
    }

    .nav-section.right {
        justify-content: flex-start;
        flex: 1;
    }

     /* Logo central */
    .logo-section {
        text-align: center;
        margin: 0 40px;
    }

    .logo-brand {
        color: var(--text-white);
        text-decoration: none;
        font-family: 'Dancing Script', cursive;
        font-size: 2.5rem;
        font-weight: 600;
        line-height: 1;
        display: block;
        transition: all 0.3s ease;
    }

    .logo-brand:hover {
        color: var(--accent-gold);
        text-decoration: none;
    }

    .logo-subtitle {
        font-family: 'Montserrat', sans-serif;
        font-size: 0.75rem;
        font-weight: 300;
        letter-spacing: 3px;
        text-transform: uppercase;
        color: var(--text-light);
        margin-top: 5px;
    }

    /* Liens de navigation */
    .nav-link {
        color: var(--text-white);
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 400;
        letter-spacing: 1px;
        text-transform: uppercase;
        position: relative;
        padding: 10px 0;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .nav-link:hover {
        color: var(--accent-gold);
        text-decoration: none;
    }


    /* Dropdown */
    .nav-dropdown {
        position: relative;
    }

    .dropdown-toggle::after {
        content: '';
        margin-left: 8px;
        border-top: 4px solid;
        border-right: 3px solid transparent;
        border-left: 3px solid transparent;
        transition: transform 0.3s ease;
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        background-color: rgba(44, 44, 44, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        min-width: 200px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, transform 0.3s ease;
        z-index: 2000;
    }

    .nav-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        display: block;
    }

    .dropdown-item {
        color: var(--text-white);
        padding: 12px 20px;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
        display: block;
        text-decoration: none;
    }

    .dropdown-item:hover {
        background-color: rgba(245, 223, 194, 0.1);
        color: var(--accent-gold);
        text-decoration: none;
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

   /* Responsive */
   @media (max-width: 1200px) {
        .nav-section {
            gap: 25px; /* Réduire l'espace entre les liens */
        }
        
        .nav-link {
            font-size: 0.85rem; /* Réduire la taille de police */
            letter-spacing: 0.8px;
        }
        
        .logo-section {
            margin: 0 25px; /* Réduire les marges du logo */
        }
    }

    @media (max-width: 1024px) {
        .nav-section {
            gap: 20px; /* Réduire encore l'espace */
        }
        
        .nav-link {
            font-size: 0.8rem; /* Réduire encore la taille */
            letter-spacing: 0.6px;
        }
        
        .logo-section {
            margin: 0 20px;
        }
        
        .navbar-content {
            padding: 0 20px; /* Réduire le padding */
        }
    }
    @media (max-width: 992px) {
        .navbar-content {
            padding: 0 20px;
        }

        .nav-section {
            gap: 25px;
        }

        .logo-brand {
            font-size: 2rem;
        }

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

    @media (max-width: 768px) {
        .nav-section.left,
        .nav-section.right {
            display: none;
        }

        .mobile-menu-btn {
            display: block;
        }

        .navbar-content {
            justify-content: space-between;
        }

        .logo-section {
            margin: 0;
        }

        .logo-brand {
            font-size: 1.8rem;
        }
    }

    /* PORTFOLIO PAGE CSS -------------------------------------------------------------------------------------------------------- */
    /* Styles pour améliorer le rendu pendant le chargement */
    img[loading="lazy"] {
        background-color: #f3f4f6;
        background-image: linear-gradient(45deg, #e5e7eb 25%, transparent 25%), 
                          linear-gradient(-45deg, #e5e7eb 25%, transparent 25%), 
                          linear-gradient(45deg, transparent 75%, #e5e7eb 75%), 
                          linear-gradient(-45deg, transparent 75%, #e5e7eb 75%);
        background-size: 20px 20px;
        background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    }
    
    /* Animation pour le skeleton */
    @keyframes shimmer {
        0% {
            background-position: -200px 0;
        }
        100% {
            background-position: calc(200px + 100%) 0;
        }
    }
    
    .animate-shimmer {
        animation: shimmer 2s infinite linear;
        background: linear-gradient(90deg, #f0f0f0 0px, #e0e0e0 40px, #f0f0f0 80px);
        background-size: 200px;
    }
.masonry-grid {
    column-count: 2;
    column-gap: 1rem;
    margin: 0;
}

@media (min-width: 768px) {
    .masonry-grid {
        column-count: 3;
        column-gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .masonry-grid {
        column-count: 4;
        column-gap: 2rem;
    }
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    display: inline-block;
    width: 100%;
}

@media (min-width: 1024px) {
    .masonry-item {
        margin-bottom: 2rem;
    }
}

.bg-footer{
    background-color: var(--primary-dark);
}