/* ============================================================
   cityeight — style.css
   Travel agency website · Athina Kalaitzidis
   Design: Refined editorial minimalism with warm coastal tones
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  /* Colors — palette: B8C6D7 · AF1B3F · 473144 · A47864 · 2F446D · 18243E · 482B25 */
  --clr-ink:        #18243E;        /* deepest navy — primary text */
  --clr-ocean:      #2F446D;        /* mid navy — links, headings */
  --clr-sky:        #B8C6D7;        /* pale steel blue — light accent */
  --clr-mist:       #c8d4e2;        /* steel-blue mist */
  --clr-sand:       #e8e0d8;        /* warm terracotta-blush section bg */
  --clr-gold:       #A47864;        /* terracotta-rose — accent */
  --clr-crimson:    #AF1B3F;        /* deep crimson — bold accent */
  --clr-plum:       #473144;        /* dark plum — dark surfaces */
  --clr-umber:      #482B25;        /* deep umber — dark alt */
  --clr-white:      #ffffff;
  --clr-bg:         #eef0f4;        /* pale navy-tinted background */
  --clr-border:     rgba(47,68,109,.13);

  /* Typography */
  --font-display:   'Cormorant Garamond', Georgia, serif;
  --font-body:      'DM Sans', -apple-system, sans-serif;

  /* Spacing */
  --space-xs:   .5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   7rem;

  /* Layout */
  --max-w: 1160px;
  --radius: 16px;
  --radius-sm: 8px;

  /* Transitions */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: .6s;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--clr-ink);
  background: var(--clr-bg);
  overflow-x: hidden;
  line-height: 1.65;
}

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

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

ul { list-style: none; }

/* ── Utility ────────────────────────────────────────────────── */
.container {
  width: min(var(--max-w), 100% - 3rem);
  margin-inline: auto;
}

.section { padding-block: var(--space-xl); }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--clr-ink);
}

.section-title em {
  font-style: italic;
  color: var(--clr-ocean);
}

.section-header { text-align: center; margin-bottom: var(--space-lg); }

/* ── Scroll-reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.reveal--delay-1 { transition-delay: .12s; }
.reveal--delay-2 { transition-delay: .24s; }
.reveal--delay-3 { transition-delay: .36s; }
.reveal.visible  { opacity: 1; transform: none; }

/* ── Logo ───────────────────────────────────────────────────── */
.logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--clr-ink);
  line-height: 1;
  gap: 0;
  transition: opacity .25s;
}
.logo:hover { opacity: .75; }

.logo-city { color: var(--clr-ocean); }

.logo-eight {
  display: inline-flex;
  align-items: center;
  color: var(--clr-gold);
  margin-left: 1px;
}

.logo-eight-svg {
  width: 18px;
  height: 23px;
  display: block;
}

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}

.navbar.scrolled {
  background: rgba(238,240,244,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--clr-border);
  padding: .85rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max-w), 100% - 3rem);
  margin-inline: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-link {
  font-size: .875rem;
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--clr-ink);
  position: relative;
  transition: color .25s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 1px;
  background: var(--clr-gold);
  transition: right .3s var(--ease);
}

.nav-link:hover { color: var(--clr-ocean); }
.nav-link:hover::after { right: 0; }

.nav-link.nav-cta {
  background: var(--clr-ocean);
  color: var(--clr-white);
  padding: .55rem 1.25rem;
  border-radius: 50px;
  font-weight: 500;
  transition: background .25s, transform .25s;
}
.nav-link.nav-cta::after { display: none; }
.nav-link.nav-cta:hover { background: var(--clr-ink); transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--clr-ink);
  transition: transform .35s var(--ease), opacity .35s;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  padding: .85rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  letter-spacing: .02em;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--clr-ocean);
  color: var(--clr-white);
  box-shadow: 0 4px 20px rgba(47,68,109,.30);
}
.btn--primary:hover { background: var(--clr-ink); box-shadow: 0 8px 28px rgba(24,36,62,.32); }

.btn--ghost {
  background: transparent;
  color: var(--clr-ink);
  border: 1.5px solid var(--clr-border);
}
.btn--ghost:hover { border-color: var(--clr-crimson); color: var(--clr-crimson); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 1.5rem 5rem;
  text-align: center;
}

/* Decorative background */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .45;
}

.hero-orb--1 {
  width: 55vw; height: 55vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(184,198,215,.7) 0%, rgba(47,68,109,.15) 60%, transparent 100%);
  top: -15%; right: -10%;
  animation: orb-drift 14s ease-in-out infinite alternate;
}

.hero-orb--2 {
  width: 40vw; height: 40vw;
  max-width: 500px; max-height: 500px;
  background: radial-gradient(circle, rgba(175,27,63,.18) 0%, rgba(164,120,100,.2) 50%, transparent 100%);
  bottom: 0%; left: -8%;
  animation: orb-drift 18s ease-in-out infinite alternate-reverse;
}

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.07); }
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(47,68,109,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,68,109,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-eyebrow {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--clr-ink);
  margin-bottom: 1.5rem;
}

.hero-headline em {
  font-style: italic;
  color: var(--clr-ocean);
}

.hero-sub {
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
  color: color-mix(in srgb, var(--clr-ink) 60%, transparent);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

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

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  z-index: 1;
  opacity: .45;
}

.hero-scroll-hint span {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--clr-ocean);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--clr-ocean), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: .3; transform: scaleY(.7); }
  50%       { opacity: 1;  transform: scaleY(1); }
}

/* ── About ──────────────────────────────────────────────────── */
.about { background: #e4dbd4; }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-lg);
  align-items: center;
}

/* Portrait */
.about-portrait { position: relative; }

.portrait-frame {
  width: min(340px, 100%);
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #2F446D 0%, #473144 50%, #A47864 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(24,36,62,.12);
}

/* Decorative line pattern inside portrait */
.portrait-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 12px,
    rgba(184,198,215,.22) 12px,
    rgba(184,198,215,.22) 13px
  );
}

.portrait-initials {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  color: rgba(184,198,215,.9);
  position: relative;
  z-index: 1;
  letter-spacing: .05em;
}

.portrait-badge {
  position: absolute;
  bottom: -1.5rem; right: -1rem;
  background: var(--clr-white);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 30px rgba(24,36,62,.12);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.badge-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--clr-ocean);
  line-height: 1;
}

.badge-label {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .05em;
  color: color-mix(in srgb, var(--clr-ink) 55%, transparent);
  max-width: 8ch;
  margin-top: .25rem;
}

.about-text { padding-block: 1rem; }

.about-bio {
  color: color-mix(in srgb, var(--clr-ink) 72%, transparent);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.about-stats {
  display: flex;
  gap: var(--space-md);
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--clr-border);
}

.stat { display: flex; flex-direction: column; gap: .25rem; }

.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--clr-ocean);
  line-height: 1;
}

.stat-label {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: color-mix(in srgb, var(--clr-ink) 55%, transparent);
}

/* ── Services ───────────────────────────────────────────────── */
.services { background: #e8ecf1; }

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

.service-card {
  background: #f0f2f6;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-crimson), var(--clr-ocean));
  transition: right .4s var(--ease);
}

.service-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(24,36,62,.09); border-color: var(--clr-mist); }
.service-card:hover::before { right: 0; }

.service-icon {
  font-size: 1.5rem;
  color: var(--clr-crimson);
  margin-bottom: 1.25rem;
  display: block;
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--clr-ink);
  margin-bottom: .75rem;
}

.service-desc {
  font-size: .875rem;
  color: color-mix(in srgb, var(--clr-ink) 62%, transparent);
  line-height: 1.7;
}

/* ── Destinations ───────────────────────────────────────────── */
.destinations { background: #ddd4ca; }

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

/* Large card spans 2 rows */
.dest-card--large {
  grid-row: span 2;
}

.dest-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  min-height: 220px;
}

.dest-card--large { min-height: 460px; }

/* Destination visual backgrounds (CSS gradients as placeholders) */
.dest-visual {
  position: absolute;
  inset: 0;
  transition: transform .6s var(--ease);
}

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

.dest-visual--santorini {
  background:
    linear-gradient(160deg, #18243E 0%, #2F446D 35%, #B8C6D7 65%, #A47864 90%, #f0e0d4 100%);
}

.dest-visual--kyoto {
  background:
    linear-gradient(160deg, #473144 0%, #AF1B3F 40%, #c47080 70%, #f0d4cc 100%);
}

.dest-visual--marrakech {
  background:
    linear-gradient(160deg, #482B25 0%, #AF1B3F 30%, #A47864 65%, #d4a888 100%);
}

.dest-visual--patagonia {
  background:
    linear-gradient(160deg, #18243E 0%, #2F446D 40%, #B8C6D7 75%, #dde8f0 100%);
}

.dest-visual--amalfi {
  background:
    linear-gradient(160deg, #2F446D 0%, #473144 35%, #B8C6D7 65%, #e8eef4 100%);
}

/* Decorative texture overlay */
.dest-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  background-size: 180px;
  opacity: .5;
}

.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24,36,62,.8) 0%, rgba(24,36,62,.1) 60%, transparent 100%);
}

.dest-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.dest-tag {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clr-gold);
}

.dest-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--clr-white);
  line-height: 1.1;
}

.dest-card--large .dest-name { font-size: 2.5rem; }

.dest-line {
  font-size: .8rem;
  color: rgba(184,198,215,.8);
}

.destinations-cta {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--clr-ink) 65%, transparent);
}

.destinations-cta a {
  color: var(--clr-crimson);
  font-weight: 500;
  border-bottom: 1px solid var(--clr-gold);
  padding-bottom: 1px;
  transition: color .2s;
}

.destinations-cta a:hover { color: var(--clr-ink); }

/* ── Contact ────────────────────────────────────────────────── */
.contact { background: #1c1428; }

.contact .section-eyebrow { color: var(--clr-gold); }
.contact .section-title { color: var(--clr-white); }
.contact .section-title em { color: #B8C6D7; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-lg);
  align-items: center;
}

.contact-sub {
  margin-top: 1.5rem;
  color: rgba(184,198,215,.65);
  font-size: 1rem;
  line-height: 1.75;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(71,49,68,.35);
  border: 1px solid rgba(184,198,215,.12);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: background .25s, border-color .25s, transform .25s var(--ease);
  color: var(--clr-white);
}

.contact-card:hover {
  background: rgba(71,49,68,.55);
  border-color: rgba(184,198,215,.28);
  transform: translateX(5px);
}

.contact-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg { width: 20px; height: 20px; }

.contact-icon--ig  { background: rgba(164,120,100,.25); color: var(--clr-gold); }
.contact-icon--email{ background: rgba(47,68,109,.35); color: var(--clr-sky); }
.contact-icon--wa  { background: rgba(164,120,100,.2); color: #A47864; }

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  flex: 1;
}

.contact-platform {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(184,198,215,.55);
}

.contact-handle {
  font-size: .95rem;
  font-weight: 400;
  color: rgba(220,228,238,.95);
}

.contact-arrow {
  font-size: 1.1rem;
  color: rgba(184,198,215,.4);
  transition: color .25s, transform .25s;
}

.contact-card:hover .contact-arrow {
  color: var(--clr-gold);
  transform: translate(2px, -2px);
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: #0e0c14;
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo--footer .logo-city { color: rgba(184,198,215,.8); }
.logo--footer .logo-eight { color: var(--clr-gold); }

.footer-copy {
  font-size: .75rem;
  color: rgba(184,198,215,.4);
  letter-spacing: .04em;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .destinations-grid { grid-template-columns: 1fr 1fr; }
  .dest-card--large { grid-row: span 1; min-height: 260px; }
}

@media (max-width: 768px) {
  :root { --space-xl: 5rem; --space-lg: 3rem; }

  /* Mobile nav */
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(238,240,244,.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform .45s var(--ease), opacity .45s var(--ease);
  }

  .nav-links.open {
    transform: none;
    opacity: 1;
    pointer-events: all;
  }

  .nav-link { font-size: 1.3rem; }
  .nav-link.nav-cta { font-size: 1rem; padding: .85rem 2rem; }
  .hamburger { display: flex; z-index: 101; }

  .about-inner { grid-template-columns: 1fr; }
  .portrait-frame { max-width: 240px; margin-inline: auto; }
  .portrait-badge { right: 0; }

  .about-stats { gap: 1.5rem; }

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

  .destinations-grid { grid-template-columns: 1fr; }
  .dest-card { min-height: 200px; }
  .dest-card--large { min-height: 280px; }

  .contact-inner { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; text-align: center; }

  .br-desktop { display: none; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.6rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; max-width: 280px; }
}


/* ============================================================
   ADVENTUROUS SECTION
   ============================================================ */

/* ── Section wrapper ──────────────────────────────────────── */
.adventurous {
  background: #120d1c;
  position: relative;
  overflow: hidden;
  padding-block: var(--space-xl);
}

/* Subtle noise grain overlay for cinematic feel */
.adventurous::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.04'/%3E%3C/svg%3E");
  background-size: 180px;
  pointer-events: none;
  z-index: 0;
}

/* Decorative orbs matching hero style */
.adventurous::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,68,109,.18) 0%, transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
  z-index: 0;
}

/* ── Header ───────────────────────────────────────────────── */
.adv-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.adv-title {
  color: var(--clr-white);
  margin-bottom: 1.25rem;
}

.adv-title em { color: var(--clr-gold); }

.adv-subtitle {
  color: rgba(184,198,215,.55);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 520px;
  margin-inline: auto;
}

/* ── Grid ─────────────────────────────────────────────────── */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  width: min(1400px, 100% - 3rem);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* ── Card ─────────────────────────────────────────────────── */
.adv-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  /* Default collapsed height */
  height: 480px;
  transition: box-shadow .5s var(--ease);
}

.adv-card:hover {
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  z-index: 5;
}

.adv-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ── Default Collage ──────────────────────────────────────── */
.adv-collage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  z-index: 1;
}

.adv-card:hover .adv-collage {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

/* Each photo in the collage */
.adv-photo {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: transform .6s var(--ease);
}

.adv-card:hover .adv-photo { transform: scale(1.08); }

/* Photo label chip */
.adv-photo-label {
  position: absolute;
  bottom: 8px; left: 8px;
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(184,198,215,.92);
  background: rgba(0,0,0,.38);
  padding: 3px 8px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* ── Photo backgrounds — Group 1 (Yacht/Coastal) ─────────── */
.adv-photo--c1-1 {
  background: linear-gradient(145deg, #18243E 0%, #2F446D 50%, #B8C6D7 100%);
}
.adv-photo--c1-2 {
  background: linear-gradient(145deg, #A47864 0%, #c49a80 60%, #e8cfc0 100%);
}
.adv-photo--c1-3 {
  background: linear-gradient(145deg, #2F446D 0%, #473144 60%, #B8C6D7 100%);
}
.adv-photo--c1-4 {
  background: linear-gradient(145deg, #482B25 0%, #A47864 60%, #d4b0a0 100%);
}

/* ── Photo backgrounds — Group 2 (Alpine/Ski) ────────────── */
.adv-photo--c2-1 {
  background: linear-gradient(145deg, #18243E 0%, #2F446D 55%, #B8C6D7 100%);
}
.adv-photo--c2-2 {
  background: linear-gradient(145deg, #B8C6D7 0%, #dde6ef 60%, #f5f7fa 100%);
}
.adv-photo--c2-3 {
  background: linear-gradient(145deg, #482B25 0%, #A47864 60%, #d4a888 100%);
}
.adv-photo--c2-4 {
  background: linear-gradient(145deg, #473144 0%, #AF1B3F 55%, #c47860 100%);
}

/* ── Photo backgrounds — Group 3 (Safari/Desert) ─────────── */
.adv-photo--c3-1 {
  background: linear-gradient(145deg, #482B25 0%, #A47864 55%, #d4b090 100%);
}
.adv-photo--c3-2 {
  background: linear-gradient(145deg, #18243E 0%, #482B25 50%, #A47864 100%);
}
.adv-photo--c3-3 {
  background: linear-gradient(145deg, #18243E 0%, #2F446D 50%, #473144 100%);
}
.adv-photo--c3-4 {
  background: linear-gradient(145deg, #18243E 0%, #2F446D 60%, #473144 100%);
}

/* ── Photo backgrounds — Group 4 (Tropical/Adrenaline) ────── */
.adv-photo--c4-1 {
  background: linear-gradient(145deg, #18243E 0%, #2F446D 50%, #B8C6D7 100%);
}
.adv-photo--c4-2 {
  background: linear-gradient(145deg, #473144 0%, #AF1B3F 55%, #A47864 100%);
}
.adv-photo--c4-3 {
  background: linear-gradient(145deg, #2F446D 0%, #B8C6D7 60%, #e8eef4 100%);
}
.adv-photo--c4-4 {
  background: linear-gradient(145deg, #473144 0%, #AF1B3F 55%, #482B25 100%);
}

/* ── Hover Story Panel ────────────────────────────────────── */
.adv-story {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  z-index: 2;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  transition-delay: .05s;
  background: #1c1428;
}

.adv-card:hover .adv-story {
  opacity: 1;
  transform: none;
  pointer-events: all;
}

/* Three stacked/layered photos in story panel */
.adv-story-photos {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.adv-sp {
  position: absolute;
  background-size: cover;
  background-position: center;
  transition: transform .7s var(--ease);
}

/* Layered photo positions */
.adv-sp:nth-child(1) { inset: 0; }
.adv-sp:nth-child(2) {
  inset: 0;
  clip-path: polygon(45% 0%, 100% 0%, 100% 100%, 35% 100%);
  opacity: .85;
}
.adv-sp:nth-child(3) {
  bottom: 0; right: 0;
  width: 50%; height: 50%;
  border-top-left-radius: 12px;
  box-shadow: -4px -4px 20px rgba(0,0,0,.4);
}

.adv-card:hover .adv-sp:nth-child(1) { transform: scale(1.06); }
.adv-card:hover .adv-sp:nth-child(2) { transform: scale(1.04) translateX(4px); }
.adv-card:hover .adv-sp:nth-child(3) { transform: scale(1.08); }

/* Story panel gradient */
.adv-story-photos::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    transparent 30%,
    rgba(24,36,62,.6) 70%,
    rgba(24,36,62,.95) 100%
  );
}

/* Story text below photos */
.adv-story-text {
  padding: 1.5rem;
  flex-shrink: 0;
}

.adv-group-tag {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clr-gold);
  display: block;
  margin-bottom: .5rem;
}

.adv-story-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--clr-white);
  line-height: 1.15;
  margin-bottom: .6rem;
}

.adv-story-desc {
  font-size: .8rem;
  color: rgba(184,198,215,.7);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.adv-story-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--clr-gold);
  border-bottom: 1px solid rgba(164,120,100,.4);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}

.adv-story-cta:hover {
  color: var(--clr-white);
  border-color: rgba(184,198,215,.5);
}

/* ── Story panel photo fills — Group 1 ───────────────────── */
.adv-sp--c1-a { background: linear-gradient(135deg, #18243E 0%, #2F446D 55%, #B8C6D7 100%); }
.adv-sp--c1-b { background: linear-gradient(135deg, #2F446D 0%, #473144 60%, #B8C6D7 100%); }
.adv-sp--c1-c { background: linear-gradient(135deg, #A47864 0%, #c4987a 60%, #e8cfc0 100%); }

/* ── Story panel photo fills — Group 2 ───────────────────── */
.adv-sp--c2-a { background: linear-gradient(135deg, #B8C6D7 0%, #dde6ef 55%, #f2f5f8 100%); }
.adv-sp--c2-b { background: linear-gradient(135deg, #18243E 0%, #2F446D 65%, #473144 100%); }
.adv-sp--c2-c { background: linear-gradient(135deg, #482B25 0%, #A47864 65%, #d4b0a0 100%); }

/* ── Story panel photo fills — Group 3 ───────────────────── */
.adv-sp--c3-a { background: linear-gradient(135deg, #482B25 0%, #A47864 60%, #d4b090 100%); }
.adv-sp--c3-b { background: linear-gradient(135deg, #18243E 0%, #2F446D 60%, #B8C6D7 100%); }
.adv-sp--c3-c { background: linear-gradient(135deg, #473144 0%, #AF1B3F 60%, #482B25 100%); }

/* ── Story panel photo fills — Group 4 ───────────────────── */
.adv-sp--c4-a { background: linear-gradient(135deg, #18243E 0%, #2F446D 55%, #B8C6D7 100%); }
.adv-sp--c4-b { background: linear-gradient(135deg, #473144 0%, #AF1B3F 55%, #A47864 100%); }
.adv-sp--c4-c { background: linear-gradient(135deg, #482B25 0%, #473144 55%, #AF1B3F 100%); }

/* ── Card meta footer ─────────────────────────────────────── */
.adv-card-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(18,13,28,.95), rgba(71,49,68,.4) 60%, transparent);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 3;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}

.adv-card:hover .adv-card-meta { opacity: 0; }

.adv-meta-label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--clr-white);
}

.adv-meta-theme {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(184,198,215,.55);
}

/* ── Footer CTA ───────────────────────────────────────────── */
.adv-footer-cta {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: 1.1rem;
  color: rgba(184,198,215,.55);
  position: relative;
  z-index: 1;
}

.adv-footer-cta a {
  color: var(--clr-gold);
  border-bottom: 1px solid rgba(164,120,100,.45);
  padding-bottom: 1px;
  transition: color .2s;
}

.adv-footer-cta a:hover { color: var(--clr-white); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-card { height: 440px; }
}

@media (max-width: 640px) {
  .adv-grid { grid-template-columns: 1fr; }
  .adv-card { height: 380px; }
  .adv-meta-theme { display: none; }
  /* On mobile: tap to reveal story instead of hover */
  .adv-card.tapped .adv-collage { opacity: 0; pointer-events: none; }
  .adv-card.tapped .adv-story { opacity: 1; transform: none; pointer-events: all; }
  .adv-card.tapped .adv-card-meta { opacity: 0; }
}

