/* CTE — Base Styles */
:root {
  --brand-300: #f6a549;
  --brand-400: #f08e2a;
  --brand-500: #ee7a12;
  --brand-600: #d96b0a;
  --brand-700: #b8580a;
  --warm-50: #faf8f5;
  --warm-100: #f3efe9;
  --warm-200: #e8e1d6;
  --warm-300: #c9bfb0;
  --warm-400: #a89b8a;
  --warm-500: #8a7e6e;
  --warm-600: #6b6258;
  --warm-700: #4d463e;
  --warm-800: #3d3429;
  --warm-900: #2a2218;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--warm-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'DM Serif Display', Georgia, serif; color: var(--warm-900); line-height: 1.2; }

a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--warm-200);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.5rem; }
.nav-logo img { height: 28px; }
.nav-logo-text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.15rem; color: var(--warm-900);
}
.nav-logo-text span { color: var(--brand-500); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--warm-700);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--brand-600); }
.nav-cta {
  background: var(--brand-600); color: white !important;
  padding: 0.5rem 1.25rem; border-radius: 0.375rem;
  font-size: 0.875rem; font-weight: 500;
}
.nav-cta:hover { background: var(--brand-700); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle svg { width: 24px; height: 24px; color: var(--warm-800); }

/* Hero */
.hero {
  background: var(--warm-50);
  padding: 5rem 0 6rem;
}
.hero-label {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--brand-600); margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  max-width: 720px; margin-bottom: 1.5rem;
}
.hero p {
  font-size: 1.125rem; color: var(--warm-800);
  max-width: 640px; margin-bottom: 2.5rem; line-height: 1.7;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Buttons */
.btn {
  display: inline-block; padding: 0.875rem 1.75rem;
  border-radius: 0.375rem; font-weight: 500; font-size: 0.9375rem;
  transition: all 0.15s; cursor: pointer; text-align: center;
}
.btn-primary { background: var(--brand-600); color: white; }
.btn-primary:hover { background: var(--brand-700); color: white; }
.btn-outline { border: 2px solid var(--warm-800); color: var(--warm-900); background: transparent; }
.btn-outline:hover { background: var(--warm-100); }

/* Section spacing */
.section { padding: 5rem 0; }
.section-label {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--brand-600); margin-bottom: 0.75rem;
}
.section h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1rem; }
.section-desc { color: var(--warm-800); max-width: 640px; margin-bottom: 3rem; line-height: 1.7; }

/* Cards */
.card-grid { display: grid; gap: 1.5rem; }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  border: 1px solid var(--warm-200); border-radius: 0.5rem;
  padding: 1.75rem; transition: border-color 0.15s;
}
.card:hover { border-color: var(--brand-300); }
.card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.card p { font-size: 0.875rem; line-height: 1.7; margin-bottom: 1rem; }
.card-link {
  font-size: 0.875rem; font-weight: 500; color: var(--brand-600);
}

.card-dark {
  background: var(--warm-900); color: white;
  border: none; position: relative;
}
.card-dark h3 { color: white; }
.card-dark p { color: var(--warm-200); }
.card-dark .card-link { color: var(--brand-300); }
.card-dark .card-label { color: var(--brand-300); }

.card-label {
  font-size: 0.6875rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--brand-600); margin-bottom: 0.5rem;
}

/* Image placeholder — gradient cards for destinations */
.img-placeholder {
  height: 160px;
  display: flex; align-items: flex-end; padding: 1.25rem;
  border-radius: 0.375rem 0.375rem 0 0;
  margin: -1.75rem -1.75rem 1.25rem -1.75rem;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.img-placeholder::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 60%;
  background: linear-gradient(to top, rgba(42,34,24,0.7), transparent);
}
/* Destination-specific gradients */
.img-placeholder.img-kl { background: linear-gradient(135deg, #f08e2a 0%, #d96b0a 50%, #8a7e6e 100%); }
.img-placeholder.img-penang { background: linear-gradient(135deg, #c9bfb0 0%, #ee7a12 50%, #b8580a 100%); }
.img-placeholder.img-melaka { background: linear-gradient(135deg, #4d463e 0%, #f08e2a 50%, #d96b0a 100%); }
.img-placeholder.img-borneo { background: linear-gradient(135deg, #6b6258 0%, #2a2218 50%, #ee7a12 100%); }

/* CTA section */
.cta-section {
  background: var(--warm-900); padding: 5rem 0;
}
.cta-section h2 { color: white; }
.cta-section p { color: var(--warm-200); }
.cta-section .container { text-align: center; }
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer {
  background: var(--warm-900); border-top: 1px solid var(--warm-800);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: start;
  flex-wrap: wrap; gap: 2rem;
}
.footer-brand p { color: var(--warm-400); font-size: 0.875rem; margin-top: 0.75rem; max-width: 280px; line-height: 1.6; }
.footer-links { display: flex; gap: 3rem; }
.footer-col h4 { color: var(--warm-300); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.footer-col a { display: block; color: var(--warm-400); font-size: 0.875rem; margin-bottom: 0.5rem; }
.footer-col a:hover { color: var(--warm-200); }
.footer-bottom {
  border-top: 1px solid var(--warm-800); margin-top: 2rem; padding-top: 1.5rem;
  display: flex; justify-content: space-between; color: var(--warm-500); font-size: 0.8125rem;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.8125rem; margin-bottom: 1rem;
}
.breadcrumb a { color: var(--brand-600); }

/* Timeline (itinerary) */
.timeline-day {
  border-left: 3px solid var(--brand-500);
  padding-left: 1.5rem; margin-bottom: 2.5rem;
}
.timeline-day h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.timeline-day .day-label {
  font-size: 0.6875rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--brand-600); margin-bottom: 0.25rem;
}
.timeline-day ul {
  list-style: none; padding: 0;
}
.timeline-day li {
  font-size: 0.9375rem; line-height: 1.7;
  padding: 0.25rem 0; color: var(--warm-800);
}
.timeline-day li::before {
  content: ''; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-500); margin-right: 0.75rem;
  vertical-align: middle;
}

/* Note box */
.note-box {
  background: var(--warm-100); border-radius: 0.5rem;
  padding: 1.25rem 1.5rem; margin-top: 2rem;
  font-size: 0.875rem; color: var(--warm-700); line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(250, 248, 245, 0.98);
    border-bottom: 1px solid var(--warm-200);
    padding: 1rem 1.5rem; gap: 1rem;
  }
  .hero { padding: 3rem 0 4rem; }
  .section { padding: 3rem 0; }
  .footer-links { flex-direction: column; gap: 1.5rem; }
  .card-grid-4 { grid-template-columns: 1fr; }
}
