﻿/* ===== GLOBAL ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 70px; /* espace pour navbar fixe */
}



/* Conteneur général */
.form-wrapper {
    background: #f8f9fa;
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

    /* Labels */
    .form-wrapper label {
        font-weight: 600;
        color: #444;
    }

    /* Bootstrap inputs améliorés */
    .form-wrapper .form-control {
        border-radius: 6px;
        transition: 0.2s;
    }

        .form-wrapper .form-control:focus {
            border-color: #0d6efd;
            box-shadow: 0 0 0 0.15rem rgba(13,110,253,0.25);
        }

/* Style du RadioButtonList ASP.NET */
#RblEtat td {
    padding-bottom: 6px;
}

#RblEtat label {
    margin-left: 6px;
    cursor: pointer;
}

/* Espacement vertical */
.mb-3 {
    margin-bottom: 1rem !important;
}
/* fin Conteneur global du formulaire */



/* ===== CARROUSEL ===== */
.hero-slide {
    height: 90vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-caption {
    background-color: rgba(0,0,0,0.35);
    padding: 20px;
    border-radius: 10px;
}

    .carousel-caption h1 {
        font-size: 3rem;
    }

    .carousel-caption p {
        font-size: 1.25rem;
    }

@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }
}

/* ===== SECTIONS ===== */
section {
    padding-top: 60px;
    padding-bottom: 60px;
}

    section h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 30px;
    }

/* ===== CARDS ===== */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    }

    .card img {
        object-fit: cover;
    }

/* ===== FORMULAIRE ===== */
form label {
    font-weight: 600;
}

input:required, select:required, textarea:required {
    border-color: #ced4da;
}

input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,0.25);
}

/* ===== ALERT SUCCESS ===== */
.alert-success {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* ===== FAQ ===== */
.accordion-button {
    font-weight: 600;
}

/* ===== GALERIE ===== */
.img-fluid {
    transition: transform 0.3s ease;
}

    .img-fluid:hover {
        transform: scale(1.05);
    }

/* ===== NAVBAR STICKY MODERNE ===== */
#mainNavbar {
    transition: all 0.3s ease;
    padding: 1rem 2rem;
    background-color: #343a40;
    z-index: 9999;
}

    #mainNavbar.scrolled {
        padding: 0.3rem 2rem;
        background-color: #212529 !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    }

#navLogo {
    font-size: 1.8rem;
    transition: font-size 0.3s ease;
}

#mainNavbar.scrolled #navLogo {
    font-size: 1.4rem;
}

#btnReserve {
    transition: all 0.3s ease;
}

#mainNavbar.scrolled #btnReserve {
    padding: 0.3rem 0.8rem;
    font-size: 0.9rem;
}

/* Menu desktop */
.navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

    .navbar-nav .nav-item {
        margin: 0 1rem;
    }

    .navbar-nav .nav-link {
        font-weight: 500;
        font-size: 1.05rem;
        white-space: nowrap;
        position: relative;
        transition: color 0.2s ease;
    }

        .navbar-nav .nav-link:hover {
            color: #0d6efd !important;
        }

        .navbar-nav .nav-link::after {
            content: "";
            position: absolute;
            width: 0%;
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: #0d6efd;
            transition: width 0.3s;
        }

        .navbar-nav .nav-link:hover::after {
            width: 100%;
        }

.navbar .btn {
    font-weight: 600;
}

/* ===== MOBILE ===== */
@media (max-width: 991px) {
    /* Collapse background */
    .navbar-collapse {
        background-color: #343a40;
        padding: 1rem;
        border-radius: 0.5rem;
    }

    /* Menu vertical */
    .navbar-nav {
        flex-direction: column;
        align-items: center;
        margin-top: 10px;
    }

        .navbar-nav .nav-item {
            margin: 0.5rem 0;
        }

    /* Bouton centré */
    .d-flex {
        justify-content: center;
        margin-top: 10px;
    }

    #mainNavbar.scrolled {
        padding: 0.5rem 1rem;
    }
}
