/* ==========================================================
   DREAM VACATIONS by Thiesco — Main Stylesheet
   Colors: Navy #1a2851 | Gold #d4af37 | White #ffffff
   ========================================================== */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Lato', sans-serif;
  color: #1a2851;
  background: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

/* ---------- CONTAINER ---------- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.875rem 2.25rem;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-gold {
  background: #d4af37;
  color: #1a2851;
  border: 2px solid #d4af37;
}
.btn-gold:hover {
  background: transparent;
  color: #d4af37;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: #fff;
  color: #1a2851;
}

.btn-outline-dark {
  background: transparent;
  color: #1a2851;
  border: 2px solid #1a2851;
}
.btn-outline-dark:hover {
  background: #1a2851;
  color: #fff;
}

.btn-card {
  background: transparent;
  color: #1a2851;
  border: 2px solid #1a2851;
  padding: 0.6rem 1.5rem;
  font-size: 0.8rem;
  margin-top: auto;
}
.btn-card:hover {
  background: #1a2851;
  color: #fff;
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #d4af37;
  margin-bottom: 0.75rem;
}
.section-eyebrow.gold  { color: #d4af37; }
.section-eyebrow.burgundy { color: #800020; }
.section-eyebrow.teal  { color: #0d9488; }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #1a2851;
  margin-bottom: 1rem;
}
.section-header.light .section-title {
  color: #fff;
}

.section-sub {
  font-size: 1.05rem;
  color: #555;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-header.light .section-sub {
  color: rgba(255,255,255,0.8);
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ===================================================
   NAVBAR
   =================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background: rgba(26, 40, 81, 0.97);
  padding: 0.75rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-right: auto;
}

.brand-dream {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.15em;
}

.brand-vacations {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  color: #d4af37;
  letter-spacing: 0.45em;
  text-transform: uppercase;
}

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

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.85rem;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: #d4af37;
  border-bottom-color: #d4af37;
}

.nav-thiesco {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.nav-thiesco strong {
  color: #d4af37;
  font-weight: 700;
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,20,50,0.55) 0%,
    rgba(10,20,50,0.4) 50%,
    rgba(10,20,50,0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 1.5rem;
  max-width: 800px;
}

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #d4af37;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.hero-title-accent {
  color: #d4af37;
  display: block;
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.75rem;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll Hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%       { transform: translateY(10px); opacity: 1; }
}

/* ===================================================
   CATEGORY INTRO
   =================================================== */
.categories-intro {
  padding: 6rem 0;
  background: #fff;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cat-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  height: 380px;
  display: flex;
  align-items: flex-end;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.cat-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.cat-card:hover .cat-card-img {
  transform: scale(1.06);
}

.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,20,50,0.85) 0%, rgba(10,20,50,0.2) 60%, transparent 100%);
}

.cat-card-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  color: #fff;
}

.cat-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.cat-card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.cat-card-content p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1rem;
}

.cat-explore {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d4af37;
}

/* ===================================================
   FEATURED SECTIONS
   =================================================== */
.featured-section {
  padding: 6rem 0;
}

.featured-section.bg-light {
  background: #f8f7f4;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Destination Card */
.dest-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.dest-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.dest-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dest-card:hover .dest-card-media img {
  transform: scale(1.06);
}

.dest-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #d4af37;
  color: #1a2851;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}

.dest-card-badge.burgundy-badge {
  background: #800020;
  color: #fff;
}

.dest-card-badge.teal-badge {
  background: #0d9488;
  color: #fff;
}

.dest-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

.dest-card-body h3 {
  font-size: 1.2rem;
  color: #1a2851;
}

.dest-location {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #888;
}

.dest-cuisine {
  font-size: 0.85rem;
  color: #800020;
  font-style: italic;
}

.dest-stars {
  color: #d4af37;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.dest-desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.65;
  flex: 1;
}

.dest-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.25rem 0;
}

.dest-features span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #f0ede4;
  color: #1a2851;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}

.dest-visit {
  font-size: 0.8rem;
  color: #0d9488;
  font-style: italic;
}

/* ===================================================
   VIDEO STRIP
   =================================================== */
.video-strip {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.video-strip video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.video-strip-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,20,50,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 1rem;
}

.video-strip-overlay p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 2rem);
  max-width: 800px;
  margin-bottom: 0.5rem;
}

.video-strip-overlay span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #d4af37;
}

/* ===================================================
   GALLERY SECTION
   =================================================== */
.gallery-section {
  padding: 6rem 0;
  background: #f8f7f4;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item.gi-tall {
  grid-row: span 2;
}

.gallery-item.gi-wide {
  grid-column: span 2;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,20,50,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s ease;
}

.gallery-overlay span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: rgba(212,175,55,0.9);
  padding: 0.35rem 1rem;
  border-radius: 2px;
}

.gallery-item:hover .gallery-overlay {
  background: rgba(10,20,50,0.45);
}

.gallery-item:hover .gallery-overlay span {
  opacity: 1;
}

/* ===================================================
   WHY CHOOSE US
   =================================================== */
.why-section {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}

.why-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.why-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,20,50,0.78);
}

.why-content {
  position: relative;
  z-index: 1;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 0.5rem;
}

.why-card {
  text-align: center;
  color: #fff;
  padding: 2rem 1.25rem;
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  transition: background 0.3s, border-color 0.3s;
}

.why-card:hover {
  background: rgba(212,175,55,0.1);
  border-color: rgba(212,175,55,0.7);
}

.why-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: #d4af37;
}

.why-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
}

/* ===================================================
   CTA SECTION
   =================================================== */
.cta-section {
  padding: 6rem 0;
  background: #fff;
}

.cta-inner {
  background: linear-gradient(135deg, #1a2851 0%, #0d1e4a 100%);
  border-radius: 8px;
  padding: 5rem 3rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(212,175,55,0.06);
}

.cta-inner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(212,175,55,0.06);
}

.cta-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-inner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: #0e1830;
  color: rgba(255,255,255,0.75);
  padding: 5rem 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,0.1);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.footer .brand-dream {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.15em;
}

.footer .brand-vacations {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  color: #d4af37;
  letter-spacing: 0.5em;
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  font-size: 1.4rem;
}

.footer-social a {
  opacity: 0.6;
  transition: opacity 0.3s, transform 0.3s;
}

.footer-social a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d4af37;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #d4af37;
}

.footer-contact li {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom strong {
  color: #d4af37;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .category-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .cat-card:last-child {
    grid-column: span 2;
    height: 280px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .navbar { padding: 1rem 0; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(14,24,48,0.97);
    padding: 1rem 0;
    gap: 0;
  }

  .nav-links.open { display: flex; }

  .nav-link {
    padding: 0.75rem 2rem;
    border-bottom: none;
    border-left: 2px solid transparent;
  }

  .nav-link:hover, .nav-link.active {
    border-left-color: #d4af37;
    border-bottom-color: transparent;
  }

  .nav-toggle { display: flex; }
  .nav-thiesco { display: none; }

  .hero-title { font-size: clamp(3rem, 12vw, 5rem); }
  .hero-ctas { flex-direction: column; align-items: center; }

  .category-cards { grid-template-columns: 1fr; }
  .cat-card:last-child { grid-column: span 1; }

  .cards-grid { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .gallery-item.gi-wide { grid-column: span 1; }

  .why-cards { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .cta-inner { padding: 3.5rem 1.5rem; }

  .why-bg { background-attachment: scroll; }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 140px;
  }
  .gallery-item.gi-tall { grid-row: span 1; }

  .why-cards { grid-template-columns: 1fr; }

  .hero-ctas .btn { width: 100%; max-width: 260px; text-align: center; }
}

/* ===================================================
   AOS overrides
   =================================================== */
[data-aos] { pointer-events: auto !important; }
