/* ─────────────────────────────────────────────────────────────────────────────
   home.css — Styles spécifiques aux pages publiques (layouts/public.blade.php)
   Bootstrap + localapp.scss sont chargés via Vite. Ne pas dupliquer ici.
   ───────────────────────────────────────────────────────────────────────────── */

/* ─── Reset minimal pour les pages publiques ─────────────────────────────── */
body, h1, h2, h3, h4, h5, p, ul, li, a {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}

/* Rétablit la décoration des liens dans le contenu */
main a {
    text-decoration: underline;
}

/* ─── Corps de la page publique ──────────────────────────────────────────── */
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

h2, h3 {
    font-weight: 600;
    margin-bottom: 1em;
}

p {
    margin-bottom: 1em;
}

/* ─── Navigation publique ────────────────────────────────────────────────── */
.navbar-dark.bg-dark {
    background-color: #212529;
    transition: background-color 0.3s ease;
}

.navbar-dark.bg-dark:hover {
    background-color: #343a40;
}

.nav-link {
    color: rgb(51, 51, 51) !important;
    transition: color 0.3s ease;
    padding: 20px;
}

.nav-link:hover {
    color: #22DDF2 !important;
}

.nav-item {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 20px;
}

/* ─── Sections ───────────────────────────────────────────────────────────── */
section {
    padding: 2rem 0;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
footer {
    border-top: 1px solid #ddd;
    background-color: #f8f9fa;
}

footer small {
    color: #555;
}

/* ─── Formulaire de contact ──────────────────────────────────────────────── */
form .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
    border-color: #66afe9;
    outline: none;
    box-shadow: 0 0 3px rgba(102, 175, 233, .6);
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .navbar-brand { font-size: 1rem; }
    .nav-link     { font-size: 0.9rem; }
    section       { padding: 1rem 0; }
}

/* ─── Cartes de sélection (offres / packages) ────────────────────────────── */
.largerow {
    flex-wrap: nowrap;
    width: 100%;
    display: flex;
}

.largerow .col-md-3 {
    background-color: #0e3f71;
    border: 1px solid #ccc;
    border-radius: 8px;
    text-align: center;
    padding: 1rem;
    margin-bottom: 1rem;
    margin-inline: 1rem;
    color: white;
}

.largerow .selected {
    background-color: #0e3f71;
    width: 25%;
    flex: auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    text-align: center;
    padding: 1rem;
    margin-bottom: 1rem;
    margin-inline: 1rem;
    color: white;
}

.largerow .unselected {
    background-color: #aac7e6;
    width: 25%;
    flex: auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    text-align: center;
    padding: 1rem;
    margin-bottom: 1rem;
    margin-inline: 1rem;
    color: white;
}

/* ─── Formulaire générique ───────────────────────────────────────────────── */
.generic-form-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
}

.generic-form-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.generic-form-container .form-label {
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

.generic-form-container input[type="text"],
.generic-form-container input[type="email"],
.generic-form-container textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.generic-form-container input[type="text"]:focus,
.generic-form-container input[type="email"]:focus,
.generic-form-container textarea:focus {
    border-color: #66afe9;
    outline: none;
    box-shadow: 0 0 3px rgba(102, 175, 233, 0.6);
}

.generic-form-container button[type="submit"] {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.generic-form-container button[type="submit"]:hover {
    background-color: #0056b3;
}

@media (max-width: 576px) {
    .generic-form-container {
        margin: 1rem;
        padding: 1rem;
    }
}

/* ─── Bannière ───────────────────────────────────────────────────────────── */
.banner-img {
    position: relative;
    width: 100%;
    height: 300px;
    background: url('/img/banner.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 1.5rem;
}

.banner-img::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('/img/banner.jpg') no-repeat center center;
    background-size: cover;
    filter: blur(8px);
    z-index: -1;
}

.banner-img::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.banner-img .banner-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    z-index: 1;
}

.banner-img .banner-content {
    max-width: 80%;
    z-index: 1;
    font-size: 1.2rem;
    font-weight: lighter;
}

.banner-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
    max-width: 100%;
}

/* ─── Couleurs texte thématiques ─────────────────────────────────────────── */
.titre2 { color: #0e3f71; }
.titre3 { color: black; }

/* ─── Icônes colorées ────────────────────────────────────────────────────── */
.icon-blue  { color: rgb(84, 90, 183); }
.icon-red   { color: rgb(183, 84, 84); }
.icon-green { color: rgb(84, 183, 160); }

/* ─── Package card ───────────────────────────────────────────────────────── */
.package-card {
    display: flex;
    flex-direction: column;
}

.select-package {
    margin-top: auto;
    text-align: center;
    display: block;
}
