body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f3f7f7;
  color: #033e49;
}

.intro-box {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 109, 117, 0.2);
  padding: 1.5rem 2rem;
  margin: 2.5rem auto 1.5rem;
  border-radius: 20px;
  width: 680px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(8px);
}

.intro-box h1 {
  font-size: 1.5rem;
  margin: 0;
  color: #116072;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  padding-bottom: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 10px;
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(45, 144, 166, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
  text-decoration: none;
}

.card:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(45, 144, 166, 0.5);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card .overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: #2d90a6;
  color: white;
  text-align: center;
  padding: 0.8rem;
  font-size: 1.1rem;
  font-weight: 500;
  box-sizing: border-box;
}

.wide-card-container {
  max-width: 1200px;
  margin: 0 auto 10px;
  margin-bottom: 80px;
  padding: 0 2rem;
}

.wide-card {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(45, 144, 166, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
  text-decoration: none;
}

.wide-card:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(45, 144, 166, 0.5);
}

.wide-card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.wide-card .overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(45, 144, 166, 0.95);
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 1.3rem;
  font-weight: 500;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

@media (min-width: 750px) and (max-width: 1200px) {
  .intro-box {
    width: 310px;
    padding: 15px 5px;
    margin: 1.5rem 1rem;
    border-radius: 8px;
  }

  .intro-box h1 {
    font-size: 1.05rem;
    line-height: 1.2;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 749px) {
  .intro-box {
    width: 310px;
    padding: 15px 5px;
    margin: 1.5rem 1rem;
    border-radius: 8px;
  }

  .intro-box h1 {
    font-size: 1.05rem;
    line-height: 1.2;
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0px;
  }

  .card img {
    height: 180px;
  }

  .wide-card-container {
    padding-top: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
    margin-top: 0px;
    margin: 0 auto 70px;
    box-sizing: border-box;
  }

  .wide-card {
    border-radius: 16px;
    overflow: hidden;
  }

  .wide-card img {
    height: 180px;
    width: 100%;
  }

  .wide-card .overlay {
    font-size: 1.1rem;
  }

  .wide-card:hover {
    transform: scale(1.04);
  }
}