:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #fff7ed;
  --text: #0f172a;
  --muted: #475569;
  --primary: #ea580c;
  --primary-2: #f59e0b;
  --border: #fed7aa;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 18px 48px rgba(234, 88, 12, 0.22);
  --nav-bg: rgba(15, 23, 42, 0.82);
}

body.dark {
  --bg: #0b1220;
  --surface: #111827;
  --surface-soft: #172033;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --primary: #fb923c;
  --primary-2: #fbbf24;
  --border: rgba(251, 146, 60, 0.25);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  --shadow-strong: 0 18px 48px rgba(251, 146, 60, 0.18);
  --nav-bg: rgba(11, 18, 32, 0.88);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Be Vietnam Pro", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
}

img {
  display: block;
  width: 100%;
}

a {
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, 90%);
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--primary-2), var(--primary));
  z-index: 3000;
}

.loader {
  position: fixed;
  inset: 0;
  background: #0f172a;
  display: grid;
  place-items: center;
  z-index: 5000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  text-align: center;
  color: #fff;
}

.loader-inner h2 {
  margin: 18px 0 6px;
}

.loader-inner p {
  color: #cbd5e1;
}

.loader-ring {
  width: 70px;
  height: 70px;
  border: 5px solid rgba(255,255,255,0.15);
  border-top-color: #f59e0b;
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 0.9s linear infinite;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  background: url("https://images.unsplash.com/photo-1526481280695-3c4691f7f3f1?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  color: #fff;
  padding-bottom: 72px;
  overflow: hidden;
  background-attachment: fixed;
}

.overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 209, 102, 0.15), transparent 28%),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.22), rgba(15, 23, 42, 0.84));
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.28;
  z-index: 1;
}

.hero-glow-1 {
  width: 280px;
  height: 280px;
  background: #f59e0b;
  top: 12%;
  left: -60px;
}

.hero-glow-2 {
  width: 260px;
  height: 260px;
  background: #ea580c;
  bottom: 8%;
  right: -50px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2200;
  transition: 0.35s ease;
}

.navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.16);
}

.logo,
.nav-links,
.nav-cta,
.menu-toggle,
.theme-toggle {
  position: relative;
  z-index: 2;
}

.logo {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 800;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 22px;
}

.nav-links a {
  color: #f8fafc;
  font-weight: 500;
  position: relative;
  transition: 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: #ffd166;
  transition: 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active,
.nav-links a:hover {
  color: #ffd166;
}

.nav-cta {
  background: linear-gradient(135deg, #ffd166, #ffb703);
  color: #111827;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(255, 183, 3, 0.28);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 27px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  border-radius: 10px;
}

.hero-content,
.hero-info {
  position: relative;
  z-index: 2;
}

.hero-content {
  padding-top: 155px;
  padding-bottom: 58px;
}

.hero-badge {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.24);
  backdrop-filter: blur(10px);
  margin-bottom: 22px;
  font-weight: 600;
  animation: floatSoft 4s ease-in-out infinite;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 5vw, 5.3rem);
  line-height: 1.06;
  max-width: 920px;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffd166, #ffedd5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.typing-text {
  color: #ffd166;
  border-right: 2px solid #ffd166;
  padding-right: 4px;
  white-space: nowrap;
}

.hero-content p {
  max-width: 760px;
  color: #e2e8f0;
  font-size: 1.08rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #ffd166, #ffb703);
  color: #111827;
  box-shadow: 0 14px 28px rgba(255, 183, 3, 0.24);
}

.btn-outline {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.nav-cta:hover,
.btn:hover,
.info-card:hover,
.stat-card:hover,
.destination-card:hover,
.region-card:hover,
.food-card:hover,
.gallery-grid img:hover,
.testimonial-card:hover,
.back-to-top:hover {
  transform: translateY(-5px);
}

.hero-info,
.stats-grid,
.region-grid,
.food-grid {
  display: grid;
  gap: 22px;
}

.hero-info {
  grid-template-columns: repeat(3, 1fr);
}

.info-card,
.stat-card,
.destination-card,
.region-card,
.food-card,
.testimonial-card,
.faq-item,
.contact-form,
.contact-info {
  transition: 0.35s ease;
}

.info-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
  padding: 24px;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.about,
.regions,
.culture {
  background: var(--surface);
}

.about-grid,
.culture-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.section-title,
.section-center {
  margin-bottom: 42px;
}

.section-center {
  text-align: center;
}

.section-title span,
.section-center span,
.culture-content span,
.cta-box span,
.contact-info span {
  display: inline-block;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.section-title h2,
.section-center h2,
.culture-content h2,
.cta-box h2,
.contact-info h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.2;
}

.about-text p,
.card-text p,
.region-card p,
.culture-content p,
.food-text p,
.testimonial-card p,
.contact-info p,
.faq-answer p {
  color: var(--muted);
}

.about-text p + p,
.culture-content p + p {
  margin-top: 14px;
}

.stats {
  background: linear-gradient(180deg, var(--surface-soft) 0%, var(--surface) 100%);
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-card h3 {
  font-size: 2.3rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.destinations {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(148, 163, 184, 0.06) 100%);
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.filter-btn {
  border: none;
  background: var(--surface);
  color: var(--text);
  padding: 11px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  transition: 0.25s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
}

.destination-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.destination-card {
  background: var(--surface);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.destination-card.hide {
  display: none;
}

.destination-card.large {
  grid-row: span 2;
}

.destination-card img {
  height: 250px;
  object-fit: cover;
}

.destination-card.large img {
  height: 100%;
  min-height: 530px;
}

.card-text,
.food-text {
  padding: 22px;
}

.card-text small {
  color: var(--primary);
  font-weight: 800;
}

.card-text h3,
.food-text h3,
.region-card h3 {
  margin: 8px 0 10px;
  font-size: 1.35rem;
}

.region-grid {
  grid-template-columns: repeat(3, 1fr);
}

.region-card {
  background: linear-gradient(180deg, var(--surface-soft) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 22px;
}

.region-card h3 {
  color: var(--primary);
}

.culture-grid {
  gap: 42px;
  align-items: center;
}

.culture-image img {
  height: 540px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.culture-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.culture-item {
  background: var(--surface-soft);
  border-left: 4px solid var(--primary);
  padding: 16px 18px;
  border-radius: 14px;
  font-weight: 700;
  color: var(--primary);
}

.foods {
  background: linear-gradient(180deg, var(--surface-soft) 0%, var(--surface) 100%);
}

.food-grid {
  grid-template-columns: repeat(4, 1fr);
}

.food-card {
  background: var(--surface);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.food-card img {
  height: 230px;
  object-fit: cover;
}

.testimonials {
  background: var(--surface);
}

.testimonial-slider {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 22px;
  transition: transform 0.6s ease;
}

.testimonial-card {
  min-width: calc(33.333% - 15px);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.testimonial-card h4 {
  margin-top: 14px;
  color: var(--primary);
}

.gallery {
  background: var(--bg);
}

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

.gallery-grid img {
  height: 260px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: 0.35s ease;
}

.faq {
  background: var(--surface);
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  color: var(--text);
  padding: 20px 22px;
  font-weight: 700;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 22px 20px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.contact {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}

.contact-info,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.cta-section {
  padding-top: 20px;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  border-radius: 30px;
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-strong);
}

.cta-box span,
.cta-box h2,
.cta-box p {
  color: #fff;
}

.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 34px 0;
  margin-top: 70px;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer h3 {
  color: #fff;
  margin-bottom: 8px;
}

.footer-right {
  text-align: right;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-strong);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 2300;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 4500;
}

.image-modal.show {
  opacity: 1;
  visibility: visible;
}

.image-modal img {
  max-width: min(900px, 95vw);
  max-height: 85vh;
  border-radius: 18px;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: rippleEffect 0.6s linear;
  background: rgba(255,255,255,0.45);
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 1100px) {
  .destination-grid {
    grid-template-columns: 1fr 1fr;
  }

  .destination-card.large {
    grid-row: auto;
  }

  .destination-card.large img {
    min-height: auto;
    height: 250px;
  }

  .food-grid,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-info,
  .region-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-width: calc(50% - 11px);
  }
}

@media (max-width: 900px) {
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    right: 5%;
    width: 290px;
    background: var(--nav-bg);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 18px;
    flex-direction: column;
    gap: 14px;
    display: none;
    box-shadow: 0 16px 40px rgba(0,0,0,0.22);
  }

  .nav-links.show {
    display: flex;
  }

  .about-grid,
  .culture-grid,
  .contact-grid,
  .cta-box,
  .footer-wrap {
    grid-template-columns: 1fr;
    display: grid;
  }

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

  .footer-right {
    text-align: left;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 74px 0;
  }

  .destination-grid,
  .food-grid,
  .gallery-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 130px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
    max-width: 260px;
  }

  .destination-card img,
  .food-card img,
  .gallery-grid img,
  .culture-image img {
    height: 230px;
    min-height: auto;
  }

  .testimonial-card {
    min-width: 100%;
  }
}
