/* ========== BRAND COLOURS ==========
   Change these once and the whole site updates. */
:root {
  --red: #c4161c;
  --red-dark: #9e1015;
  --black: #111111;
  --grey-bg: #f5f5f5;
  --text: #222222;
  --white: #ffffff;
}

/* ========== BASICS ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px;
}

.red {
  color: var(--red);
}

h1, h2, h3 {
  line-height: 1.2;
}

h2 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 32px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--red-dark);
}

.btn-small {
  padding: 8px 18px;
  font-size: 0.9rem;
}

/* ========== HEADER ========== */
.site-header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo img {
  height: 50px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--red);
}

.main-nav a.btn {
  color: var(--white);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ========== HERO ========== */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: var(--white);
  /* dark overlay on top of the photo so the text is readable */
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("images/hero.jpg") center / cover no-repeat,
    var(--black);
}

.hero h1 {
  font-size: 2.8rem;
  max-width: 650px;
  margin-bottom: 12px;
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 24px;
}

/* ========== SECTIONS ========== */
.section {
  padding: 70px 0;
}

.section-grey {
  background: var(--grey-bg);
}

/* ========== CARDS ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #ddd;
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  margin-bottom: 4px;
}

.price {
  color: var(--red);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 8px 0 14px;
}

/* ========== REVIEWS ========== */
.review {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.stars {
  color: #f5a623;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.review cite {
  display: block;
  margin-top: 12px;
  font-weight: 700;
  font-style: normal;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--black);
  color: #ccc;
  padding: 50px 0 20px;
  font-size: 0.9rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.site-footer h4 {
  color: var(--white);
  margin-bottom: 10px;
}

.site-footer a {
  color: #ccc;
}

.site-footer a:hover {
  color: var(--red);
}

.copyright {
  text-align: center;
  margin-top: 40px;
  font-size: 0.8rem;
  color: #888;
}

/* ========== PAGE BANNER (smaller hero for inner pages) ========== */
.page-hero {
  min-height: 45vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    var(--hero-img, none) center / cover no-repeat,
    var(--black);
}

.page-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 8px;
}

.overview {
  max-width: 800px;
  text-align: center;
}

.overview h2 {
  margin-bottom: 16px;
}

/* ========== TRIP CARDS (photo with text on top) ========== */
.trip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.trip-card {
  position: relative;
  display: block;
  height: 380px;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--white);
  background: #444;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.trip-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
  color: transparent; /* hides the alt text if a photo is missing */
}

/* photo zooms in slightly when you hover */
.trip-card:hover img {
  transform: scale(1.06);
}

/* dark fade at the bottom so the white text is readable */
.trip-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, transparent 35%, rgba(0, 0, 0, 0.8) 100%);
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  background: var(--black);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-open {
  background: var(--red);
}

.trip-info {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
}

.trip-info h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.trip-price {
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 4px;
}

/* ========== CONTACT BOX ========== */
.cta {
  text-align: center;
}

.cta h2 {
  margin-bottom: 8px;
}

.cta p {
  margin-bottom: 24px;
}

/* ========== PACKAGE DETAIL PAGE ========== */
.badge-static {
  position: static;
  display: inline-block;
  margin-bottom: 12px;
  background: var(--red);
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
}

/* two columns: details on the left, booking box on the right */
.package-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

h2.left {
  text-align: left;
  font-size: 1.5rem;
  margin: 36px 0 16px;
}

.package-main > h2.left:first-child {
  margin-top: 0;
}

.include-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.include-box {
  background: var(--grey-bg);
  border-radius: 12px;
  padding: 20px;
}

.include-box h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.include-box ul {
  list-style: none;
}

.include-box li {
  padding: 6px 0;
  border-bottom: 1px solid #e3e3e3;
}

.include-box li:last-child {
  border-bottom: none;
}

.list-yes li::before {
  content: "✓ ";
  color: #1f8a3b;
  font-weight: 700;
}

.list-no li::before {
  content: "✕ ";
  color: var(--red);
  font-weight: 700;
}

/* itinerary */
.day {
  margin-bottom: 28px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e3e3e3;
}

.day-title {
  background: var(--red);
  color: var(--white);
  padding: 12px 20px;
  font-size: 1.05rem;
}

.timeline {
  list-style: none;
}

.timeline li {
  display: flex;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid #eee;
}

.timeline li:last-child {
  border-bottom: none;
}

.timeline time {
  flex: 0 0 85px;
  font-weight: 700;
}

/* booking box stays visible while you scroll (desktop) */
.booking-box {
  position: sticky;
  top: 90px;
  background: var(--white);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  border-top: 5px solid var(--red);
}

.from {
  font-size: 0.85rem;
  color: #666;
}

.big-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 18px;
}

.big-price span {
  font-size: 0.95rem;
  color: #666;
  font-weight: 400;
}

.facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  margin-bottom: 22px;
  font-size: 0.92rem;
}

.facts dt {
  font-weight: 600;
  color: #555;
}

.btn-full {
  display: block;
  text-align: center;
}

.small-note {
  font-size: 0.8rem;
  color: #777;
  margin-top: 10px;
  text-align: center;
}

/* ========== PRICE TABLE ========== */
.table-wrap {
  overflow-x: auto;          /* lets the table scroll sideways on very small phones */
  border-radius: 12px;
  border: 1px solid #e3e3e3;
}

.price-table {
  width: 100%;
  border-collapse: collapse; /* removes the gaps between cells */
  text-align: center;
}

.price-table th {
  background: var(--red);
  color: var(--white);
  padding: 12px;
  font-size: 0.95rem;
}

.price-table td {
  padding: 12px;
  border-top: 1px solid #eee;
}

.price-table td:first-child {
  text-align: left;
  font-weight: 600;
}

/* light grey on every second row, easier to read */
.price-table tbody tr:nth-child(even) {
  background: var(--grey-bg);
}

.table-note {
  font-size: 0.85rem;
  color: #666;
  margin-top: 8px;
}

/* ========== PACKAGE CATEGORIES ========== */
.category {
  margin-bottom: 56px;
  scroll-margin-top: 90px;
}

.category:last-child {
  margin-bottom: 0;
}

.category-title {
  font-size: 1.4rem;
  padding-left: 12px;
  border-left: 5px solid var(--red);  /* red bar beside the title */
  margin-bottom: 6px;
}

.category-desc {
  color: #666;
  margin-bottom: 20px;
}

.table-title {
  font-size: 1.05rem;
  margin: 20px 0 10px;
}

/* ========== ISLAND HOPPING PAGE ========== */
.container.narrow {
  max-width: 860px;
}

.section-intro {
  text-align: center;
  color: #666;
  margin: -20px 0 20px;
}

h2.spaced {
  margin-top: 56px;
}

/* package cards (white boxes with a list) */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.pkg-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border-top: 5px solid var(--red);
}

.pkg-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.pkg-head h4 {
  font-size: 1.1rem;
}

.pkg-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--red);
}

.pkg-card ul {
  list-style: none;
  margin-bottom: 18px;
  flex-grow: 1;            /* pushes the button to the bottom so all buttons line up */
}

.pkg-card li {
  padding: 4px 0;
  font-size: 0.95rem;
}

.pkg-card .btn {
  text-align: center;
}

/* schedule boxes */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.info-box {
  background: var(--grey-bg);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}

.info-box h3 {
  font-size: 0.9rem;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.info-box p {
  font-weight: 600;
}

.terms-list {
  padding-left: 20px;
}

.terms-list li {
  margin-bottom: 8px;
}

/* ========== M.I.C.E PAGE ========== */
.mice-hero {
  min-height: 70vh;
}

.mice-hero p {
  margin-bottom: 24px;
}

/* destination photos: 2 per row on computers, 1 per row on phones */
.dest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.dest-tile {
  position: relative;
  height: 420px;
  border-radius: 14px;
  overflow: hidden;
  background: #444;
}

.dest-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent;
  transition: transform 0.4s;
}

.dest-tile:hover img {
  transform: scale(1.05);
}

/* dark fade at the bottom so the white name is readable */
.dest-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(0, 0, 0, 0.75) 100%);
}

.dest-label {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  color: var(--white);
}

.dest-label span {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ddd;
}

.dest-label h3 {
  font-size: 1.9rem;
  text-transform: uppercase;
  line-height: 1.1;
}

.overview p + p {
  margin-top: 14px;
}

.overview .btn {
  margin-top: 26px;
}

/* ========== ABOUT PAGE ========== */
/* white boxes when they sit on a grey section */
.section-grey .info-box {
  background: var(--white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.mv-box h3 {
  font-size: 1.3rem;
  color: var(--red);
  margin-bottom: 10px;
}

.details-card {
  background: var(--white);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border-top: 5px solid var(--red);
}

.details-card .facts {
  margin-bottom: 0;
  font-size: 1rem;
  gap: 12px 24px;
}

   /* ========== 404 PAGE ========== */
   .notfound {
     min-height: 70vh;
   }

   .notfound-buttons {
     display: flex;
     gap: 14px;
     justify-content: center;
     flex-wrap: wrap;
     margin-top: 26px;
   }

   .btn-outline {
     background: transparent;
     border: 2px solid var(--white);
   }

   .btn-outline:hover {
     background: var(--white);
     color: var(--black);
   }

   /* ========== GOOGLE REVIEW BUTTONS ========== */
.review-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;         /* buttons stack on small phones */
  margin-top: 32px;
}

/* white button with a red border, for light backgrounds */
.btn-outline-red {
  background: var(--white);
  color: var(--red);
  border: 2px solid var(--red);
}

.btn-outline-red:hover {
  background: var(--red);
  color: var(--white);
}

/* ========== DAY HIKE PAGES ========== */
/* the 4 quick-fact boxes at the top (distance, duration, level, fitness) */
.hike-info {
  margin-bottom: 40px;
}

/* "Things to bring" shown as small rounded tags */
.bring-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bring-list li {
  background: var(--grey-bg);
  border: 1px solid #e3e3e3;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.92rem;
}

/* ========== HONEYMOON TIERS (Bronze / Silver / Gold) ========== */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  text-align: center;
}

/* Gold gets a red outline and sits slightly higher */
.tier-card.featured {
  border: 2px solid var(--red);
  transform: translateY(-8px);
}

.tier-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.tier-label {
  display: inline-block;
  align-self: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  padding: 4px 16px;
  border-radius: 20px;
  color: var(--white);
  margin-bottom: 14px;
}

.tier-bronze { background: #a0602c; }
.tier-silver { background: #8c9096; }
.tier-gold   { background: #c49a1c; }

.tier-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1.1;
}

.tier-per {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 18px;
}

.tier-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 22px;
  flex-grow: 1;            /* keeps all Book buttons lined up at the bottom */
}

.tier-card li {
  padding: 6px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

.tier-card li:last-child {
  border-bottom: none;
}

.tier-note {
  text-align: center;
  margin-top: 22px;
}

/* ========== SEMPORNA TIERS (4 cards with mini price tables) ========== */
.tier-grid.four {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.tier-flexi { background: #5f9e45; }

.tier-stay {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.tier-table {
  margin-bottom: 16px;
}

.tier-card .price-table th,
.tier-card .price-table td {
  padding: 7px 4px;
  font-size: 0.8rem;
}

.tier-card .price-table td:first-child {
  text-align: center;
}

/* 4 tiers: 2 per row on tablets */
@media (max-width: 1100px) {
  .tier-grid.four {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 18px;
  }
}

/* ========== MEMBERSHIPS (MATTA / MITA) ========== */
.assoc-title {
  text-align: center;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #666;
  margin: 50px 0 20px;
}

.assoc-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;          /* the two cards stack on small phones */
  gap: 20px;
}

.assoc-card {
  background: var(--white);
  border-radius: 14px;
  padding: 22px 28px;
  width: 240px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.assoc-card img {
  height: 70px;
  width: auto;
  margin: 0 auto 12px;
  object-fit: contain;
}

.assoc-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.assoc-full {
  font-size: 0.85rem;
  color: #666;
}

.assoc-tag {
  display: inline-block;
  margin-top: 10px;
  background: var(--red);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
}

/* licence categories on the MOTAC card */
.licence-types {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.licence-types span {
  border: 1px solid var(--red);
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 20px;
}

/* ========== CERTIFICATE CARDS & POPUP ========== */
/* the cards are buttons now, so remove the normal button look */
button.assoc-card {
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

button.assoc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.assoc-view {
  display: block;
  margin-top: 12px;
  color: var(--red);
  font-weight: 600;
  font-size: 0.85rem;
}

/* the popup */
.cert-dialog {
  border: none;
  border-radius: 14px;
  padding: 20px;
  width: 92vw;
  max-width: 900px;
  margin: auto;
}

/* dark background behind the popup */
.cert-dialog::backdrop {
  background: rgba(0, 0, 0, 0.75);
}

.cert-title {
  font-weight: 700;
  margin: 0 40px 12px 0;
}

.cert-dialog img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #f2f2f2;
  border-radius: 8px;
}

.cert-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #333;
}

.cert-close:hover {
  color: var(--red);
}

/* ========== FULLY BOOKED PACKAGES ========== */
/* photo turns mostly grey so it's clear the package is full */
.trip-card.sold-out img {
  filter: grayscale(75%);
}

/* white badge with red text, so it stands out on the photo */
.badge-full {
  background: var(--white);
  color: var(--red);
}

.full-note {
  background: #fdecec;
  color: var(--red);
  font-weight: 700;
  text-align: center;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 14px;
}

/* ========== PHONES (screens narrower than 900px) ========== */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  /* menu is hidden until the hamburger is tapped */
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--black);
    padding: 20px;
    gap: 16px;
  }

  .main-nav.open {
    display: flex;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 1.8rem;
  }

  .trip-card {
    height: 320px;
  }

  /* package page: one column, booking box first */
  .package-layout {
    grid-template-columns: 1fr;
  }

  .booking-box {
    position: static;
    order: -1;
  }

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

  .section {
    padding: 50px 0;
  }

    /* tighter tables so 4 columns fit on a phone */
  .price-table th,
  .price-table td {
    padding: 10px 6px;
    font-size: 0.85rem;
  }

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

  .dest-tile {
    height: 300px;
  }

  .dest-label h3 {
    font-size: 1.5rem;
  }

  /* honeymoon tiers stack on phones */
  .tier-grid,
  .tier-grid.four {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tier-card.featured {
    transform: none;
  }
}

/* ===================================================
   ANIMATIONS
   Paste this block at the very bottom of style.css.
   =================================================== */

/* Smooth scrolling when a link jumps to a section (like #lite or #about-mice) */
html {
  scroll-behavior: smooth;
}

/* --- 1. Fade-in on scroll (script.js adds these classes) --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* --- 2. Banner text slides up when the page opens --- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero .container > *,
.page-hero .container > *,
.team-hero .container > * {
  animation: fadeUp 0.8s ease both;
}

/* each line starts a little later than the one above */
.hero .container > :nth-child(2),
.page-hero .container > :nth-child(2),
.team-hero .container > :nth-child(2) {
  animation-delay: 0.15s;
}

.hero .container > :nth-child(3),
.page-hero .container > :nth-child(3),
.team-hero .container > :nth-child(3) {
  animation-delay: 0.3s;
}

/* --- 3. Hover effects: cards lift, buttons rise --- */
.card,
.trip-card,
.pkg-card,
.dest-tile,
.info-box {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover,
.trip-card:hover,
.pkg-card:hover,
.info-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.btn {
  transition: background 0.2s, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(196, 22, 28, 0.35);
}

.main-nav a {
  transition: color 0.2s;
}

/* --- 4. Header gets a shadow once you scroll --- */
.site-header {
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

/* Phone menu slides down instead of popping open */
@keyframes menuDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.main-nav.open {
  animation: menuDown 0.25s ease;
}

/* Respect people who turned off animations in their device settings */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
