@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --navy: #17334a;
  --teal: #147d83;
  --orange: #eaa34c;
  --cream: #fff9f0;
  --text: #33465a;
  --muted: #6d7b87;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: 'DM Sans', Arial, sans-serif;
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
}

a { color: inherit; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px max(5%, calc((100% - 1200px)/2));
  background: white;
  box-shadow: 0 2px 15px #17334a0d;
}

.brand {
  font-weight: 700;
  font-size: 21px;
  text-decoration: none;
  color: var(--navy);
}

.brand span { color: var(--teal); }

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

nav a:hover,
nav a[aria-current="page"] { color: var(--teal); }

.hero {
  padding: 105px 24px;
  text-align: center;
  background: linear-gradient(135deg, #e5f4ed, #fff1d9);
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--teal);
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  margin: 18px auto;
}

.hero h1 em {
  color: var(--teal);
  font-weight: 500;
}

.hero p {
  max-width: 650px;
  margin: 0 auto 30px;
  font-size: 18px;
}

.button {
  display: inline-block;
  padding: 13px 27px;
  border-radius: 30px;
  background: var(--teal);
  color: white;
  text-decoration: none;
  font-weight: 700;
  transition: background .2s, transform .2s;
}

.button:hover {
  background: var(--navy);
  transform: translateY(-2px);
}

.wrap {
  max-width: 1200px;
  margin: auto;
  padding: 45px 24px 80px;
}

.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 60px;
}

.tabs button {
  padding: 11px 19px;
  border: 1px solid #d8e3e1;
  border-radius: 25px;
  background: white;
  color: var(--navy);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.tabs button.active,
.tabs button:hover {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

.intro {
  text-align: center;
  margin-bottom: 35px;
}

.intro h2,
.feature h2,
.events h2,
.tip h2 {
  font-size: clamp(29px, 4vw, 43px);
  margin: 12px 0;
}

.intro > p:last-child {
  color: var(--muted);
  max-width: 700px;
  margin: auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 28px #17334a12;
  transition: transform .2s;
}

.card:hover { transform: translateY(-4px); }

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

.card-body { padding: 24px; }

.card h3 {
  margin: 10px 0;
  font-size: 23px;
}

.card p {
  margin: 0 0 18px;
  font-size: 14px;
}

.card a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}

.card .tag {
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.feature, .events, .tip {
  margin-top: 75px;
  padding: 55px;
  border-radius: 22px;
}

.feature {
  background: linear-gradient(125deg, #d5f1f0, #e9f8f5);
}

.events { background: #fff0d9; }

.tip { background: #e8eee7; }

.feature p, .events p, .tip p {
  max-width: 780px;
}

.eventlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.eventlinks a {
  padding: 12px 19px;
  border-radius: 25px;
  background: white;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}

footer {
  padding: 35px 20px;
  text-align: center;
  background: var(--navy);
  color: white;
  font-size: 13px;
}

footer a { color: #b9f0e9; }

@media (max-width: 850px) {
  .cards { grid-template-columns: repeat(2, 1fr); }

  header {
    flex-direction: column;
    text-align: center;
  }

  nav { justify-content: center; }
}

@media (max-width: 600px) {
  .hero { padding: 70px 20px; }

  .cards { grid-template-columns: 1fr; }

  .feature, .events, .tip {
    padding: 30px 24px;
    margin-top: 45px;
  }

  .wrap { padding: 35px 18px 60px; }
}

/* Explore photo attributions */

.photo-licenses { margin-top: 32px; color: var(--muted); font-size: 12px; }
.photo-licenses a { color: var(--teal); }

.photo-licenses { border-top: 1px solid #d8e3e1; padding-top: 24px; }
.photo-licenses h2 { font-size: 22px; margin: 0 0 12px; }
.photo-licenses ol { columns: 2; column-gap: 36px; padding-left: 22px; margin: 0 0 20px; }
.photo-licenses li { break-inside: avoid; margin-bottom: 9px; line-height: 1.5; }
.photo-licenses li a { text-decoration: underline; }
@media (max-width: 600px) { .photo-licenses ol { columns: 1; } }
