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

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

:root {
  --cream: #faf6f0;
  --warm-brown: #6b4c2a;
  --gold: #c8973a;
  --gold-light: #e8c068;
  --sand: #e8dcc8;
  --dark: #2a1f14;
  --text: #3d2e1e;
  --text-light: #8a7060;
  --border: #d6c8b0;
  --white: #ffffff;
  --tag-bg: #f0e8d8;
  --shadow: 0 4px 24px rgba(107, 76, 42, 0.10);
  --shadow-hover: 0 12px 40px rgba(107, 76, 42, 0.18);
  --radius: 10px;
  --radius-card: 18px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--cream);
  color: var(--text);
  min-height: 100vh;
}

/* ─── HEADER ─── */
.site-header {
  background: var(--dark);
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(200, 151, 58, 0.2);
}

.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  color: var(--gold-light);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.site-logo span {
  color: var(--gold);
}

.nav-tabs {
  display: flex;
  gap: 8px;
}

.nav-tab {
  padding: 8px 20px;
  border: 1.5px solid rgba(200, 151, 58, 0.3);
  border-radius: 50px;
  background: transparent;
  color: rgba(232, 192, 104, 0.7);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-tab:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.nav-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  font-weight: 600;
}

/* ─── HERO ─── */
.hero {
  padding: 72px 48px 56px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.hero-text h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero-text p {
  color: var(--text-light);
  font-size: 1.02rem;
  max-width: 460px;
  line-height: 1.7;
}

.hero-stat {
  display: flex;
  gap: 32px;
  flex-shrink: 0;
}

.stat {
  text-align: center;
  padding: 20px 28px;
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--sand);
  box-shadow: var(--shadow);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* ─── FILTER BAR ─── */
.filter-bar {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-light);
  font-weight: 500;
  margin-right: 4px;
}

.filter-btn {
  padding: 7px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s;
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--warm-brown);
}

.filter-btn.active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--gold-light);
}

/* ─── SEARCH ─── */
.search-wrap {
  margin-left: auto;
  position: relative;
}

.search-input {
  padding: 8px 16px 8px 36px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  outline: none;
  width: 200px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input::placeholder { color: #c0b09a; }

.search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 151, 58, 0.12);
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 0.85rem;
  pointer-events: none;
}

/* ─── GRID ─── */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 80px;
}

/* ─── CARD ─── */
.dest-card {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--sand);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  animation: fadeUp 0.5s ease both;
}

.dest-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* staggered animation delay */
.dest-card:nth-child(1)  { animation-delay: 0.05s; }
.dest-card:nth-child(2)  { animation-delay: 0.10s; }
.dest-card:nth-child(3)  { animation-delay: 0.15s; }
.dest-card:nth-child(4)  { animation-delay: 0.20s; }
.dest-card:nth-child(5)  { animation-delay: 0.25s; }
.dest-card:nth-child(6)  { animation-delay: 0.30s; }
.dest-card:nth-child(7)  { animation-delay: 0.35s; }
.dest-card:nth-child(8)  { animation-delay: 0.40s; }
.dest-card:nth-child(9)  { animation-delay: 0.45s; }
.dest-card:nth-child(10) { animation-delay: 0.50s; }
.dest-card:nth-child(11) { animation-delay: 0.55s; }
.dest-card:nth-child(12) { animation-delay: 0.60s; }

/* Card image area */
.card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--sand);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.dest-card:hover .card-img img {
  transform: scale(1.06);
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--dark);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 4px 11px;
  border-radius: 50px;
}

.card-days {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(42, 31, 20, 0.82);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

/* Card image placeholder (emoji + gradient) */
.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

/* Card body */
.card-body {
  padding: 22px 24px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-location {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-weight: 600;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.22rem;
  color: var(--dark);
  line-height: 1.3;
  font-weight: 600;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
  flex: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-tag {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 50px;
  background: var(--tag-bg);
  color: var(--warm-brown);
  font-weight: 500;
}

/* Card footer */
.card-footer {
  padding: 14px 24px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--sand);
}

.card-budget {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.budget-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
}

.budget-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--dark);
  font-weight: 600;
}

.card-cta {
  display: inline-block;
  padding: 9px 20px;
  background: var(--dark);
  color: var(--gold-light);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}

.card-cta:hover {
  background: var(--warm-brown);
  transform: translateY(-1px);
}

/* ─── NO RESULTS ─── */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

.no-results-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.no-results h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 8px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .site-header { padding: 16px 24px; }
  .hero { padding: 48px 24px 36px; flex-direction: column; align-items: flex-start; }
  .hero-stat { width: 100%; justify-content: flex-start; }
  .filter-bar { padding: 0 24px; }
  .destinations-grid { padding: 0 24px 60px; gap: 20px; }
}

@media (max-width: 600px) {
  .site-header { flex-direction: column; gap: 14px; align-items: flex-start; }
  .nav-tabs { flex-wrap: wrap; }
  .hero-stat { flex-wrap: wrap; }
  .stat { flex: 1; min-width: 120px; }
  .filter-bar { gap: 8px; }
  .search-wrap { margin-left: 0; width: 100%; }
  .search-input { width: 100%; }
  .destinations-grid { grid-template-columns: 1fr; }
}
