 /* === GLOBAL RESET === */
* { box-sizing: border-box; margin: 0; padding: 0; transition: all 0.25s ease-in-out; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: #06070a;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, 94%); margin: 0 auto; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 999px;
  background: #00b4d8;
  color: #04111d;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn:hover { background: #02c3e8; }
.accent { color: #00b4d8; }

/* === HEADER === */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  backdrop-filter: blur(6px);
  background: linear-gradient(180deg, rgba(2,6,23,0.75), rgba(2,6,23,0.35));
}
.nav-inner {
  width: min(1200px, 94%);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-links a {
  margin: 0 8px;
  color: #d7e3f3;
  font-weight: 500;
}
.nav-links a:hover { color: #fff; }

/* === HERO === */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
}
.bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2,6,23,0.55), rgba(2,6,23,0.3));
}
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 900px;
  padding: 2rem;
}
.site-title {
  font-size: clamp(2rem,6vw,4rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.lead { color: #cbd5e1; margin-bottom: 1.2rem; font-weight: 500; }
.hero-cta { display: flex; gap: 10px; justify-content: center; }

/* === SECTION BASE === */
.section { padding: 100px 0; }
.section-title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* === GRID & CARDS === */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(2,6,23,0.6);
  cursor: pointer;
  transform: translateY(30px);
  opacity: 0;
  transition: transform .45s ease, opacity .45s ease;
}
.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.card .card-body { padding: 12px; }
.card h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.card p { font-size: .95rem; color: #bfc9d6; }
.card:hover { transform: translateY(0) scale(1.02); }
.show { transform: none; opacity: 1; }

/* === SEARCH AREA === */
.search-row {
  display: flex; gap: 12px; align-items: center; margin-bottom: 16px; flex-wrap: wrap;
}
.search-bar { flex: 1; }
.search-bar input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: #fff;
}
.actions { display: flex; gap: 10px; align-items: center; }
.split {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
  align-items: start;
}
.info-panel {
  background: rgba(255,255,255,0.03);
  padding: 12px;
  border-radius: 12px;
  color: #dbe6f0;
}
.wiki-content img { max-width: 100%; border-radius: 8px; margin-top: 8px; }
#weather-info { margin-top: 10px; }

/* === MAP === */
#map {
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
}

/* === MODAL === */
.modal {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.6);
  z-index: 120;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
  backdrop-filter: blur(5px);
}
.modal.show { opacity: 1; pointer-events: auto; }
.modal-inner {
  width: min(1000px, 98%);
  background: #071022;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  animation: slideIn 0.4s ease forwards;
}
@keyframes slideIn {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal img { width: 100%; height: 480px; object-fit: cover; }
.modal .meta { padding: 12px; }
.modal-close {
  position: absolute;
  top: 8px; right: 12px;
  background: transparent; border: none;
  color: #fff; font-size: 28px; cursor: pointer;
}

/* === FOOTER === */
footer {
  padding: 30px 0;
  text-align: center;
  color: #9aa7b5;
}

/* === AI TRIP PLANNER === */
#ai-trip-planner {
  margin-top: 60px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff7e1, #fffaf5);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
  position: relative;
  z-index: 5;
}

.ai-wrap {
  padding: 40px 0;
}
.ai-title {
  font-size: 30px;
  font-weight: 800;
  color: #3a2a00;
  text-align: center;
}
.ai-sub {
  color: #4a3a10;
  text-align: center;
  margin-bottom: 16px;
}
.ai-form {
  background: #fff;
  border: 1px solid #f1e2c7;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(170, 90, 0, .15);
}
.ai-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 12px;
}
.ai-row input, .ai-row select {
  width: 100%;
  padding: 12px;
  border: 1px solid #e5d6b5;
  border-radius: 10px;
}
.ai-interests {
  margin-top: 12px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  border: 1px dashed #f1e2c7;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fffdf8;
}
.ai-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; justify-content: center; }
.ai-btn, .ai-btn-primary {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #e5d6b5;
  background: #fff;
  color: #5a3a00;
  cursor: pointer;
}
.ai-btn-primary {
  background: #FF7A00;
  border-color: #FF7A00;
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 122, 0, .35);
}
.ai-status { text-align: center; margin-top: 16px; }

/* === AI TRAVEL OUTPUT FIX === */
.ai-output {
  background: #fff;
  border-radius: 16px;
  color: #222;
  margin-top: 30px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  position: relative;
  z-index: 10;
}
.ai-output h3, .ai-output h4, .ai-output p {
  color: #222;
  line-height: 1.6;
}
.ai-output strong {
  color: #000;
}
.ai-output .day-title {
  color: #FF7A00;
  font-weight: 700;
  margin-top: 10px;
}

/* === FAMOUS LANDMARKS === */
#landmarks-section {
  background: #fdfdfd;
  color: #222;
  padding: 90px 0;
  margin-bottom: 80px;
}
#landmarks-section .section-title {
  color: #111;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}
#landmarks-section .section-sub {
  text-align: center;
  color: #444;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
#landmark-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  padding: 0 1rem;
}
.landmark-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}
.landmark-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}
.landmark-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.landmark-info { padding: 14px 16px; }
.landmark-info h4 {
  font-size: 1.1rem;
  color: #111;
  margin-bottom: 6px;
}
.landmark-info p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.4;
}

/* === RESPONSIVE === */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  #map { height: 320px; }
}
@media (max-width: 720px) {
  .card img { height: 180px; }
  .modal img { height: 300px; }
  .site-title { font-size: 2rem; }
  .ai-output { padding: 18px; font-size: 0.95rem; }
}
