/* ============================================================
   18 GANGSTER MUSEUM — tours.css
   ============================================================ */

/* ── TOUR CARDS GRID ── */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.tours-grid--2col { grid-template-columns: repeat(2, 1fr); }
.tours-grid--featured { grid-template-columns: 1.6fr 1fr 1fr; }

/* ── TOUR CARD ── */
.tour-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--charcoal);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.tour-card--featured { grid-row: span 2; }

/* Image container */
.tour-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.tour-card--featured .tour-card-img { aspect-ratio: 4/5; flex: 1; }

.tour-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.tour-card:hover .tour-card-img img { transform: scale(1.05); }

/* Badge */
.tour-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  z-index: 2;
}
.tour-badge--outline {
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}

/* Body */
.tour-card-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tour-card-type {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.tour-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
  color: var(--white);
}
.tour-card--featured h3 { font-size: 1.6rem; }

.tour-card-desc {
  font-size: 0.85rem;
  color: var(--mid-grey);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  flex: 1;
}

/* Meta row */
.tour-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.2rem;
}
.tour-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--light-grey);
}
.tour-meta-item .icon {
  color: var(--red);
  font-size: 0.9rem;
}

/* Price row */
.tour-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.tour-price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.tour-price .from {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--mid-grey);
  display: block;
  margin-bottom: 2px;
}
.tour-price .amount { color: var(--red); }

.tour-card .btn { font-size: 0.75rem; padding: 10px 18px; }

/* ── TOUR DETAIL PAGE ── */
.tour-hero {
  position: relative;
  height: 55vh; min-height: 380px;
  overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 0 6vw 4rem;
}
.tour-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.45);
}
.tour-hero-content { position: relative; z-index: 2; }

.tour-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 6vw;
}

.tour-detail-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
  height: fit-content;
}
.sidebar-box {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  padding: 1.8rem;
}
.sidebar-price-label {
  font-size: 0.75rem; color: var(--mid-grey);
  text-transform: uppercase; letter-spacing: 0.12em;
}
.sidebar-price-amount {
  font-family: var(--font-heading);
  font-size: 2.2rem; color: var(--red);
  font-weight: 700; margin: 4px 0 1.4rem;
}
.sidebar-box .btn { width: 100%; justify-content: center; margin-bottom: 0.8rem; }

.tour-includes {
  list-style: none;
  margin: 1.5rem 0;
}
.tour-includes li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.88rem; padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--light-grey);
}
.tour-includes li:last-child { border-bottom: none; }
.tour-includes li .check { color: var(--red); flex-shrink: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .tours-grid--featured { grid-template-columns: 1fr 1fr; }
  .tour-card--featured { grid-row: auto; grid-column: span 2; }
  .tour-card--featured .tour-card-img { aspect-ratio: 16/9; }
}

@media (max-width: 860px) {
  .tours-grid { grid-template-columns: repeat(2, 1fr); }
  .tour-detail-grid { grid-template-columns: 1fr; }
  .tour-detail-sidebar { position: static; }
}

@media (max-width: 540px) {
  .tours-grid { grid-template-columns: 1fr; }
  .tour-card--featured { grid-column: auto; }
}
