/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --sand: #e6f2ff;
  --sand-dark: #cce4ff;
  --ink: #04111f;
  --ink-mid: #1a3a5c;
  --ink-light: #5b7f9e;
  --gold: #0099ff;
  --gold-light: #33adff;
  --cream: #f4faff;
  --white: #ffffff;
  --accent: #001aff;
  --accent-light: #00ffe5;
  --border: rgba(0, 153, 255, 0.15);
  --shadow: 0 4px 32px rgba(0, 26, 255, 0.07);
  --radius: 16px;
  --radius-sm: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(244, 250, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: clamp(22px, 3.5vw, 32px);
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-light);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-btn {
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  padding: 6px 16px;
  border-radius: 100px;
  transition: all 0.2s;
}

.nav-btn:hover {
  background: var(--sand);
}

.user-profile {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 100px;
  transition: background 0.2s;
}

.dropdown-trigger:hover {
  background: var(--sand);
}

#userNameDisplay {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.dropdown-arrow {
  font-size: 10px;
  color: var(--ink-light);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  box-shadow: 0 12px 32px rgba(4, 17, 31, 0.12);
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
  z-index: 100;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--ink-mid);
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}

.dropdown-item:hover {
  background: var(--sand);
  color: var(--ink);
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 17, 31, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
  animation: fadeIn 0.3s ease;
}

.modal {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 40px;
  width: 100%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 24px 64px rgba(4, 17, 31, 0.15);
  animation: fadeUp 0.4s ease;
  text-align: center;
}

.large-modal {
  max-width: auto;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.large-modal h2 {
  text-align: center;
  margin-bottom: 24px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--ink-light);
  cursor: pointer;
  transition: color 0.2s;
  z-index: 10;
}

.modal-close:hover {
  color: var(--ink);
}

.modal {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 40px;
  width: 100%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 24px 64px rgba(4, 17, 31, 0.15);
  animation: fadeUp 0.4s ease;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--ink-light);
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--ink);
}

.modal h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
}

.modal p {
  font-size: 14px;
  color: var(--ink-light);
  margin-bottom: 24px;
  line-height: 1.6;
}

.auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
}

.social-btn:hover {
  background: var(--sand);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(4, 17, 31, 0.05);
}

.social-btn img {
  width: 20px;
  height: 20px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}

.orb1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #0099ff, transparent);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.orb2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #001aff, transparent);
  bottom: 0;
  left: -100px;
  animation-delay: -3s;
}

.orb3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #00ffe5, transparent);
  top: 30%;
  left: 30%;
  animation-delay: -5s;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 153, 255, 0.1);
  border: 1px solid rgba(0, 153, 255, 0.35);
  color: var(--gold);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.1s ease both;
}

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

.hero-sub {
  font-size: 18px;
  color: var(--ink-light);
  max-width: 500px;
  margin: 0 auto 40px;
  font-weight: 300;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.3s;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-cta:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 153, 255, 0.35);
}

.hero-cta span {
  transition: transform 0.3s;
}

.hero-cta:hover span {
  transform: translateX(4px);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-light);
  opacity: 0.5;
  animation: fadeUp 1s 0.6s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SECTION LABELS ===== */
.section-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 40px;
  line-height: 1.1;
}

/* ===== COMMUNITY EXPLORE ===== */
.explore {
  background: var(--white);
  padding: 100px 24px;
}

.explore-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.explore-subtitle {
  font-size: 16px;
  color: var(--ink-light);
  max-width: 600px;
  margin: -24px 0 48px;
}

.explore-grid,
.library-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.plan-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  animation: fadeUp 0.6s ease both;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 153, 255, 0.15);
  border-color: var(--gold-light);
}

.plan-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.plan-card:hover::after {
  opacity: 0.15;
}

.plan-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--sand-dark);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.plan-card:hover .plan-card-img {
  transform: scale(1.05);
}

.plan-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.plan-card-dest {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
}

.plan-card-meta {
  font-size: 13px;
  color: var(--ink-light);
  margin-bottom: 16px;
}

.plan-card-author {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-mid);
}

.author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 60px 20px;
  text-align: center;
  color: var(--ink-light);
  font-size: 15px;
  background: var(--sand);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}

/* LIBRARY SPECIFIC */
.library-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}

.lib-tab {
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-light);
  cursor: pointer;
  padding: 8px 16px;
  transition: color 0.2s;
  position: relative;
}

.lib-tab.active {
  color: var(--ink);
}

.lib-tab.active::after {
  content: '';
  position: absolute;
  bottom: -17px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

/* ===== PLANNER ===== */
.planner {
  background: var(--sand);
  padding: 100px 24px;
}

.planner-inner {
  max-width: 760px;
  margin: 0 auto;
}

.planner-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.span2 {
  grid-column: span 2;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mid);
  letter-spacing: 0.3px;
}

.optional {
  color: var(--ink-light);
  font-weight: 300;
}

.input-icon-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 16px;
  pointer-events: none;
  z-index: 1;
}

.input-icon-wrap input,
.input-icon-wrap select {
  width: 100%;
  padding: 14px 14px 14px 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  transition: all 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.input-icon-wrap input:focus,
.input-icon-wrap select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.15);
}

textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  min-height: 90px;
  resize: vertical;
  outline: none;
  transition: all 0.2s;
}

textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.15);
}

/* Traveller Counter */
.traveller-counter {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.counter-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--sand);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.counter-btn:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.counter-val {
  font-size: 22px;
  font-weight: 500;
  min-width: 28px;
  text-align: center;
}

.counter-label {
  color: var(--ink-light);
  font-size: 14px;
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--ink);
  color: var(--cream);
  padding: 18px 40px;
  border: none;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.3px;
  margin-top: 8px;
  align-self: flex-start;
}

.submit-btn:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 153, 255, 0.3);
}

.submit-btn.loading {
  background: var(--ink-light);
  cursor: not-allowed;
  transform: none;
}

.btn-icon {
  color: var(--gold-light);
  font-size: 14px;
}

/* ===== LOADING ===== */
.loading-section {
  background: var(--cream);
  padding: 100px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-inner {
  text-align: center;
  max-width: 480px;
}

.loading-orb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 32px;
  background: conic-gradient(var(--gold), var(--accent), var(--gold));
  animation: spin 2s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  margin-bottom: 32px;
  color: var(--ink);
}

.loading-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.step {
  color: var(--ink-light);
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 8px;
  transition: all 0.5s;
}

.step.active {
  color: var(--gold);
  background: rgba(0, 153, 255, 0.08);
  font-weight: 500;
}

.step.done {
  color: var(--accent);
}

/* ===== RESULTS ===== */
.results {
  background: var(--cream);
  padding: 60px 24px 100px;
}

.results-inner {
  max-width: 900px;
  margin: 0 auto;
}

.results-header {
  margin-bottom: 40px;
  position: relative;
  z-index: 10;
  margin-top: -60px;
  padding: 0 32px;
  text-align: center;
}

.results-badge {
  display: inline-block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.results-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 8px;
}

.results-meta {
  color: var(--ink-light);
  font-size: 15px;
  margin-bottom: 24px;
}

.reset-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--ink-mid);
  padding: 10px 20px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.reset-btn:hover {
  background: var(--sand);
}

/* DESTINATION PHOTO */
.destination-photo-container {
  width: 100%;
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0;
  position: relative;
  background: var(--sand-dark);
  box-shadow: var(--shadow);
}

.destination-photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.destination-photo-container img.loaded {
  opacity: 1;
}

.destination-photo-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--cream) 100%);
  pointer-events: none;
}

.photo-credit {
  position: absolute;
  bottom: 8px;
  right: 16px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 5;
  text-decoration: none;
}

/* ACTION BAR (Save/Share) */
.action-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(4, 17, 31, 0.04);
}

.action-btn:hover {
  background: var(--sand);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 153, 255, 0.12);
}

.action-btn .icon {
  font-size: 16px;
}

/* TABS */
.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  background: var(--sand);
  padding: 6px;
  border-radius: 100px;
  width: fit-content;
  flex-wrap: wrap;
}

.tab {
  padding: 10px 22px;
  border-radius: 100px;
  border: none;
  background: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-light);
  cursor: pointer;
  transition: all 0.2s;
}

.tab.active {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.tab:hover:not(.active) {
  color: var(--ink);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeUp 0.4s ease both;
}

.panel-intro {
  color: var(--ink-light);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.7;
  max-width: 700px;
}

/* ITINERARY DAYS */
.itinerary-days {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.day-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.day-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--sand);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.day-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
}

.day-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  flex: 1;
}

.day-toggle {
  color: var(--ink-light);
  font-size: 18px;
  transition: transform 0.3s;
}

.day-header.open .day-toggle {
  transform: rotate(180deg);
}

.day-body {
  padding: 24px;
  display: none;
}

.day-body.open {
  display: block;
}

.activity {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.activity:last-child {
  border-bottom: none;
}

.activity-time {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.5px;
  min-width: 70px;
  padding-top: 2px;
}

.activity-info h4 {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}

.activity-info p {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.6;
}

/* DINING */
.dining-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.dining-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s;
}

.dining-card:hover {
  transform: translateY(-4px);
}

.dining-card-top {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  background: linear-gradient(135deg, var(--sand), var(--sand-dark));
}

.dining-card-body {
  padding: 18px;
}

.dining-card-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 6px;
}

.dining-cuisine {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.dining-desc {
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: 12px;
}

.dining-meta {
  display: flex;
  gap: 12px;
}

.dining-tag {
  font-size: 12px;
  background: var(--sand);
  color: var(--ink-mid);
  padding: 4px 10px;
  border-radius: 100px;
}

/* STAYS */
.stays-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stay-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s;
}

.stay-card:hover {
  transform: translateY(-4px);
}

.stay-card-top {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  background: linear-gradient(135deg, var(--sand), var(--sand-dark));
}

.stay-card-body {
  padding: 18px;
}

.stay-card-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 6px;
}

.stay-type {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.stay-desc {
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: 12px;
}

.stay-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stay-feature {
  font-size: 12px;
  background: var(--sand);
  color: var(--ink-mid);
  padding: 4px 10px;
  border-radius: 100px;
}

.booking-cta {
  background: linear-gradient(135deg, var(--ink), var(--ink-mid));
  color: var(--cream);
  padding: 32px 36px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.booking-cta h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 300;
}

.booking-cta p {
  font-size: 14px;
  color: rgba(244, 250, 255, 0.7);
}

.booking-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  letter-spacing: 0.3px;
  margin-top: 8px;
}

.booking-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* TIPS */
.tips-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.tip-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
}

.tip-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
}

.tip-card p {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.7;
}

.tip-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tip-card ul li {
  font-size: 14px;
  color: var(--ink-light);
  display: flex;
  gap: 8px;
}

.tip-card ul li::before {
  content: '✦';
  color: var(--gold);
  font-size: 10px;
  padding-top: 3px;
  flex-shrink: 0;
}

/* HOW IT WORKS */
.how {
  background: var(--sand);
  padding: 100px 24px;
}

.how-inner {
  max-width: 900px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  padding: 32px 24px;
}

.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 60px;
  font-weight: 300;
  color: rgba(0, 153, 255, 0.2);
  line-height: 1;
  margin-bottom: 16px;
}

.step-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
}

.step-card p {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.7;
}

/* FOOTER */
.footer {
  background: var(--ink);
  padding: 40px 24px;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer .logo-text {
  color: var(--cream);
}

.footer-copy {
  font-size: 13px;
  color: rgba(244, 250, 255, 0.45);
}

/* ERROR CARD */
.error-card {
  background: #fff5f5;
  border: 1px solid #fed7d7;
  border-radius: var(--radius);
  padding: 24px;
  color: #c53030;
  font-size: 15px;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 700px) {
  .nav {
    padding: 16px 20px;
  }

  .nav-links a {
    display: none;
  }

  .nav-links .auth-btn,
  .nav-links .user-profile {
    display: flex;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-group.span2 {
    grid-column: span 1;
  }

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

  .tabs {
    flex-wrap: wrap;
    border-radius: var(--radius);
  }

  .submit-btn {
    align-self: stretch;
    justify-content: center;
  }

  .booking-cta {
    padding: 24px;
  }
}

/* ===== EXTERNAL LINKS & BOOKING ===== */
.ext-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
}

.ext-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold-light);
}

.ext-icon {
  font-size: 0.7em;
  vertical-align: super;
  margin-left: 2px;
  opacity: 0.6;
}

.stay-book-links {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.book-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.book-link--booking {
  background: #003580;
  color: white;
}

.book-link--booking:hover {
  background: #00224f;
  transform: translateY(-1px);
}

.book-link--agoda {
  background: #ffffff;
  color: #1a1612;
  border: 1px solid var(--border);
}

.book-link--agoda:hover {
  background: #f8f9fa;
  border-color: var(--ink-light);
  transform: translateY(-1px);
}

.activity-tip {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-mid);
  font-style: italic;
  padding: 8px 12px;
  background: var(--sand);
  border-radius: 8px;
  display: inline-block;
}