/* ==========================================================================
   CAHAYA INTAN WISATA — LUXURY DESIGN SYSTEM (CORE TOKENS & RESET)
   PT. Cahaya Intan Wisata | Travel, Umrah & Haji Khusus
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Tajawal:wght@400;500;700;800&display=swap');

:root {
  /* Brand Primary & Palette */
  --primary-emerald: #064e3b;
  --primary-emerald-light: #0d5c46;
  --primary-emerald-dark: #022c22;
  --primary-gradient: linear-gradient(135deg, #064e3b 0%, #0d5c46 50%, #04382a 100%);
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gold-glow-gradient: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.05) 100%);
  
  /* Brand Secondary & Accent */
  --secondary-sapphire: #0a2540;
  --secondary-sapphire-dark: #07192d;
  --accent-gold: #d97706;
  --accent-gold-light: #f59e0b;
  --accent-gold-glow: rgba(245, 158, 11, 0.35);
  
  /* UI Surfaces & Backgrounds */
  --bg-pearl: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-card: rgba(255, 255, 255, 0.94);
  --bg-glass-dark: rgba(10, 37, 64, 0.88);
  --bg-emerald-soft: #ecfdf5;
  --bg-amber-soft: #fffbeb;
  
  /* Text & Contrast */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-gold: #d97706;
  --text-emerald: #065f46;
  
  /* Borders */
  --border-subtle: #e2e8f0;
  --border-gold: rgba(217, 119, 6, 0.3);
  --border-glass: rgba(255, 255, 255, 0.5);
  --border-emerald: rgba(6, 78, 59, 0.2);
  
  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Cairo', 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  
  /* Elevation Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 36px rgba(6, 78, 59, 0.12);
  --shadow-xl: 0 24px 50px rgba(10, 37, 64, 0.16);
  --shadow-gold: 0 8px 25px rgba(217, 119, 6, 0.28);
  
  /* Border Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: all 0.18s ease;
  --transition-smooth: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-pearl);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p, .section-subtitle, .card-title {
  overflow-wrap: break-word;
}

body.rtl-mode {
  font-family: var(--font-arabic);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}

/* Container & Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }
}

.section-padding {
  padding-block: 2rem 2.5rem;
}

@media (min-width: 992px) {
  .section-padding {
    padding-block: 2.5rem 3rem;
  }
}

/* Typography Utilities */
.section-header {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--bg-emerald-soft);
  color: var(--primary-emerald);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.section-badge.gold {
  background: var(--bg-amber-soft);
  color: var(--accent-gold);
  border-color: var(--border-gold);
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary-sapphire);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Mobile Section Header — Compact Minimalist ── */
@media (max-width: 767px) {
  .section-header {
    margin-bottom: 1.8rem;
  }
  .section-badge {
    font-size: 0.7rem;
    padding: 0.28rem 0.75rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
  }
  .section-title {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.55rem;
  }
  .section-subtitle {
    font-size: 0.85rem;
    line-height: 1.55;
  }
}

/* Button Component Styles */
/* Button Component Styles - Modern Minimalist */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.62rem 1.35rem;
  min-height: 44px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.4;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  touch-action: manipulation;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(6, 78, 59, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #075e47 0%, #0f6e54 100%);
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.3);
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #e58e07 0%, #c46b05 100%);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  box-shadow: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  background: #f0fdf4;
  border-color: #059669;
  color: #064e3b;
  box-shadow: none;
  transform: none;
}

.btn-outline:hover span {
  color: #064e3b;
}

.btn-outline-gold {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  box-shadow: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-outline-gold:hover {
  background: #fffbeb;
  border-color: #d97706;
  color: #b45309;
  box-shadow: none;
  transform: none;
}

.btn-white {
  background: #ffffff;
  color: var(--primary-emerald);
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-white:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transform: translateY(-1px);
}

.btn-blue {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.btn-blue:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 0.35rem;
  border-radius: var(--radius-full);
}

/* Glassmorphism Surface Utility */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg);
}

/* Badges & Tags */
.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  font-weight: 700;
}

.tag-emerald {
  background: rgba(6, 78, 59, 0.1);
  color: var(--primary-emerald);
}

.tag-gold {
  background: rgba(217, 119, 6, 0.12);
  color: var(--accent-gold);
}

.tag-sapphire {
  background: rgba(10, 37, 64, 0.08);
  color: var(--secondary-sapphire);
}
