/* ============================================
   DESEO TRAVEL — Global Design System
   Static clone of deseotravel.com
   ============================================ */

/* ---------- CSS Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "DM Sans", Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.7; color: #fff; background: #0c1424; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .3s; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ---------- Design Tokens ---------- */
:root {
  --dark-bg: #0c1424;
  --dark-bg-alt: #111924;
  --dark-bg-card: #212934;
  --light-bg: #f9f9fb;
  --gold: #93846f;
  --gold-hover: #af9c80;
  --white: #ffffff;
  --text-dark: #000000;
  --text-body: #4a4e57;
  --font-heading: "Iowan Old Style", "Apple Garamond", Baskerville, "Times New Roman", "Droid Serif", Times, "Source Serif Pro", serif;
  --font-body: "DM Sans", Arial, Helvetica, sans-serif;
  --font-script: "Caveat", cursive;
  --nav-height: 80px;
  --section-pad: 100px;
  --container: 1200px;
}

/* ---------- Utility ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-center { text-align: center; }
.gold-divider { width: 60px; height: 2px; background: var(--gold); margin: 20px auto; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 400; line-height: 1.3; }
h1 { font-size: clamp(32px, 5vw, 60px); }
h2 { font-size: clamp(24px, 3.5vw, 36px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }
p { margin-bottom: 1em; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 30px;
  background: rgba(12, 20, 36, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .3s;
}
.site-header.scrolled { background: rgba(12, 20, 36, 0.95); }
.site-header .logo img { height: 40px; width: auto; }

/* Hamburger */
.hamburger { display: flex; flex-direction: column; gap: 5px; width: 28px; cursor: pointer; z-index: 1100; }
.hamburger span { display: block; height: 2px; width: 100%; background: var(--white); transition: all .3s ease; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Full-screen nav overlay */
.nav-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1050;
  background: rgba(12, 20, 36, 0.97);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.nav-overlay.open { opacity: 1; visibility: visible; }
.nav-overlay .nav-menu { text-align: center; }
.nav-overlay .nav-menu > li { margin: 12px 0; }
.nav-overlay .nav-menu > li > a {
  font-family: var(--font-heading); font-size: 22px; color: var(--white);
  letter-spacing: 1px; transition: color .3s;
}
.nav-overlay .nav-menu > li > a:hover { color: var(--gold); }

/* Destinations submenu */
.nav-submenu { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.nav-submenu.open { max-height: 500px; }
.nav-submenu li { margin: 8px 0; }
.nav-submenu a { font-family: var(--font-body); font-size: 16px; color: rgba(255,255,255,0.7); }
.nav-submenu a:hover { color: var(--gold); }
.destinations-toggle { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.destinations-toggle .arrow { display: inline-block; transition: transform .3s; font-size: 12px; }
.destinations-toggle .arrow.rotated { transform: rotate(180deg); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  background-attachment: fixed;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,20,36,0.3) 0%, rgba(12,20,36,0.5) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 750px; padding: 0 24px; }
.hero-subtitle {
  font-family: var(--font-heading); font-size: clamp(16px, 2vw, 20px);
  font-style: italic; color: rgba(255,255,255,0.85); margin-bottom: 16px;
}
.hero-quote {
  font-family: var(--font-heading); font-size: clamp(22px, 3.5vw, 38px);
  font-style: italic; color: var(--white); line-height: 1.5; margin-bottom: 12px;
}
.hero-author {
  font-family: var(--font-heading); font-size: 18px; font-style: italic;
  color: var(--gold); margin-bottom: 0;
}
.hero .scroll-down {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 2; animation: bounce 2s infinite;
}
.hero .scroll-down svg { width: 30px; height: 30px; fill: none; stroke: var(--white); stroke-width: 2; }
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-12px); }
  60% { transform: translateX(-50%) translateY(-6px); }
}

/* ============================================
   ABOUT / WELCOME SECTION
   ============================================ */
.about-section { padding: var(--section-pad) 0; background: var(--dark-bg); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
}
.about-image { position: relative; }
.about-image img { width: 100%; border-radius: 0 60px 0 0; object-fit: cover; }
.about-text-box {
  background: var(--white); color: var(--text-dark); padding: 50px 40px;
  border-radius: 4px;
}
.about-text-box .label {
  font-family: var(--font-heading); font-style: italic; color: var(--gold);
  font-size: 18px; margin-bottom: 16px; display: block;
}
.about-text-box h2 { color: var(--text-dark); margin-bottom: 20px; font-size: 28px; }
.about-text-box p { color: var(--text-body); font-size: 16px; line-height: 1.8; }
.about-text-box .signature {
  font-family: var(--font-heading); font-size: 20px; font-weight: 600;
  color: var(--text-dark); margin-top: 10px;
}
.social-icons { display: flex; gap: 12px; margin-top: 20px; }
.social-icons a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 4px; font-size: 18px;
  color: var(--white); transition: opacity .3s;
}
.social-icons a:hover { opacity: 0.8; }
.social-icons .fb { background: #1877f2; }
.social-icons .ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-icons .tt { background: #000; }
.social-icons .yt { background: #ff0000; }

/* ============================================
   POLAROID COLLAGE SECTION
   ============================================ */
.polaroid-section {
  padding: var(--section-pad) 0;
  background: var(--dark-bg);
}
.polaroid-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: center;
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
}
.polaroid-text h2 { margin-bottom: 8px; }
.polaroid-text .gold-line { width: 50px; height: 2px; background: var(--gold); margin-bottom: 24px; }
.polaroid-text p { color: rgba(255,255,255,0.75); font-size: 16px; line-height: 1.8; }
.polaroid-text .highlight { color: var(--gold); font-weight: 600; }
.polaroid-text .where-next {
  font-family: var(--font-heading); font-style: italic; font-size: 20px;
  color: var(--white); margin-top: 16px;
}

/* Collage container */
.polaroid-collage {
  position: relative; width: 100%; min-height: 500px;
}
.polaroid {
  position: absolute; background: var(--white); padding: 8px 8px 30px 8px;
  box-shadow: 2px 4px 15px rgba(0,0,0,0.4); transition: transform .3s, z-index .1s;
  cursor: default;
}
.polaroid:hover { transform: scale(1.08) !important; z-index: 10; }
.polaroid img { width: 100%; height: auto; display: block; object-fit: cover; }
.polaroid .caption {
  font-family: var(--font-script); font-size: 14px; color: #333;
  text-align: center; margin-top: 6px;
}

/* ============================================
   DESTINATION GRID
   ============================================ */
.destinations-section { padding: 40px 0 var(--section-pad); background: var(--dark-bg); }
.destinations-section .gold-divider { margin-bottom: 40px; }
.destination-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
}
.destination-grid .wide-row {
  grid-column: span 4;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
}
.destination-card {
  position: relative; overflow: hidden; aspect-ratio: 4/3; cursor: pointer;
}
.destination-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.destination-card::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0.35); transition: background .3s;
}
.destination-card:hover::after { background: rgba(0,0,0,0.15); }
.destination-card:hover img { transform: scale(1.05); }
.destination-card .card-label {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 2; font-family: var(--font-heading); font-size: clamp(16px, 2vw, 22px);
  color: var(--white); text-align: center; letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* ============================================
   QUOTE DIVIDER SECTIONS
   ============================================ */
.quote-section {
  padding: 80px 24px; text-align: center; background: var(--dark-bg-alt);
}
.quote-section blockquote {
  font-family: var(--font-heading); font-size: clamp(18px, 2.5vw, 28px);
  font-style: italic; color: var(--white); max-width: 800px; margin: 0 auto 12px;
  line-height: 1.6;
}
.quote-section cite {
  font-family: var(--font-heading); font-size: 16px; font-style: italic;
  color: var(--gold);
}

/* ============================================
   CONNECT / CTA SECTION
   ============================================ */
.connect-section { padding: var(--section-pad) 0; background: var(--dark-bg); position: relative; overflow: hidden; }
.connect-section .bg-compass {
  position: absolute; right: -100px; top: 50%; transform: translateY(-50%);
  width: 500px; height: 500px; opacity: 0.04;
}
.connect-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center;
  max-width: var(--container); margin: 0 auto; padding: 0 24px; position: relative; z-index: 2;
}
.connect-text h2 { margin-bottom: 16px; font-size: 32px; }
.connect-text p { color: rgba(255,255,255,0.8); font-size: 16px; line-height: 1.8; }
.connect-text .email-link {
  display: inline-block; color: var(--gold); font-size: 18px;
  text-decoration: underline; margin-top: 12px; transition: color .3s;
}
.connect-text .email-link:hover { color: var(--gold-hover); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: 40px 24px; text-align: center;
  background: var(--dark-bg); border-top: 1px solid rgba(255,255,255,0.08);
}
.site-footer .footer-logo { width: 100px; margin: 0 auto 16px; opacity: 0.5; }
.site-footer .copyright {
  font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 8px;
}
.site-footer .footer-links { display: flex; gap: 16px; justify-content: center; }
.site-footer .footer-links a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color .3s; }
.site-footer .footer-links a:hover { color: var(--gold); }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: var(--white); font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold-hover); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .about-grid, .polaroid-grid, .connect-grid { grid-template-columns: 1fr; gap: 40px; }
  .destination-grid { grid-template-columns: repeat(2, 1fr); }
  .destination-grid .wide-row { grid-column: span 2; grid-template-columns: repeat(2, 1fr); }
  .polaroid-collage { min-height: 400px; }
}
@media (max-width: 600px) {
  :root { --section-pad: 60px; --nav-height: 64px; }
  .destination-grid { grid-template-columns: 1fr; }
  .destination-grid .wide-row { grid-column: span 1; grid-template-columns: 1fr; }
  .about-text-box { padding: 30px 24px; }
  .polaroid-collage { min-height: 350px; }
  .site-header { padding: 0 16px; }
}
