/* GENERAL STYLING */
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  scroll-behavior: smooth;
  background-color: #1a1a1a;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* HERO SECTION */
#hero {
  background: url("Images/nz-ocean-pic.jpg") center/cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center; /* vertical center */
  justify-content: center;
  position: relative;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
}

#hero .container h1 {
  max-width: 900px;
}

#hero .container p {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* SECTIONS */
.section-centered {
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertically center content */
  align-items: center;
  padding-top: 5rem; /* slightly smaller */
  padding-bottom: 5rem;
  min-height: 55vh; /* slightly smaller */
}

/* Section background colors */
#about {
  background-color: #1a1a1a;
}
#what-we-do {
  background-color: #2c2c2c;
}
#recent-work {
  background-color: #f8f9fa;
  color: #000;
}

/* CARDS */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* FOOTER */
footer {
  flex-shrink: 0;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  #hero .container h1 {
    font-size: 2.2rem;
  }
  #hero .container p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .section-centered {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}
