﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/* ===== Base ===== */
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

/* Tout élément focusable sauf champs formulaire */
*:focus:not(input):not(textarea):not(select) {
    outline: none;
    caret-color: transparent;
}


@media (min-width: 641px) {
    article.no-padding[b-nz22qfaczt] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.75rem !important;
    }
}


h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: black;
    border-color: black;
    background-color: #FFD700;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#contact {
    border-bottom: 2px solid #FFD700; /* ligne dorée */
}

/* Séparation entre Atouts (#lots) et Services (#portfolio) */
#lots {
    padding-bottom: 3rem;
    border-bottom: 2px solid #FFD700; /* ligne dorée */
    margin-bottom: 3rem;
}

/* Ajoute une séparation entre portfolio (Services) et contact */
#portfolio {
    padding-bottom: 5rem !important; /* espace sous la section Services */
    border-bottom: 2px solid #FFD700; /* ligne dorée épaisse */
    margin-bottom: 3rem; /* espace entre la ligne et la section suivante */
    margin-top: 0 !important;
}

#contact {
    padding-top: 1rem; /* espace au-dessus du formulaire */
}

.contact-heading {
    background-color: #111; /* noir doux */
    color: #FFD700;
    border: 2px solid #FFD700;
    display: inline-block;
    border-radius: 10px;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

    .contact-heading:hover {
        transform: scale(1.05);
        box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
    }

.reservation-heading {
    background-color: #111; /* noir doux */
    color: #FFD700;
    border: 2px solid #FFD700;
    display: inline-block;
    border-radius: 10px;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

    .reservation-heading:hover {
        transform: scale(1.05);
        box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
    }


/* ===== Blazor error UI ===== */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url('data:image/svg+xml;base64,...') no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

/* ===== Masthead ===== */
.masthead {
    padding-top: 70px; /* ou margin-top: 70px */
}

    .masthead h1 {
        font-size: 3rem;
        font-weight: bold;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    }

    .masthead p {
        font-size: 1.25rem;
        text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
    }

.masthead-heading,
.masthead-subheading {
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

/* ===== Navbar ===== */
.navbar {
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
    background-color: black;
    position: sticky;
    top: 0;
    z-index: 1000;
    position: fixed;
    left: 0;
    right: 0;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.navbar-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

.shrink .navbar {
    padding: 0.3rem 1rem;
}

.shrink .navbar-logo {
    height: 40px;
}

/* ===== Nav Links ===== */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

    .nav-links li {
        display: inline-block;
    }

.nav-button {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    font: inherit;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
    outline: none;
}

    .nav-button::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 3px;
        width: 0;
        background: #fff633;
        transition: width 0.3s ease;
        border-radius: 2px;
    }

    .nav-button:hover,
    .nav-button:focus {
        color: #fff633;
    }

        .nav-button:hover::after,
        .nav-button:focus::after {
            width: 100%;
        }

/* ===== Hamburger Menu ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
}

    .menu-toggle .bar {
        width: 25px;
        height: 3px;
        background-color: white;
        margin: 4px 0;
    }

/* ===== Responsive Navbar ===== */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 10px; /* 👈 Affiche à gauche */
        background-color: white;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

        .nav-links.open {
            display: flex;
        }

        .nav-links li {
            margin: 0.5rem 0;
        }

    .nav-button {
        color: black;
    }

    .navbar {
        flex-direction: row-reverse;
        display: block;
    }

    .masthead p {
        font-size: 1rem !important;
    }
}

/* ===== Sections Scroll Offset ===== */
.snap-section,
#contact {
    scroll-margin-top: 100px;
}

/* ===== Icons Circle Style ===== */
.icon-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background-color: black;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

    .icon-circle i {
        color: white !important;
    }

    .icon-circle:hover {
        transform: scale(1.1);
        background-color: #222;
    }

/* ===== Misc. Bootstrap Overwrites ===== */
.bg-light {
    background-color: white !important;
}

html body .top-row[b-pg0mbkrefo],
html body article[b-pg0mbkrefo] {
    padding: 0 !important;
    margin: 0 !important;
}

/* ===== Responsive Section Tweaks ===== */
@media (max-width: 768px) {
    .masthead h1 {
        font-size: 1.8rem;
        padding: 0 1rem;
    }

    .masthead-subheading {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .portfolio-caption-subheading {
        font-size: 0.9rem;
        text-align: justify;
        padding: 10px 10px;
    }

    #lots .col-md-4 {
        margin-bottom: 2rem;
    }

    .row.text-center > div {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .form-control {
        font-size: 1rem;
    }

    .btn-xl {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }

    .footer .col-lg-4 {
        text-align: center;
        margin-bottom: 10px;
    }

    html {
        overflow-x: hidden;
    }
}

/* ===== Footer ===== */
.custom-footer {
    background-color: #000;
    color: #fff;
    padding: 2rem 1rem;
    font-size: 0.95rem;
    font-family: 'Segoe UI', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #333;
    padding-top: 1.5rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-text {
    margin: 0;
    color: #ccc;
}

.footer-right {
    display: flex;
    gap: 1.5rem;
    font-size: 1.5rem;
}

    .footer-right a {
        color: #aaa;
        transition: color 0.3s ease;
    }

        .footer-right a:hover {
            color: #fff633;
        }

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-left {
        justify-content: center;
    }
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    text-align: center;
    z-index: 9999;
}

.whatsapp-float {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    font-size: 28px;
    transition: transform 0.2s ease;
    text-decoration: none;
}

    .whatsapp-float:hover {
        transform: scale(1.1);
        background-color: #1ebe5b;
    }

.copyright-text {
    margin-top: 8px;
    color: #666;
    font-size: 12px;
    font-family: 'Segoe UI', sans-serif;
}

/* ===== Boutons personnalisés jaunes modernes ===== */
.btn-reserve-yellow {
    background: #FFD700;
    color: black;
    border: 2px solid #FFD700;
    padding: 0.6rem 1.6rem;
    border-radius: 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

    .btn-reserve-yellow:hover {
        background: transparent;
        color: #FFD700;
        border: 2px solid #FFD700;
        box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
    }

.btn-send-yellow {
    background: #FFD700;
    color: black;
    border: 2px solid #FFD700;
    padding: 0.6rem 1.6rem;
    border-radius: 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

    .btn-send-yellow:hover {
        background: black;
        color: #FFD700;
        border: 2px solid #FFD700;
        box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
    }


/* ===== Video Background ===== */
.video-background {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

    .video-background video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        z-index: -1;
        transform: translate(-50%, -50%);
        object-fit: cover;
    }

    .video-background .content {
        position: relative;
        z-index: 1;
        text-align: center;
        color: white;
        padding: 2rem;
    }

.video-overlay {
    background-color: rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Ne pas animer */
    transition: none;
}


.fade-in-video {
    opacity: 0;
    animation: fadeInVideo 0.75s ease-in 0.3s forwards; /* décalage de 0.3s */
    background-color: black
}

/* Animation de fondu */
@keyframes fadeInVideo {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.video-background-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: -2;
}


/* ===== Testimonial Carousel (Avis) ===== */
.testimonial-carousel {
    background-color: #f8f9fa;
}

.carousel {
    overflow: hidden;
    position: relative;
    max-width: 850px;
    margin: auto;
    padding: 1rem 1.5rem 1rem 1rem;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
    padding: 0;
}

.testimonial {
    flex: 0 0 calc(50% - 1rem); /* 2 cartes visibles + gap entre elles */
    max-width: calc(50% - 1rem);
    min-width: calc(50% - 1rem);
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-style: normal;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Responsive stop if screen too small */
@media (max-width: 768px) {
    .carousel-track {
        animation-duration: 45s;
    }

    .testimonial {
        flex: 0 0 100%;
        max-width: 100%;
        min-width: 100%;
    }

    .carousel {
        margin-left: 2rem;
        margin-right: 2rem;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff !important;
    border: 2px solid #ccc !important;

    color: #333;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

    .carousel-btn:hover {
        color: #000;
        border-color: #999;
        transform: translateY(-50%) scale(1.1);
    }

    .carousel-btn.left {
        left: -2rem; /* légèrement en dehors du carrousel */
    }

    .carousel-btn.right {
        right: -2rem;
    }

@media (max-width: 768px) {
    .carousel-btn {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }

        .carousel-btn.left {
            left: 0.5rem;
        }

        .carousel-btn.right {
            right: 0.5rem;
        }
}

/* ===== Avis (Reviews) ===== */
.stars {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: #ffc107; /* Jaune étoile */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
}

.star.empty {
    color: #ddd;
}

.star.half::before {
    content: "★";
    position: absolute;
    width: 50%;
    overflow: hidden;
    color: #ffc107;
}

.note-text {
    margin-left: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.badge-verified {
    display: inline-block;
    background-color: #e0f5e9;
    color: #2e7d32;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    margin-top: 5px;
}

