/* ================================================================
   ExploreEden – destination.css (Redesign)
   Tokens match index.css exactly
   ================================================================ */

/* ---- Tokens ---- */
:root {
  --teal-dark: #122a2a;
  --teal-mid: #1e5f5f;
  --teal-accent: #377e80;
  --teal-light: #59bdb1;
  --cream: #edeee8;
  --cream-dark: #d9dad3;
  --text-dark: #122a2a;
  --text-mid: #2b3535;
  --text-muted: #5a6b6b;
  --white: #fafafa;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-pill: 50px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--text-mid);
  line-height: 1.65;
}
img {
  display: block;
  max-width: 100%;
}

/* ================================================================
   NAVBAR  (exact match to index.css)
   ================================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  box-shadow: var(--shadow-sm);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.nav-brand-name {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: 0.5px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition:
    background 0.2s,
    color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--cream);
  color: var(--teal-accent);
}
.nav-links a.active {
  font-weight: 600;
}
.nav-auth {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.btn-register,
.btn-login {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-register {
  border: 1.5px solid var(--teal-accent);
  color: var(--teal-accent);
  background: transparent;
}
.btn-register:hover {
  background: var(--teal-accent);
  color: var(--white);
}
.btn-login {
  background: var(--teal-dark);
  color: var(--white);
}
.btn-login:hover {
  background: var(--teal-accent);
  transform: translateY(-1px);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal-dark);
  transition: all 0.3s;
  border-radius: 2px;
}
.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--cream-dark);
  padding: 16px 24px 24px;
}
.mobile-menu.open {
  display: block;
}
.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.mobile-menu a:hover {
  background: var(--cream);
  color: var(--teal-accent);
}
@media (max-width: 960px) {
  .nav-links,
  .nav-auth {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-container {
    gap: 0;
  }
}

/* ================================================================
   HERO
   ================================================================ */
.dest-hero {
  position: relative;
  min-height: 480px;
  background: linear-gradient(
    140deg,
    var(--teal-dark) 0%,
    var(--teal-mid) 55%,
    var(--teal-light) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 24px 100px;
}
.dest-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.dest-hero-inner {
  position: relative;
  text-align: center;
  max-width: 680px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal-light);
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
}
.hero-search {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 20px;
  max-width: 540px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  gap: 12px;
}
.hero-search i {
  color: var(--text-muted);
  font-size: 16px;
  flex-shrink: 0;
}
.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-dark);
  background: transparent;
}
.hero-search button {
  background: var(--teal-dark);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.hero-search button:hover {
  background: var(--teal-accent);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ================================================================
   SECTION SHARED
   ================================================================ */
.section-header {
  text-align: center;
  padding: 56px 24px 32px;
}
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal-accent);
  margin-bottom: 10px;
}
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1.2;
}

/* ================================================================
   CAROUSEL
   ================================================================ */
.collections-section {
  background: var(--white);
  padding-bottom: 56px;
}
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 64px;
}
.carousel-track-outer {
  flex: 1;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
  scroll-behavior: smooth;
  overflow-x: auto;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}
.col-card {
  min-width: 280px;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}
.col-card-img-wrap {
  position: relative;
}
.col-card-img-wrap img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.4s;
}
.col-card:hover .col-card-img-wrap img {
  transform: scale(1.05);
}
.col-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--teal-accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.col-title {
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-dark);
  line-height: 1.4;
}
.car-btn {
  position: absolute;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--cream-dark);
  background: var(--white);
  color: var(--teal-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}
.car-btn:hover {
  background: var(--teal-dark);
  color: var(--white);
  border-color: var(--teal-dark);
}
.car-prev {
  left: 8px;
}
.car-next {
  right: 8px;
}

/* ================================================================
   DESTINATIONS GRID
   ================================================================ */
.destinations-section {
  padding-bottom: 72px;
}
.filter-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 24px 32px;
}
.filter-tab {
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--cream-dark);
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-tab:hover {
  border-color: var(--teal-accent);
  color: var(--teal-accent);
}
.filter-tab.active {
  background: var(--teal-dark);
  color: var(--white);
  border-color: var(--teal-dark);
}

.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.dest-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.dest-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.dest-card-media {
  position: relative;
  overflow: hidden;
}
.dest-card-media img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.5s;
}
.dest-card:hover .dest-card-media img {
  transform: scale(1.06);
}
.dest-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(18, 42, 42, 0.75);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.dest-card-body {
  padding: 22px 24px 24px;
}
.dest-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.dest-card-meta span {
  font-size: 13px;
  color: var(--text-muted);
}
.dest-card-meta i {
  margin-right: 5px;
  color: var(--teal-accent);
}
.dest-rating {
  font-weight: 600;
  color: var(--teal-dark) !important;
}
.dest-rating i {
  color: #f59e0b !important;
}
.dest-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 4px;
}
.dest-places {
  font-size: 13px;
  color: var(--teal-accent);
  font-weight: 500;
  margin-bottom: 10px;
}
.dest-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.dest-actions {
  display: flex;
  gap: 10px;
}
.btn-explore {
  flex: 1;
  background: var(--teal-dark);
  color: var(--white);
  border: none;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}
.btn-explore:hover {
  background: var(--teal-accent);
}
.btn-plan {
  flex: 1;
  background: transparent;
  color: var(--teal-dark);
  border: 1.5px solid var(--teal-dark);
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-plan:hover {
  background: var(--teal-dark);
  color: var(--white);
}

/* ================================================================
   STATS STRIP
   ================================================================ */
.stats-strip {
  background: var(--teal-dark);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 40px 24px;
}
.stat-item {
  text-align: center;
  padding: 0 48px;
}
.stat-num {
  display: block;
  font-size: 36px;
  font-weight: 700;
  font-family: "Playfair Display", serif;
}
.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* ================================================================
   FOOTER  (exact match to index.css)
   ================================================================ */
.site-footer {
  background: #0b1f1f;
  color: rgba(255, 255, 255, 0.75);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 40px 48px;
}
.footer-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 12px;
}
.footer-tagline {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s;
}
.footer-social a:hover {
  background: var(--teal-accent);
  border-color: var(--teal-accent);
  color: var(--white);
}
.footer-links-group h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-group a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links-group a:hover {
  color: var(--teal-light);
}
.footer-newsletter h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-newsletter > p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 18px;
  line-height: 1.6;
}
.newsletter-form {
  display: flex;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 10px;
}
.newsletter-form input {
  flex: 1;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.07);
  border: none;
  color: var(--white);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.newsletter-form button {
  padding: 11px 18px;
  background: var(--teal-accent);
  color: var(--white);
  border: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.newsletter-form button:hover {
  background: var(--teal-light);
  color: var(--teal-dark);
}
.newsletter-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom .fa-heart {
  color: #e74c3c;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links a:hover {
  color: var(--teal-light);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 768px) {
  .dest-grid {
    grid-template-columns: 1fr;
  }
  .carousel-wrapper {
    padding: 0 48px;
  }
  .stat-divider {
    display: none;
  }
  .stat-item {
    padding: 12px 24px;
  }
}
@media (max-width: 680px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    padding: 40px 24px 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-newsletter {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 20px 24px;
  }
  .hero-search {
    flex-direction: column;
    border-radius: var(--radius);
    padding: 16px;
  }
  .hero-search button {
    width: 100%;
  }
}
