body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f9fdfd;
  color: #1f2d2a;
}

/* ================= HEADER ================= */
header {
  background: linear-gradient(90deg, #0f4c81cc, #1abc9ccc);
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  color: #fff;
  will-change: backdrop-filter, background;
}

header h1 {
  margin: 0;
  font-weight: 600;
  font-size: 22px;
}

nav a {
  color: #eafaf7;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: #1abc9c;
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* ================= HERO ================= */
.hero {
  height: 70vh;
  background: linear-gradient(rgba(15,76,129,0.3), rgba(26,188,156,0.3)),
              url('https://source.unsplash.com/1600x900/?nature,water')
              center/cover no-repeat;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero h2 {
  font-size: 42px;
  font-weight: 600;
  background: rgba(255,255,255,0.15);
  padding: 15px 25px;
  border-radius: 10px;
  margin-bottom: 15px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero {
  gap: 10px; /* adds spacing between items */
}

/* ================= BUTTON ================= */
.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 28px;
  background: linear-gradient(90deg, #1abc9c, #16a085);
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(26,188,156,0.3);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(26,188,156,0.4);
  background: linear-gradient(90deg, #16a085, #1abc9c);
}

/* ================= SECTIONS ================= */
section {
  padding: 60px 50px;
  max-width: 1100px;
  margin: auto;
}

h2 {
  font-size: 26px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #0f4c81;
}

#about p {
  line-height: 1.8;
  color: #3b5a54;
}

/* ================= GALLERY ================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(26,188,156,0.15);
}

.gallery-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ================= SERVICES ================= */
#services ul {
  list-style: none;
  padding: 0;
}

#services li {
  padding: 15px;
  margin-bottom: 15px;
  background: #ffffff;
  border-left: 4px solid #1abc9c;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(15,76,129,0.05);
}

/* ================= CONTACT ================= */
#contact p {
  margin: 10px 0;
  color: #2f3e3b;
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: 25px;
  background: #0f4c81;
  color: #dff6f2;
  font-size: 14px;
}

/* ================= LIGHTBOX ================= */
#lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

#lightbox img {
  max-width: 85%;
  max-height: 75%;
  border-radius: 10px;
}

/* ================= BLUR EFFECT ================= */
#main-content.blur {
  filter: blur(8px);
  transition: filter 0.3s ease;
  pointer-events: none;
}

/* ================= SCROLL ================= */
html {
  scroll-behavior: smooth;
}

header.scrolled {
  backdrop-filter: blur(10px);
  background: rgba(15,76,129,0.6);
  transition: backdrop-filter 0.3s, background 0.3s;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px;
  }

  header h1 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }

  nav a {
    margin: 5px 10px 5px 0;
    font-size: 14px;
  }

  .hero {
    height: 50vh;
    padding: 0 20px;
  }

  .hero h2 {
    font-size: 28px;
    padding: 10px 15px;
  }

  section {
    padding: 40px 20px;
  }

  h2 {
    font-size: 22px;
  }

  #about p {
    font-size: 14px;
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gallery img {
    height: auto;
  }

  #services li {
    padding: 12px;
    font-size: 14px;
  }

  footer {
    font-size: 12px;
    padding: 20px 10px;
  }
}

@media (max-width: 480px) {

  .hero h2 {
    font-size: 22px;
  }

  nav a {
    font-size: 12px;
    margin: 3px 5px;
  }

  section {
    padding: 30px 15px;
  }
}