@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    display: flex;
    animation: marquee 10s linear infinite;
    will-change: transform;
}

.bubble {
  flex: 0 0 auto;
  width: 25vw;
  max-width: 140px;
  min-width: 110px;
  scroll-snap-align: start;
  transition: transform 0.3s;
}

.bubble:hover {
  transform: scale(1.05);
  z-index: 10;
}


/* Cacher la scrollbar */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.header-hero {
    position: relative;
    width: 100%;
    height: 310px;
    background-image: url('../storage/photos/accueil/pack_fetes_pere.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; /* Règle principale */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Pour les petits écrans (mobile) */
@media (max-width: 768px) {
    .header-hero {
        background-size: 150%; /* Zoom léger pour mobile */
        height: 260px;
    }
}

/* Pour les grands écrans (desktop) */
@media (min-width: 1024px) {
    .header-hero {
        background-size: cover; /* Utilise toute l’image sans zoom excessif */
        height: 400px; /* Plus de hauteur si besoin */
    }
}


.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.header-content h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.header-content p {
    font-size: 16px;
}


@media (min-width: 768px) {
    .header-hero {
        height: 85%; 
        background-size: cover; /* Remettre l'image en normal sur PC */
    }

    .header-content h1 {
        font-size: 40px;
    }

    .header-content p {
        font-size: 20px;
    }
}


#suggestions-country {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #fff;
    z-index: 999;
    position: absolute;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
#suggestions-ville {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #fff;
    z-index: 999;
    position: absolute;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
@keyframes scrollX {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll-horizontal {
    display: flex;
    animation: scrollX 30s linear infinite;
    width: max-content;
}

@layer base {
    @font-face {
        font-family: "ITC Avant Garde Gothic";
        src: url("/fonts/AvantGarde.woff2") format("woff2");
        font-weight: normal;
        font-style: normal;
    }

    body {
        font-family: "ITC Avant Garde Gothic", sans-serif;
    }
}
@keyframes scrollDown {
    0% {
        transform: translateY(0%);
    }

    100% {
        transform: translateY(-50%);
    }
}

@keyframes scrollUp {
    0% {
        transform: translateY(-50%);
    }

    100% {
        transform: translateY(0%);
    }
}

.animate-column {
    animation-duration: 40s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.scroll-down {
    animation-name: scrollDown;
}

.scroll-up {
    animation-name: scrollUp;
}

.masonry {
    column-count: 2;
    column-gap: 1rem;
}

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

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

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1rem;
}

body {
    background-color: #f9f4f0;
    color: #333;
    font-family: "ITC Avant Garde Gothic", sans-serif;
}
/* Animation underline */
.hover-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #f9f4f0; /* Ton beige clair */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.hover-underline:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.hover-underline:not(:hover)::after {
    transform-origin: right;
}

@font-face {
    font-family: "ITC Avant Garde Gothic";
    src: url("/fonts/ITCAvantGardeStd-DemiCn.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}

.nav-link {
    color: #333;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #a0522d;
}

.dropdown-menu {
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #a0522d;
    color: #fff;
    border-radius: 5px;
    padding: 10px 20px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #8b4513;
}