/* ============================================
   TRAVEL PHOTOGRAPHY PORTFOLIO
   Design: Dark-edge minimalism with white body
   Inspired by: Elia Locardi, Bryan Minear
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

/* ── TOKENS ────────────────────────────────── */
:root {
  --black:      #0a0a0a;
  --dark:       #111111;
  --dark-2:     #1a1a1a;
  --dark-3:     #242424;
  --mid:        #666666;
  --light:      #aaaaaa;
  --lighter:    #dddddd;
  --white:      #ffffff;
  --cream:      #faf9f7;
  --accent:     #c8a96e;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;

  --nav-h: 60px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* ── NAV ────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: background 0.4s var(--ease), border-color 0.4s;
  border-bottom: 0.5px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,10,0.96);
  border-bottom-color: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
}
.nav--light { background: var(--cream); border-bottom: 0.5px solid var(--lighter); }
.nav--light .nav__logo,
.nav--light .nav__link { color: var(--dark); }
.nav--light .nav__link:hover { color: var(--black); }
.nav--light.scrolled { background: rgba(250,249,247,0.97); border-bottom-color: var(--lighter); }

.nav__logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--white);
  transition: color 0.3s;
}
.nav__logo span { color: var(--accent); font-style: italic; }

.nav__links { display: flex; gap: 32px; list-style: none; }
.nav__link {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color 0.25s;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.nav__link:hover,
.nav__link.active { color: var(--white); border-bottom-color: var(--accent); }
.nav--light .nav__link.active { color: var(--dark); border-bottom-color: var(--dark); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.nav--light .nav__hamburger span { background: var(--dark); }

/* ── HERO ──────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: var(--black);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero__mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 5fr 3fr 4fr;
  grid-template-rows: 3fr 2fr;
  gap: 2px;
  opacity: 0;
  animation: fadeIn 1.2s 0.3s var(--ease-out) forwards;
}
.hero__tile {
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
}
/* Placeholders — swap for real photos */
.hero__tile:nth-child(1) { background-color: #16201a; background-image: url('images/destinations/europa/hero-1.jpg'); }
.hero__tile:nth-child(2) { background-color: #201816; background-image: url('images/destinations/asia/hero-2.jpg'); }
.hero__tile:nth-child(3) { background-color: #181420; background-image: url('images/destinations/africa/hero-3.jpg'); }
.hero__tile:nth-child(4) { background-color: #141c20; background-image: url('images/destinations/america/hero-4.jpg'); }
.hero__tile:nth-child(5) { background-color: #1c1810; background-image: url('images/destinations/europa/hero-5.jpg'); }
.hero__tile:nth-child(6) { background-color: #10181c; background-image: url('images/destinations/asia/hero-6.jpg'); }

.hero:hover .hero__tile { transform: scale(1.03); }

.hero__vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.95) 0%,
    rgba(10,10,10,0.4) 40%,
    rgba(10,10,10,0.15) 70%,
    transparent 100%
  );
}

.hero__body {
  position: relative;
  z-index: 2;
  padding: 0 48px 64px;
  width: 100%;
  opacity: 0;
  transform: translateY(24px);
  animation: slideUp 1s 0.8s var(--ease-out) forwards;
}
.hero__eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 86px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 16px;
  max-width: 640px;
}
.hero__title em { font-style: italic; color: var(--accent); }
.hero__subtitle {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.5px;
  margin-bottom: 32px;
  max-width: 400px;
  line-height: 1.7;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  border: 0.5px solid rgba(255,255,255,0.3);
  padding: 12px 24px;
  transition: background 0.25s, border-color 0.25s, gap 0.25s;
}
.hero__cta:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
  gap: 16px;
}
.hero__cta-arrow { font-size: 14px; transition: transform 0.25s; }
.hero__cta:hover .hero__cta-arrow { transform: translateX(4px); }

.hero__scroll {
  position: absolute;
  bottom: 32px;
  right: 48px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}
.hero__scroll-line {
  width: 0.5px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  animation: scrollLine 1.5s 2s ease-in-out infinite;
}
.hero__scroll-text {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  writing-mode: vertical-rl;
}

/* ── SECTION LABELS ─────────────────────────── */
.section { padding: 80px 48px; }
.section--dark { background: var(--dark); color: var(--white); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }

.section__eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 12px;
}
.section__desc {
  font-size: 13px;
  color: var(--mid);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 40px;
}
.section--dark .section__desc { color: rgba(255,255,255,0.4); }

/* ── DESTINATIONS GRID ──────────────────────── */
.dest-grid {
  display: grid;
  gap: 3px;
}
.dest-grid--2-1 { grid-template-columns: 2fr 1fr; }
.dest-grid--3   { grid-template-columns: repeat(3, 1fr); margin-top: 3px; }

.dest-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--dark-2);
}
.dest-card--wide { aspect-ratio: 16 / 8; }
.dest-card--tall  { aspect-ratio: 3 / 4; }
.dest-card--rect  { aspect-ratio: 4 / 3; }

.dest-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
  filter: brightness(0.85);
  background-size: cover;
  background-position: center;
}
.dest-card:hover .dest-card__img {
  transform: scale(1.06);
  filter: brightness(0.75);
}

.dest-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
}
.dest-card__info {
  position: absolute;
  bottom: 20px;
  left: 24px;
  z-index: 2;
  transform: translateY(4px);
  transition: transform 0.3s var(--ease);
}
.dest-card:hover .dest-card__info { transform: translateY(0); }

.dest-card__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.3px;
  margin-bottom: 3px;
}
.dest-card__region {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.dest-card__arrow {
  position: absolute;
  bottom: 22px;
  right: 20px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0.5px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s;
}
.dest-card:hover .dest-card__arrow { opacity: 1; transform: translateX(0); }

/* ── STATS STRIP ────────────────────────────── */
.stats-strip {
  background: var(--black);
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-top: 0.5px solid var(--dark-3);
  border-bottom: 0.5px solid var(--dark-3);
}
.stat {
  text-align: center;
  padding: 16px;
}
.stat__number {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat__label {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* ── ABOUT SPLIT ────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.about-split__img {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: var(--dark-3);
}
.about-split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(20%);
  transition: transform 0.6s var(--ease);
}
.about-split:hover .about-split__img img { transform: scale(1.03); }
.about-split__body {
  padding: 64px 56px;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-split__body .section__title { margin-bottom: 20px; }
.about-split__body p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.9;
  margin-bottom: 14px;
}
.about-split__gear {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 0.5px solid var(--lighter);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.gear-tag {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mid);
  padding: 5px 12px;
  border: 0.5px solid var(--lighter);
}

/* ── BTN ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 12px 24px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}
.btn--dark {
  background: var(--dark);
  color: var(--white);
}
.btn--dark:hover { background: var(--black); gap: 16px; }
.btn--outline {
  background: transparent;
  color: var(--dark);
  border: 0.5px solid var(--dark);
}
.btn--outline:hover { background: var(--dark); color: var(--white); }
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 0.5px solid rgba(255,255,255,0.35);
}
.btn--outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }
.btn span { transition: transform 0.25s; }
.btn:hover span { transform: translateX(4px); }

/* ── GALLERY PAGE ───────────────────────────── */
.gallery-hero {
  height: 65vh;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  background: var(--black);
  display: flex;
  align-items: flex-end;
}
.gallery-hero__img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  filter: brightness(0.55);
  transition: transform 8s ease;
}
.gallery-hero:hover .gallery-hero__img { transform: scale(1.04); }
.gallery-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 60%);
}
.gallery-hero__body {
  position: relative;
  z-index: 2;
  padding: 0 48px 48px;
}
.gallery-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 14px;
  cursor: pointer;
  transition: color 0.2s;
}
.gallery-hero__back:hover { color: var(--white); }
.gallery-hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 8px;
}
.gallery-hero__desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  max-width: 480px;
  line-height: 1.7;
}

.gallery-meta {
  background: var(--white);
  padding: 20px 48px;
  display: flex;
  gap: 40px;
  border-bottom: 0.5px solid var(--lighter);
}
.gallery-meta__item {}
.gallery-meta__label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 3px;
}
.gallery-meta__val { font-size: 13px; color: var(--dark); }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: var(--black);
  padding: 3px;
}
.photo-grid__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--dark-2);
}
.photo-grid__item--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.photo-grid__item--tall { aspect-ratio: 3 / 4; }

.photo-grid__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease), filter 0.4s;
}
.photo-grid__item:hover .photo-grid__img {
  transform: scale(1.05);
  filter: brightness(0.75);
}
.photo-grid__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  transform: translateY(8px);
  opacity: 0;
  transition: all 0.3s var(--ease);
}
.photo-grid__item:hover .photo-grid__caption { opacity: 1; transform: translateY(0); }
.photo-grid__caption-text {
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.5px;
}

/* ── LIGHTBOX ───────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  transform: scale(0.96);
  transition: transform 0.3s var(--ease-out);
}
.lightbox.open .lightbox__img { transform: scale(1); }
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lightbox__close:hover { color: var(--white); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 4px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s;
}
.lightbox__nav:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.3);
}
.lightbox__caption {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  white-space: nowrap;
}

/* ── CONTACT ────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.contact-info {
  background: var(--dark);
  padding: 72px 56px;
  color: var(--white);
}
.contact-info .section__title { color: var(--white); }
.contact-info p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.8; margin-bottom: 14px; }
.contact-detail { margin-bottom: 10px; display: flex; gap: 12px; }
.contact-detail__label { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.3); width: 80px; flex-shrink: 0; padding-top: 2px; }
.contact-detail__val { font-size: 13px; color: rgba(255,255,255,0.65); }
.contact-social { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.social-link {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  border: 0.5px solid rgba(255,255,255,0.15);
  padding: 7px 14px;
  transition: all 0.2s;
}
.social-link:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }

.contact-form { background: var(--cream); padding: 72px 56px; }
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 7px;
}
.form-control {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--dark);
  background: transparent;
  border: none;
  border-bottom: 0.5px solid var(--lighter);
  padding: 8px 0;
  outline: none;
  transition: border-color 0.25s;
}
.form-control:focus { border-bottom-color: var(--dark); }
.form-control::placeholder { color: var(--light); }
textarea.form-control { resize: none; height: 100px; }
select.form-control { appearance: none; cursor: pointer; }

/* ── FOOTER ─────────────────────────────────── */
.footer {
  background: var(--black);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 0.5px solid var(--dark-3);
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 18px;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
}
.footer__copy { font-size: 11px; color: rgba(255,255,255,0.2); }
.footer__links { display: flex; gap: 20px; }
.footer__link {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  transition: color 0.2s;
}
.footer__link:hover { color: rgba(255,255,255,0.6); }

/* ── ANIMATIONS ─────────────────────────────── */
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(0.5); opacity: 0.2; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .hero__body { padding: 0 24px 48px; }
  .section { padding: 56px 24px; }
  .stats-strip { grid-template-columns: 1fr 1fr; padding: 32px 24px; gap: 24px; }
  .about-split { grid-template-columns: 1fr; }
  .about-split__body { padding: 40px 24px; }
  .dest-grid--2-1 { grid-template-columns: 1fr; }
  .dest-grid--3 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info, .contact-form { padding: 40px 24px; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid__item--wide { grid-column: span 1; aspect-ratio: 4/3; }
  .footer { flex-direction: column; gap: 16px; text-align: center; padding: 24px; }
  .gallery-hero__body { padding: 0 24px 36px; }
  .gallery-meta { padding: 16px 24px; gap: 20px; flex-wrap: wrap; }
}

@media (max-width: 540px) {
  .hero__title { font-size: 36px; }
  .dest-grid--3 { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
}
