@import 'style.css';

@import 'color.css';
@import 'button.css';

@import "../../node_modules/bootstrap-icons/font/bootstrap-icons.css";
@import "../../node_modules/photoswipe/dist/photoswipe.css";
@import url('https://fonts.googleapis.com/css2?family=Livvic:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --bs-dark: #20392C !important;
    --bs-dark-rgb: 32, 57, 44 !important;
    --bs-primary: #FF5600 !important;
    --bs-primary-rgb: 255, 86, 0 !important;
    --bs-link-color: #FF5600 !important;
    --bs-link-hover-color: #FF5600 !important;
    --bs-link-color-rgb: 255, 86, 0 !important;
    --bs-link-hover-color-rgb: 255, 86, 0;
    --bs-nav-pills-link-active-bg: #FF5600 !important;
    --bs-secondary: #ABC7DD;
    --bs-secondary-rgb: 133, 135, 138;

    --bs-black: #20392C;
    --bs-green: #368C58;
    --bs-blue: #ABC7DD;

}

.text-dark {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
}

.cuisine {
    font-family: 'Livvic', sans-serif;
    font-size: 60px;
    font-weight: 700;
    color: #F2E251;


}

.text-green {
    color: var(--bs-green);
}

.text-maze {
    color: #FFFFFF !important;
}

.text-blue {
    color: var(--bs-blue) !important;
}

body * {
    font-family: 'Livvic', sans-serif;
}

h1 {
    font-size: 8.75vw;
    /* 140px sur un écran de 1600px de large */
    font-weight: 600;
}

h2 {
    font-family: 'Livvic', sans-serif;
    font-size: 4.6vw;
    /* 82px sur un écran de 1600px de large */
    font-weight: 600;
}

h3 {
    font-family: 'Livvic', sans-serif;
    font-size: 4.125vw;
    /* 82px sur un écran de 1600px de large */
    font-weight: 600;
}

h4 {
    font-family: 'Livvic', sans-serif;
    font-size: 45px;
    /* 45px sur un écran de 1600px de large */
    font-weight: 700;
}

h5 {
    font-family: 'Livvic', sans-serif;
    font-size: 20px;
    /* 20px sur un écran de 1600px de large */
    font-weight: 600;
}

p {
    font-family: 'Livvic', sans-serif;
    font-size: 18px;
    /* 18px sur un écran de 1600px de large */
    font-weight: 400;
    color: var(--bs-black);
}

.logo-menu {
    width: 80px;
    height: 80px;
}

.small-font {
    font-family: 'Livvic', sans-serif;
    font-size: 14px;
    /* 18px sur un écran de 1600px de large */
    font-weight: 400;
    color: var(--bs-black);
}

.small-exerge {
    font-family: 'Livvic', sans-serif;
    font-size: 14px;
    /* 18px sur un écran de 1600px de large */
    font-weight: 500;
    color: var(--bs-black);
}

.text-footer {
    font-family: 'Livvic', sans-serif;
    font-size: 5.1vw;
    font-weight: 600;
    text-align: left;
    color: #F9E9D6;
}

a {
    color: var(--bs-black);
}

a.active,
a:focus,
a:hover {
    color: var(--bs-primary);
}


a p {
    font-family: 'Livvic', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--bs-black);
}

a.active p,
a:focus p,
a:hover p {
    color: var(--bs-primary);

}

.exerge {
    font-family: 'Livvic', sans-serif;
    font-size: 18px;
    /* 16px sur un écran de 1600px de large */
    font-weight: 500;
}

.small-font {
    font-family: 'Livvic', sans-serif;
    font-size: 14px;
    /* 18px sur un écran de 1600px de large */
    font-weight: 400;
    line-height: 24px;
    color: var(--bs-black);
}



/* Règles CSS pour les appareils plus petits, comme les téléphones */
@media (max-width: 768px) {
    h1 {
        font-size: 48px;
        /* Taille fixe plus grande pour une meilleure lisibilité */
    }

    h2 {
        font-size: 48px;
    }

    h3 {
        font-size: 26px;
    }

    .text-footer {
        font-size: 48px;
    }
}



.navbar-brand-item {
    height: 20px;
}


/* Menu mobile background custo */

@media (max-width: 1199px) {

    /* Menu mobile background home */
    .collapse-home {
        background-color: transparent !important;
    }

    .collapse-home li {
        background-color: transparent !important;
    }

    .collapse-home li a {
        color: var(--bs-dark) !important;
    }

    /* Menu mobile autres pages */
    .collapse-white {
        background-color: var(--bs-secondary) !important;
    }
}

.header-sticky-custo {
    background-color: var(--bs-secondary) !important;
}

.navbar-toggler {
    border: none;
}

/* Bg overlay home (Photo de Justine) */
.bg-overlay {
    background-color: rgba(0, 0, 0, 0.11);
}


.image-ratio-container {
    width: 100%;
    /* Assure que le conteneur prend la pleine largeur de son parent */
    padding-top: 62.5%;
    /* 100 / 1.6 = 62.5% pour maintenir un ratio de 1:1.6 */
    position: relative;
    /* Important pour positionner absolument l'image à l'intérieur */
}

.image-ratio-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Assure que l'image couvre la zone sans se déformer, coupant les parties excédentaires si nécessaire */
}

.bg-antique-white {
    background: #F9E9D6;
    background-color: #F9E9D6
}

.bg-blue {
    background-color: rgba(171, 199, 221, 1) !important;
}

.bg-green {
    background: #20392C;
}

.card-img-scale-wrapper {
    border-top-left-radius: 60px;
    /* Arrondit le coin supérieur gauche */
    border-top-right-radius: 60px;
    /* Arrondit le coin supérieur droit */
}

.border-round-md {
    border-radius: 50px;
}

.border-round-md-top {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}


.border-round-sm {
    border-radius: 30px;
}

.slider-start {
    transition-duration: 0ms;
    transition-delay: 0ms;
    transform: translate3d(1.875rem, 0px, 0px);
    /* Aucun déplacement par défaut */
}

.swiper-start {
    transition-duration: 0ms;
    transition-delay: 0ms;
    transform: translate3d(0px, 0px, 0px);
    /* Aucun déplacement par défaut */
}

.table> :not(caption)>*>* {
    padding: 0.5rem 0.25rem;
    color: var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color)));
    background-color: var(--bs-table-bg);
    border-bottom-width: var(--bs-border-width);
    box-shadow: inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)));
}


/* Add some basic styling for custom controls */
.custom-controls {
    display: flex;
    justify-content: center;
}


.min-vh-100-md {
    min-height: 100vh;
}

.card-lieu {
    max-height: 450px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Toute la carte cliquable */
.card-lieu > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

/* Image occupe ~2/3 de la hauteur */
.card-lieu-img {
    width: 100%;
    height: 66.6667%;          /* <-- ratio 2/3 */
    object-fit: cover;
    display: block;
    margin: 0 !important;
    flex: 0 0 auto;            /* ne pas se réduire */
}

/* Zone texte = 1/3 restant */
.card-lieu-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;   /* ou 'flex-start' si tu veux coller en haut */
    padding: 0.75rem;          /* un peu moins que 1rem pour compacter */
}

/* Texte plus dense */
.card-lieu-body .small-exerge {
    line-height: 1.3;
    font-size: 0.95rem;        /* option : ajuste ou retire selon design global */
    margin-bottom: 0;
}

.card-lieu-img-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;        /* change ici: 1/1, 4/3, etc. */
  overflow: hidden;
}

.card-lieu-img-wrap > img.card-lieu-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;            /* pas de déformation, crop centré */
  object-position: center;
  display: block;
}

/* Taille un peu plus grande pour les liens du menu principal */
.navbar .nav-link {
  font-size: 1.25rem;   /* ≃ 17.2 px si base 16 px – ajuste à 1.1rem si tu veux un poil plus grand */
  line-height: 1.2;      /* garde une hauteur compacte */
}

@media (max-width: 767.98px) {
    .min-vh-100-md {
        min-height: auto;
    }
}