@charset "utf-8";

:root {
  --gallery-blue-dark: #003b71;
  --gallery-blue: #005fae;
  --gallery-blue-soft: #eaf4fc;
  --gallery-text: #182f45;
  --gallery-muted: #52647a;
  --gallery-border: #d7e3f1;
  --gallery-bg: #f6f9fc;
  --gallery-white: #ffffff;
  --gallery-shadow: 0 16px 40px rgba(0, 59, 113, 0.12);
  --gallery-shadow-soft: 0 10px 28px rgba(0, 59, 113, 0.08);
  --gallery-radius: 18px;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--gallery-bg);
}

.gallery-hero {
  background:
    linear-gradient(135deg, rgba(0, 59, 113, 0.96), rgba(0, 95, 174, 0.9)),
    radial-gradient(
      circle at top right,
      rgba(255, 255, 255, 0.18),
      transparent 32%
    );
  color: #ffffff;
  padding: 72px 0 64px;
  text-align: center;
}

.gallery-hero__content {
  max-width: 900px;
  margin: 0 auto;
}

.gallery-hero .eyebrow {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.gallery-hero h1 {
  margin: 0 0 12px;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.1;
  color: #ffffff;
}

.gallery-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.86);
}

.gallery-section {
  padding: 52px 0 78px;
}

.gallery-heading {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.gallery-heading .eyebrow {
  margin: 0 0 8px;
  color: var(--gallery-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.gallery-heading h2 {
  margin: 0;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.1;
  color: var(--gallery-blue-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--gallery-border);
  border-radius: var(--gallery-radius);
  background: var(--gallery-white);
  box-shadow: var(--gallery-shadow-soft);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.gallery-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 95, 174, 0.35);
  box-shadow: var(--gallery-shadow);
}

.gallery-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .gallery-hero {
    padding: 44px 0 34px;
  }

  .gallery-section {
    padding: 38px 0 58px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card img {
    height: 240px;
  }
}

@media (max-width: 480px) {
  .gallery-hero h1 {
    font-size: 32px;
  }

  .gallery-heading h2 {
    font-size: 29px;
  }

  .gallery-card {
    border-radius: 16px;
  }

  .gallery-card img {
    height: 220px;
  }
}
