@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    padding: 0;
}

@media (min-width: 769px) {

    .video-background {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        overflow: hidden;
        z-index: -2;
    }

    .video-background video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .photo-accueil {
        display: none;
    }

    .main-content {
        background-image: url('https://i.imgur.com/NMx9fzP.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        background-attachment: fixed;
        z-index: -1;
        margin-top: 0;
        color: #333;
    }

    header {
        position: absolute;
        top: 0px;
        left: -100px;
        height: 20px;
        width: 100%;
        z-index: 10;
        padding: 20px 50px;
        background-color: rgba(255, 255, 255, 0.5);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header-socials-mobile,
    .menu-toggler,
    .main-nav-mobile {
        display: none;
    }

    .hamburger {
        display: none;
    }

    .header-logo-link {
        display: flex;
        align-items: center;
        text-decoration: none;
        gap: 15px;
        margin-right: auto;
        flex-shrink: 0;
        margin-left: 70px;
    }

    .logo-filou3 {
        height: 50px;
        width: auto;
        display: block;
    }

    .header-nom {
        color: #144b63;
        white-space: nowrap;
        font-size: clamp(10px, 12px, 14px);
        opacity: 0.9;
    }

    .main-nav-desktop ul {
        display: flex;
        list-style: none;
        gap: clamp(20px, 3vw, 50px);
        margin: 0;
        padding: 0;
    }

    .nav-img-link {
        color: transparent;
        text-decoration: none;
        display: block;
        position: relative;
    }

    .main-nav-desktop {
        display: flex;
    }  

    .main-nav-desktop a {
        text-decoration: none;
        color: #144b63;
        font-size: 14px;
        font-weight: 500;
        transition: color 0.3s;
        opacity: 0.9;
    }

    .main-nav-desktop a.active {
        font-weight: bold;
    }

    .main-nav-desktop a B, .main-nav-desktop b {
        font-weight: inherit;
    }

    .main-nav-desktop a:hover {
        color: #EB7F2A;
        opacity: 1;
    }

    .section-nom {
        display: flex;
        color: #144b63;
        font-size: 28px;
        margin-top: 100px;
        width: 100%;
        justify-content: center;
        align-items: center; 
    }

    .content-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 40px;
        gap: 20px;
        flex-wrap: wrap;
        max-width: 1600px;
        margin: 40px auto;
    }

    .content-row.last-row {
        margin-bottom: 80px;
        gap: 100px;
        padding: 50px;
    }

    .content-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 30px;
        flex: 1 1 200px;
        background-color: #E8E8E8;
        border-radius: 25px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        text-align: center;
        height: 80px;
        opacity: 0;
        transform: translateY(30px);
        transition: transform 0.6s ease-out, opacity 0.8s ease-out, box-shadow 0.3s ease-in-out; 
    }

    .content-section.is-visible {
        opacity: 1;
        transform: translateY(0);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); 
    }

    .content-row .content-section:nth-child(2) {
        transition-delay: 0.2s; 
    }

    .content-text {
        padding: 0;
        margin-bottom: 20px;
    }

    .content-text h2 {
        color: #144b63;
        margin-top: 25px;
    }

    h4 {
        color: #144b63;
        font-weight: normal; 
        margin-top: 15px;
    }

    .content-nom {
        display: flex;
        color: #EB7F2A;
        font-size: 28px;
        margin-top: 0px;
        width: 100%;
        justify-content: center;
        align-items: center; 
    }

    .content-row2 {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 30px;
        width: auto;
        padding: 0 80px;
        padding-top: 80px;
        padding-bottom: 80px;
        margin: 40px auto;
        background-color: #E8E8E8;
    }

    .content-section2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0px;
        flex-basis: calc(20.333% - 20px);
        flex-grow: 1;
        flex-shrink: 1;
        height: 380px;
        max-width: 821px;
        min-width: 451px;
        background-color: #fff;
        border-radius: 30px;
        text-align: center;
        transition: transform 0.3s ease-out, opacity 0.8s ease-out, box-shadow 0.3s ease-in-out; 
        opacity: 0;
        transform: translateY(30px);
        box-shadow: 0 0 4px rgba(0, 0, 0, 0.02);
    }

    .content-section2.is-visible {
        opacity: 1;
        transform: translateY(0);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); 
    }

    .content-section2:nth-of-type(3n+1) { transition-delay: 0s; }
    .content-section2:nth-of-type(3n+2) { transition-delay: 0.2s; }
    .content-section2:nth-of-type(3n+3) { transition-delay: 0.4s; }

    .content-section2:hover {
        transform: scale(1.04); 
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    }

    .photo_section2 {
        width: 100%;
        height: 80%;
        object-fit: cover;
        border-radius: 30px 30px 0 0;
        margin-bottom: 15px;
        transition: height 0.3s ease-in-out, transform 0.3s ease-in-out;
    }

    .content-text h3 {
        color: black;
        margin-top: 0;
    }

    h3 {
        color: #EB7F2A;
        margin-left: 0px;
    }

    p {
        text-align: justify;
        margin-top: 0;
        padding: 20px;
        transition: opacity 0.1s ease-in-out;
        opacity: 0;
        pointer-events: none;
        color: #144b63;
    }

    .content-section2:hover .photo_section2 {
        height: 40%; 
        transform: translateY(0px); 
    }

   .content-section2:hover p {
        opacity: 1;
        transition: opacity 0.2s ease-out 0.2s;
   }

    .section-divider {
        width: 60%;
        height: 1px;
        margin: 20px auto;
        background-color: #EB7F2A;
        border: none;
        margin-bottom: 80px;
    }

    .cookie-banner {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: #E8E8E8;
        color: #333;
        padding: 20px;
        border-radius: 10px;
        z-index: 1000;
        display: none; 
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
        width: calc(100% - 100px);
        max-width: none;
        text-align: center;
    }

    h6 {
        font-size: 18px;
        font-weight: normal;
    }

    .cookie-buttons { margin-top: 15px; display: flex; gap: 10px; justify-content: center; }
    .btn-accept, .btn-refuse { background: transparent; border: 1px solid orange; color: orange; padding: 10px 20px; cursor: pointer; border-radius: 5px; }

    .map-placeholder {
        width: 100%; height: 100%;
        background: #f0f0f0;
        display: flex; align-items: center; justify-content: center;
        text-align: center; padding: 20px;
    }

    .btn-info {
        font-size: 0.85em;
        color: #144b63;
        text-decoration: none;
        align-self: center;
        padding: 10px;
        transition: opacity 0.3s;
    }

    .btn-info:hover { opacity: 0.7; }

    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .container {
        max-width: 1000px;
        margin: 100px auto;
        animation: fadeInUp 0.8s ease-out forwards;
    }

    .main-title, .sub-title {
        text-align: center;
        color: #d4a373;
        font-weight: 300;
        font-size: 2.2rem;
        margin-bottom: 30px;
        transition: color 0.3s ease;
    }

    .sub-title {
        font-size: 1.8rem;
        margin-top: 0;
        font-weight: normal;
        transition: transform 0.3s ease;
    }

    .hero-card {
        background-color: #f0f2f5;
        border-radius: 30px;
        display: flex;
        align-items: center;
        padding: 40px;
        margin-bottom: 50px;
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    }

    .hero-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    }

    .hero-content {
        flex: 2;
        padding-right: 40px;
        border-right: 1px solid #d4a373;
    }

    .hero-logo {
        flex: 1;
        display: flex;
        justify-content: center;
        padding-left: 40px;
    }

    .hero-logo img {
        max-width: 200px;
        height: auto;
        transition: transform 0.5s ease;
    }

    .hero-card:hover .hero-logo img {
        transform: scale(1.08) rotate(3deg);
    }

    .info-section {
        display: flex;
        gap: 40px;
        align-items: flex-start;
        animation: fadeInUp 0.8s ease-out 0.2s forwards;
        opacity: 0;
    }

    .info-image {
        flex: 1;
        overflow: hidden;
        border-radius: 8px;
    }

    .info-image img {
        width: 100%;
        transition: transform 0.6s ease, filter 0.3s ease;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .info-image img:hover {
        transform: scale(1.05);
        filter: brightness(1.05);
    }

    .info-text { flex: 1; }

    h5 {
        margin-bottom: 15px;
        font-size: 0.95rem;
        color: #144b63;
        font-weight: normal;
        text-align: justify;
        text-justify: inter-word;
        line-height: 30px;
    }

    .main-title2, .section-divider2, #popup-container-mobile, .popup-content-mobile {
        display: none;
    }

    .footer-socials a, .logo_footer img {
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .footer-socials a:hover {
        color: #EB7F2A !important;
        transform: translateY(-5px);
    }

    .logo_footer img:hover {
        transform: scale(1.1);
    }

    #popup-container {
        display: none;
        position: fixed;
        inset: 0;
        background: transparent !important;
        box-shadow: none !important; 
        border: none !important;
        z-index: 9999;
        backdrop-filter: blur(12px) brightness(0.85);
        -webkit-backdrop-filter: blur(12px) brightness(0.85);
        justify-content: center;
        align-items: center;
    }

    .popup-content {
        background: transparent !important;
        box-shadow: none !important; 
        border: none !important;
        outline: none !important;
        width: fit-content;
        height: fit-content;
        position: relative;
        display: flex;
    }

    .photo_pop {
        display: block;
        width: 100%;
        max-width: 850px;
        height: auto;
        border-radius: 20px;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
        animation: popupFadeScale 0.4s ease-out;
    }

    @keyframes popupFadeScale {
        from { opacity: 0; transform: scale(0.95); }
        to { opacity: 1; transform: scale(1); }
    }

    .close-button {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 15px;
        height: 15px;
        background: transparent;
        color: black;
        border-radius: 50%;
        border: 2px solid black;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 20px;
        cursor: pointer;
        z-index: 10000;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .close-button:hover {
        background-color: #fff;
        transform: scale(1.2) rotate(90deg);
        box-shadow: 0 6px 15px rgba(0,0,0,0.4);
        color: black;
        border: 2px solid transparent;
    }

    .close-button:active {
        transform: scale(0.9) rotate(90deg);
    }

    footer {
        width: 100%;
        padding: 30px 0;
        background-color: #fff;
        display: flex;
        justify-content: center;
        border-top: 1px solid #eee;
        z-index: 9999;
    }

    .main-nav {
        width: 100%;
        max-width: 1200px; 
        padding: 0 20px;
    }

    .main-nav ul {
        display: flex;
        justify-content: space-between;
        align-items: center;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .main-nav ul li {
        display: flex;
        align-items: center;
        flex: 1;
    }

    .main-nav ul li:nth-child(1) { justify-content: flex-start; }
    .main-nav ul li:nth-child(2) { justify-content: flex-start; flex: 0.8; }
    .main-nav ul li:last-child { justify-content: flex-end; }

    .footer-socials {
        flex: 2 !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .icon-fb { margin-right: 40px !important; }
    .icon-in { margin-right: 80px !important; }

    .footer-socials a {
        text-decoration: none;
        color: #000;
        font-size: 1.2em;
        display: inline-block;
        transition: all 0.3s ease;
    }

    .logo_footer {
        display: flex !important;
        gap: 20px !important;
        align-items: center !important;
    }

    .logo_footer img {
        height: 30px;
        width: auto;
        transition: all 0.3s ease;
    }

    .main-nav a, .main-nav span {
        text-decoration: none;
        color: #000;
        font-size: 0.9em;
        transition: all 0.3s ease;
        display: inline-block;
    }

    .main-nav a:hover, 
    .footer-socials a:hover, 
    .logo_footer img:hover {
        color: #EB7F2A !important;
        transform: translateY(-5px) !important;
    }
}












@media (max-width: 768px) and (orientation: landscape) {
    .logo-filou32 {
        height: 80px; /* On réduit le logo sur le côté */
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .main-nav-mobile ul {
        margin-top: 20px;
    }
    .main-nav-mobile li {
        padding-bottom: 15px; /* On réduit l'espace entre les liens */
    }
}





























@media (max-width: 768px) {
    body, html {
        overflow-x: hidden; 
        font-size: 14px; 
    }

    header {
        position: absolute;
        box-sizing: border-box;
        margin: 0;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        padding: 10px 20px;
        background-color: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        z-index: 3000;
        display: flex; 
        justify-content: space-between; 
        align-items: center;
    }

    .video-background {
        display: block; 
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh; 
        overflow: hidden;
        z-index: -2;
    }

    .video-background video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .photo-accueil {
        display: none !important;
    }

    .main-content {
        margin-top: 0 !important; 
    }

    .main-nav-desktop {
        display: none;
    }
    
    .header-nom {
        display: block;
        color: #144b63;
        font-size: 0.7em;
        margin-left: 0px;
        flex-grow: 1;
        text-align: left;
    }

    .header-logo-link {
        display: flex; 
        align-items: center;
        flex-grow: 0; 
        flex-shrink: 0;
        text-decoration: none;
    }

    .logo-filou3 {
        height: 30px;
        margin-left: -10px;
    }
    
    .menu-toggler {
        position: relative;
        display: flex; 
        flex-direction: column;
        justify-content: space-around;
        height: 25px; 
        width: 30px; 
        padding: 0;
        margin: 0;
        font-size: initial; 
        z-index: 1600;
    }

    .menu-toggler .bar {
        display: block;
        width: 100%;
        height: 3px; 
        background-color: #144b63; 
        transition: all 0.3s ease-in-out; 
        transform-origin: center; 
        z-index: 2500;
    }

    .menu-toggler.open .top-bar {
        transform: rotate(45deg) translate(7px, 7px); 
    }

    .menu-toggler.open .middle-bar {
        opacity: 0;
    }

    .menu-toggler.open .bottom-bar {
        transform: rotate(-45deg) translate(5px, -5px);
    }
        
    .main-nav-mobile {
        position: fixed;
        top: 0; 
        left: 0;
        width: 100%;
        height: 100dvh;
        background-color: rgba(255, 255, 255, 0.98); 
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        
        /* On le cache à DROITE de l'écran */
        transform: translateX(100%); 
        transition: transform 0.4s ease-in-out; 
        
        z-index: 2000;
        display: block;
        overflow-y: auto; 
    }




    
    .main-nav-mobile.open {
        transform: translateX(0); 
        top: 0; 
    }

    .main-nav-mobile .close-btn {
        display: none;
    }
   
    
    .main-nav-mobile ul {
        list-style: none;
        padding: 100px 40px; 
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center; 
    }
 
    .main-nav-mobile li {
        margin: 15px 0 0 0; 
        padding-bottom: 35px; 
    }

    .main-nav-mobile li:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
 
    .main-nav-mobile a {
        color: #144b63;
        text-decoration: none;
        font-size: 1.8em;
        padding: 0 20px 0 0; 
        display: block;
        transition: color 0.3s;
    }

    .main-nav-mobile a:hover {
        color: #f7931e;
    }

    .logo-filou32 {
        height: 180px; 
        width: auto;
        margin-left: -30px;
        margin-top: -200px;
        margin-bottom: 70px;
        z-index: 1560;
    }
   
    .section-nom {
        display: flex;
        color: #144b63;
        font-size: 18px;
        margin-top: 70px;
        padding: 5px 5px;
        width: 100%; 
        font-size: clamp(12px, 14px, 16px);
        justify-content: center;
        align-items: center; 
    }
    
    .content-section.is-visible {
        opacity: 1;
        transform: translateY(0);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); 
    }

    .content-row {
        flex-direction: column;
        gap: 40px;
        margin: 40px 0; 
        padding: 0 20px; 
        max-width: none;
        width: 100%;
        box-sizing: border-box; 
    }
    
    .content-section {
        flex: 1 1 100%;
        height: auto;
        padding: 20px;
        width: 100%; 
        box-sizing: border-box;
        background-color: #E8E8E8;
        border-radius: 15px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        margin-bottom: 40px;
        opacity: 0;                     
        transform: translateY(30px);    
        transition: transform 0.6s ease-out, opacity 0.8s ease-out, box-shadow 0.3s ease-in-out;
    }

    .content-text {
        padding: 0;
        margin-bottom: 20px;
    }

    .content-text h2 {
        color: #144b63;
        margin-top: 0;
        font-size: 15px;
        text-align: center;
    }

    p {
        color: #144b63;
        font-size: 10px;
    }
    
    .content-section p {
        color: #144b63; 
        text-align: justify; 
    }

    .sketchfab-embed-wrapper {
        width: 100%;
        height: 200px; 
        margin-top: 20px;
    }

    .sketchfab-embed-wrapper iframe {
        width: 100%;
        height: 100%;
    }

    .content-row2 {
        flex-direction: column;
        padding: 20px; 
        gap: 20px;
        margin: 20px 0;
        width: 100%;
        box-sizing: border-box;
    }

    .content-section2 {
        flex-basis: 100%;
        width: 100%; 
        min-height: 250px; 
        padding: 0;
        opacity: 0;                     
        transform: translateY(30px);    
        border-radius: 30px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.6s ease-out, opacity 0.8s ease-out, box-shadow 0.3s ease-in-out;
    }

    .content-section2.is-visible {
        opacity: 1;
        transform: translateY(0);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); 
    }

    .photo_section2 {
        width: 100%;
        height: 180px; 
        object-fit: cover;
        border-radius: 30px 30px 0 0;
        margin-bottom: 10px;
        transition: none;
    }
    
    .content-section2 h3 {
        font-size: 1.2em;
        margin: 10px 0;
        margin-left: 20px;
    }

    h3 {
        color: #EB7F2A;
        margin-left: 0px;
    }

    .content-section2 p {
        opacity: 1; 
        pointer-events: auto;
        padding: 0 20px 20px 20px;
        margin-top: 0;
        font-size: 0.9em;
        color: #144b63; 
        text-align: justify;
    }

    .section-divider {
        width: 60%;
        height: 1px; 
        margin: 20px auto; 
        background-color: #EB7F2A; 
        border: none; 
        margin-bottom: 60px;
        margin-top: 80px;
    }

    .cookie-banner {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: #E8E8E8;
        color: #333; 
        padding: 20px;
        border-radius: 10px;
        z-index: 1000;
        display: none; 
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
        width: calc(100% - 100px); 
        max-width: none; 
        text-align: center;
    }

    h6 {
        font-size: 18px;
        font-weight: normal;
    }

    .cookie-buttons { margin-top: 15px; display: flex; gap: 10px; justify-content: center; }
    .btn-accept { background: transparent; border: 1px solid orange; color: orange; padding: 10px 20px; cursor: pointer; border-radius: 5px; }
    .btn-refuse { background: transparent; border: 1px solid orange; color: orange; padding: 10px 20px; cursor: pointer; border-radius: 5px; }

    .map-placeholder {
        width: 100%; height: 100%;
        background: #f0f0f0;
        display: flex; align-items: center; justify-content: center;
        text-align: center; padding: 20px;
    }

    .btn-info {
        font-size: 0.85em;
        color: #144b63; 
        text-decoration: none;
        align-self: center; 
        padding: 10px;
        transition: opacity 0.3s;
    }

    .btn-info:hover {
        opacity: 0.7;
    }

    .section-divider2 {
        width: 60%;
        height: 1px; 
        margin: 20px auto; 
        background-color: #EB7F2A; 
        border: none; 
        margin-bottom: 0px;
        margin-top: 30px;
    }

    .container {
        width: 100%; 
        max-width: 1200px; 
        margin: 15px auto;
        padding: 0 15px; 
        box-sizing: border-box;
    }

    .hero-card {
        position: relative;
        background-color: #ebebeb !important;
        border-radius: clamp(20px, 5vw, 40px) !important;
        padding: clamp(20px, 5vw, 40px) !important; 
        margin-bottom: 30px; 
        display: flex !important;
        flex-direction: column !important;
        box-sizing: border-box;
    }

    .main-title2, .sub-title {
        color: #EB7F2A !important;
        text-transform: uppercase;
        text-align: left !important;
        margin: 0 0 15px 0 !important; 
        font-size: clamp(1.1rem, 4vw, 1.5rem) !important;
        line-height: 1.2;
        font-weight: bold; 
    }

    .sub-title {
        text-transform: none; 
        font-weight: normal;
    }

    .hero-logo {
        position: absolute !important;
        top: 20px; 
        right: 20px;
    }

    .hero-logo img {
        width: clamp(80px, 25vw, 120px) !important;
        height: auto !important;
        filter: drop-shadow(0px 4px 4px rgba(0,0,0,0.1));
    }

    .hero-card:not(.info-section) .main-title2 {
        padding-right: 30% !important; 
        min-height: 60px;
        display: flex;
        align-items: center;
    }

    .hero-content h5, .info-text h5 {
        color: #144b63;
        font-size: clamp(0.9rem, 3vw, 1rem) !important;
        line-height: 1.5 !important;
        text-align: justify !important;
        margin: 0 !important;
        font-weight: normal;
    }

    .info-wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px; 
    }

    .info-image {
        width: 100%;
    }

    .info-image img {
        width: 100%; 
        height: auto;
        border-radius: 15px; 
        display: block;
        object-fit: cover; 
    }

    .info-text {
        width: 100%;
        padding: 0 !important; 
        margin-top: 20px;
    }

    #popup-container {
        display: none;
    }

    .popup-content {
        display: none ;
    }

    #popup-container-mobile {
        display: none; 
        position: fixed;
        inset: 0;
        z-index: 99999;
        justify-content: center;
        align-items: center;
        backdrop-filter: blur(8px); 
        -webkit-backdrop-filter: blur(8px); 
        animation: fadeIn 0.4s ease-out;
    }

    .popup-content-mobile {
        position: relative;
        width: 85%;
        max-width: 380px;
        background: transparent;
        animation: scaleIn 0.4s ease-out;
    }

    .photo_pop {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @keyframes scaleIn {
        from { transform: scale(0.9); opacity: 0; }
        to { transform: scale(1); opacity: 1; }
    }

    .popup-content-mobile .close-button {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 18px;
        height: 18px;
        background: #fff; 
        color: black;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 24px;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        border: 2px solid white;
    }

    footer {
        width: 100%;
        padding: 20px 10px;
        background-color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 999;
        box-sizing: border-box;
    }

    .main-nav {
        width: 100%;
        max-width: 1200px;
    }

    .main-nav ul {
        display: flex;
        flex-direction: column; 
        gap: 20px;
        align-items: center;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-socials {
        display: flex !important;
        flex-direction: row !important; 
        flex-wrap: wrap; 
        justify-content: center;
        align-items: center;
        gap: clamp(10px, 3vw, 20px); 
        width: 100%;
    }

    .footer-socials a {
        font-size: clamp(1.1em, 4vw, 1.4em); 
        color: #000000;
        text-decoration: none;
        display: inline-block;
    }

    .logo_footer {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: clamp(8px, 2vw, 15px); 
        margin-top: 0;
    }

    .logo_footer img {
        height: clamp(25px, 6vw, 40px) !important;
        width: auto !important;
        object-fit: contain;
    }

    .main-nav a,
    .main-nav span {
        text-decoration: none;
        color: #000000;
        font-size: clamp(0.75rem, 3vw, 0.85rem);
        text-align: center;
        white-space: normal;
    }
}










































