@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Poppins:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap");

:root{
  --primary:#0F3D3E;
  --primary-light:#165254;
  --accent:#D4AF37;

  --bg:#f8f9fa;
  --white:#fff;

  --text:#111827;
  --muted:#6b7280;
  --line:rgba(0,0,0,.10);

  --shadow:0 15px 35px rgba(0,0,0,.10);
  --shadow2:0 22px 55px rgba(0,0,0,.16);

  --radius:20px;
  --radius2:16px;

  --font-head:"Caveat",cursive;
  --font-ui:"Montserrat",sans-serif;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:var(--font-ui);
  color:var(--text);
  background:var(--bg);
  overflow-x:hidden;
  scroll-behavior:smooth;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
p{ margin:0; line-height:1.7; color:var(--muted); }

.ts-container{
  width:min(1200px, 92vw);
  margin:0 auto;
}

/* HERO */
.hero{
  height:85vh;
  background:
    linear-gradient(rgba(15,61,62,.40), rgba(15,61,62,.62)),
    url("https://images.unsplash.com/photo-1544735716-392fe2489ffa?auto=format&fit=crop&w=1950&q=80");
  background-size:cover;
  background-position:center;
  background-attachment:fixed;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  position:relative;
  z-index:1;
}

.hero-content p{
  font-size:1.05rem;
  color:rgba(255,255,255,.88);
  font-weight:400;
  letter-spacing:.25em;
  text-transform:uppercase;
  margin:0 0 10px;
}

.hero-content h1{
  margin:0;
  font-size:clamp(38px, 4.2vw, 64px);
  line-height:1.05;
  color:#fff;
  text-shadow:0 10px 28px rgba(0,0,0,.25);
}

section{ padding:80px 0; }

.section-header{
  text-align:center;
  margin:0 0 36px;
  padding:0 12px;
}

.section-header span{
  display:block;
  font-size:12px;
  font-weight:800;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:rgba(15,23,42,.55);
  margin-bottom:10px;
}

.bg-offset{ background:#fff; }

/* Planner */
.planner-section{
  margin-top:-150px;
  z-index:50;
  padding:50px 20px 40px;
  display:flex;
  justify-content:center;
  background:transparent;
  position:relative;
}

.planner-card{
  width:min(1000px, 92vw);
  background:rgba(255,255,255,.98);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:40px;
  border-top:5px solid var(--accent);
  backdrop-filter: blur(16px);
}

.planner-header{
  text-align:center;
  margin-bottom:34px;
}

.planner-header p{ margin:0; color:rgba(15,23,42,.60); }

.planner-form{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap:24px;
  align-items:end;
}

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

.form-group label{
  font-size:12px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(15,23,42,.55);
  margin:0 0 10px;
}

.planner-form input,
.planner-form select,
.planner-form textarea,
.planner-form .custom-select{
  width:100%;
  padding:15px 16px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:14px;
  background:#f9fafb;
  font-family:var(--font-ui);
  font-size:16px;
  font-weight:500;
  color:#111;
  transition:.2s ease;
}

.planner-form input:focus,
.planner-form select:focus,
.planner-form textarea:focus{
  outline:none;
  border-color:rgba(15,61,62,.55);
  background:#fff;
  box-shadow:0 0 0 4px rgba(15,61,62,.10);
}

.btn-submit{
  grid-column:1 / -1;
  border:0;
  border-radius:14px;
  padding:18px 20px;
  background:var(--primary);
  color:#fff;
  font-weight:900;
  letter-spacing:.22em;
  text-transform:uppercase;
  cursor:pointer;
  transition:.2s ease;
  margin-top:8px;
}
.btn-submit:hover{
  background:var(--accent);
  color:#0b2a2a;
  transform: translateY(-2px);
}

/* MultiSelect */
.ms{ position:relative; width:100%; }
.ms-btn{
  width:100%;
  min-height:54px;
  padding:15px 16px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:14px;
  background:#f9fafb;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-family:var(--font-ui);
  font-size:16px;
  font-weight:500;
  color:#111;
  transition:.2s ease;
}
.ms-label{ font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ms-caret{ opacity:.65; }
.ms.open .ms-btn{
  border-color:rgba(15,61,62,.55);
  background:#fff;
  box-shadow:0 0 0 4px rgba(15,61,62,.10);
}
.ms-pop{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  width:100%;
  z-index:999;
  background:#fff;
  border:1px solid rgba(0,0,0,.10);
  border-radius:16px;
  box-shadow:0 18px 60px rgba(0,0,0,.18);
  padding:12px;
}
.ms-search{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.10);
  outline:none;
  font-family:var(--font-ui);
  font-size:14px;
  font-weight:500;
}
.ms-list{
  margin-top:10px;
  max-height:240px;
  overflow:auto;
  border-radius:12px;
}
.ms-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 10px;
  border-radius:12px;
  cursor:pointer;
  font-weight:500;
  color:#111;
}
.ms-item:hover{ background:rgba(15,61,62,.06); }
.ms-item input{ width:16px; height:16px; }
.ms-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:10px;
}
.ms-clear,.ms-done{
  border:0;
  padding:10px 14px;
  border-radius:12px;
  cursor:pointer;
  font-weight:800;
  font-family:var(--font-ui);
}
.ms-clear{ background:rgba(15,23,42,.06); }
.ms-done{ background:var(--primary); color:#fff; }

/* Budget */
.budget-row{
  display:grid;
  grid-template-columns: 1fr 160px;
  gap:14px;
  align-items:center;
}
#budget{
  width:100%;
  height:6px;
  border-radius:999px;
  background:rgba(15,61,62,.18);
  outline:none;
  -webkit-appearance:none;
  appearance:none;
  cursor:pointer;
}
#budget::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:16px;height:16px;border-radius:999px;
  background:var(--primary);
  border:2px solid #fff;
  box-shadow:0 6px 14px rgba(0,0,0,.18);
}
#budget::-moz-range-thumb{
  width:16px;height:16px;border-radius:999px;
  background:var(--primary);
  border:2px solid #fff;
  box-shadow:0 6px 14px rgba(0,0,0,.18);
}
#budget-input{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  font-weight:600;
}
.budget-hint{
  margin-top:8px;
  font-size:12px;
  color:rgba(15,23,42,.55);
}

/* Results section right after planner */
.plan-after-planner{ padding:40px 0 80px; }

/* Planner plan cards */
#plan-results .plan-section-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 420px));
  gap:18px;
  justify-content:center;
}
.plan-card-ui{
  background:#fff;
  border-radius:18px;
  padding:16px;
  box-shadow:0 14px 40px rgba(0,0,0,0.08);
  border:1px solid rgba(0,0,0,0.06);
}
.plan-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  margin-top:12px;
}
.plan-head h3{ margin:0; color:#0F3D3E; line-height:1.2; }
.plan-score{ font-size:12px;color:#999;white-space:nowrap; }
.plan-meta{ font-size:13px;color:#777;margin-top:6px; }
.plan-summary{ margin:10px 0 0;color:#555;line-height:1.6; }
.plan-details{ margin-top:14px; }
.plan-details summary{ cursor:pointer;font-weight:800;color:#165254; }
.plan-agency{ margin-top:10px;font-size:13px;color:#555; }
.plan-agency span{ color:#777; margin-right:6px; }
.plan-agency a{ color:#0F3D3E;font-weight:800;border-bottom:1px dashed rgba(15,61,62,.35); }
.day-box{ padding:10px;border:1px solid rgba(0,0,0,.06);border-radius:12px;margin-top:10px;background:#fbfbfb; }
.day-title{ font-weight:800;color:#0F3D3E; }
.day-loc{ font-size:13px;color:#777;margin-top:4px; }
.day-desc{ font-size:14px;color:#555;margin-top:6px; }
.plan-empty{
  padding:18px;border:1px solid #eee;border-radius:14px;background:#fff;
  max-width:720px;margin:0 auto;
}
.plan-empty h3{ margin:0 0 6px;color:#0F3D3E; }
.plan-empty p{ margin:0;color:#555; }

/* Select arrow */
.custom-select{
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
  background:#f9fafb;
  padding-right:44px;
  cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='%236b7280' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 16px center;
  background-size:14px 14px;
}
.custom-select::-ms-expand{ display:none; }

/* Wishlist button */
.plan-media{ position:relative; }
.wish-btn{
  position:absolute;
  top:14px;
  right:14px;
  width:44px;height:44px;
  border:0;
  border-radius:999px;
  background:rgba(0,0,0,.45);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:50;
  transition:transform .15s ease, background .15s ease;
}
.wish-btn:hover{ transform:scale(1.06); }
.wish-btn i{ color:#fff;font-size:18px;pointer-events:none; }
.wish-btn.is-active{ background:rgba(255,255,255,.95); }
.wish-btn.is-active i{ color:#e11d48; filter: drop-shadow(0 4px 10px rgba(225,29,72,.35)); }

/* Tips cards */
.tp-cards{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap:16px;
}
.tp-card{
  display:flex;
  gap:14px;
  padding:16px;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 12px 34px rgba(0,0,0,.06);
  transition:.18s ease;
}
.tp-card:hover{ transform:translateY(-2px); box-shadow:0 18px 44px rgba(0,0,0,.10); }
.tp-ic{
  width:44px;height:44px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(15,61,62,.08);
  color:var(--primary);
  flex:0 0 auto;
}
.tp-ct{ font-weight:900;color:#0F3D3E;margin-bottom:6px; }
.tp-cd{ font-size:14px;color:#555; line-height:1.55; }

/* Art of staying/eating categories */
.tp-cats{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap:16px;
}
.tp-cat{
  background:#fff;
  border-radius:18px;
  border:1px solid rgba(0,0,0,.06);
  overflow:hidden;
  box-shadow:0 12px 34px rgba(0,0,0,.06);
  transition:.18s ease;
}
.tp-cat:hover{ transform:translateY(-2px); box-shadow:0 18px 44px rgba(0,0,0,.10); }
.tp-cat-img{ height:160px; background:#f3f4f6; }
.tp-cat-img img{ width:100%;height:100%;object-fit:cover; }
.tp-cat-body{ padding:14px; }
.tp-cat-title{ font-weight:900;color:#0F3D3E; }
.tp-cat-sub{ margin-top:6px;font-size:13px;color:#666; }

/* Wishlist page premium responsive */
.wishlist-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  gap:18px;
  justify-content:center;
}
.wish-card{
  background:#fff;
  border-radius:18px;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 14px 40px rgba(0,0,0,0.08);
  overflow:hidden;
}
.wish-media{ position:relative; }
.wish-media img{ width:100%; height:200px; object-fit:cover; }
.wish-img-placeholder{ height:200px; background:#f3f4f6; }
.wish-body{ padding:14px 14px 16px; }
.wish-title{ margin:0; color:#0F3D3E; line-height:1.2; font-size:20px; }
.wish-meta{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-top:10px;
  font-size:13px;
  color:#667085;
}
.wish-desc{
  margin-top:10px;
  color:#555;
  line-height:1.6;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.wish-actions{ margin-top:14px; }
.wish-linkbtn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
  background:rgba(15,61,62,.08);
  color:#0F3D3E;
  font-weight:900;
}
.wish-linkbtn:hover{ background:rgba(15,61,62,.12); }
.wish-empty{
  max-width:720px;
  margin:0 auto;
  background:#fff;
  border:1px solid #eee;
  border-radius:14px;
  padding:20px;
}
.wish-empty h3{ margin:0 0 8px;color:#0F3D3E; }
.wish-empty p{ margin:0;color:#555; }

/* Responsive */
@media (max-width:768px){
  .hero{ height:72vh; background-attachment:scroll; }
  .planner-section{ margin-top:-60px; padding:40px 16px 40px; }
  .planner-card{ padding:26px; }
  .planner-form{ grid-template-columns: 1fr; }
}
@media (max-width:560px){
  .budget-row{ grid-template-columns: 1fr; }
}
/* =========================================
   SECTION SUBTITLE (used everywhere)
========================================= */
.section-sub{
  max-width:720px;
  margin:12px auto 0;
  color:#666;
  line-height:1.6;
}

/* budget display */
.budget-display{
  color:var(--primary);
  font-weight:900;
}

/* =========================================
   TP SECTIONS
========================================= */
.tp-section{ padding:80px 0; }

/* =========================================
   INFO / TRANSPORT / TOOLS CARDS
========================================= */
.tp-cards{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap:16px;
}

.tp-card{
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:16px 16px;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 12px 34px rgba(0,0,0,.06);
  transition:.18s ease;
  position:relative;
}

.tp-card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 44px rgba(0,0,0,.10);
}

.tp-card-body{ flex:1; min-width:0; }

.tp-ic{
  width:46px;
  height:46px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(15,61,62,.08);
  color:var(--primary);
  flex:0 0 auto;
  font-size:18px;
}

.tp-ct{
  font-weight:900;
  color:#0F3D3E;
  margin-bottom:6px;
  line-height:1.2;
}

.tp-cd{
  font-size:14px;
  color:#555;
  line-height:1.55;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.tp-arrow{
  flex:0 0 auto;
  font-weight:900;
  color:rgba(15,61,62,.55);
  margin-left:8px;
  margin-top:2px;
}

.tp-card:hover .tp-arrow{ color:var(--primary); }

/* compact tools layout */
.tp-cards-compact{
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.tp-card-compact .tp-cd{ -webkit-line-clamp:2; }

/* =========================================
   ART OF STAYING / EATING CATEGORIES
========================================= */
.tp-cats{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap:16px;
}

.tp-cat{
  background:#fff;
  border-radius:18px;
  border:1px solid rgba(0,0,0,.06);
  overflow:hidden;
  box-shadow:0 12px 34px rgba(0,0,0,.06);
  transition:.18s ease;
}

.tp-cat:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 44px rgba(0,0,0,.10);
}

.tp-cat-img{
  height:170px;
  background:#f3f4f6;
}

.tp-cat-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.tp-cat-img-ph{
  width:100%;
  height:100%;
  background:linear-gradient(135deg, rgba(15,61,62,.12), rgba(212,175,55,.10));
}

.tp-cat-body{
  padding:14px;
}

.tp-cat-title{
  font-weight:900;
  color:#0F3D3E;
  line-height:1.2;
}

.tp-cat-sub{
  margin-top:6px;
  font-size:13px;
  color:#666;
  line-height:1.5;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width:560px){
  .tp-card{ padding:14px; }
  .tp-arrow{ display:none; }
  .tp-ic{ width:44px;height:44px; }
}
