/* =========================================================
   GALLERY HERO
   ========================================================= */

html {
  scroll-behavior: smooth;
}

.gallery-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background:
    linear-gradient(rgba(20, 0, 120, 0.88), rgba(0, 55, 170, 0.88)),
    url("../images/pratical-img8.jpeg") center/cover no-repeat;

  overflow: hidden;
}

/* Subtle decorative glow */
.gallery-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -180px;
  right: -100px;
}

.gallery-hero::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 165, 0, 0.08);
  bottom: -150px;
  left: -100px;
}

.gallery-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 0, 150, 0.15),
    rgba(0, 90, 190, 0.2)
  );
}

.gallery-hero-content {
  position: relative;
  z-index: 2;

  width: min(900px, 90%);
  margin: 0 auto;
  padding: 80px 20px;
}

/* Small label */

.gallery-hero-tag {
  display: inline-block;

  padding: 8px 18px;
  margin-bottom: 22px;

  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;

  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

/* Main heading */

.gallery-hero h1 {
  margin: 0 auto 20px;

  max-width: 800px;

  color: #ffffff;

  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -1px;
}

/* Description */

.gallery-hero p {
  max-width: 700px;
  margin: 0 auto;

  color: rgba(255, 255, 255, 0.88);

  font-size: 1.1rem;
  line-height: 1.8;
}

/* Buttons */

.gallery-hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;

  margin-top: 35px;

  flex-wrap: wrap;
}

.gallery-btn-primary,
.gallery-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  padding: 13px 24px;

  border-radius: 8px;

  text-decoration: none;
  font-weight: 600;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

/* Primary */

.gallery-btn-primary {
  color: #ffffff;

  background: #f28c28;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-btn-primary:hover {
  transform: translateY(-3px);

  background: #ff9f3f;

  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

/* Secondary */

.gallery-btn-secondary {
  color: #ffffff;

  border: 1px solid rgba(255, 255, 255, 0.55);

  background: rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(8px);
}

.gallery-btn-secondary:hover {
  transform: translateY(-3px);

  background: rgba(255, 255, 255, 0.18);
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {
  .gallery-hero {
    min-height: 480px;
  }

  .gallery-hero-content {
    padding: 70px 15px;
  }

  .gallery-hero h1 {
    font-size: 2.7rem;
  }

  .gallery-hero p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .gallery-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .gallery-btn-primary,
  .gallery-btn-secondary {
    width: 100%;
    max-width: 280px;
  }
}
