* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #0d2033;
  background: #ffffff;
}

/* =========================
   HEADER SECTION
   ========================= */
header {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  background: url('/images/obx-boat-rides-best-boat-rentals-tours-in-outer-banks-nc.png') center/cover no-repeat;
}

header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, gold 0%, black 70%);
  opacity: 0.55;
}

header .hero {
  position: relative;
  z-index: 2;
  padding: 0 1rem;
  max-width: 1000px;
}

header h1 {
  font-size: 3.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  text-shadow: 0 3px 8px #000000;
}

header p {
  font-size: 1.2rem;
  max-width: 760px;
  margin: 0 auto 2rem;
  text-shadow: 0 2px 5px #000000;
}

.header-cta {
  display: inline-block;
  background: #f8c25c;
  color: #111111;
  padding: 0.9rem 1.8rem;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 4px 10px #000000;
}

.header-cta:hover {
  background: #ffd876;
  transform: translateY(-2px);
}

/* =========================
   PAGE BACKGROUND BELOW HEADER
   ========================= */
main {
  background-color: lightblue;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* =========================
   SECTIONS
   ========================= */
section {
  padding: 3.5rem 1.25rem;
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  color: #000000;
}

h2.section-title {
  font-size: 2rem;
  color: gold;
  text-align: center;
  margin: 0 0 1.75rem;
}

.subtle {
  color: #333333;
  text-align: center;
  margin-top: -0.5rem;
  margin-bottom: 2rem;
}

/* =========================
   DIRECTORY CARDS
   ========================= */
.grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.card {
  background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
  color: #000000;
  border: 1px solid #d7e3f0;
  border-radius: 12px;
  box-shadow: 0 6px 18px #b5cbe0;
  padding: 1.25rem;
  transition: all 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px #a0bcd8;
}

.card.featured {
  border: 2px solid #f8c25c;
  background: linear-gradient(180deg, #ffffff 0%, #fff9e6 100%);
}

.row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.icon-badge {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 12px;
  background: #f0f8ff;
  display: grid;
  place-items: center;
  color: #0057b8;
  font-size: 1.25rem;
}

.title-area {
  flex: 1 1 auto;
  min-width: 220px;
}

.title-area h3 {
  margin: 0.1rem 0 0;
  font-size: 1.2rem;
  color: #0057b8;
}

.title-area .rating {
  margin-top: 0.15rem;
  font-size: 0.95rem;
  color: #f8c25c;
}

.desc {
  margin: 0.75rem 0 1rem;
  color: #000000;
  line-height: 1.6;
}

.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.visit {
  background: #0057b8;
  color: #ffffff;
  text-decoration: none;
  padding: 0.6rem 1.1rem;
  border-radius: 24px;
  font-weight: 600;
  transition: 0.25s;
}

.visit:hover {
  background: #003f87;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-top: 0.35rem;
}

.badge.top { background: #fff3c4; color: #604800; }
.badge.choice { background: #c8ffe0; color: #024b2c; }

.hr {
  height: 1px;
  background: linear-gradient(90deg, #004080, #ffffff, #004080);
  margin: 3rem 0;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #001f3f;
  color: #cfe7fb;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

footer a {
  color: #0057b8;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
