/* ================================== CSS SAM =================================== */
@font-face {
    font-family: 'AutumnChant';
    src: url('../fonts/AutumnChant.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ========================= CSS GÉNÉRAL ========================= */
body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    background-color: white;
}

.autumn,
h5.card-title {
    font-family: 'AutumnChant', serif !important;
}

/* ========= RETOUR EN HAUT ========== */
#backToTop {
    position:fixed;
    bottom:30px;
    right: 10px;
    display: none;
    z-index:9999;
    width:30px;
    height:30px;
    background:#95421A;
    border:none;
    border-radius:50%;
    align-items:center;
    justify-content:center;
    box-shadow:0 2px 6px rgba(0,0,0,0.18);
}

#backToTop:hover {
    background: #95421A;
}
#backToTop:focus {
    outline: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* =========== SÉPARATEUR ============ */
.separator {
    width: 10rem;
    height: 0.25rem;
}

/* =========================== ACCUEIL =========================== */

/* ============== LOGO =============== */
.logo {
    width: 200px;
    height: auto;
}

/* ============= NAVBAR ============== */
.navbar {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #dee2e6;
    min-height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.navbar-bg,
.navbar-bg.next {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
    transition: opacity 2.5s;
}

.is-hidden {
    display: none !important;
}

.navbar-bg::after,
.navbar-bg.next::after {
    content: '';
    position: absolute; left:0; top:0; right:0; bottom:0;
    background: rgba(0,0,0,0.20);
    pointer-events: none;
}

.navbar > *:not(.navbar-bg) {
    position: relative;
    z-index: 1;
}

.navbar-nav {
    margin-left: auto;
    margin-right: auto;
    font-size : 16px;
    gap: 40px;
    color: white;
}

.nav-item {
    flex: 0 0 auto;
}

.nav-link {
    display: inline-block !important;
    width: auto !important;
    position: relative;
    padding: 0 !important;
    text-decoration: none;
    color: inherit;
    background: none;
    text-align: left;
    border: none;
}

.nav-link::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1.5px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s;
    pointer-events: none;
    color: white;
}
.nav-link:hover,
.navbar .nav-link.active,
.navbar .nav-link.active:focus,
.navbar .nav-link.active:hover,
.navbar .nav-item.show .nav-link {
    color: white !important;
}


.nav-link:hover::after,
.nav-link:focus::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link:hover::after,
.nav-link:focus::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.navbar-center-title {
    position: absolute;
    left: 0;
    top: -50%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.navbar-center-title h1 {
    font-size: 4rem;
    margin: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    font-family: 'Abril Fatface', serif;
}

/* À partir de 768px */
@media (max-width: 768px) {
    .autumn { font-size: 3rem !important; }
}


/* ============= BURGER ============== */
.navbar-toggler {
    border-color: rgba(255,255,255,0.7);
}
.navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none;
    box-shadow: none;
}

.scroll-down-indicator {
    position: absolute;
    left: 50%;
    bottom: -450px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    z-index: 10;
}

.fa-angle-down {
    color: #fff;
    font-size: 2.2rem;
    opacity: 0.8;
    animation: bounce-down 1.2s infinite;
}

.fa-angle-down:nth-child(2) {
    animation-delay: 0.2s;
    opacity: 0.5;
}
.fa-angle-down:nth-child(3) {
    animation-delay: 0.4s;
    opacity: 0.3;
}

@keyframes bounce-down {
    0%, 100% { transform: translateY(0);}
    50%      { transform: translateY(12px);}
}



@media (max-width: 768px) {
    .scroll-down-indicator {
        bottom: -400px;
    }
}

/* ============== SHOP =============== */
#shop.btn {
    border-radius: 0 !important;
    padding: 20px 40px 20px 40px !important;
    font-size: 14px;
    color: white;
    transition: background-color 0.5s ease-in-out;
}

#shop.btn:hover {
    background-color: #000;
    color: white;
}
/* ========================= FIN ACCUEIL ========================= */

/* ======================= ABOUT SCARLETT ======================== */

/* =========== BACKGROUND ============ */
.about {
    background-color: #fff8f0;
}

@media (min-width: 768px) {
    .about-row {
        gap: 50px;
    }
}

/* ============== IMAGE ============== */
.img-container {
    position: relative;
    display: block;
}

.img-container .img-bw,
.img-container .img-color {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s;
    display: block;
}

.img-container .img-bw {
    z-index: 2;
    opacity: 1;
    pointer-events: none;
}

.img-container .img-color {
    z-index: 1;
}

.img-container:hover .img-bw {
    opacity: 0;
}

.about-img-ratio {
    aspect-ratio: 4/5;
}

/* En couleur pour les plus petits écrans (pas de souris) */
@media (hover: none) and (pointer: coarse) {
    .img-bw {
        opacity: 0 !important;
    }
}
/* ====================== FIN ABOUT SCARLETT ===================== */

/* =========================== GALLERY =========================== */

/* ============ FILTRES ============== */
.gallery-filter.btn:hover,
.gallery-filter.btn:focus {
    background-color: #95421A;
    color: #fff;
}

.gallery-filter.btn {
    transition: all 0.5s ease-in-out;
    border-color: lightgray;
}

/* ============= CARD ================ */
.small-text {
    font-size: .95rem;
}

/* ============= ORDER =============== */
#order.btn,
#order2.btn {
    border-radius: 0 !important;
    padding: 20px 40px 20px 40px !important;
    font-size: 14px;
    color: white;
    background-color: #95421A;
    transition: background-color 0.3s ease-in-out;
}

#order.btn:hover,
#order2.btn:hover{
    background-color: #B9633E;
    color: white;
}

#perso.btn {
    border-color: #95421A !important;
    border-radius: 0 !important;
    padding: 20px 40px 20px 40px !important;
    font-size: 14px;
    color: black;
    transition: background-color 0.3s ease-in-out;
}

#perso.btn:hover {
    background-color: #B9633E;
    color: white;
}

.items {
    cursor: pointer;
}

/* ============ CAROUSEL ============= */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

.carousel-control-prev,
.carousel-control-next {
    top: 50%;
    transform: translateY(-50%);
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 !important;
    z-index: 10;
}

.carousel-control-prev {
    left: -60px;
    right: unset;
}

.carousel-control-next {
    right: -60px;
    left: unset;
}

#linogravuresCarousel.d-none,
#linogravuresCarousel2.d-none {
    display: none !important;
}

@media (min-width: 992px) {
    #linogravuresCarousel {
        display: block !important;
    }
    #linogravuresCarousel2 {
        display: block !important;
    }
    .mobile-gallery {
        display: none !important;
    }
}

@media (max-width: 991px) {
    #linogravuresCarousel {
        display: none !important;
    }
    #linogravuresCarousel2 {
        display: none !important;
    }
    .mobile-gallery {
        display: block !important;
    }
}


@media (max-width: 1030px) {
    .carousel-control-prev {
        left: -45px;
    }

    .carousel-control-next {
        right: -45px;
    }
}

@media (max-width: 980px) {
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}
/* ========================= FIN GALLERY ========================= */

/* =========================== SERVICES ========================== */

/* =========== BACKGROUND ============ */
.services {
    background-color: #fff8f0;
}

/* ============== LIENS ============== */
.link-dark {
    color: #95421A !important;
}

.link-dark:hover {
    color: #B9633E !important;
}

/* ============== ICONES ============= */
.fa-images,
.fa-paint-brush {
    color: #fff8f0 !important;
}

.fa-check {
    color: #95421A !important;
}

.rounded-circle {
    background-color: #95421A;
}

.service-icon-circle {
    width: 4rem;
    height: 4rem;
}
/* ========================= FIN SERVICES ======================== */

/* ======================== TESTIMONIALES ======================== */
.card-footer img.rounded-circle {
    width: 48px;
    height: 48px;
    object-fit: cover;
}

.card-body .card-text {
    position: relative;
    z-index: 1;
}
/* ====================== FIN TESTIMONIALES ====================== */

/* =========================== CONTACT =========================== */

/* =========== BACKGROUND ============ */
.contact {
    background-color: #fff8f0;
}

/* ============= ICONES ============== */
.bi,
.fab {
    color: #95421A;
}

.bi:hover,
.fab:hover {
    color: #B9633E;
}

.btn-terra {
    background-color: #95421A;
}

.btn-terra:hover {
    background-color: #B9633E;
}

#mail {
    color: #95421A !important;
    cursor: pointer;
    transition: color 0.15s, text-decoration-color 0.2s;
}

#mail:hover {
    color: #B9633E !important;
    cursor: pointer;
}

/* ============ FORMULAIRE ============= */
#formulaire input,
#formulaire select,
#formulaire textarea {
    border-width: 0 0 2px 0 !important;
}

#formulaire .btn {
    letter-spacing: 1px !important;
}

/* ============ COMPTEUR ============= */
.text-danger {
    color: #dc3545 !important;
}
/* ========================= FIN CONTACT ========================= */

/* =========================== FOOTER ============================ */

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.footer-columns > div {
    flex: 1 1 220px;
    min-width: 0;
    max-width: 100%;
}

.footer-columns .fs-4 {
    text-decoration: none !important;
}

.footer-columns .fs-4:hover {
    color: #343a40 !important;
}


.footer-columns ul li a {
    transition: color 0.3s, text-decoration 0.3s;
    color: #bcbcbc;
}

.footer-columns ul li a:hover,
.footer-columns ul li a:focus {
    color: #343a40 !important;
    text-decoration: underline;
}


@media (max-width: 1200px) {
    .footer-columns > div {
        flex: 1 1 45%;
    }
}
@media (max-width: 767.98px) {
    .footer-columns > div {
        flex: 1 1 100%;
    }
    .footer-columns {
        gap: 1rem;
    }
}
/* ========================= FIN FOOTER ========================== */

/* ========================== LIGHTBOX =========================== */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.85);
}

.lightbox-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(30, 30, 30, 0.85);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 2.7rem;
    height: 2.7rem;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-close:hover {
    background: rgba(255, 67, 67, 0.93);
}


.lightbox-img {
    max-width: 100vw;
    max-height: 75vh;
    box-shadow: 0 0 30px #000;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

.lightbox-tailles {
    color: #FFF;
    text-align: center;
    margin-top: 1rem;
}

.lightbox-thumbs {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.lightbox-thumbs img:focus {
    outline: 3px solid #1976d2;
    border-color: #1976d2;
}
/* ======================== FIN LIGHTBOX ========================= */

/* ================================= FIN CSS SAM ================================ */