:root {
  --scarlet: #bb0000;
  --dark: #222;
  --light: #f5f5f5;
}

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

body {
  font-family: "Segoe UI", Roboto, sans-serif;
  background: var(--light);
  color: var(--dark);
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  background: var(--scarlet);
  color: #fff;
  padding: 1rem;
  text-align: center;
}
.navbar h1 {
  font-size: 1.8rem;
  margin-bottom: .5rem;
}
.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.navbar li {
  cursor: pointer;
  padding: .3rem .8rem;
  border-radius: 20px;
  transition: background .3s;
}
.navbar li.active,
.navbar li:hover { background: rgba(255,255,255,0.2); }

/* ===== HERO ===== */
.hero {
  background: url('images/hero.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
}
.hero-text h2 {
  font-size: 2.5rem;
  margin-bottom: .5rem;
}

/* ===== GRID ===== */
.container { max-width: 1200px; margin: 2rem auto; padding: 0 1rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Trip card */
.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform .3s ease;
  position: relative;
}
.card:hover { transform: translateY(-5px); }
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
}
.card-content { padding: 1rem; }
.card-content h3 { color: var(--scarlet); margin-bottom: .5rem; }
.card-content p { font-size: .9rem; }

/* Accordion (details) */
.details {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.card.open .details { max-height: 300px; }

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 200;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}
.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}
.close, .prev, .next {
  color: #fff;
  font-size: 2rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  padding: 0 .5rem;
}
.close { top: 20px; right: 30px; transform: none; }
.prev { left: 5%; }
.next { right: 5%; }

/* ===== FOOTER ===== */
.footer {
  background: var(--scarlet);
  color: #fff;
  text-align: center;
  padding: 1.5rem;
  margin-top: 3rem;
}
