/* ════════════════════════════════════════════════════════════
   VANEFF FOTOGRAFÍA — styles.css
   Palette: Cream / Blush / Sage / Gold / Charcoal
   ════════════════════════════════════════════════════════════ */

/* ── Variables ───────────────────────────────────────────── */
:root {
  --cream:        #FAF7F2;
  --warm-white:   #FFFDF9;
  --blush:        #E8C4B8;
  --blush-light:  #F2DDD5;
  --blush-dark:   #D4A294;
  --sage:         #A8B5A0;
  --sage-dark:    #7A8C70;
  --charcoal:     #2C2C2C;
  --warm-gray:    #6B6560;
  --gold:         #C9A96E;
  --gold-light:   #DFC9A0;
  --wa-green:     #25D366;
  --wa-green-dk:  #20c05b;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  --nav-h:       68px;
  --r-sm:        12px;
  --r-md:        20px;
  --r-pill:      40px;
  --max-gallery: 900px;
  --max-content: 1100px;

  --shadow-lift: 0 20px 60px rgba(0,0,0,.11), 0 4px 16px rgba(0,0,0,.06);
}

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

/* ── Utility ─────────────────────────────────────────────── */
.section-eyebrow {
  font-size: 10px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
}


/* ════════════════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212,162,148,0.12);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.07); }

.nav__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 28px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav__logo { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.nav__logo-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 2.5px;
  color: var(--charcoal);
}
.nav__logo-sub {
  font-size: 8px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
}

/* Desktop links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__link {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--warm-gray);
  transition: color 0.2s;
}
.nav__link:hover { color: var(--charcoal); }

/* Instagram icon */
.nav__ig {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--blush-light);
  color: var(--blush-dark);
  transition: background 0.2s, transform 0.18s;
}
.nav__ig:hover { background: var(--blush); transform: scale(1.06); }

/* Hamburger button */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px 4px;
}
.nav__toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--charcoal);
  transition: all 0.28s ease;
  transform-origin: center;
}
.nav__toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none;
  flex-direction: column;
  background: rgba(250,247,242,0.98);
  border-top: 1px solid rgba(212,162,148,0.1);
  padding: 0 28px 20px;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 15px 0;
  font-size: 14px;
  color: var(--warm-gray);
  border-bottom: 1px solid rgba(212,162,148,0.1);
  transition: color 0.2s;
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover { color: var(--charcoal); }
.nav__mobile-wa {
  color: var(--wa-green) !important;
  font-weight: 500;
}

@media (max-width: 700px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
}


/* ════════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  padding: 14px 32px;
  border-radius: var(--r-pill);
  transition: background 0.22s, box-shadow 0.22s, transform 0.18s;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn--sm { padding: 10px 20px; font-size: 12px; }

.btn--primary {
  background: var(--charcoal);
  color: var(--cream);
}
.btn--primary:hover {
  background: #3a3a3a;
  box-shadow: 0 6px 20px rgba(44,44,44,.22);
  transform: translateY(-1px);
}

.btn--wa {
  background: var(--wa-green);
  color: white;
}
.btn--wa:hover {
  background: var(--wa-green-dk);
  box-shadow: 0 6px 24px rgba(37,211,102,.38);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--blush-dark);
  border: 1.5px solid var(--blush-dark);
}
.btn--outline:hover { background: var(--blush-light); }


/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 72px) 28px 88px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

/* Decorative blobs */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero__blob--right {
  width: min(400px, 68vw);
  height: min(400px, 68vw);
  top: -90px; right: -90px;
  background: radial-gradient(circle, var(--blush) 0%, transparent 64%);
  opacity: 0.55;
}
.hero__blob--left {
  width: min(300px, 55vw);
  height: min(300px, 55vw);
  bottom: -70px; left: -70px;
  background: radial-gradient(circle, var(--sage) 0%, transparent 64%);
  opacity: 0.28;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 580px;
}
.hero__eyebrow {
  font-size: 10px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 7.5vw, 62px);
  font-weight: 300;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.25;
  margin-bottom: 18px;
  text-wrap: pretty;
}
.hero__body {
  font-size: 16px;
  color: var(--warm-gray);
  line-height: 1.72;
  margin-bottom: 34px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}
.hero__cta { margin: 0 auto; }
.hero__sub {
  margin-top: 14px;
  font-size: 12px;
  color: var(--blush-dark);
  font-style: italic;
}


/* ════════════════════════════════════════════════════════════
   GALLERY
   ════════════════════════════════════════════════════════════ */
.gallery {
  background: var(--warm-white);
  padding: 80px 0 64px;
}
.gallery__header {
  text-align: center;
  margin-bottom: 30px;
  padding: 0 28px;
}
.gallery__stage {
  position: relative;
  max-width: var(--max-gallery);
  margin: 0 auto;
  padding: 0 24px;
  user-select: none;
}
.gallery__track {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--blush-light);
  box-shadow: var(--shadow-lift);
}

/* Individual slides */
.gallery__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.75s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.gallery__slide.active { opacity: 1; }
.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Placeholder slides (no real photo yet) */
.gallery__slide--ph .ph-icon  { font-size: 52px; opacity: 0.2; margin-bottom: 10px; }
.gallery__slide--ph .ph-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(44,44,44,0.35);
  text-transform: uppercase;
  text-align: center;
  padding: 0 24px;
}
.gallery__slide--ph .ph-label a {
  color: var(--blush-dark);
  text-decoration: underline;
}

/* Arrow controls */
.gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  z-index: 2;
}
.gallery__arrow:hover {
  background: white;
  box-shadow: 0 4px 18px rgba(0,0,0,.15);
  transform: translateY(-50%) scale(1.06);
}
.gallery__arrow--prev { left: 32px; }
.gallery__arrow--next { right: 32px; }

/* Slide counter badge */
.gallery__counter {
  position: absolute;
  bottom: 14px; right: 38px;
  background: rgba(0,0,0,0.3);
  color: white;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
  letter-spacing: 0.5px;
}

/* Dot navigation */
.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  align-items: center;
}
.gallery__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(44,44,44,.18);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.gallery__dot.active {
  width: 10px; height: 10px;
  background: var(--blush-dark);
}
.gallery__dot:hover:not(.active) { background: rgba(44,44,44,.35); }

/* Instagram link below gallery */
.gallery__ig-link {
  text-align: center;
  margin-top: 28px;
  padding: 0 24px;
}
.gallery__ig-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--blush-dark);
  border-bottom: 1px solid rgba(212,162,148,0.4);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.gallery__ig-btn:hover { color: var(--warm-gray); }


/* ════════════════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════════════════ */
.contact {
  background: var(--cream);
  padding: 96px 28px;
  text-align: center;
  border-top: 1px solid rgba(212,162,148,0.18);
}
.contact__inner { max-width: 520px; margin: 0 auto; }

.contact__title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 5.5vw, 46px);
  font-weight: 300;
  font-style: italic;
  color: var(--charcoal);
  margin: 14px 0 18px;
  text-wrap: pretty;
}
.contact__body {
  font-size: 15px;
  color: var(--warm-gray);
  line-height: 1.75;
  margin-bottom: 36px;
}
.contact__btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
/* Optional details (address, hours) */
.contact__details {
  margin-top: 36px;
  font-size: 14px;
  color: var(--warm-gray);
  line-height: 2;
}


/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.footer {
  background: var(--charcoal);
  padding: 48px 28px;
}
.footer__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer__logo { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.footer__name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 2.5px;
  color: white;
}
.footer__sub {
  font-size: 8px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
}
.footer__links {
  display: flex;
  gap: 24px;
}
.footer__links a {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  transition: color 0.2s;
}
.footer__links a:hover { color: white; }
.footer__copy {
  font-size: 11px;
  color: rgba(255,255,255,.28);
}


/* ════════════════════════════════════════════════════════════
   FLOATING WHATSAPP BUTTON
   ════════════════════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa-green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 99;
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.2s;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.75) translateY(8px);
}
.wa-float.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}
.wa-float:hover {
  background: var(--wa-green-dk);
  box-shadow: 0 6px 28px rgba(37,211,102,.5);
  transform: scale(1.08) !important;
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .gallery__arrow { width: 40px; height: 40px; }
  .gallery__arrow--prev { left: 12px; }
  .gallery__arrow--next { right: 12px; }
  .gallery__counter { right: 20px; bottom: 10px; }
  .gallery__stage { padding: 0 12px; }

  .contact__btns { flex-direction: column; align-items: stretch; }
  .contact__btns .btn { justify-content: center; }

  .nav__inner { padding: 0 20px; }
  .wa-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}

@media (max-width: 480px) {
  .gallery__track { aspect-ratio: 1/1; } /* square on small phones */
}


/* ════════════════════════════════════════════════════════════
   ACCESSIBILITY — reduced motion
   ════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .gallery__slide,
  .btn,
  .nav__toggle span,
  .wa-float { transition: none; }
  html { scroll-behavior: auto; }
}
