/* ============================================
   WunderPhoenix — Modern Travel Website
   Brand palette: phoenix orange/red gradient
   ============================================ */

:root {
  --primary: #f97316;
  --primary-dark: #ea580c;
  --accent: #dc2626;
  --accent-dark: #b91c1c;
  --gradient: linear-gradient(135deg, #fbbf24 0%, #f97316 40%, #dc2626 100%);
  --gradient-soft: linear-gradient(135deg, #fff7ed 0%, #fef2f2 100%);
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --border: #e5e7eb;
  --wa-green: #25D366;
  --wa-dark: #128C7E;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 60px rgba(249,115,22,0.18);
  --radius: 16px;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
}
.logo-img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); }
.logo-text {
  font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-menu {
  display: flex; align-items: center; gap: 8px; list-style: none;
}
.nav-link {
  text-decoration: none; color: var(--text-light); font-weight: 500;
  padding: 8px 14px; border-radius: 8px; font-size: 0.92rem;
  transition: all 0.25s ease; position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--primary-dark); background: #fff7ed; }
.nav-cta {
  text-decoration: none; background: var(--wa-green); color: white !important;
  padding: 9px 18px; border-radius: 50px; font-weight: 600; font-size: 0.9rem;
  transition: all 0.25s ease; display: inline-flex; align-items: center; gap: 6px;
}
.nav-cta:hover { background: var(--wa-dark); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(37,211,102,0.35); }

/* Language switcher */
.lang-switcher .lang-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 12px; border-radius: 8px; font-size: 0.82rem; font-weight: 600;
  color: var(--text-light); text-decoration: none;
  border: 1.5px solid var(--border); background: white;
  transition: all 0.25s ease;
}
.lang-switcher .lang-btn:hover { border-color: var(--primary); color: var(--primary-dark); }
.lang-active { color: var(--primary-dark); }
.lang-sep { color: #d1d5db; }
.lang-other { color: #9ca3af; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center; padding: 120px 24px 80px;
  background: var(--gradient-soft);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5;
  animation: float 8s ease-in-out infinite;
}
.blob-1 { width: 400px; height: 400px; background: #fbbf24; top: -100px; left: -100px; }
.blob-2 { width: 350px; height: 350px; background: #f97316; bottom: -80px; right: -80px; animation-delay: -3s; }
.blob-3 { width: 300px; height: 300px; background: #dc2626; top: 40%; left: 60%; opacity: 0.25; animation-delay: -5s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-badge {
  display: inline-block; background: white; color: var(--primary-dark);
  padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600;
  box-shadow: var(--shadow-sm); margin-bottom: 24px;
  border: 1px solid #fed7aa;
}
.hero-title {
  font-family: var(--font-heading); font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem); color: var(--text-light);
  max-width: 620px; margin: 0 auto 36px; line-height: 1.75;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 50px; font-weight: 600;
  text-decoration: none; font-size: 1rem; cursor: pointer;
  transition: all 0.3s ease; border: none;
}
.btn-primary {
  background: var(--gradient); color: white;
  box-shadow: 0 8px 24px rgba(249,115,22,0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(249,115,22,0.5); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary-dark); background: white; }
.btn-wa { background: var(--wa-green); color: white; box-shadow: 0 8px 24px rgba(37,211,102,0.35); }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-3px); }
.btn-large { padding: 18px 36px; font-size: 1.1rem; }

.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-light); font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
}
.scroll-line { width: 1.5px; height: 40px; background: linear-gradient(to bottom, var(--primary), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 1; transform: scaleY(1); } 50% { opacity: 0.4; transform: scaleY(0.6); } }

/* ============ STATS ============ */
.stats { padding: 60px 0; background: white; }
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.stat-item { text-align: center; padding: 24px; }
.stat-value {
  font-family: var(--font-heading); font-size: 2.8rem; font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { color: var(--text-light); font-size: 0.95rem; margin-top: 4px; }

/* ============ SECTION COMMON ============ */
section { padding: 90px 0; }
.section-tag {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; color: var(--primary-dark);
  background: #fff7ed; padding: 6px 14px; border-radius: 50px; margin-bottom: 16px;
}
.section-tag.light { background: rgba(255,255,255,0.2); color: #fef3c7; }
.section-title {
  font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700; line-height: 1.2; margin-bottom: 16px;
}
.section-title.light { color: white; }
.section-sub { color: var(--text-light); max-width: 600px; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .section-sub { margin: 0 auto; }

/* ============ ABOUT ============ */
.about { background: var(--bg-soft); }
.about-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center;
}
.about-desc { color: var(--text-light); margin-bottom: 24px; line-height: 1.8; }
.about-features { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.about-features li {
  display: flex; align-items: flex-start; gap: 12px;
  color: var(--text); font-size: 0.95rem;
}
.about-features svg { color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.about-visual { position: relative; min-height: 380px; }
.visual-card {
  position: absolute; background: white; border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-md); text-align: center;
  width: 180px; transition: transform 0.3s ease;
}
.visual-card:hover { transform: translateY(-6px) scale(1.03); }
.visual-card svg { color: var(--primary); margin-bottom: 10px; }
.visual-card p { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.card-1 { top: 0; left: 10%; animation: cardFloat 5s ease-in-out infinite; }
.card-2 { top: 120px; right: 5%; animation: cardFloat 5s ease-in-out infinite -1.5s; }
.card-3 { bottom: 0; left: 20%; animation: cardFloat 5s ease-in-out infinite -3s; }
@keyframes cardFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ============ SERVICES ============ */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.service-card {
  background: white; border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--border); transition: all 0.35s ease;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 60px; height: 60px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 10px; }
.service-card p { color: var(--text-light); font-size: 0.93rem; margin-bottom: 20px; line-height: 1.7; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-weight: 600; text-decoration: none; font-size: 0.9rem;
  transition: gap 0.25s ease;
}
.service-link:hover { gap: 12px; }

/* ============ GALLERY ============ */
.gallery { background: var(--bg-soft); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item { cursor: pointer; border-radius: var(--radius); overflow: hidden; height: 240px; }
.gallery-img {
  width: 100%; height: 100%; position: relative;
  transition: transform 0.5s ease;
}
.gallery-item:hover .gallery-img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.45);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: white; opacity: 0; transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { font-weight: 600; font-size: 1rem; }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.9); align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-content { position: relative; max-width: 90%; max-height: 85vh; text-align: center; }
.lightbox-img {
  width: min(700px, 90vw); height: min(500px, 60vh);
  border-radius: var(--radius); background-size: cover !important; background-position: center !important;
}
.lightbox-caption { color: white; margin-top: 16px; font-size: 1.1rem; font-weight: 500; }
.lightbox-close {
  position: absolute; top: -40px; right: 0; background: none; border: none;
  color: white; font-size: 2.5rem; cursor: pointer; line-height: 1;
}

/* ============ CONTACT ============ */
.contact { background: var(--gradient); padding: 80px 0; }
.contact-card {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25); border-radius: 24px;
  padding: 56px; display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 40px; align-items: center;
}
.contact-desc { color: rgba(255,255,255,0.9); margin-bottom: 28px; max-width: 480px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex; align-items: center; gap: 12px; color: white; font-size: 0.95rem;
}
.contact-item svg { flex-shrink: 0; opacity: 0.9; }
.contact-cta { text-align: center; }
.cta-note { color: rgba(255,255,255,0.85); font-size: 0.85rem; margin-top: 16px; }

/* ============ FOOTER ============ */
.footer { background: #111827; color: #9ca3af; padding: 60px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px;
}
.footer-brand h3 { color: white; font-family: var(--font-heading); font-size: 1.4rem; margin: 12px 0 8px; }
.footer-brand p { font-size: 0.9rem; max-width: 300px; }
.footer-logo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.footer-links h4, .footer-admin h4 { color: white; font-size: 1rem; margin-bottom: 16px; }
.footer-links a, .footer-admin a {
  display: block; color: #9ca3af; text-decoration: none; padding: 5px 0;
  font-size: 0.9rem; transition: color 0.2s;
}
.footer-links a:hover, .footer-admin a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid #374151; padding: 20px 0; text-align: center;
  font-size: 0.85rem;
}

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 1500;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa-green); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  transition: transform 0.3s ease;
}
.wa-float:hover { transform: scale(1.1); }
.wa-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--wa-green); opacity: 0.5;
  animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 72px; left: 0; right: 0;
    background: white; flex-direction: column; padding: 20px;
    gap: 4px; box-shadow: var(--shadow-md);
    transform: translateY(-120%); transition: transform 0.3s ease;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-link { display: block; padding: 12px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { min-height: 320px; }
  .contact-card { grid-template-columns: 1fr; padding: 32px 24px; text-align: center; }
  .contact-details { align-items: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-brand p { margin: 0 auto; }
  section { padding: 60px 0; }
  .hero { padding: 100px 20px 60px; min-height: auto; }
}
