/* ============================================================
   EXPLOREO TRAVELS — Global CSS
   Design System, Reset, Typography, Nav, Footer, Cursor
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Design Tokens ────────────────────────────────────── */
:root {
  --color-bg:           #0F0D0A;
  --color-bg-2:         #1A1610;
  --color-bg-3:         #242018;
  --color-cream:        #F5EDD6;
  --color-cream-muted:  #B8A98A;
  --color-saffron:      #E8820C;
  --color-saffron-light:#F5A535;
  --color-gold:         #C9A84C;
  --color-green-deep:   #1C3A2E;
  --color-green-accent: #2D6A4F;
  --color-border:       rgba(200,168,76,0.15);
  --color-border-hover: rgba(232,130,12,0.4);

  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-glow: 0 0 40px rgba(232,130,12,0.15);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);

  --transition-fast:   0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   0.7s cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 80px;
}

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

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

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

@media (hover: none) { body { cursor: auto; } }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
ul, ol { list-style: none; }

/* ── Typography ───────────────────────────────────────── */
.h1 { font-family: var(--font-display); font-size: clamp(3.5rem, 8vw, 8rem); font-weight: 300; line-height: 1.0; letter-spacing: -0.02em; }
.h2 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 300; line-height: 1.1; }
.h3 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 400; }
.h4 { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 500; }
.body-lg  { font-size: 1.125rem; line-height: 1.7; }
.body-md  { font-size: 1rem;     line-height: 1.6; }
.body-sm  { font-size: 0.875rem; line-height: 1.5; }
.label    { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; }

/* ── Utilities ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-pad { padding: 100px 0; }
@media (max-width: 768px) { .section-pad { padding: 64px 0; } }

.text-saffron { color: var(--color-saffron); }
.text-gold    { color: var(--color-gold); }
.text-muted   { color: var(--color-cream-muted); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-saffron);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-saffron);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--color-cream-muted);
  font-size: 1.1rem;
  max-width: 560px;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all var(--transition-smooth);
  cursor: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--color-saffron);
  color: #fff;
  box-shadow: 0 4px 20px rgba(232,130,12,0.3);
}
.btn-primary:hover {
  background: var(--color-saffron-light);
  box-shadow: 0 6px 32px rgba(232,130,12,0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-cream);
  border: 1px solid var(--color-border);
}
.btn-secondary:hover {
  border-color: var(--color-border-hover);
  color: var(--color-saffron);
}

.btn-outline-gold {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
}
.btn-outline-gold:hover {
  background: var(--color-gold);
  color: var(--color-bg);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  background: #20BA58;
  box-shadow: 0 6px 32px rgba(37,211,102,0.4);
  transform: translateY(-1px);
}

/* Shimmer animation for primary CTA */
.btn-shimmer {
  background: linear-gradient(135deg, var(--color-saffron) 0%, var(--color-saffron-light) 50%, var(--color-saffron) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
}
@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Custom Cursor ────────────────────────────────────── */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  transition-property: width, height, background, border-color, opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.25s;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--color-saffron);
  will-change: transform;
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--color-saffron);
  background: transparent;
  will-change: transform;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cursor-ring.hovered {
  width: 60px;
  height: 60px;
  background: rgba(232,130,12,0.15);
  border-color: var(--color-saffron);
}

.cursor-ring.hovered .cursor-dot-inner { opacity: 0; }

.cursor-ring.image-hover {
  width: 72px;
  height: 72px;
  background: rgba(232,130,12,0.12);
  border-color: rgba(232,130,12,0.6);
}

.cursor-ring-text {
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-cream);
  opacity: 0;
  transition: opacity var(--transition-fast);
  user-select: none;
}

.cursor-ring.image-hover .cursor-ring-text { opacity: 1; }

@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── Page Curtain ─────────────────────────────────────── */
.page-curtain {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 9000;
  transform-origin: top;
  pointer-events: none;
}

/* ── Progress Bar ─────────────────────────────────────── */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--color-saffron);
  z-index: 9998;
  width: 0%;
  transition: width 0.4s ease;
}

/* ── Navigation ───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition-smooth), backdrop-filter var(--transition-smooth), border-color var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(15,13,10,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--color-border);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}

.nav-logo-main {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-cream);
  letter-spacing: 0.06em;
}

.nav-logo-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-cream-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-cream-muted);
  transition: color var(--transition-fast);
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-saffron);
  transition: width var(--transition-smooth);
}

.nav-link:hover { color: var(--color-cream); }
.nav-link:hover::after { width: 100%; }

.nav-link.active {
  color: var(--color-saffron);
}

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

.nav-cta {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-cream);
  transition: all var(--transition-smooth);
  transform-origin: left center;
}

.nav-hamburger.open span:nth-child(1) { transform: rotate(40deg) translateY(-1px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-40deg) translateY(1px); }

/* Mobile Nav Overlay */
.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.nav-mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile-overlay .nav-link {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--color-cream-muted);
  transform: translateY(30px);
  opacity: 0;
  transition: all var(--transition-smooth);
}

.nav-mobile-overlay.open .nav-link {
  transform: translateY(0);
  opacity: 1;
}

.nav-mobile-overlay.open .nav-link:nth-child(1) { transition-delay: 0.1s; }
.nav-mobile-overlay.open .nav-link:nth-child(2) { transition-delay: 0.15s; }
.nav-mobile-overlay.open .nav-link:nth-child(3) { transition-delay: 0.2s; }
.nav-mobile-overlay.open .nav-link:nth-child(4) { transition-delay: 0.25s; }
.nav-mobile-overlay.open .nav-link:nth-child(5) { transition-delay: 0.3s; }
.nav-mobile-overlay.open .nav-link:nth-child(6) { transition-delay: 0.35s; }
.nav-mobile-overlay.open .nav-link:nth-child(7) { transition-delay: 0.4s; }

.nav-mobile-overlay .nav-link:hover { color: var(--color-saffron); }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-hamburger { display: flex; }
}

/* ── Footer ───────────────────────────────────────────── */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 80px 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 4rem;
  padding-bottom: 60px;
}

.footer-logo-main {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-cream);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 4px;
}

.footer-logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-cream-muted);
  display: block;
  margin-bottom: 16px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-cream-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cream-muted);
  transition: all var(--transition-smooth);
}

.footer-social-link:hover {
  border-color: var(--color-saffron);
  color: var(--color-saffron);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--color-cream-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover { color: var(--color-cream); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--color-cream-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact-icon {
  color: var(--color-saffron);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-newsletter {
  margin-top: 20px;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.footer-newsletter input {
  flex: 1;
  background: var(--color-bg-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 10px 16px;
  color: var(--color-cream);
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.footer-newsletter input:focus { border-color: var(--color-saffron); }
.footer-newsletter input::placeholder { color: var(--color-cream-muted); }

.footer-newsletter button {
  padding: 10px 20px;
  background: var(--color-saffron);
  color: #fff;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  cursor: none;
}

.footer-newsletter button:hover { background: var(--color-saffron-light); }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--color-cream-muted);
  font-size: 0.8rem;
}

.footer-bottom .made-with {
  color: var(--color-cream-muted);
  font-size: 0.8rem;
}

.footer-bottom .made-with span { color: var(--color-saffron); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── WhatsApp Float Button ────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--transition-smooth);
  cursor: none;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: wa-pulse 2.5s ease-out infinite;
}

@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.55);
}

.whatsapp-float svg { color: #fff; }

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-bg-2);
  color: var(--color-cream);
  font-size: 0.8rem;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  white-space: nowrap;
  border: 1px solid var(--color-border);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: var(--color-border);
}

.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ── Scroll Animations ────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-in.visible { opacity: 1; }

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ── Divider ──────────────────────────────────────────── */
.gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  width: 80px;
  margin: 20px 0;
}

/* ── Card Base ────────────────────────────────────────── */
.card {
  background: var(--color-bg-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

/* ── Badge ────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-saffron { background: rgba(232,130,12,0.2); color: var(--color-saffron); }
.badge-gold    { background: rgba(201,168,76,0.2);  color: var(--color-gold); }
.badge-green   { background: rgba(45,106,79,0.3);   color: #4ade80; }
.badge-blue    { background: rgba(59,130,246,0.2);  color: #93c5fd; }
.badge-pink    { background: rgba(236,72,153,0.2);  color: #f9a8d4; }

/* ── Section Intro ────────────────────────────────────── */
.section-intro {
  margin-bottom: 60px;
}

.section-intro.centered {
  text-align: center;
}

.section-intro.centered .section-label {
  justify-content: center;
}

.section-intro.centered .section-label::before { display: none; }
.section-intro.centered .section-label::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-saffron);
}

.section-intro.centered .section-sub { margin: 0 auto; }

/* ── Scrollbar ────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-bg-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-gold); }

/* ── Selection ────────────────────────────────────────── */
::selection { background: rgba(232,130,12,0.3); color: var(--color-cream); }
