/* ==========================================================================
   DESIGN SYSTEM & CSS VARIABLES - UMROHMUDAH.COM
   Theme: Emerald Green & Gold Luxury Islamic Aesthetics
   ========================================================================== */

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

:root {
  /* Color Palette - Dark Emerald & Royal Gold */
  --primary-dark: #022c22;
  --primary-base: #064e3b;
  --primary-emerald: #059669;
  --primary-light: #10b981;
  --primary-mint: #d1fae5;
  
  --gold-dark: #92400e;
  --gold-base: #d97706;
  --gold-light: #f59e0b;
  --gold-bright: #fbbf24;
  --gold-gradient: linear-gradient(135deg, #d97706 0%, #fbbf24 50%, #b45309 100%);
  --gold-glow: rgba(245, 158, 11, 0.25);
  
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.95);
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  --border-light: #e2e8f0;
  --border-emerald: rgba(5, 150, 105, 0.2);
  --border-gold: rgba(217, 119, 6, 0.3);
  
  /* Glassmorphism */
  --glass-bg: rgba(6, 78, 59, 0.75);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-blur: blur(16px);
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(6, 78, 59, 0.08);
  --shadow-lg: 0 12px 32px rgba(6, 78, 59, 0.12);
  --shadow-gold: 0 8px 24px rgba(217, 119, 6, 0.2);
  
  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Cairo', 'Plus Jakarta Sans', sans-serif;
}

/* Dark Mode Theme Overrides */
[data-theme="dark"] {
  --bg-main: #031713;
  --bg-surface: #06241e;
  --bg-surface-elevated: #0a332b;
  --bg-card: rgba(6, 36, 30, 0.9);
  
  --text-main: #f1f5f9;
  --text-muted: #cbd5e1;
  --text-light: #64748b;
  
  --border-light: #0d4438;
  --glass-bg: rgba(2, 44, 34, 0.85);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

/* Utility Classes */
.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.bg-emerald {
  background-color: var(--primary-base);
  color: var(--text-white);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-gold {
  background: rgba(217, 119, 6, 0.15);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
}

.badge-emerald {
  background: rgba(5, 150, 105, 0.15);
  color: var(--primary-emerald);
  border: 1px solid var(--border-emerald);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #000;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.35);
  filter: brightness(1.08);
}

.btn-emerald {
  background-color: var(--primary-emerald);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-emerald:hover {
  background-color: var(--primary-base);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-emerald);
  color: var(--primary-emerald);
}

.btn-outline:hover {
  background: var(--primary-emerald);
  color: #fff;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #022c22 0%, #064e3b 100%);
  color: #fbbf24;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(251, 191, 36, 0.2);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-info span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10000;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-fast);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  width: 46px;
  height: 46px;
  background: var(--gold-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #022c22;
  font-size: 1.5rem;
  box-shadow: var(--shadow-gold);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.brand-name span {
  color: #fbbf24;
}

.brand-sub {
  font-size: 0.7rem;
  color: #a7f3d0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: #fbbf24;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-icon-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-icon-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fbbf24;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: #022c22;
  z-index: 2500;
  padding: 2.5rem 1.5rem;
  transition: right 0.35s ease;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-menu-drawer.active {
  right: 0;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-links a {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(160deg, #022c22 0%, #064e3b 50%, #0f172a 100%);
  color: #fff;
  padding: 6rem 0 8rem;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(245, 158, 11, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 0;
}

/* Interactive grid spotlight canvas */
.hero-grid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Soft ambient glow, always-on center light */
.hero-ambient-glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 850px;
  max-height: 850px;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;

  background: radial-gradient(
    circle,
    rgba(217, 119, 6, 0.16) 0%,
    rgba(217, 119, 6, 0.06) 28%,
    rgba(217, 119, 6, 0.015) 48%,
    transparent 72%
  );

  filter: blur(35px);
  animation: heroAmbientPulse 5s ease-in-out infinite alternate;
}

@keyframes heroAmbientPulse {
  from { opacity: .65; transform: translate(-50%, -50%) scale(.94); }
  to   { opacity: 1;   transform: translate(-50%, -50%) scale(1.04); }
}

/* Spotlight that follows the cursor within the hero section */
.hero-cursor-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  left: 0;
  top: 0;
  z-index: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);

  background: radial-gradient(
    circle,
    rgba(251, 191, 36, .16) 0%,
    rgba(217, 119, 6, .09) 18%,
    rgba(217, 119, 6, .04) 38%,
    transparent 70%
  );

  filter: blur(12px);
  opacity: 0;
  transition: opacity .25s ease;
}

@media (max-width: 767px) {
  .hero-cursor-glow { display: none; }
  .hero-ambient-glow { width: 100vw; height: 100vw; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ambient-glow { animation: none; }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

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

.hero-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
  max-width: 90%;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item h3 {
  font-size: 2.2rem;
  color: #fbbf24;
  font-weight: 800;
}

.stat-item p {
  font-size: 0.875rem;
  color: #94a3b8;
}

/* Quick Search Card */
.hero-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  color: var(--text-main);
  position: relative;
  z-index: 2;
  backdrop-filter: var(--glass-blur);
}

.hero-card-box h3 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-base);
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-emerald);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

/* ==========================================================================
   5 PASTI UMROH GUARANTEE
   ========================================================================== */
.guarantee-section {
  margin-top: -4rem;
  position: relative;
  z-index: 10;
  padding-bottom: 4rem;
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.guarantee-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.guarantee-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

.guarantee-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: rgba(5, 150, 105, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary-emerald);
}

.guarantee-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-base);
}

.guarantee-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION TITLE & LAYOUT
   ========================================================================== */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PACKAGE CATALOG SECTION
   ========================================================================== */
.catalog-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-emerald);
  color: #fff;
  border-color: var(--primary-emerald);
  box-shadow: var(--shadow-md);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.package-card {
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-emerald);
}

.package-badge-top {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
}

.package-thumb {
  position: relative;
  height: 220px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  color: #fff;
}

.package-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 44, 34, 0.9) 0%, transparent 70%);
}

.package-hotel-badge {
  position: relative;
  z-index: 2;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #fbbf24;
}

/* Galeri gambar di halaman detail paket - gambar tampil UTUH & PROPORSIONAL */
.detail-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.detail-gallery-img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 780px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  display: block;
}
@media (max-width: 767px) {
  .detail-gallery-img {
    max-height: 560px;
  }
}

.package-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.package-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.package-features {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.package-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.package-features i {
  color: var(--primary-emerald);
}

.seat-progress-box {
  background: var(--bg-main);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.seat-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.progress-bar-bg {
  height: 6px;
  background: var(--border-light);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
}

.package-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.price-box {
  display: flex;
  flex-direction: column;
}

.price-old {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.price-current {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary-base);
}

/* ==========================================================================
   COST CALCULATOR SECTION
   ========================================================================== */
.calc-section {
  background: linear-gradient(135deg, #022c22 0%, #064e3b 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.calc-card {
  background: var(--bg-surface);
  color: var(--text-main);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.calc-result-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}

.calc-total-amount {
  font-size: 3rem;
  font-weight: 900;
  color: #fbbf24;
  margin: 1rem 0;
}

.calc-breakdown {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
}

.calc-breakdown li {
  display: flex;
  justify-content: space-between;
}

/* ==========================================================================
   TESTIMONIALS & FAQ ACCORDION
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testi-card {
  background: var(--bg-surface-elevated);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.testi-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.testi-avatar {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  background: var(--primary-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary-base);
  font-size: 1.2rem;
}

.stars {
  color: #fbbf24;
  margin-top: 0.2rem;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary-emerald);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary-emerald);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease-out;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

/* ==========================================================================
   BLOG & ARTICLE SECTION
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-emerald);
}

.blog-thumb {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.blog-body {
  padding: 1.5rem;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.6rem;
  display: flex;
  gap: 1rem;
}

.blog-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.blog-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   SEO META INSPECTOR DRAWER & FLOATING BUTTONS
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.btn-floating {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-bounce);
  border: none;
}

.btn-floating:hover {
  transform: scale(1.12);
}

.btn-wa-float {
  background-color: #25d366;
  color: #fff;
}

.btn-seo-float {
  background-color: var(--primary-base);
  color: #fbbf24;
  border: 2px solid #fbbf24;
}

/* Modal Drawer */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  max-width: 750px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-fast);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-main);
  border: none;
  font-size: 1.5rem;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
}

.seo-code-block {
  background: #0f172a;
  color: #38bdf8;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  font-family: monospace;
  font-size: 0.85rem;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 400px;
  overflow-y: auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #022c22;
  color: #94a3b8;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(251, 191, 36, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: #fbbf24;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid, .calc-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

/* ============================================================================
   RESPONSIVE PATCH v2
   ============================================================================ */
html, body { max-width: 100%; overflow-x: hidden; }
.container, .hero-grid, .calc-grid, .footer-grid, .package-grid, .guarantee-grid, .testimonials-grid, .blog-grid { min-width: 0; }
.hero-content, .hero-card-box, .calc-card, .calc-result-box, .package-card, .blog-card, .testi-card, .footer-col { min-width: 0; }
img, svg, video, iframe { max-width: 100%; }
input, select, textarea, button { max-width: 100%; }

@media (max-width: 1199px) {
  .container { padding-left: 1.25rem; padding-right: 1.25rem; }
  .nav-menu { gap: 1.15rem; }
  .nav-link { font-size: .88rem; }
  .nav-actions { gap: .6rem; }
  .nav-actions .btn-gold { padding-left: 1rem; padding-right: 1rem; }
  .hero-grid { gap: 2.5rem; }
  .hero-title { font-size: clamp(2.6rem, 5vw, 3.5rem); }
}

@media (max-width: 992px) {
  .top-bar .container { flex-direction: column; gap: .35rem; text-align: center; }
  .top-info { justify-content: center; flex-wrap: wrap; gap: .4rem 1rem; }
  .top-promo { width: 100%; }
  .main-header .nav-wrapper { height: 70px; }
  .main-header nav { display: none; }
  .mobile-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-actions .btn-gold { display: none; }
  .hero-grid, .calc-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-section { padding: 4.5rem 0 6rem; }
  .hero-content { text-align: center; }
  .hero-badge-group, .hero-actions { justify-content: center; }
  .hero-subtitle { max-width: 760px; margin-left: auto; margin-right: auto; }
  .hero-stats { max-width: 720px; margin-left: auto; margin-right: auto; }
  .hero-card-box { width: min(100%, 720px); margin: 0 auto; }
  .calc-section { padding: 3rem 1.5rem; }
  .footer-grid { gap: 2rem; }
}

@media (max-width: 767px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  .top-bar { font-size: .72rem; line-height: 1.4; }
  .top-info { gap: .25rem .7rem; }
  .top-info span:nth-child(3) { display: none; }
  .brand-icon { width: 40px; height: 40px; font-size: 1.2rem; border-radius: 10px; }
  .brand-name { font-size: 1.2rem; }
  .brand-sub { font-size: .58rem; letter-spacing: .06em; }
  .main-header .nav-wrapper { height: 64px; }
  .btn-icon-toggle { width: 36px; height: 36px; }
  .mobile-toggle { font-size: 1.5rem; }
  .mobile-menu-drawer { width: min(88vw, 340px); padding: 1.5rem 1.25rem; overflow-y: auto; overscroll-behavior: contain; }
  .hero-section { padding: 3.25rem 0 4.5rem; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.65rem); line-height: 1.15; letter-spacing: -.025em; }
  .hero-subtitle { font-size: 1rem; line-height: 1.65; margin-bottom: 1.75rem; }
  .hero-badge-group { gap: .5rem; }
  .badge { font-size: .68rem; padding: .32rem .65rem; }
  .hero-actions { flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
  .hero-actions .btn { width: 100%; white-space: normal; }
  .hero-stats { grid-template-columns: 1fr; gap: 1rem; padding-top: 1.5rem; }
  .stat-item { display: grid; grid-template-columns: 90px 1fr; align-items: center; text-align: left; gap: .5rem; }
  .stat-item h3 { font-size: 1.55rem; }
  .stat-item p { font-size: .78rem; }
  .hero-card-box { padding: 1.25rem; border-radius: 18px; }
  .hero-card-box h3 { font-size: 1.1rem; }
  .section { padding: 3.5rem 0; }
  .section-header { margin-bottom: 2rem; }
  .section-title { font-size: clamp(1.75rem, 7vw, 2.2rem); }
  .section-desc { font-size: .9rem; }
  .guarantee-section { margin-top: -2rem; padding-bottom: 2.5rem; }
  .guarantee-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .guarantee-card { padding: 1.1rem .75rem; }
  .guarantee-card h3 { font-size: .95rem; }
  .guarantee-card p { font-size: .78rem; }
  .package-grid, .testimonials-grid, .blog-grid { grid-template-columns: 1fr; }
  .package-content { padding: 1.25rem; }
  .package-title { font-size: 1.15rem; }
  .package-features li { font-size: .82rem; align-items: flex-start; }
  .package-footer { align-items: stretch; flex-direction: column; gap: 1rem; }
  .package-footer > div:last-child { display: flex !important; width: 100%; }
  .package-footer > div:last-child .btn { flex: 1; }
  .calc-section { border-radius: 18px; padding: 1.25rem; }
  .calc-card, .calc-result-box { padding: 1.25rem; border-radius: 16px; }
  .calc-total-amount { font-size: clamp(2rem, 9vw, 2.7rem); overflow-wrap: anywhere; }
  .calc-breakdown li { gap: .75rem; align-items: flex-start; }
  .faq-question { padding: 1rem; font-size: .95rem; gap: .75rem; }
  .faq-answer { padding-left: 1rem; padding-right: 1rem; font-size: .88rem; }
  .faq-item.active .faq-answer { padding-left: 1rem; padding-right: 1rem; }
  .blog-grid { gap: 1rem; }
  .blog-thumb { height: 180px; }
  .blog-body { padding: 1.2rem; }
  .blog-meta { flex-wrap: wrap; gap: .4rem .8rem; }
  .footer { padding: 3.5rem 0 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2.5rem; }
  .footer-bottom { font-size: .75rem; line-height: 1.5; }
  .floating-actions { right: 1rem; bottom: 1rem; gap: .6rem; }
  .btn-floating { width: 50px; height: 50px; font-size: 1.3rem; }
  .modal-content { width: calc(100% - 1.5rem); max-height: 90vh; padding: 1.5rem 1rem; border-radius: 18px; }
  .modal-close { top: .75rem; right: .75rem; }
  .seo-code-block { font-size: .7rem; padding: .85rem; }
}

@media (max-width: 420px) {
  .container { padding-left: .75rem; padding-right: .75rem; }
  .brand-sub { display: none; }
  .brand-name { font-size: 1.08rem; }
  .nav-actions { gap: .35rem; }
  .hero-title { font-size: 1.85rem; }
  .hero-card-box { padding: 1rem; }
  .guarantee-grid { grid-template-columns: 1fr; }
  .stat-item { grid-template-columns: 80px 1fr; }
  .btn { padding: .75rem 1rem; font-size: .9rem; }
  .calc-card h3, .hero-card-box h3 { line-height: 1.35; }
  .calc-breakdown li { flex-direction: column; gap: .15rem; }
  .seat-label { gap: .5rem; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* ==========================================================================
   STICKY HEADER PATCH (v3 - unified, fixed positioning at all breakpoints)
   Menu utama (.main-header) selalu menempel di atas viewport, baik saat
   scroll di desktop maupun di HP. Kita pakai position:fixed (bukan sticky)
   di semua ukuran layar supaya perilakunya konsisten lintas browser --
   position:sticky bisa gagal ketika ada overflow-x:hidden di body/html
   (masalah umum terutama di Safari). Top-bar (baris info kontak) TIDAK
   ikut fixed, dia scroll seperti biasa; padding-top di body dipakai untuk
   mengkompensasi tinggi header yang lepas dari alur dokumen.
   ========================================================================== */

.top-bar {
  position: relative;
  z-index: 1001;
}

.main-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 10000 !important;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* Kompensasi tinggi header supaya konten tidak "ketutup" di belakangnya. */
body { padding-top: 80px; }

.mobile-menu-drawer {
  position: fixed !important;
  top: 0 !important;
  right: -100% !important;
  bottom: 0 !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  z-index: 20000 !important;
  transition: right 0.35s ease;
}

.mobile-menu-drawer.active {
  right: 0 !important;
}

body.mobile-menu-open {
  overflow: hidden;
}

@media (max-width: 992px) {
  body { padding-top: 70px; }
  .main-header .nav-wrapper { height: 70px !important; }
}

@media (max-width: 767px) {
  body { padding-top: 64px; }
  .main-header .nav-wrapper { height: 64px !important; }
  .main-header { height: 64px; }
}

/* Supaya klik menu ("Paket", "FAQ", dst.) tidak mendarat tertutup header. */
#beranda, #paket, #keunggulan, #testimoni, #blog, #faq {
  scroll-margin-top: 90px;
}
@media (max-width: 992px) {
  #beranda, #paket, #keunggulan, #testimoni, #blog, #faq {
    scroll-margin-top: 78px;
  }
}
@media (max-width: 767px) {
  #beranda, #paket, #keunggulan, #testimoni, #blog, #faq {
    scroll-margin-top: 72px;
  }
}
