/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;700&display=swap');

body {
    background-color: #34371f;
    min-height: 100vh;
    color: #ddbeab;
}

main {
    flex: 1;
}
/* Squares container */
.squares-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Largeur pleine pour couvrir l'écran */
    height: 100%; /* Hauteur pleine pour couvrir l'écran */
    z-index: 0; /* En arrière-plan */
    overflow: hidden; /* Empêche les débordements visibles */
    pointer-events: none; /* Les carrés ne captent pas les clics */
}

/* Square styles */
.square {
    position: absolute;
    width: 35rem;
    height: 35rem;
    opacity: 0.2;
    z-index: 0;
}

/* White square */
.square.white {
    background-color: #ffffff;
    top: 22rem; /* Position exacte souhaitée */
    left: 45rem; /* Position exacte souhaitée */
    transform: translate(-50%, -50%); /* Centre le carré à sa position */
}

/* Orange square */
.square.orange {
    background-color: #b84527;
    top: calc(22rem + 5rem); /* Ajustement relatif au carré blanc */
    left: calc(45rem + 10rem); /* Ajustement relatif au carré blanc */
    transform: translate(-50%, -50%);
}

/* Responsiveness */
@media (max-width: 576px) {
    .square {
        width: 13rem; /* Carrés plus petits sur les petits écrans */
        height: 13rem;
    }

    .square.white {
        top: 17rem; /* Ajusté pour les petits écrans */
        left: 12rem;
    }

    .square.orange {
        top: calc(17rem + 4rem);
        left: calc(12rem + 6rem);
    }
}

/* Title (h1) */
h1 {
    font-family: 'Cormorant Garamond', serif;
    color: #ddbeab;
    font-size: 4rem;
    font-weight: 700;
    position: relative;
    z-index: 3; /* Au-dessus des carrés */
}

/* Background image */
img.position-absolute {
    z-index: 1; /* Derrière les carrés */
}

/* Navbar styles */
.navbar.bg-transparent {
    background-color: rgba(0, 0, 0, 0.3); /* Adjust transparency */
    transition: background-color 0.3s ease;
}

/* Navbar link styles */
.navbar-nav a {
    color: #ddbeab;
    text-decoration: none; /* Supprime le soulignement */
    transition: color 0.3s ease, background-color 0.3s ease; /* Effet au survol */
    padding: 0.5rem 1rem; /* Ajout de padding par défaut */
    border: 3px solid transparent; /* Ajout d'une bordure transparente par défaut */
    border-radius: 0.5rem; /* Ajoute l'arrondi pour tous les liens */
}

/* Style du lien actif */
.navbar-nav .nav-link.active {
    background-color: rgba(221, 190, 171, 0.2);
    border-color: #ddbeab;
    color: #ddbeab;
    font-weight: 700;
}

/* Effet hover sur le lien actif */
.navbar-nav .nav-link.active:hover {
    background-color: rgba(221, 190, 171, 0.4); /* Fond légèrement plus opaque au survol */
    color: #ffffff; /* Couleur du texte au survol */
}

.navbar-brand img {
    height: 7rem;
}

/* General styles for circles */
.circle {
    width: 15rem; /* Diameter of the circle */
    height: 15rem;
    border-radius: 50%; /* Makes the element a perfect circle */
    overflow: hidden; /* Ensures the image fits inside the circle */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #843c0b; /* Fallback background color */
}

.circle img {
    width: 100%; /* Make the image fit inside the circle */
    height: 100%;
    object-fit: cover; /* Ensures the image covers the entire circle */
    padding: 0.2rem;
    border-radius: 50%;
}

/* Styling for titles under the circles */
h2 {
    font-family: 'Cormorant Garamond', serif;
    color: #ddbeab;
    font-size: 3rem;
    text-align: center;
    font-weight: bold;
}

h3 {
    font-family: 'Cormorant Garamond', serif;
    color: #ddbeab;
    font-size: 2rem;
    text-align: center;
    font-weight: bold;
}

/* BUTTON */
.btn-nini {
    color: #34371f; /* Couleur du texte */
    background-color: #ddbeab; /* Couleur de fond */
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-clip: padding-box;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.375rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    text-decoration: none;
}

.btn-nini:hover {
    color: #34371f; /* Garde le texte blanc */
    background-color: #da9f7a; /* Couleur plus sombre au survol */
    border-color: #da9f7a; /* Couleur de bordure plus sombre */
}

.btn-nini:focus {
    color: #34371f;
    background-color: #da9f7a;
    border-color: #da9f7a;
    box-shadow: 0 0 0 0.25rem rgba(85.5, 62.4, 47.8, 0.5); /* Halo bleu */
}

.btn-nini:active,
.btn-nini.active {
    color: #34371f;
    background-color: #da9f7a;
    border-color: #da9f7a;
    box-shadow: none; /* Supprime l'ombre lors du clic */
}

.btn-nini:disabled,
.btn-nini.disabled {
    color: #34371f;
    background-color: #ddbeab;
    border-color: #ddbeab;
    opacity: 0.65; /* Effet visuel pour état désactivé */
    pointer-events: none; /* Désactive les interactions */
}
.btn-nini.btn-lg {
    padding: 0.5rem 1rem; /* Augmente le padding pour un bouton large */
    font-size: 1.25rem; /* Augmente la taille de la police */
    line-height: 1.5; /* Maintient une bonne hauteur de ligne */
    border-radius: 0.5rem; /* Légèrement plus arrondi pour correspondre au style large */
}

/* Bouton outline */
.btn-outline-nini {
    color: #ddbeab; /* Couleur du texte */
    background-color: transparent; /* Fond transparent */
    border: 2px solid #ddbeab; /* Bordure beige */
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.375rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    text-decoration: none; /* Supprime le soulignement */
}

.btn-outline-nini:hover {
    color: #34371f; /* Couleur de texte sombre au survol */
    background-color: #ddbeab; /* Fond beige au survol */
    border-color: #ddbeab; /* Garde la bordure beige */
}

.btn-outline-nini:focus {
    color: #34371f;
    background-color: #ddbeab;
    border-color: #ddbeab;
    box-shadow: 0 0 0 0.25rem rgba(221, 190, 171, 0.5); /* Halo beige */
}

.btn-outline-nini:active,
.btn-outline-nini.active {
    color: #34371f;
    background-color: #da9f7a; /* Fond légèrement plus sombre pour l'état actif */
    border-color: #da9f7a;
    box-shadow: none; /* Supprime l'ombre */
}

.btn-outline-nini:disabled,
.btn-outline-nini.disabled {
    color: #ddbeab;
    background-color: transparent;
    border-color: #ddbeab;
    opacity: 0.65; /* Apparence désactivée */
    pointer-events: none; /* Désactive les interactions */
}

/* Bouton large */
.btn-outline-nini.btn-lg {
    padding: 0.5rem 1rem; /* Augmente le padding pour un effet large */
    font-size: 1.25rem; /* Augmente la taille du texte */
    line-height: 1.5;
    border-radius: 0.5rem; /* Légèrement plus arrondi */
}

.btn-insta {
    color: #fff; /* Couleur du texte */
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4); /* Dégradé Instagram */
    background-size: 200% 200%; /* Pour l'effet animé */
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-clip: padding-box;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 50px; /* Bouton rond pour un style Instagram */
    transition: background-position 0.5s ease, box-shadow 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.btn-insta:hover {
    background-position: 100% 0%; /* Effet animé sur le dégradé */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Ombre élégante */
    transform: scale(1.05); /* Zoom léger */
}

.btn-insta:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(188, 64, 255, 0.5); /* Halo doux */
}

.btn-insta:active,
.btn-insta.active {
    background-position: 100% 0%; /* Maintenir le dégradé en place */
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2); /* Effet appuyé */
    transform: scale(0.95); /* Réduction légère à l'appui */
}

.btn-insta.btn-lg {
    padding: 0.5rem 1rem; /* Augmente le padding pour un bouton large */
    font-size: 1.25rem; /* Augmente la taille de la police */
    line-height: 1.5; /* Maintient une bonne hauteur de ligne */
    border-radius: 50px; /* Style plus arrondi pour le bouton large */
}

.btn-lbc {
    color: #fff; /* Couleur du texte */
    background: linear-gradient(45deg, #ec5a13, #f48020); /* Dégradé Leboncoin */
    background-size: 200% 200%; /* Pour l'effet animé */
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-clip: padding-box;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 50px; /* Bouton rond pour un style moderne */
    transition: background-position 0.5s ease, box-shadow 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.btn-lbc:hover {
    background-position: 100% 0%; /* Effet animé sur le dégradé */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Ombre élégante */
    transform: scale(1.05); /* Zoom léger */
}

.btn-lbc:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(236, 90, 19, 0.5); /* Halo doux */
}

.btn-lbc:active,
.btn-lbc.active {
    background-position: 100% 0%; /* Maintenir le dégradé en place */
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2); /* Effet appuyé */
    transform: scale(0.95); /* Réduction légère à l'appui */
}

.btn-lbc.btn-lg {
    padding: 0.5rem 1rem; /* Augmente le padding pour un bouton large */
    font-size: 1.25rem; /* Augmente la taille de la police */
    line-height: 1.5; /* Maintient une bonne hauteur de ligne */
    border-radius: 50px; /* Style plus arrondi pour le bouton large */
}

.contact-background {
    background-image: url('../images/contact-background.png');
    background-repeat: no-repeat;
    background-size: cover; /* Étire l'image pour couvrir tout l'espace disponible */
    background-position: center; /* Centre l'image dans la colonne */
    height: 100%; /* Ajuste à la hauteur de la colonne */
    min-height: 100vh; /* Optionnel : s'assure que la hauteur minimale couvre toute la fenêtre */
}

.contact-card {
    background-color: rgb(132, 60, 11);
}

.card {
    border-radius: 0;
    background-color: rgba(132, 60, 11, 0.7);
    color: #efded3;
}

li a.dropdown-item {
    color: #34371f;
    font-weight: 600;
}

.background-brown {
    background-color: #843c0b;
}

.list-group-item.active {
    background-color: #c69c76;
    border: #34371f;
    color: #34371f;
    font-weight: bold;
}

.list-group-item {
    background-color: #ddbeab;
    border: #34371f;
    color: #34371f;
}

.list-group-item:hover {
    background-color: rgba(198, 156, 118, 0.9);
    border: #34371f;
    color: #34371f;
}

.nini-picture {
    padding: 0.2rem;
}