@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Allura&display=swap');
    
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
}

body {
  background: #ffffff;
}

main {
  margin: 0 auto;
}

.title {
  font-family: "Allura", cursive;
  color: #00304f;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 24px;
}

footer {
  background: #024d73;
  color: white;
  padding: 20px 0;
}

/* Flyer */
.flyer {
  width: 100%;
  display: block;
  margin: 0 auto;
}


    /* Vidéo */
.video-section{
    width:100%;
        background:
    linear-gradient(
        180deg,
        #00304f 0%,
        #024d73 60%,
        #ffffff 100%
    );
    display:flex;
    justify-content:center;
    align-items:center;
    padding:60px 20px;
}

.background-video{
    width:100%;
    max-width:300px;
    border-radius:24px;
    box-shadow:0 15px 40px rgba(0,0,0,0.35);
}


/* Services Section */
.service-card{
    background:#f1f1f4;
    border-radius:16px;

    padding:16px;

    display:flex;
    align-items:center;
    gap:12px;

    height:100%;
}

.service-card i{
    font-size:16px;
    color:#00304f;

    flex-shrink:0;
}

.service-card span{
    font-size:16px;
    font-weight:500;
    color:#111;

    line-height:1.3;
}

/* Buttons */
    .phone-btn, .photo-btn{
      display: inline-flex;
      align-items: center;
      justify-content: center;

      background: #dc7e15;
      opacity: 0.8;
      color: white;

      padding: 12px 22px;
      border-radius: 999px;

      font-size: 24px;
      font-weight: 700;
      text-decoration: none;

      transition: 0.2s ease;
    }

    .phone-btn:hover, .photo-btn:hover {
      background: #b96b12;
      transform: translateY(-1px);
    }

.return-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 16px;
    border-radius: 8px;

    border: 2px solid #dc7e15;
    background: transparent;

    color: #dc7e15;
    text-decoration: none;

    font-weight: 500;

    transition: all 0.25s ease;
}

/* HOVER */
.return-btn:hover {
    background-color: #dc7e15;
    color: #fff;

    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 126, 21, 0.35);
}


/* Galerie photos */
.gallery-photo{
    width:100%;
    height:300px;

    object-fit:cover;

    border-radius:20px;

    display:block;

    transition:0.3s ease;
}

.gallery-photo:hover{
    transform:scale(1.02);
}


/* =========================
   PAGE GALERIE UNIQUEMENT
========================= */

body.gallery-page {
    background-color: #024d73;
}

/* =========================
   HEADER
========================= */

body.gallery-page .title {
    color: white;
}

/* =========================
   BOUTON RETOUR
========================= */

.return-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 16px;
    border-radius: 8px;

    border: 2px solid #dc7e15;
    background: transparent;

    color: #dc7e15;
    text-decoration: none;
    font-weight: 500;

    transition: all 0.25s ease;
}

.return-btn:hover {
    background-color: #dc7e15;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 126, 21, 0.35);
}

/* =========================
   CARTE IMAGE
========================= */

.gallery-card {
    background: white;
    padding: 6px;
    border-radius: 12px;
    margin-bottom: 20px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

/* IMAGE UNIFORME */
.gallery-item {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;

    border-radius: 10px;
    cursor: pointer;

    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

/* animation scroll */
.gallery-item.show {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:hover {
    transform: scale(1.03);
}

/* =========================
   LIGHTBOX
========================= */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);

    display: none;
    justify-content: center;
    align-items: center;

    z-index: 9999;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;

    border-radius: 12px;
    transition: transform 0.2s ease;

    cursor: zoom-in;
}

.lightbox-img.zoomed {
    transform: scale(1.8);
    cursor: zoom-out;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;

    font-size: 40px;
    color: white;

    cursor: pointer;
    user-select: none;
}