/* =========================================================
   FIE GALLERY PAGE
   Gallery-specific styles
   ========================================================= */

.gallery-page {
  background: #e9f0ff;
}

/* ---------------------------------------------------------
   Gallery Hero
   --------------------------------------------------------- */

.gallery-hero {
  height: 352px;
  background-image: url(/assets/Gallery-hero.png);
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 42px;
}

.gallery-hero-title {
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -1px;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.28);
}

/* ---------------------------------------------------------
   Gallery Section
   --------------------------------------------------------- */

.gallery-section {
  padding: 55px 0 90px;
}

.gallery-section-title {
  margin-bottom: 42px;
}

.gallery-section-title span {
  color: #0645a6;
}

.gallery-section-title h1 {
  margin-bottom: 14px;
}

.gallery-section-title p {
  max-width: 700px;
}

/* ---------------------------------------------------------
   Gallery Grid
   Desktop: 2 images in one row
   --------------------------------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.gallery-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(22, 42, 75, 0.08);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(22, 42, 75, 0.14);
}

/* ---------------------------------------------------------
   Gallery Image
   --------------------------------------------------------- */

.gallery-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dfe7f4;
}

.gallery-image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-card:hover .gallery-image-wrap img {
  transform: scale(1.035);
}

/* ---------------------------------------------------------
   Gallery Text
   --------------------------------------------------------- */

.gallery-content {
  padding: 25px 28px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gallery-content h2 {
  margin: 0 0 12px;
  color: #72133f;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
}

.gallery-content p {
  margin: 0;
  color: #4d5664;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 400;
}

/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media (max-width: 1000px) {
  .gallery-section {
    padding: 45px 0 70px;
  }

  .gallery-grid {
    gap: 22px;
  }

  .gallery-content {
    padding: 22px 22px 26px;
  }

  .gallery-content h2 {
    font-size: 20px;
  }

  .gallery-content p {
    font-size: 14px;
  }
}

/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 760px) {
  .gallery-hero {
    height: 300px;
    padding-bottom: 30px;
  }

  .gallery-hero-title {
    font-size: 48px;
  }

  .gallery-section {
    padding: 38px 0 55px;
  }

  .gallery-section-title {
    margin-bottom: 30px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .gallery-image-wrap {
    aspect-ratio: 16 / 10;
  }

  .gallery-content {
    padding: 20px 20px 24px;
  }

  .gallery-content h2 {
    font-size: 19px;
  }

  .gallery-content p {
    font-size: 14px;
    line-height: 1.6;
  }
}

/* ---------------------------------------------------------
   Small Mobile
   --------------------------------------------------------- */

@media (max-width: 430px) {
  .gallery-hero {
    height: 270px;
  }

  .gallery-hero-title {
    font-size: 40px;
  }

  .gallery-section {
    padding-top: 30px;
  }

  .gallery-grid {
    gap: 18px;
  }

  .gallery-card {
    border-radius: 16px;
  }

  .gallery-content {
    padding: 18px 17px 22px;
  }

  .gallery-content h2 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .gallery-content p {
    font-size: 13px;
    line-height: 1.55;
  }
}


/* ==========================================================
   LARGE DESKTOP / 4K DISPLAY RESPONSIVE OVERRIDES
   Keeps the design comfortable on 1920px, 2560px and 4K
   displays without changing the mobile breakpoints above.
   ========================================================== */

/* 1920px+ desktop */
@media (min-width: 1920px) {
    .container {
        width: min(84%, 1500px);
    }

    .gallery-hero {
        height: 560px;
    }

    .site-header {
        width: 90%;
    }

    .gallery-hero-title {
        padding-top: 75px;
    }

    .nav-wrap {
        min-height: 74px;
        padding: 0 14px 0 22px;
        gap: 28px;
    }

  

    .footer-inner p {
        font-size: 16px;
    }
}