/*
 * Theme: Atmospheric Glow
 * Direction: Moody, warm, dramatic — think golden hour light, deep shadows,
 *            lush gradients, soft glow effects, and an immersive feeling.
 * Key differences vs original:
 *   - Deep warm-toned backgrounds with radial gradient atmosphere
 *   - Glowing box-shadows and text-shadows
 *   - Rose gold and amber accents alongside the rose
 *   - Cards and surfaces glow on hover
 *   - Gallery with dreamy overlays
 *   - More dramatic font weights and spacing
 *   - Subtle animated background gradients
 */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --rose:        #e4617e;
  --rose-deep:   #c94868;
  --rose-glow:   #f698ad;
  --gold:        #d4a373;
  --gold-glow:   #e8c89a;
  --amber:       #e8b87a;
  --warm-light:  #fef0e4;
  --warm-wash:   #fdf3ed;
  --bg-deep:     #1c1817;
  --bg-warm:     #292220;
  --surf:        #2f2825;
  --surf-raised: #3a312d;
  --ink:         #f5ede7;
  --ink-soft:    #d6cac1;
  --ink-muted:   #a89a91;
  --ink-faint:   #7a7069;
  --radius-sm:   12px;
  --radius-md:   20px;
  --radius-lg:   28px;
  --radius-pill: 999px;
  --font-display: 'Playfair Display', serif;
  --font-body:    'Lato', sans-serif;
  --ease:         cubic-bezier(0.22, 0.61, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-deep);
  overflow-x: hidden;
  line-height: 1.8;
  font-weight: 300;
  background-image:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(228, 97, 126, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 30% 40% at 20% 70%, rgba(212, 163, 115, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 30% 30% at 80% 40%, rgba(232, 184, 122, 0.04) 0%, transparent 50%);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
}

/* ---- floating hearts ---- */
#hearts-container {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

.heart-particle {
  position: absolute;
  bottom: 5%;
  font-size: 1.1rem;
  opacity: 0;
  animation: float-up linear both;
  pointer-events: none;
}

@keyframes float-up {
  0%   { transform: translateY(0) scale(0.5) rotate(0deg); opacity: 0; }
  12%  { opacity: 0.25; }
  50%  { opacity: 0.3; }
  100% { transform: translateY(-100vh) scale(0.35) rotate(15deg); opacity: 0; }
}

/* ---- navigation ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(28, 24, 23, 0.82);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid rgba(228, 97, 126, 0.08);
  transition: background 0.3s;
}

.nav-logo {
  font-size: 1.3rem;
  text-decoration: none;
  transition: transform 0.3s var(--ease);
}

.nav-logo:hover { transform: scale(1.12); }

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

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  transition: color 0.3s, background 0.3s;
}

.nav-links a:hover {
  color: var(--rose-glow);
  background: rgba(228, 97, 126, 0.08);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--rose);
}

/* ---- hero ---- */
#hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 3rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(228, 97, 126, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 30% 70%, rgba(212, 163, 115, 0.08) 0%, transparent 60%);
}

.hero-content {
  max-width: 800px;
  width: 100%;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  animation: fadeInDown 1s var(--ease);
  text-shadow: 0 2px 16px rgba(228, 97, 126, 0.15);
  background: linear-gradient(135deg, var(--rose-glow), var(--gold-glow), var(--rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.08em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 3.5rem;
  animation: fadeInDown 1s var(--ease) 0.15s both;
}

/* ---- counter ---- */
.counter {
  background: var(--surf);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.3),
    0 1px 2px rgba(228, 97, 126, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
  animation: fadeInUp 0.8s var(--ease) 0.3s both;
  border: 1px solid rgba(228, 97, 126, 0.08);
  transition: box-shadow 0.5s;
}

.counter:hover {
  box-shadow:
    0 8px 48px rgba(0, 0, 0, 0.4),
    0 2px 8px rgba(228, 97, 126, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.counter h2 {
  font-size: 1.2rem;
  color: var(--ink-muted);
  font-weight: 400;
  margin-bottom: 2rem;
  font-family: var(--font-display);
  font-style: italic;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.counter-number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--rose-glow);
  line-height: 1;
  min-width: 2ch;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 20px rgba(246, 152, 173, 0.2);
}

.counter-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-muted);
  margin-top: 0.5rem;
  font-weight: 600;
}

.start-date {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-faint);
  font-size: 1rem;
}

.scroll-down {
  display: inline-block;
  margin-top: 3.5rem;
  font-size: 2rem;
  color: var(--rose-glow);
  text-decoration: none;
  animation: bounce 2s infinite;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.scroll-down:hover { opacity: 0.8; }

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-12px); }
  60% { transform: translateY(-6px); }
}

/* ---- sections ---- */
.section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  text-align: center;
  color: var(--ink);
  margin-bottom: 0.4rem;
  font-weight: 400;
}

.section-subtitle {
  text-align: center;
  color: var(--ink-muted);
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 3.5rem;
}

/* ---- scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- timeline ---- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom,
    var(--rose) 0%,
    var(--rose-glow) 30%,
    var(--gold) 70%,
    transparent 100%);
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(228, 97, 126, 0.15);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1.5rem 3rem;
}

.timeline-item.left  { left: 0; text-align: right; }
.timeline-item.right { left: 50%; text-align: left; }

.timeline-item::before {
  content: '';
  position: absolute;
  top: 2rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow:
    0 0 0 4px rgba(228, 97, 126, 0.15),
    0 0 16px rgba(228, 97, 126, 0.3);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.timeline-item:hover::before {
  transform: scale(1.4);
  box-shadow:
    0 0 0 4px rgba(228, 97, 126, 0.2),
    0 0 28px rgba(228, 97, 126, 0.5);
}

.timeline-item.left::before  { right: -7px; }
.timeline-item.right::before { left: -7px; }

.timeline-content {
  background: var(--surf);
  padding: 1.8rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(228, 97, 126, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.timeline-content:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(228, 97, 126, 0.06);
}

.timeline-date {
  font-size: 0.78rem;
  color: var(--rose-glow);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.timeline-content h3 {
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 0.92rem;
}

.timeline-content a {
  color: var(--gold-glow);
  text-decoration: none;
  border-bottom: 1px dotted rgba(232, 200, 154, 0.3);
}

/* ---- map ---- */
#adventures-map {
  width: 100%;
  height: 500px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(228, 97, 126, 0.06);
  z-index: 1;
}

.map-heart-marker {
  background: none !important;
  border: none !important;
}

.map-heart-pin {
  font-size: 1.4rem;
  display: block;
  text-align: center;
  line-height: 30px;
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
  transition: transform 0.3s var(--ease);
}

.map-heart-marker:hover .map-heart-pin { transform: scale(1.35); }

.map-popup .leaflet-popup-content-wrapper {
  border-radius: var(--radius-sm);
  background: var(--surf-raised);
  color: var(--ink);
  border: 1px solid rgba(228, 97, 126, 0.1);
}

.map-popup .leaflet-popup-content {
  margin: 10px 14px;
  font-family: var(--font-body);
}

.map-popup .leaflet-popup-tip {
  background: var(--surf-raised);
}

/* ---- gallery ---- */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.gallery-item {
  flex: 0 0 calc(25% - 0.45rem);
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surf);
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.gallery-item:hover {
  transform: scale(1.04);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(228, 97, 126, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease), filter 0.6s;
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(1.1) contrast(1.05);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
  text-align: center;
  padding: 0.5rem;
}

.gallery-placeholder span { font-size: 2rem; margin-bottom: 0.3rem; }
.gallery-placeholder p { font-size: 0.85rem; font-weight: 600; }
.gallery-placeholder small { font-size: 0.7rem; margin-top: 0.25rem; opacity: 0.7; }

/* ---- reasons CTA ---- */
.reasons-cta {
  text-align: center;
  padding: 6rem 2rem 4rem;
}

.reasons-cta-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--rose-glow), var(--gold));
  padding: 1rem 3rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  letter-spacing: 0.05em;
  margin-top: 1.5rem;
  box-shadow:
    0 4px 20px rgba(228, 97, 126, 0.3),
    0 1px 4px rgba(212, 163, 115, 0.2);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.reasons-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 36px rgba(228, 97, 126, 0.4),
    0 2px 8px rgba(212, 163, 115, 0.3);
}

/* ---- letter ---- */
.letter-container {
  max-width: 650px;
  margin: 0 auto;
}

.letter-paper {
  background: var(--surf-raised);
  border-radius: var(--radius-sm);
  padding: 3.5rem 3rem;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.2);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 2.2;
  color: var(--ink-soft);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.03);
  background-image:
    linear-gradient(rgba(228, 97, 126, 0.04) 1px, transparent 1px);
  background-size: 100% 2.6rem;
  background-position: 0 0.8rem;
}

.letter-signature {
  margin-top: 2rem;
  text-align: right;
  color: var(--rose-glow);
  font-style: italic;
}

/* ---- footer ---- */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 1.5rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(228, 97, 126, 0.08);
  background: linear-gradient(180deg, transparent, rgba(228, 97, 126, 0.03));
}

.footer-content p {
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.9;
}

.footer-start {
  margin-top: 0.4rem;
  font-style: italic;
  font-family: var(--font-display);
}

.heart-pulse {
  display: inline-block;
  animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* ---- lightbox ---- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.96);
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 0.7; }

/* ---- placeholder text ---- */
.timeline-placeholder {
  color: var(--ink-faint);
  font-size: 0.9rem;
  font-style: italic;
}

/* ---- animations ---- */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- responsive ---- */
@media (max-width: 768px) {
  .hero-title { font-size: 3rem; }
  .hero-subtitle { font-size: 0.95rem; }

  .counter-grid { grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
  .counter-number { font-size: 1.8rem; }
  .counter { padding: 2rem 1.2rem; }
  .counter h2 { font-size: 1rem; }

  .section { padding: 4rem 1.2rem; }
  .section-title { font-size: 2.2rem; }
  .section-subtitle { font-size: 1.15rem; }

  nav { padding: 0.8rem 1.5rem; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(28, 24, 23, 0.96);
    backdrop-filter: blur(24px);
    padding: 1rem 1.5rem;
    gap: 0.4rem;
    border-bottom: 1px solid rgba(228, 97, 126, 0.08);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.7rem 1rem; }
  .nav-toggle { display: block; }

  .timeline::before { left: 18px; }
  .timeline-item { width: 100%; padding: 1rem 1rem 1rem 3rem; }
  .timeline-item.left,
  .timeline-item.right { left: 0; text-align: left; }
  .timeline-item.left::before,
  .timeline-item.right::before { left: 10px; }

  .gallery-grid { gap: 0.5rem; }
  .gallery-item { flex: 0 0 calc(50% - 0.25rem); }
  #adventures-map { height: 350px; }
  .letter-paper { padding: 2rem 1.3rem; font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.3rem; }
  .counter-grid { grid-template-columns: repeat(2, 1fr); }
}
