/* ===== TripFlix Static Site ===== */

:root {
  --background: hsl(222, 47%, 6%);
  --foreground: hsl(40, 33%, 93%);
  --primary: hsl(38, 92%, 50%);
  --primary-hover: hsl(43, 96%, 56%);
  --primary-foreground: hsl(222, 47%, 6%);
  --secondary: hsl(142, 30%, 25%);
  --muted-foreground: hsl(222, 20%, 65%);
  --border-soft: hsla(0, 0%, 100%, 0.08);
  --glass-bg: hsla(222, 40%, 12%, 0.55);

  --font-serif: 'Playfair Display', serif;
  --font-sans: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.narrow { max-width: 900px; }
.center { text-align: center; }

.italic { font-style: italic; }
.accent { color: var(--primary); }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; }

.desktop-only { display: none; }
.mobile-only { display: inline; }
@media (min-width: 768px) {
  .desktop-only { display: block; }
  .mobile-only { display: none; }
}

/* ===== Buttons ===== */
.btn {
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.3s ease;
  white-space: normal;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 14px 28px;
  font-size: 12px;
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.3);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

.btn-lg { padding: 16px 40px; }
@media (min-width: 768px) {
  .btn-lg { padding: 20px 40px; font-size: 13px; }
}

.btn-outline {
  background: hsla(38, 92%, 50%, 0.1);
  color: var(--primary);
  border: 1px solid hsla(38, 92%, 50%, 0.2);
  padding: 10px 24px;
  font-size: 13px;
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-block { width: 100%; }
@media (min-width: 640px) { .btn-block { width: auto; } }

.link-btn {
  background: none;
  border: none;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 13px;
  font-family: var(--font-sans);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: color 0.3s, gap 0.3s;
}
.link-btn:hover { color: var(--primary); }
.accent-link { color: var(--primary); font-weight: 500; }
.accent-link:hover { gap: 16px; }
.arrow { font-size: 20px; }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 20px 0;
  transition: all 0.4s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding: 12px 0;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-links { display: none; align-items: center; gap: 32px; }
.nav-links a {
  color: hsla(40, 33%, 93%, 0.8);
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--primary); }

.menu-toggle {
  background: none;
  border: none;
  color: hsla(40, 33%, 93%, 0.8);
  cursor: pointer;
  padding: 8px;
}
.menu-toggle:hover { color: var(--primary); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
}

/* ===== Mobile Menu ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: hsla(222, 47%, 6%, 0.97);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 20px;
}
.mobile-link {
  font-family: var(--font-serif);
  font-size: 28px;
  color: hsla(40, 33%, 93%, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}
.mobile-link:hover { color: var(--primary); }
body.menu-open { overflow: hidden; }

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg-wrap { position: absolute; inset: 0; z-index: 0; will-change: transform; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.05); }
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, hsla(222,47%,6%,0.3), hsla(222,47%,6%,0.4), hsl(222,47%,6%));
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 860px;
  margin-top: 64px;
}
.eyebrow {
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 16px;
}
.eyebrow.small { letter-spacing: 0.15em; margin-bottom: 12px; }
.hero-title {
  font-size: 40px;
  line-height: 1.15;
  margin-bottom: 24px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.hero-sub {
  font-size: 16px;
  color: hsla(40, 33%, 93%, 0.8);
  margin: 0 auto 32px;
  max-width: 620px;
  line-height: 1.7;
  font-weight: 300;
}
@media (min-width: 640px) { .hero-title { font-size: 52px; } }
@media (min-width: 768px) {
  .hero-content { margin-top: 80px; }
  .hero-title { font-size: 72px; }
  .hero-sub { font-size: 20px; }
  .eyebrow { font-size: 14px; }
}
@media (min-width: 1024px) { .hero-title { font-size: 96px; } }

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: hsla(40, 33%, 93%, 0.5);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -10px); }
}

/* ===== Sections generic ===== */
.section { padding: 80px 0; position: relative; z-index: 10; }
@media (min-width: 768px) { .section { padding: 128px 0; } }

.section-title {
  font-size: 28px;
  margin-bottom: 32px;
  color: hsla(40, 33%, 93%, 0.9);
}
@media (min-width: 640px) { .section-title { font-size: 32px; } }
@media (min-width: 768px) { .section-title { font-size: 48px; } }

.divider { height: 1px; width: 96px; background: hsla(38,92%,50%,0.5); margin: 0 auto 48px; }

.lead-text { font-size: 16px; line-height: 1.8; color: hsla(40, 33%, 93%, 0.7); font-weight: 300; }
@media (min-width: 768px) { .lead-text { font-size: 24px; } }

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (min-width: 900px) { .features-grid { grid-template-columns: 1fr 1fr 1fr; } }

.feature-card {
  padding: 24px;
  border-radius: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(12px);
  transition: transform 0.5s ease;
}
.feature-card:hover { transform: translateY(-8px); }
@media (min-width: 768px) { .feature-card { padding: 32px; } }

.feature-icon { color: var(--primary); margin-bottom: 20px; }
.feature-card h3 { font-size: 20px; margin-bottom: 12px; }
@media (min-width: 768px) { .feature-card h3 { font-size: 24px; } }
.feature-card p { color: hsla(40, 33%, 93%, 0.6); line-height: 1.7; font-size: 14px; }
@media (min-width: 768px) { .feature-card p { font-size: 16px; } }

/* ===== Destinations ===== */
.destinations { background: hsla(222, 47%, 6%, 0.5); }
.destinations-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}
.section-title-sm { font-size: 30px; }
@media (min-width: 768px) { .section-title-sm { font-size: 48px; } }
@media (min-width: 768px) {
  .destinations-header { flex-direction: row; align-items: flex-end; margin-bottom: 64px; }
}

.destinations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .destinations-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .destinations-grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; } }

.dest-card {
  position: relative;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}
@media (min-width: 640px) { .dest-card { height: 380px; } }
@media (min-width: 900px) { .dest-card { height: 500px; border-radius: 24px; } }

.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.dest-card:hover img { transform: scale(1.1); }
.dest-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--background) 0%, hsla(222,47%,6%,0.2) 50%, transparent 100%);
  opacity: 0.8;
}
.dest-info { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; }
@media (min-width: 768px) { .dest-info { padding: 32px; } }
.dest-tag {
  padding: 4px 12px;
  background: hsla(142, 30%, 25%, 0.8);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: white;
  display: inline-block;
  margin-bottom: 12px;
}
.dest-info h3 { font-size: 22px; }
@media (min-width: 768px) { .dest-info h3 { font-size: 30px; } }

/* ===== Experience ===== */
.experience-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
@media (min-width: 1024px) { .experience-flex { flex-direction: row; gap: 64px; } }

.experience-image { width: 100%; }
.experience-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
}
@media (min-width: 640px) { .experience-image img { height: 380px; } }
@media (min-width: 1024px) { .experience-image img { height: 600px; border-radius: 24px; } }
@media (min-width: 1024px) { .experience-image { width: 50%; } }

.experience-copy { width: 100%; }
@media (min-width: 1024px) { .experience-copy { width: 50%; } }
.experience-copy h2 { font-size: 30px; margin-bottom: 24px; }
@media (min-width: 768px) { .experience-copy h2 { font-size: 36px; } }
@media (min-width: 1024px) { .experience-copy h2 { font-size: 44px; } }
.experience-copy p {
  font-size: 15px;
  color: hsla(40, 33%, 93%, 0.7);
  margin-bottom: 20px;
  line-height: 1.7;
  font-weight: 300;
}
@media (min-width: 768px) { .experience-copy p { font-size: 18px; } }

.experience-list { list-style: none; margin: 32px 0; display: flex; flex-direction: column; gap: 14px; }
.experience-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  color: hsla(40, 33%, 93%, 0.8);
  font-size: 14px;
  font-weight: 300;
}
@media (min-width: 768px) { .experience-list li { font-size: 16px; } }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }

/* ===== Visual Break ===== */
.visual-break {
  position: relative;
  height: 50vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
@media (min-width: 768px) { .visual-break { height: 70vh; } }
.visual-break-bg { position: absolute; inset: 0; }
.visual-break-bg img { width: 100%; height: 100%; object-fit: cover; }
.visual-break-overlay { position: absolute; inset: 0; background: hsla(222,47%,6%,0.4); }
.visual-break-content { position: relative; z-index: 10; text-align: center; padding: 0 20px; }
.visual-break-content h2 {
  font-size: 24px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.3;
  text-shadow: 0 4px 16px rgba(0,0,0,0.5);
}
@media (min-width: 640px) { .visual-break-content h2 { font-size: 30px; } }
@media (min-width: 768px) { .visual-break-content h2 { font-size: 48px; } }
.quote-attribution {
  margin-top: 24px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 12px;
  font-weight: 600;
}
@media (min-width: 768px) { .quote-attribution { margin-top: 32px; font-size: 14px; } }

/* ===== CTA ===== */
.cta-panel {
  max-width: 760px;
  margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(12px);
  padding: 32px 24px;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 640px) { .cta-panel { padding: 48px; } }
@media (min-width: 768px) { .cta-panel { padding: 80px; border-radius: 48px; } }

.cta-topline {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
  opacity: 0.5;
}
.cta-panel h2 { font-size: 28px; margin-bottom: 20px; }
@media (min-width: 640px) { .cta-panel h2 { font-size: 36px; } }
@media (min-width: 768px) { .cta-panel h2 { font-size: 56px; } }
.cta-panel p {
  font-size: 15px;
  color: hsla(40, 33%, 93%, 0.7);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}
@media (min-width: 768px) { .cta-panel p { font-size: 18px; } }

/* ===== Footer ===== */
.footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--border-soft);
  background: var(--background);
  position: relative;
  z-index: 10;
}
@media (min-width: 768px) { .footer { padding: 64px 0 32px; } }

.reach-us-label {
  text-align: center;
  color: hsla(40, 33%, 93%, 0.5);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
  font-weight: 300;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 40px;
}
@media (min-width: 640px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 16px; } }

.contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}
.contact-instagram {
  border-color: hsla(0,0%,100%,0.1);
  background: linear-gradient(to right, hsla(272, 43%, 46%, 0.2), hsla(0, 92%, 55%, 0.2), hsla(35, 96%, 63%, 0.2));
}
.contact-instagram:hover {
  background: linear-gradient(to right, hsla(272, 43%, 46%, 0.4), hsla(0, 92%, 55%, 0.4), hsla(35, 96%, 63%, 0.4));
}
.contact-whatsapp { border-color: hsla(142, 70%, 49%, 0.2); background: hsla(142, 70%, 49%, 0.1); }
.contact-whatsapp:hover { background: hsla(142, 70%, 49%, 0.25); }
.contact-phone { border-color: hsla(38, 92%, 50%, 0.2); background: hsla(38, 92%, 50%, 0.1); }
.contact-phone:hover { background: hsla(38, 92%, 50%, 0.2); }

.contact-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon-instagram { background: linear-gradient(135deg, hsl(272, 43%, 46%), hsl(0, 92%, 55%), hsl(35, 96%, 63%)); }
.contact-icon-whatsapp { background: hsl(142, 70%, 49%); }
.contact-icon-phone { background: var(--primary); }

.contact-text { display: flex; flex-direction: column; min-width: 0; }
.contact-label {
  font-size: 10px;
  color: hsla(40, 33%, 93%, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  line-height: 1;
  margin-bottom: 2px;
}
.contact-value {
  font-size: 14px;
  font-weight: 500;
  color: hsla(40, 33%, 93%, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact-card:hover .contact-value { color: white; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

.footer-logo { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.footer-brand-name { font-family: var(--font-serif); font-size: 14px; font-weight: 600; color: hsla(40, 33%, 93%, 0.7); }
.footer-tagline { font-size: 12px; color: hsla(40, 33%, 93%, 0.4); }
.footer-copyright { font-size: 12px; color: hsla(40, 33%, 93%, 0.3); }

/* ===== Scroll Reveal Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Hero reveal plays immediately without needing scroll */
.hero-content .reveal { transition-delay: 0.1s; }
