/* ============================================
   CSS Variables - Design System
   ============================================ */
:root {
  /* Colors */
  --color-primary: #D4A5A5;
  --color-primary-light: #E8C4C4;
  --color-primary-dark: #B88585;
  --color-accent: #C9A86C;
  --color-accent-light: #DFC08E;
  --color-text-dark: #3D3D3D;
  --color-text-body: rgba(61, 61, 61, 0.75);
  --color-text-light: rgba(61, 61, 61, 0.5);
  --color-bg: #FDFBF7;
  --color-bg-white: #FFFFFF;
  --color-section-alt: #F9F5F0;
  --color-border: #EDE7E0;
  --color-shadow: rgba(212, 165, 165, 0.15);

  /* Gradients */
  --gradient-accent: linear-gradient(135deg, #D4A5A5 0%, #E8C4C4 50%, #C9A86C 100%);
  --gradient-hero-overlay: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.55) 100%);

  /* Typography */
  --font-heading: 'Playfair Display', 'Noto Serif SC', serif;
  --font-body: 'Nunito', 'Noto Sans SC', sans-serif;
  --font-decorative: 'Dancing Script', cursive;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1100px;

  /* Transitions */
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-base);
}

ul { list-style: none; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding);
  position: relative;
}

.section--light {
  background-color: var(--color-bg-white);
}

.section--dark {
  background-color: var(--color-section-alt);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  color: var(--color-text-dark);
  letter-spacing: 1px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 60px;
  font-weight: 300;
  letter-spacing: 2px;
}

.hidden {
  display: none !important;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px var(--color-shadow);
  padding: 12px 0;
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  transition: color var(--transition-base);
}

.navbar.scrolled .nav-logo {
  color: var(--color-text-dark);
}

.nav-logo i {
  color: var(--color-primary);
}

.nav-menu {
  display: flex;
  gap: 36px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-base);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.navbar.scrolled .nav-link {
  color: var(--color-text-body);
}

.navbar.scrolled .nav-link:hover {
  color: var(--color-text-dark);
}

/* Hamburger Toggle (Mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition-base);
}

.navbar.scrolled .hamburger-line {
  background: var(--color-text-dark);
}

.nav-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url('https://images.unsplash.com/photo-1519741497674-611481863552?w=1920&h=1280&fit=crop')
    center/cover no-repeat;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-overlay);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 16px;
  font-weight: 300;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 5.5rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.title-accent {
  font-family: var(--font-decorative);
  font-size: 5rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-divider {
  width: 80px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
  margin: 0 auto 28px;
}

.hero-names {
  font-family: var(--font-decorative);
  font-size: 1.8rem;
  opacity: 0.95;
  margin-bottom: 48px;
  letter-spacing: 2px;
}

/* Counter */
.counter {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 16px;
}

.counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 85px;
}

.counter-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.counter-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  opacity: 0.7;
  margin-top: 8px;
  font-weight: 400;
}

.counter-desc {
  font-size: 0.95rem;
  opacity: 0.65;
  letter-spacing: 2px;
  font-weight: 300;
}

/* Scroll Down Arrow */
.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  font-size: 1.4rem;
  animation: floatingArrow 2s ease-in-out infinite;
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

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

@keyframes floatingArrow {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(15px); }
}

/* ============================================
   Story Section
   ============================================ */
.story-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 70px;
}

.story-content:last-child {
  margin-bottom: 0;
}

.story-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px var(--color-shadow);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.story-img img:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 50px rgba(212, 165, 165, 0.25);
}

.story-text {
  padding: 0 20px;
}

.story-text h4 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--color-text-dark);
  position: relative;
  display: inline-block;
}

.story-text h4::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.story-text p {
  color: var(--color-text-body);
  font-size: 1.05rem;
  line-height: 1.9;
}

/* ============================================
   Timeline Section
   ============================================ */
.timeline {
  position: relative;
  padding: 30px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
  border-radius: 1px;
}

.timeline-item {
  display: flex;
  width: 50%;
  padding: 0 50px 40px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-end;
  text-align: right;
  margin-left: 0;
  padding-right: 60px;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding-left: 60px;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-bg-white);
  box-shadow: 0 0 0 4px var(--color-primary);
  z-index: 2;
}

.timeline-card {
  background: var(--color-bg-white);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 30px var(--color-shadow);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(212, 165, 165, 0.22);
}

.timeline-date {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--color-text-dark);
}

.timeline-title i {
  color: var(--color-primary);
  margin-right: 8px;
  font-size: 1rem;
}

.timeline-desc {
  color: var(--color-text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.stat-card {
  background: var(--color-bg-white);
  padding: 44px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 6px 30px var(--color-shadow);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 45px rgba(212, 165, 165, 0.25);
}

.stat-icon {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--color-text-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  aspect-ratio: 5/4;
}

.gallery-item--tall {
  aspect-ratio: 3/4;
  grid-row: span 2;
}

.gallery-item--wide {
  aspect-ratio: 16/9;
  grid-column: span 2;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-overlay i {
  color: #fff;
  font-size: 1.6rem;
  transform: scale(0.7);
  transition: transform var(--transition-base);
}

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

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

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
  z-index: 10001;
  line-height: 1;
  transition: transform var(--transition-base);
}

.lightbox-close:hover {
  transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition-base);
  z-index: 10001;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

/* ============================================
   Video Section
   ============================================ */
.video-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 40px var(--color-shadow);
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-caption {
  text-align: center;
  margin-top: 20px;
}

.video-caption p {
  font-family: var(--font-decorative);
  font-size: 1.35rem;
  color: var(--color-text-body);
  font-style: italic;
}

/* ============================================
   Wishing Wall Section
   ============================================ */
.wish-form-wrapper {
  max-width: 560px;
  margin: 0 auto 56px;
}

.wish-form {
  background: var(--color-bg-white);
  padding: 36px 32px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 30px var(--color-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.form-group label i {
  color: var(--color-primary);
  margin-right: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 18px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--color-text-dark);
  background: var(--color-bg);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(212, 165, 165, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(201, 168, 108, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 108, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Alert / Toast */
.wish-alert {
  margin-top: 16px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  text-align: center;
  animation: fadeInUp 0.4s ease;
}

.wish-alert.success {
  background: rgba(76, 175, 80, 0.1);
  color: #388E3C;
  border: 1px solid rgba(76, 175, 80, 0.2);
}

.wish-alert.error {
  background: rgba(244, 67, 54, 0.1);
  color: #D32F2F;
  border: 1px solid rgba(244, 67, 54, 0.2);
}

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

/* Wish List */
.wish-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wish-card {
  display: flex;
  gap: 16px;
  background: var(--color-bg-white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px var(--color-shadow);
  transition: transform var(--transition-base);
}

.wish-card:hover {
  transform: translateX(4px);
}

.wish-avatar {
  flex-shrink: 0;
  font-size: 2.2rem;
  color: var(--color-primary);
  line-height: 1;
}

.wish-body {
  flex: 1;
}

.wish-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.wish-author {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-dark);
}

.wish-time {
  font-size: 0.82rem;
  color: var(--color-text-light);
}

.wish-text {
  color: var(--color-text-body);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ============================================
   Promise / Future Section
   ============================================ */
.promise-block {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 48px 32px;
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px var(--color-shadow);
  position: relative;
}

.promise-quote {
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 2;
  color: var(--color-text-body);
}

.promise-sign {
  font-family: var(--font-decorative);
  font-size: 1.4rem;
  color: var(--color-primary);
  display: block;
  margin-top: 16px;
}

.promise-decor {
  margin-top: 28px;
  font-size: 1.4rem;
  color: var(--color-primary);
  animation: pulseHeart 1.5s ease-in-out infinite;
}

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

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-text-dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 32px;
  text-align: center;
  position: relative;
}

.footer-text {
  font-size: 1rem;
  margin-bottom: 8px;
}

.heart-pulse {
  display: inline-block;
  color: var(--color-primary);
  animation: pulseHeart 1s ease-in-out infinite;
}

.footer-copy {
  font-size: 0.82rem;
  opacity: 0.5;
  letter-spacing: 1px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(201, 168, 108, 0.35);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(201, 168, 108, 0.5);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet & below */
@media (max-width: 991px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--color-text-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-link {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
  }

  .nav-link:hover {
    color: #fff;
  }

  .hero-title {
    font-size: 4rem;
  }

  .title-accent {
    font-size: 3.6rem;
  }

  .story-content {
    grid-template-columns: 1fr 1.5fr;
    gap: 20px;
  }

  .story-img--right {
    display: none;
  }

  .stats-grid {
    gap: 20px;
  }

  .stat-number {
    font-size: 2.6rem;
  }

  .timeline-item {
    width: 100%;
    padding-left: 50px !important;
    padding-right: 0 !important;
    text-align: left !important;
    margin-left: 0 !important;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    margin-left: 30px;
    padding-left: 40px;
  }

  .timeline::before {
    left: 15px;
  }

  .timeline-dot {
    left: 15px;
  }

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

/* Mobile */
@media (max-width: 767px) {
  :root {
    --section-padding: 70px 0;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .hero-title {
    font-size: 3.2rem;
  }

  .title-accent {
    font-size: 2.8rem;
  }

  .counter {
    gap: 16px;
  }

  .counter-num {
    font-size: 2rem;
  }

  .counter-label {
    font-size: 0.72rem;
  }

  .story-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .story-img--right {
    display: block;
  }

  .story-img img {
    height: 240px;
  }

  .story-text {
    padding: 0;
  }

  .story-text h4 {
    font-size: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 360px;
  }

  .stat-card {
    padding: 32px 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
  }

  .gallery-item--tall {
    aspect-ratio: 5/4;
    grid-row: span 1;
  }

  .wish-form {
    padding: 24px 20px;
  }

  .promise-block {
    padding: 32px 20px;
  }

  .promise-quote {
    font-size: 1.05rem;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-sub {
    font-size: 0.82rem;
    letter-spacing: 3px;
  }

  .hero-names {
    font-size: 1.4rem;
  }

  .counter-item {
    min-width: 68px;
  }

  .counter-num {
    font-size: 1.6rem;
  }

  .scroll-down {
    bottom: 24px;
  }

  .section-subtitle {
    margin-bottom: 40px;
    font-size: 1rem;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    margin-left: 20px;
    padding-left: 28px;
    padding-bottom: 28px;
  }

  .timeline-card {
    padding: 20px 16px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

/* Noscript fallback */
noscript {
  display: block;
  padding: 20px;
  text-align: center;
  background: #FFF3CD;
  color: #856404;
  font-size: 0.9rem;
}
