/* =========================================================
   Musyinan Tour Bromo Malang — Main Stylesheet
   ========================================================= */
:root {
  --primary:       #E85D04;
  --primary-dark:  #C44D02;
  --primary-light: #FFF4ED;
  --secondary:     #1A2744;
  --accent:        #F59E0B;
  --white:         #FFFFFF;
  --gray-50:       #F9FAFB;
  --gray-100:      #F3F4F6;
  --gray-200:      #E5E7EB;
  --gray-400:      #9CA3AF;
  --gray-500:      #6B7280;
  --gray-700:      #374151;
  --gray-900:      #111827;
  --success:       #059669;
  --danger:        #DC2626;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow:        0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg:     0 10px 25px -3px rgba(0,0,0,.12), 0 4px 8px -2px rgba(0,0,0,.07);
  --shadow-xl:     0 20px 40px -5px rgba(0,0,0,.15);
  --radius:        .5rem;
  --radius-lg:     1rem;
  --radius-xl:     1.5rem;
  --transition:    .2s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }

/* ---- Utility ---- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section-pad { padding: 5rem 0; }
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }

.badge {
  display: inline-block;
  padding: .3rem .9rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-primary  { background: var(--primary-light); color: var(--primary); }
.badge-success  { background: #D1FAE5; color: #065F46; }
.badge-warning  { background: #FEF3C7; color: #92400E; }
.badge-secondary{ background: var(--gray-100);       color: var(--gray-700); }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 1rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary  { background: var(--primary); color: var(--white); }
.btn-primary:hover  { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline  { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover  { background: var(--white); color: var(--primary); }
.btn-wa       { background: #25D366; color: var(--white); border-radius: 999px; }
.btn-wa:hover { background: #1EB858; transform: translateY(-1px); box-shadow: 0 4px 15px rgba(37,211,102,.4); }
.btn-sm { padding: .45rem 1rem; font-size: .875rem; }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #B91C1C; }
.btn-secondary { background: var(--gray-100); color: var(--gray-700); }
.btn-secondary:hover { background: var(--gray-200); }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-top: .75rem;
  max-width: 600px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 1rem 0;
}
.navbar.scrolled {
  background: var(--secondary);
  box-shadow: var(--shadow);
  padding: .75rem 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 800; font-size: 1.2rem; color: var(--white);
}
.nav-logo svg { width: 38px; height: 38px; }
.nav-logo .logo-img { height: 40px; width: auto; object-fit: contain; }
.nav-logo span { line-height: 1.2; }
.nav-logo .logo-sub { font-size: .7rem; font-weight: 400; opacity: .8; display: block; }

.nav-links {
  display: flex; align-items: center; gap: .25rem; list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,.85);
  padding: .5rem .875rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.1); }
.nav-wa { margin-left: .5rem; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: .25rem;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

.mobile-menu {
  display: none;
  background: var(--secondary);
  padding: 1rem;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu li a {
  display: block; color: var(--white); padding: .75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-weight: 500;
}

@media (max-width: 768px) {
  .nav-links, .nav-wa { display: none; }
  .hamburger { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #1A2744 0%, #2D4A8A 40%, #E85D04 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,39,68,.85) 0%, rgba(26,39,68,.5) 50%, rgba(232,93,4,.4) 100%);
}
.hero-mountain {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 1;
  opacity: .25;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 8rem 0 5rem;
  max-width: 700px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.15);
  color: var(--white);
  padding: .4rem 1rem;
  border-radius: 999px;
  font-size: .85rem; font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}
.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero-title .highlight { color: var(--accent); }
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; text-align: center;
}
.hero-scroll span {
  display: block; width: 30px; height: 50px; border: 2px solid rgba(255,255,255,.4);
  border-radius: 999px; margin: 0 auto .5rem; position: relative;
}
.hero-scroll span::before {
  content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 10px; background: var(--white); border-radius: 2px;
  animation: scroll-hint 1.5s ease infinite;
}
@keyframes scroll-hint { 0%,100%{opacity:1;transform:translateX(-50%) translateY(0)} 50%{opacity:.3;transform:translateX(-50%) translateY(8px)} }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--secondary);
  padding: 2rem 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  text-align: center;
}
.stat-item .stat-num {
  font-size: 2rem; font-weight: 900; color: var(--accent);
  line-height: 1;
}
.stat-item .stat-label { color: rgba(255,255,255,.7); font-size: .875rem; margin-top: .25rem; }

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   PACKAGES
   ============================================================ */
.packages-section { background: var(--gray-50); }
.section-header { margin-bottom: 3rem; }

.pkg-tabs {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem;
}
.pkg-tab {
  padding: .6rem 1.4rem;
  border-radius: 999px;
  border: 2px solid var(--gray-200);
  background: var(--white);
  cursor: pointer; font-size: .9rem; font-weight: 600;
  color: var(--gray-700);
  transition: all var(--transition);
}
.pkg-tab.active, .pkg-tab:hover {
  background: var(--primary); border-color: var(--primary); color: var(--white);
}

.pkg-pane { display: none; }
.pkg-pane.active { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }

.pkg-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.pkg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.pkg-img {
  height: 200px; background: linear-gradient(135deg, #1A2744, #E85D04);
  position: relative; overflow: hidden;
}
.pkg-img img { width: 100%; height: 100%; object-fit: cover; }
.pkg-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: rgba(255,255,255,.5);
}
.pkg-duration {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--accent); color: var(--gray-900);
  padding: .25rem .75rem; border-radius: 999px;
  font-size: .78rem; font-weight: 700;
}
.pkg-cat {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(0,0,0,.5); color: var(--white);
  padding: .25rem .75rem; border-radius: 999px;
  font-size: .73rem; font-weight: 600; backdrop-filter: blur(4px);
}

.pkg-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.pkg-name {
  font-size: 1.1rem; font-weight: 700; color: var(--secondary);
  margin-bottom: .5rem; line-height: 1.3;
}
.pkg-desc {
  font-size: .875rem; color: var(--gray-500);
  margin-bottom: 1rem; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pkg-highlights {
  font-size: .8rem; color: var(--gray-600);
  margin-bottom: 1rem;
}
.pkg-highlights li { display: flex; align-items: flex-start; gap: .4rem; padding: .15rem 0; }
.pkg-highlights li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }

.pkg-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; border-top: 1px solid var(--gray-100); margin-top: auto;
  flex-wrap: wrap; gap: .5rem;
}
.pkg-price { display: flex; flex-direction: column; }
.pkg-price-val { font-size: 1.25rem; font-weight: 800; color: var(--primary); }
.pkg-price-note { font-size: .75rem; color: var(--gray-400); }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem;
}
.why-card {
  text-align: center; padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; font-size: 1.8rem;
}
.why-title { font-size: 1.05rem; font-weight: 700; color: var(--secondary); margin-bottom: .5rem; }
.why-desc  { font-size: .875rem; color: var(--gray-500); line-height: 1.6; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section { background: var(--gray-50); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.gallery-item {
  aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
  position: relative; cursor: pointer;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 40%, rgba(0,0,0,.6));
  opacity: 0; transition: opacity var(--transition);
  display: flex; align-items: flex-end; padding: 1rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--white); font-size: .875rem; font-weight: 600; }

.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: rgba(255,255,255,.3);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--secondary); }
.testimonials-section .section-title { color: var(--white); }
.testimonials-section .section-subtitle { color: rgba(255,255,255,.65); }

.testi-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem;
}
.testi-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
}
.testi-stars { color: var(--accent); font-size: 1.1rem; letter-spacing: .1em; margin-bottom: 1rem; }
.testi-content { color: rgba(255,255,255,.85); font-size: .95rem; line-height: 1.7; margin-bottom: 1.25rem; }
.testi-author { display: flex; align-items: center; gap: .75rem; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.testi-name  { font-weight: 700; color: var(--white); font-size: .95rem; }
.testi-loc   { font-size: .8rem; color: rgba(255,255,255,.5); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; color: rgba(255,255,255,.2);
  position: relative;
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-visual::before {
  content: ''; position: absolute;
  inset: -2px; border-radius: var(--radius-xl);
  border: 3px solid var(--primary);
  opacity: .4;
  z-index: 1;
}
.about-badge { margin-bottom: 1.25rem; }
.about-title { font-size: 2rem; font-weight: 800; color: var(--secondary); margin-bottom: 1rem; line-height: 1.2; }
.about-content { color: var(--gray-500); line-height: 1.8; margin-bottom: 1.75rem; }
.about-features { display: flex; flex-direction: column; gap: .75rem; }
.about-feat { display: flex; align-items: center; gap: .75rem; font-size: .95rem; color: var(--gray-700); }
.about-feat-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1rem;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-visual { aspect-ratio: 16/9; }
}

/* ============================================================
   CTA WHATSAPP SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 5rem 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-content { position: relative; z-index: 1; }
.cta-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; color: var(--white); margin-bottom: 1rem; }
.cta-subtitle { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--secondary);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { }
.footer-logo { display: flex; align-items: center; gap: .6rem; color: var(--white); font-weight: 800; font-size: 1.1rem; margin-bottom: 1rem; }
.footer-tagline { font-size: .9rem; line-height: 1.6; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); }
.footer-col h4 { color: var(--white); font-size: .95rem; font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { font-size: .875rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--primary); }
.footer-contact-item { display: flex; gap: .5rem; align-items: flex-start; font-size: .875rem; margin-bottom: .6rem; }
.footer-contact-icon { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0; font-size: .8rem; flex-wrap: wrap; gap: .5rem;
}

@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ============================================================
   FLOATING WA BUTTON
   ============================================================ */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(37,211,102,.6); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float-pulse {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 3px solid rgba(37,211,102,.4);
  animation: wa-pulse 2s infinite;
}
@keyframes wa-pulse { 0%{transform:scale(1);opacity:1} 100%{transform:scale(1.5);opacity:0} }

/* ============================================================
   PACKAGE DETAIL PAGE
   ============================================================ */
.detail-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
  padding: 8rem 0 4rem; color: var(--white);
}
.detail-breadcrumb { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 1rem; }
.detail-breadcrumb a { color: rgba(255,255,255,.7); }
.detail-breadcrumb a:hover { color: var(--white); }
.detail-hero-grid { display: grid; grid-template-columns: 1fr 400px; gap: 3rem; align-items: center; }
.detail-badge { margin-bottom: 1rem; }
.detail-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 1rem; }
.detail-duration { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.1); padding: .4rem 1rem; border-radius: 999px; font-size: .9rem; }
.detail-price-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  color: var(--gray-700);
  box-shadow: var(--shadow-xl);
}
.detail-price-label { font-size: .85rem; color: var(--gray-500); margin-bottom: .25rem; }
.detail-price-val   { font-size: 2.2rem; font-weight: 900; color: var(--primary); line-height: 1; }
.detail-price-note  { font-size: .875rem; color: var(--gray-400); margin-bottom: 1.5rem; }
.detail-body { padding: 4rem 0; }
.detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; }
.detail-section { margin-bottom: 2.5rem; }
.detail-section h3 { font-size: 1.2rem; font-weight: 700; color: var(--secondary); margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--primary-light); }
.detail-list { list-style: none; }
.detail-list li { display: flex; align-items: flex-start; gap: .5rem; padding: .4rem 0; font-size: .95rem; }
.detail-list.include li::before { content: '✓'; color: var(--success); font-weight: 700; }
.detail-list.exclude li::before { content: '✗'; color: var(--danger); font-weight: 700; }
.detail-list.highlight li::before { content: '★'; color: var(--accent); font-weight: 700; }

@media (max-width: 768px) {
  .detail-hero-grid, .detail-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact { scroll-margin-top: 80px; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .875rem; font-weight: 600; color: var(--gray-700); margin-bottom: .4rem; }
.form-control {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  color: var(--gray-700); background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(232,93,4,.1); }
textarea.form-control { min-height: 120px; resize: vertical; }
.contact-info { }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.75rem;
}
.contact-info-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-info-label { font-size: .8rem; color: var(--gray-400); margin-bottom: .15rem; }
.contact-info-val   { font-weight: 600; color: var(--gray-700); }

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

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  padding: 1rem 1.25rem; border-radius: var(--radius);
  margin-bottom: 1.25rem; display: flex; align-items: flex-start; gap: .75rem;
  font-size: .9rem;
}
.alert-success { background: #D1FAE5; color: #065F46; border-left: 4px solid var(--success); }
.alert-error   { background: #FEE2E2; color: #991B1B; border-left: 4px solid var(--danger); }
.alert-warning { background: #FEF3C7; color: #92400E; border-left: 4px solid var(--accent); }
.alert-info    { background: #DBEAFE; color: #1E40AF; border-left: 4px solid #3B82F6; }

/* ============================================================
   ADMIN STYLES
   ============================================================ */
.admin-body { background: #F1F5F9; min-height: 100vh; }
.admin-layout { display: flex; min-height: 100vh; }

.sidebar {
  width: 260px; background: var(--secondary);
  display: flex; flex-direction: column;
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 200;
  overflow-y: auto;
  transition: transform var(--transition);
}
.sidebar-logo {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; gap: .75rem;
  color: var(--white); font-weight: 800; font-size: 1.05rem;
}
.sidebar-logo svg { width: 32px; height: 32px; flex-shrink: 0; }
.sidebar-logo-sub { font-size: .7rem; font-weight: 400; opacity: .6; display: block; line-height: 1.2; }
.sidebar-nav { padding: 1rem 0; flex: 1; }
.sidebar-label {
  padding: .5rem 1.25rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  color: rgba(255,255,255,.35); text-transform: uppercase;
  margin-top: .5rem;
}
.sidebar-item a {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1.25rem;
  color: rgba(255,255,255,.7); font-size: .9rem; font-weight: 500;
  transition: background var(--transition), color var(--transition);
  border-radius: 0;
}
.sidebar-item a:hover, .sidebar-item a.active {
  background: rgba(255,255,255,.08); color: var(--white);
}
.sidebar-item a.active { border-left: 3px solid var(--primary); padding-left: calc(1.25rem - 3px); }
.sidebar-item a span.icon { font-size: 1.1rem; width: 20px; text-align: center; }
.sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.sidebar-user {
  display: flex; align-items: center; gap: .75rem;
  color: rgba(255,255,255,.7); font-size: .875rem; margin-bottom: .75rem;
}
.sidebar-user-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .875rem;
}

.admin-main { margin-left: 260px; flex: 1; display: flex; flex-direction: column; min-height: 100vh; }
.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
}
.admin-topbar h1 { font-size: 1.25rem; font-weight: 700; color: var(--secondary); }
.admin-content { padding: 2rem; flex: 1; }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}
.card-header h2 { font-size: 1rem; font-weight: 700; color: var(--secondary); }
.card-body { padding: 1.5rem; }

.stats-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 1rem;
}
.stat-card-icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.stat-card-icon.orange { background: var(--primary-light); }
.stat-card-icon.blue   { background: #DBEAFE; }
.stat-card-icon.green  { background: #D1FAE5; }
.stat-card-icon.purple { background: #EDE9FE; }
.stat-card-icon.yellow { background: #FEF3C7; }
.stat-card-num   { font-size: 1.75rem; font-weight: 800; color: var(--secondary); line-height: 1; }
.stat-card-label { font-size: .8rem; color: var(--gray-500); margin-top: .2rem; }

.table-wrapper { overflow-x: auto; }
table.admin-table {
  width: 100%; border-collapse: collapse; font-size: .875rem;
}
.admin-table th {
  background: var(--gray-50);
  color: var(--gray-700); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em;
  padding: .75rem 1rem;
  text-align: left; border-bottom: 2px solid var(--gray-200);
}
.admin-table td {
  padding: .875rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}
.admin-table tr:hover td { background: var(--gray-50); }
.admin-table .action-group { display: flex; gap: .4rem; flex-wrap: wrap; }

/* Admin Forms */
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.admin-form-grid.full { grid-template-columns: 1fr; }
.form-hint { font-size: .78rem; color: var(--gray-400); margin-top: .3rem; }
.admin-form-section-title { font-size: .85rem; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: .06em; margin: 1.5rem 0 .75rem; padding-bottom: .5rem; border-bottom: 1px solid var(--gray-100); }
.tab-nav { display: flex; gap: .25rem; border-bottom: 2px solid var(--gray-200); margin-bottom: 1.5rem; flex-wrap: wrap; }
.tab-btn { padding: .6rem 1.25rem; border: none; background: none; cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--gray-500); border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color var(--transition), border-color var(--transition); }
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* Toggle switch */
.toggle-wrap { display: flex; align-items: center; gap: .75rem; }
.toggle { position: relative; display: inline-block; width: 44px; height: 24px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0; background: var(--gray-200);
  border-radius: 999px; cursor: pointer; transition: var(--transition);
}
.toggle-slider::before {
  content: ''; position: absolute; left: 3px; bottom: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--white); transition: var(--transition);
}
.toggle input:checked + .toggle-slider { background: var(--primary); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }

/* Mobile admin */
.admin-toggle { display: none; }
@media (max-width: 1024px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .admin-toggle { display: flex; }
  .admin-form-grid { grid-template-columns: 1fr; }
}

/* Image preview */
.img-preview {
  width: 100%; max-height: 200px; object-fit: cover;
  border-radius: var(--radius); margin-top: .5rem;
  border: 1px solid var(--gray-200);
  display: none;
}
.img-preview.show { display: block; }

/* Login page */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--secondary) 0%, #2D4A8A 60%, var(--primary-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.login-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  width: 100%; max-width: 420px;
  box-shadow: var(--shadow-xl);
}
.login-logo { text-align: center; margin-bottom: 2rem; }
.login-logo svg { width: 52px; height: 52px; }
.login-logo h1 { font-size: 1.4rem; font-weight: 800; color: var(--secondary); margin-top: .75rem; }
.login-logo p { font-size: .875rem; color: var(--gray-500); }

/* Gallery admin grid */
.gallery-admin-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem;
}
.gallery-admin-item {
  border-radius: var(--radius); overflow: hidden;
  border: 2px solid var(--gray-200);
  position: relative;
}
.gallery-admin-item img, .gallery-admin-thumb {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  background: var(--gray-100); display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--gray-300);
}
.gallery-admin-actions {
  display: flex; gap: .25rem; padding: .5rem;
  background: var(--gray-50); border-top: 1px solid var(--gray-100);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-pad { padding: 3rem 0; }
  .hero-content { padding: 7rem 0 4rem; }
  .pkg-pane.active { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
