/* Réinitialisation basique */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Corps de la page */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
    /*padding: 20px;*/
}

/* NAVBAR */
.navbar {
    width: 100%;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Conteneur centré (évite les bords collés) */
.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.5rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo */
.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}
.logo {
    height: 5rem;
    width: auto;
}
.logotype {
    height: 1.3rem;
    width: auto;
}

/* Onglets desktop */
.navbar-center {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.navbar-center a {
    text-decoration: none;
    color: #333;
    font-size: 1.1em;
    font-weight: 500;
    position: relative;
    display: flex;
    align-items: center;
}

/* Hover underline */
.navbar-center a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #374292;
    left: 0;
    bottom: 0;
    transition: width 0.3s ease;
}

.navbar-center a:hover::after {
    width: 100%;
}

/* Bouton CTA - Nous Contacter */
.nav-cta {
    background-color: #ed1b24;
    color: #fff !important;
    padding: .5rem .75rem;
    margin-right: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
/* Supprimer l’underline bleu */
.nav-cta::after {
    display: none;
}
.nav-cta:hover {
    background-color: #374292;
}

/* Icône réseau social */
.social-icon {
    height: 2rem;
    width: auto;
    display: block;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 3px;
}

/* Overlay mobile (sous navbar) */
.mobile-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; /* juste sous la navbar */
    left: 0;
    width: 100%;
    background: #fff;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-height: 0; /* fermé par défaut */
    transition: max-height 0.4s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 90;
}

.mobile-menu.active {
    max-height: 500px;
}

/* Liens */
.mobile-menu a {
    padding: 1rem 0;
    font-size: 1.1em;
    font-weight: 500;
    text-decoration: none;
    color: #333;
    width: 100%;
    text-align: center;
}

.mobile-menu a:hover {
    color: #374292;
}

.nav-cta-mobile {
    background-color: #ed1b24;
    color: #fff !important;
    margin: calc(1rem - 8px) 0;
    padding: 8px 18px !important;
    font-size: 1.1em;
    font-weight: 500;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.nav-cta-mobile::after {
    display: none;
}
.nav-cta-mobile:hover {
    background-color: #374292;
}
.mobile-menu .nav-cta-mobile {
    width: 60%;
}

.mobile-social {
    padding: 1rem 0;
}

.navbar-shadow {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    pointer-events: none;
    z-index: 200;
    background: linear-gradient(
            to bottom,
            rgba(0,0,0,0.1),
            rgba(0,0,0,0)
    );
}

/* Conteneur central */
.container {
    background: #fff;
    font-size: 1.1em;
    max-width: 1280px;
    margin: 0 auto;
}

.logotype-container {
    height: auto;
    width: 50%;
}

/* Titres et paragraphes */
h1 {
    font-size: 2em;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 1rem;
}

.title-blue {
    background-color: #374292;
    color: #fff;
}
.title-red {
    background-color: #ed1b24;
    color: #fff;
}

h2 {
    font-size: 1.5em;
    font-weight: 800;
    line-height: 1.25;
    margin: -1rem 0 1rem;
}

.container p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Flexbox pour les sections */
.row {
    width: 100%;
    padding: 1rem;
    display: flex;
    flex-wrap: wrap; /* Permet de passer à la ligne sur petit écran */
    gap: 20px;
}

.col {
    flex: 1; /* prend l’espace disponible */
    min-width: 250px; /* largeur minimale pour les petits écrans */
}

li {
    padding-left: 0;
    line-height: 1.6;
    list-style-position: inside;
    margin-bottom: 1rem;
}
.li-text {
    display: block;
    margin-left: 45px;
    font-size: 14px;
    line-height: 1.4;
}



.center {
    text-align: center;
}

.redirect {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    background-color: #ed1b24;
    color: #fff;
    font-weight: 500;
    font-size: 1.1em;
    padding: 6px 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    flex-wrap: wrap;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
}
.redirect:hover {
    background-color: #374292;
}

@media (min-width: 865px) {
    .container {
        padding: 2rem 1rem 2rem;
    }
}

/* Responsive pour tablettes et mobiles */
@media (max-width: 864px) {
    h1 {
        font-size: 1.5em;
    }
    h2 {
        font-size: 1em;
    }

    .navbar-center {
        display: none; /* caché sur mobile */
    }

    .burger {
        display: flex;
    }

    .desktop-facebook {
        display: none;
    }

    .container {
        padding: 1rem 0;
    }

    .form-row {
        flex-direction: column;
    }
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}
.carousel-accueil img {
    width: 100%;
    height: 283px;
    flex-shrink: 0;
    object-fit: cover;
}
.carousel-prestations-prives img {
    width: 100%;
    height: 708px;
    flex-shrink: 0;
    object-fit: cover;
}
.carousel-prestations-pro-et-asso img {
    width: 100%;
    height: 500px;
    flex-shrink: 0;
    object-fit: cover;
    object-position: center 65%;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    font-size: 1.1em;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
}
.carousel-btn.prev {
    left: 15px;
}
.carousel-btn.next {
    right: 15px;
}
/* Responsive */
@media (max-width: 551px) {
    .carousel img {
        width: 100%;
        height: auto;
    }
}

.title-over-col {
    padding-bottom: 0;
}
.title-over-col + .row {
    padding-top: 0;
}

ul li a.active {
    color: #ed1b24;
}

.col-2 {
    flex: 2;
}

.col-1 {
    flex: 1;
}

.pp {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pp img {
    width: 230px;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.prestations {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.prestations img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.col-yt-player {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Block formulaire de contact */
.contact-wrapper {
    padding: 1rem;
    flex: 1;
    min-width: 250px;
}

/* Conteneur pour mettre les champs côte à côte */
.form-row {
    display: flex;
    column-gap: 15px;
}

/* Pour les autres champs du formulaire */
#contactForm input,
#rentalForm input,
#loginForm input,
#contactForm textarea,
#rentalForm textarea,
#contactForm button,
#rentalForm button,
#loginForm button {
    display: block;
    width: 100%;
    font-family: inherit;
}
#contactForm input,
#rentalForm input,
#loginForm input,
#contactForm textarea,
#rentalForm textarea {
    padding: 10px;
    font-size: 1.1em;
    font-weight: 500;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
#contactForm textarea,
#rentalForm textarea {
    min-height: 120px;
    resize: vertical;
}
#contactForm button,
#rentalForm button,
#loginForm button {
    padding: 10px 20px;
    font-size: 1.1em;
    font-weight: 500;
    border: none;
    border-radius: 5px;
    background-color: #ed1b24;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
#contactForm button:hover,
#rentalForm button:hover,
#loginForm button:hover {
    background-color: #374292;
}

#rentalForm #submitBtn {
    background-color: #374292;
}
 #rentalForm #submitBtn:hover {
     background-color: #2e387d;
 }
#rentalList .edit-btn {
    margin: 1rem 0;
    font-family: 'Inter', sans-serif;
    background-color: #ed991b;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1.1em;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
#rentalList .edit-btn:hover {
    background-color: #ed841b;
}
#rentalList .delete-btn {
    padding: 10px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 1.1em;
    font-weight: 500;
    border: none;
    border-radius: 5px;
    background-color: #ed1b24;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
#rentalList .delete-btn:hover {
    background-color: #d61820;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.location-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}
.location-image {
    height: 180px;
    overflow: hidden;
}
.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.location-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.title-container h3 {
    font-size: 18px;
}
.location-content p {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.4;
}

.dragging {
    opacity: 0.5;
    border: 2px dashed #007BFF;
}

.categories-grid {
    justify-content: center;
}
.categorie-card {
    flex: 1;
    min-width: 250px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}
.categorie-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    border-radius: 12px;
}

.footer {
    max-width: 1280px;
    margin: 0 auto;
    background-color: #f5f5f5;
    color: #555;
    text-align: center;
    padding: 20px 10px;
    font-size: 0.9em;
    border-top: 1px solid #ddd;
}
.footer a {
    color: #007bff;
    text-decoration: none;
    margin: 0 5px;
}
.footer a:hover {
    text-decoration: underline;
}