/* Base */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

/* TITRES */
h1, h2, h3 {
    font-weight: 600;
    color: #222;
}

/* NAVBAR IMPRESSIONNANTE */
header.navbar {
    background: linear-gradient(45deg, #343a40, #0d6efd, #343a40);
    background-size: 300% 300%;
    animation: gradientFlow 10s ease infinite;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s ease;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* FOOTER ANIMÉ */
footer {
    background: linear-gradient(to right, #212529, #343a40);
    color: white;
    animation: fadeInUp 1s ease-in-out;
    position: relative;
    overflow: hidden;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

footer h5, footer h6 {
    color: #fff;
}

footer ul li a {
    color: #ccc;
    transition: color 0.3s;
}

footer ul li a:hover {
    color: #ffc107;
    text-decoration: underline;
}

footer .bi {
    font-size: 1.3rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

footer .bi:hover {
    color: #ffc107;
    transform: scale(1.2);
}

/* LIENS */
a {
    text-decoration: none;
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 25px;
    z-index: 999;
    display: none;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#backToTop:hover {
    transform: translateY(-4px);
    background-color: #ffc107;
}
.v-top {
    display: inline-block;
    transform: rotate(180deg);
    font-weight: bold;
    font-size: 1.3rem;
    font-family: sans-serif;
}

/* Responsive */
@media (max-width: 480px) {
    #Container-footer{
    text-align: center;
}
}

/* POLICES PERSONNALISÉES */
.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 600;
    color: #fff !important;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    margin: 0 10px;
    position: relative;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.7) !important;
    transition: all 0.3s ease;
}

/* Soulignement animé à la taille du texte */
.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: #ffc107;
    transition: width 0.4s ease, left 0.4s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    left: 0;
}

.nav-link:hover {
    color: #fff !important;
    padding-bottom: 10px;
    transform: translateY(-1px);
}

.nav-link.active,
.nav-link[aria-current="page"] {
    color: #fff !important;
    font-weight: 600;
}
.navbar .container {
    padding-left: 0rem;
    padding-right: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }
    .navbar .container {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
}


/* PERSONNALISATION DU BURGER */
.custom-toggler {
    border: none;
    background: transparent;
    padding: 6px;
    position: relative;
    width: 40px;
    height: 32px;
    z-index: 1001;
}

.burger-line {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: 0.4s ease;
    left: 0;
}

.burger-line.top    { top: 6px; }
.burger-line.middle { top: 14px; }
.burger-line.bottom { top: 22px; }

/* Animation CROIX personnalisée */
.custom-toggler .burger-line {
    transition: 0.4s ease;
}

.custom-toggler.open .top {
    transform: rotate(45deg) translateY(8px);
}

.custom-toggler.open .middle {
    opacity: 0;
}

.custom-toggler.open .bottom {
    transform: rotate(-45deg) translateY(-8px);
}

.custom-toggler:focus {
    outline: none;
    box-shadow: none;
}

/* ANIMATION DU MENU */
@media (max-width: 991.98px) {
    .navbar-collapse {
        transition: max-height 0.5s ease, opacity 0.4s ease;
    }

    .navbar-collapse.collapse:not(.show) {
        display: block !important;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
    }

    .navbar-collapse.show {
        max-height: 400px;
        opacity: 1;
        transition: max-height 0.5s ease-in, opacity 0.4s ease-in;
    }
}







/* HERO SECTION - mise à jour */
.hero-section {
    position: relative;
    height: 100vh;
    margin: 0;
    padding: 0;
    background-image: url('/assets/img/hero-hotel.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: none;
    box-shadow: none;
    animation: fadeHero 1s ease-in forwards;
}
@keyframes fadeHero {
  from {
    filter: blur(3px);
    opacity: 0.7;
  }
  to {
    filter: none;
    opacity: 1;
  }
}
/* Overlay foncé */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}


/* Contenu central */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    text-align: center;
}

/* Typo & animation */
.hero-content h1,
.hero-content p,
.hero-content a {
    transition: all 0.5s ease-in-out;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
}

.hero-content p {
    font-size: 1.2rem;
    color: #f1f1f1;
}

.hero-content a.btn {
    font-weight: 600;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        height: 90vh;
        border-radius: 0;
        box-shadow: none;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}


.expertises-section {
    background-color: #f8f9fa;
}

.expertises-section h2 {
    font-size: 2.5rem;
    color: #222;
}

.expertise-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.icon {
    transition: transform 0.4s;
}

.expertise-card:hover .icon {
    transform: scale(1.1) rotate(5deg);
}



.realisations-section {
    background-color: #ffffff;
}

.realisations-section h2 {
    color: #222;
    font-size: 2.5rem;
}

.realisation-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.realisation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.realisation-card img {
    height: 200px;
    object-fit: cover;
}

.realisation-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.realisation-card img {
    width: 100%;
    flex-shrink: 0;
}

.realisation-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.realisation-card .card-text {
    margin-top: auto; /* pousse le texte vers le bas */
}

.btn-outline-primary {
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: #0d6efd;
  color: #fff;
}

/* Conteneur des images */
.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Image */
.image-wrapper img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: brightness(1);
  border-radius: 12px;
}

/* Hover : effet zoom + reflet traversant */
.image-wrapper:hover img {
  transform: scale(1.06);
}

/* Reflet lumineux qui glisse */
.image-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  transform: skewX(-20deg);
  transition: left 0.7s ease;
  pointer-events: none;
}

.image-wrapper:hover::before {
  left: 120%;
}

/* Légère ombre au hover */
.image-wrapper:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .image-wrapper img {
    height: 220px;
  }
}
.interieurs-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Soulignement animé sous le titre */
.interieurs-section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 10px auto 0;
  background: #ffc107;
  animation: underlineSlide 1s ease forwards;
}

@keyframes underlineSlide {
  0% {
    transform: scaleX(0);
    transform-origin: center;
  }
  100% {
    transform: scaleX(1);
    transform-origin: center;
  }
}


.temoignages-section {
    background-color: #f9f9f9;
}

.temoignages-section h2 {
    font-size: 2.5rem;
    color: #222;
    font-family: 'Playfair Display', serif;
}

.temoignage-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

.temoignage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.temoignage-card p {
    font-style: italic;
    font-size: 1rem;
    color: #555;
}


.blog-section h2 {
    font-size: 2.5rem;
    color: #222;
    font-family: 'Playfair Display', serif;
}

.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    height: 200px;
    object-fit: cover;
}



.contact-section h2 {
    font-size: 2.5rem;
    color: #222;
    font-family: 'Playfair Display', serif;
}

.map-container iframe {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

form input, form textarea {
    border-radius: 6px;
    transition: 0.3s ease;
}

form input:focus, form textarea:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

form button {
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #084298;
}



.article-section h1 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
}

.article-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.article-section h3 {
    color: #0d6efd;
    font-size: 1.4rem;
}

.article-section img {
    object-fit: cover;
    width: 100%;
}



.blog-list-section h1 {
    font-size: 2.5rem;
    color: #222;
    font-family: 'Playfair Display', serif;
}

.blog-card img {
    height: 240px;
    object-fit: cover;
}

.pagination .page-link {
    border-radius: 5px;
    color: #0d6efd;
    margin-right: 10px;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

/* SECTION GÉNÉRALE */
.about-section h1,
.valeurs-section h2,
.timeline-section h2 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    color: #222;
}

/* TITRES INTERNES */
.about-section h3,
.mission-section h4,
.vision-section h4,
.approche-section h4 {
    font-size: 1.5rem;
    color: #0d6efd;
}

/* PARAGRAPHES */
.about-section p,
.mission-section p,
.vision-section p,
.approche-section p,
.valeurs-section p {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.7;
}

/* IMAGES */
.about-section img,
.mission-section img,
.vision-section img,
.approche-section img {
    max-height: 400px;
    object-fit: cover;
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

section img:hover {
    transform: scale(1.02) rotate(-0.5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* VALEURS */
.valeurs-section .bi {
    transition: transform 0.3s ease;
}

.valeurs-section .bi:hover {
    transform: scale(1.2);
}

.valeurs-section .p-4 {
    background-color: #fff;
    transition: box-shadow 0.3s ease;
}

.valeurs-section .p-4:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* TIMELINE */
.timeline {
    position: relative;
    margin: 0 auto;
    padding: 0;
    max-width: 800px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 4px;
    background: #0d6efd;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-item .content {
    background: white;
    border: 1px solid #ddd;
    padding: 15px 20px;
    border-radius: 6px;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.timeline-item.left .content::after {
    content: "";
    position: absolute;
    top: 15px;
    right: -10px;
    border: 10px solid transparent;
    border-left-color: white;
}

.timeline-item.right .content::after {
    content: "";
    position: absolute;
    top: 15px;
    left: -10px;
    border: 10px solid transparent;
    border-right-color: white;
}

/* RESPONSIVE TIMELINE */
@media (max-width: 768px) {
    .timeline::before {
        left: 8px;
    }

    .timeline-item,
    .timeline-item.left,
    .timeline-item.right {
        width: 100%;
        padding-left: 30px;
        text-align: left;
    }

    .timeline-item.left .content::after,
    .timeline-item.right .content::after {
        left: -10px;
        right: auto;
        border: 10px solid transparent;
        border-right-color: white;
    }
}

/* ANIMATION DE SECTIONS */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

.aos-animate[data-aos] {
    opacity: 1;
}


.expertise-services .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

.expertise-services .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.cta-contact {
    background: linear-gradient(45deg, #0d6efd, #0a58ca);
}

.process-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.3rem;
  color: #222;
}

.process-step {
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 10px 20px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.process-step h6 {
  font-size: 1rem;
  margin-top: 10px;
}

.process-step p {
  font-size: 0.85rem;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .process-step {
    margin-bottom: 20px;
  }
}



.realisations-header h1 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    color: #222;
}
.realisations-grid .card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.realisations-grid .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  z-index: 2;
}

.realisations-grid .card-img-top {
  transition: transform 0.6s ease;
}

/* Hover effet premium */
.realisations-grid .card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.realisations-grid .card:hover::before {
  left: 120%;
}

.realisations-grid .card:hover .card-img-top {
  transform: scale(1.05);
}

.card-img-container.keep-original img {
  object-fit: contain !important;
  background-color: #f8f9fa; /* fond clair si bords apparaissent */
  height: 200px; /* même hauteur que les autres */
  width: 100%;
}

.temoignages-header h1 {
    font-size: 2.4rem;
    font-family: 'Playfair Display', serif;
    color: #222;
}

.testimonial-card {
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

.testimonial-card small {
    font-size: 0.9rem;
    color: #777;
}

.testimonial-carousel-item {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px 30px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    transition: all 0.5s ease;
}

.testimonial-carousel-item p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.7;
}

.testimonial-carousel-item h6 {
    font-weight: bold;
    margin-top: 20px;
    color: #0d6efd;
}




.contact-form-section form {
  background: #f9f9f9;
  border-radius: 10px;
}

.contact-form-section .form-control {
  border-radius: 6px;
}

.contact-form-section button {
  border-radius: 6px;
  font-weight: bold;
}

.map-container iframe {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 400px;
}


/* Assure la pleine hauteur à gauche et à droite */
.map-container,
#contactForm {
  min-height: 100%;
}

/* Forcer la hauteur identique sur desktop */
@media (min-width: 992px) {
  .contact-form-section .row {
    min-height: 450px;
  }
}
