/* ============================================================
   WEDDING INVITATION — STYLESHEET
   ============================================================ */

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

:root {
  --gold:        #C9A96E;
  --gold-light:  #E8D5B0;
  --gold-dark:   #9C7A3C;
  --cream:       #FAF7F2;
  --cream-dark:  #F0EAE0;
  --brown:       #5C3D1E;
  --brown-light: #8B6347;
  --white:       #FFFFFF;
  --text:        #3D2B1F;
  --text-light:  #7A6055;
  --shadow:      rgba(60,40,20,0.12);
  --shadow-heavy:rgba(60,40,20,0.25);
  --radius:      16px;
  --transition:  0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { font-family: 'Cormorant Garamond', serif; font-weight: 400; }
.script { font-family: 'Great Vibes', cursive; }

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

/* ── LOADING SCREEN ── */
#loading-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--brown);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 20px;
  transition: opacity 0.6s;
}
.loading-spinner {
  width: 50px; height: 50px;
  border: 3px solid rgba(201,169,110,0.3);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.loading-text { color: var(--gold-light); font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── VIDEO INTRO ── */
#video-intro {
  position: fixed; inset: 0; z-index: 9000;
  background: #000;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
}
#intro-video {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}
.video-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px; z-index: 1;
}
.video-progress-bar {
  height: 3px; background: rgba(255,255,255,0.2); border-radius: 2px; overflow: hidden;
}
#video-progress {
  height: 100%; background: var(--gold);
  width: 0%; transition: width 0.3s linear;
}
.video-hint {
  color: rgba(255,255,255,0.6); font-size: 0.75rem; text-align: center;
  margin-top: 8px; letter-spacing: 1px;
}

/* ── COVER PAGE ── */
#cover-page {
  position: fixed; inset: 0; z-index: 8000;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.cover-bg {
  position: absolute; inset: 0; z-index: 0;
}
.cover-bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: slowZoom 20s ease-in-out infinite alternate;
}
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.cover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30,15,5,0.5) 0%,
    rgba(92,61,30,0.65) 50%,
    rgba(30,15,5,0.7) 100%
  );
}
.cover-content {
  position: relative; z-index: 1;
  padding: 40px 30px; max-width: 480px; width: 100%;
}
.cover-label {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold-light); font-size: 1rem;
  letter-spacing: 4px; text-transform: uppercase; margin-bottom: 16px;
}
.cover-names {
  color: var(--white);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  line-height: 1.1;
}
.cover-names > span:first-child,
.cover-names > span:last-child {
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-family: 'Great Vibes', cursive;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.cover-ampersand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; color: var(--gold); display: block; margin: 4px 0;
}
.cover-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px auto; width: fit-content;
}
.divider-line { width: 60px; height: 1px; background: var(--gold); }
.divider-icon { color: var(--gold); font-size: 0.75rem; }
.cover-guest-box {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(201,169,110,0.4);
  border-radius: 12px; padding: 16px 24px; margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.guest-label {
  color: var(--gold-light); font-size: 0.75rem; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 4px;
}
.guest-name {
  color: var(--white); font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-style: italic;
}
.btn-open-invitation {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--white); border: none; border-radius: 50px;
  padding: 14px 36px; font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; cursor: pointer;
  box-shadow: 0 8px 30px rgba(156,122,60,0.5);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-open-invitation:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(156,122,60,0.6);
}
.cover-hint {
  color: rgba(255,255,255,0.4); font-size: 0.7rem;
  letter-spacing: 1px; margin-top: 12px;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:0.4} 50%{opacity:0.9} }

/* Floating petals */
.floating-petal {
  position: absolute; font-size: 1.5rem; pointer-events: none;
  animation: floatPetal 8s ease-in-out infinite;
}
.petal-1 { top: 10%; left: 8%;  animation-delay: 0s;   animation-duration: 7s; }
.petal-2 { top: 20%; right: 6%; animation-delay: 1.5s; animation-duration: 9s; }
.petal-3 { bottom: 25%; left: 5%; animation-delay: 3s; animation-duration: 8s; }
.petal-4 { bottom: 15%; right: 8%; animation-delay: 2s; animation-duration: 10s; }
@keyframes floatPetal {
  0%   { transform: translateY(0) rotate(0deg) scale(1); opacity:0.7; }
  50%  { transform: translateY(-25px) rotate(180deg) scale(1.1); opacity:1; }
  100% { transform: translateY(0) rotate(360deg) scale(1); opacity:0.7; }
}

/* ── MAIN INVITATION ── */
#main-invitation { position: relative; min-height: 100vh; }

/* ── MUSIC TOGGLE ── */
.music-toggle {
  position: fixed; bottom: 24px; right: 24px; z-index: 500;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: white; border: none; border-radius: 50%;
  cursor: pointer; font-size: 1rem;
  box-shadow: 0 4px 20px rgba(156,122,60,0.4);
  transition: transform var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.music-toggle:hover { transform: scale(1.1); }
.music-toggle.playing { animation: rotateNote 4s linear infinite; }
@keyframes rotateNote { to { transform: rotate(360deg); } }

/* ── SECTIONS ── */
.section {
  padding: 80px 0; position: relative; overflow: hidden;
}
.container {
  max-width: 900px; margin: 0 auto; padding: 0 24px;
}
.section-header {
  text-align: center; margin-bottom: 56px;
}
.section-eyebrow {
  display: block; font-size: 0.75rem; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold-dark); margin-bottom: 10px;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--brown); line-height: 1.2;
  position: relative; display: inline-block;
}
.section-title::after {
  content: ''; position: absolute; bottom: -10px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 2px; background: var(--gold);
}

/* ── OPENING SECTION ── */
.section-opening {
  background: var(--brown);
  background-image: url("../assets/images/ornament-bg.png");
  background-size: cover; background-blend-mode: overlay;
  color: var(--white); text-align: center;
}
.bismillah-text {
  font-family: serif; font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--gold-light); margin-bottom: 24px; line-height: 1.6;
  direction: rtl;
}
.opening-ornament {
  color: var(--gold); font-size: 0.9rem; margin: 20px 0; letter-spacing: 8px;
}
.opening-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-style: italic; color: var(--cream);
  max-width: 620px; margin: 0 auto 12px;
  line-height: 1.8;
}
.opening-quote-source {
  color: var(--gold-light); font-size: 0.85rem; margin-bottom: 28px;
}
.opening-greeting {
  color: rgba(255,255,255,0.8); font-size: 0.95rem;
  max-width: 600px; margin: 0 auto;
  line-height: 1.8;
}

/* ── COUPLE SECTION ── */
.section-couple { background: var(--cream); }
.couple-grid {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 40px; align-items: center;
}
.couple-card { text-align: center; }
.couple-photo-frame {
  width: min(240px, 60vw); height: min(300px, 75vw);
  margin: 0 auto 24px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  overflow: hidden;
  border: 4px solid var(--gold-light);
  box-shadow: 0 12px 40px var(--shadow);
  position: relative;
}
.couple-photo-frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s;
}
.couple-photo-frame:hover img { transform: scale(1.05); }
.couple-symbol {
  font-size: 1.2rem; color: var(--gold); margin-bottom: 8px;
}
.couple-name {
  font-size: clamp(1.4rem, 3vw, 2rem); color: var(--brown); margin-bottom: 4px;
}
.couple-nickname {
  font-family: 'Great Vibes', cursive; font-size: 1.4rem;
  color: var(--gold-dark); margin-bottom: 8px;
}
.couple-parents {
  font-size: 0.82rem; color: var(--text-light); line-height: 1.5;
}
.couple-and-symbol {
  text-align: center;
}
.and-text {
  font-family: 'Great Vibes', cursive; font-size: clamp(3rem, 8vw, 5rem);
  color: var(--gold); display: block; line-height: 1;
}
.and-flowers {
  font-size: 1.5rem; animation: floatPetal 4s ease-in-out infinite;
}

/* ── EVENT SECTION ── */
.section-event {
  background: linear-gradient(135deg, var(--brown) 0%, #3D2010 100%);
  color: var(--white);
}
.section-event .section-title { color: var(--gold-light); }
.section-event .section-eyebrow { color: var(--gold); }
.event-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: var(--radius); padding: 36px;
  margin-bottom: 24px; text-align: center;
  backdrop-filter: blur(10px);
  transition: transform var(--transition), box-shadow var(--transition);
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.event-icon {
  font-size: 2rem; color: var(--gold); margin-bottom: 16px;
}
.event-name {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--gold-light); margin-bottom: 24px;
}
.event-detail {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 24px; text-align: left; max-width: 400px; margin-inline: auto;
}
.event-detail-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.9rem; color: rgba(255,255,255,0.85);
}
.event-detail-item i {
  color: var(--gold); width: 20px; flex-shrink: 0; margin-top: 3px;
}
.btn-maps {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid var(--gold);
  color: var(--gold); border-radius: 50px;
  padding: 10px 28px; font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: all var(--transition);
}
.btn-maps:hover {
  background: var(--gold); color: var(--brown);
}

/* Countdown */
.countdown-wrapper {
  text-align: center; margin-top: 48px;
}
.countdown-label {
  color: var(--gold-light); font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; margin-bottom: 24px; letter-spacing: 2px;
}
.countdown-grid {
  display: inline-flex; align-items: center; gap: 12px;
  flex-wrap: wrap; justify-content: center;
}
.countdown-item {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(201,169,110,0.3);
  border-radius: 12px; padding: 16px 20px; min-width: 80px;
  text-align: center;
}
.countdown-item span {
  display: block; font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-family: 'Cormorant Garamond', serif; color: var(--gold);
  line-height: 1; font-weight: 600;
}
.countdown-item label {
  font-size: 0.65rem; text-transform: uppercase;
  letter-spacing: 2px; color: rgba(255,255,255,0.6); margin-top: 6px;
}
.countdown-sep {
  font-size: 2rem; color: var(--gold); padding-bottom: 20px;
}
.btn-calendar {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(201,169,110,0.3);
  color: var(--gold-light); border-radius: 50px;
  padding: 12px 28px; font-size: 0.85rem;
  margin-top: 28px; transition: all var(--transition);
}
.btn-calendar:hover {
  background: rgba(201,169,110,0.2);
}

/* ── LOVE STORY ── */
.section-lovestory { background: var(--cream-dark); }
.timeline {
  position: relative; padding: 20px 0;
}
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex; gap: 30px; margin-bottom: 48px;
  align-items: flex-start; position: relative;
}
.timeline-left  { flex-direction: row-reverse; }
.timeline-right { flex-direction: row; }
.timeline-dot {
  flex-shrink: 0; width: 50px; height: 50px;
  background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; position: relative; z-index: 1;
  box-shadow: 0 4px 20px rgba(201,169,110,0.4);
  position: absolute; left: 50%; transform: translateX(-50%);
  top: 0;
}
.timeline-content {
  width: calc(50% - 55px); background: var(--white);
  border-radius: var(--radius); padding: 24px;
  box-shadow: 0 4px 20px var(--shadow);
  border: 1px solid var(--gold-light);
}
.timeline-left .timeline-content  { margin-right: auto; }
.timeline-right .timeline-content { margin-left: auto; }
.timeline-year {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold-dark); display: block; margin-bottom: 6px;
}
.timeline-title {
  font-size: 1.2rem; color: var(--brown); margin-bottom: 8px;
}
.timeline-story {
  font-size: 0.88rem; color: var(--text-light); line-height: 1.7;
}

/* ── GALLERY ── */
.section-gallery { background: var(--brown); }
.section-gallery .section-title { color: var(--gold-light); }
.section-gallery .section-eyebrow { color: var(--gold); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.gallery-item {
  border-radius: 12px; overflow: hidden; cursor: pointer;
  aspect-ratio: 3/4; position: relative;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
  background: rgba(255,255,255,0.1);
}
.gallery-item::after {
  content: '🔍'; position: absolute; inset: 0;
  background: rgba(0,0,0,0.4); display: flex;
  align-items: center; justify-content: center;
  font-size: 1.5rem; opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover img      { transform: scale(1.08); }
.gallery-item:hover::after   { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9500;
  background: rgba(0,0,0,0.95);
  display: flex; align-items: center; justify-content: center;
}
.lightbox img {
  max-width: 90vw; max-height: 90vh; border-radius: 8px;
  object-fit: contain;
}
.lightbox-close {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255,255,255,0.1); border: none;
  color: white; width: 44px; height: 44px; border-radius: 50%;
  font-size: 1.1rem; cursor: pointer; transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1); border: none; color: white;
  width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.1rem; cursor: pointer; transition: background 0.2s;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }

/* ── MAP SECTION ── */
.section-map { background: var(--cream); }
.map-tabs {
  display: flex; gap: 8px; margin-bottom: 20px; justify-content: center;
}
.map-tab {
  padding: 10px 28px; border-radius: 50px;
  border: 1px solid var(--gold); background: transparent;
  color: var(--brown); cursor: pointer; font-weight: 500; font-size: 0.9rem;
  transition: all var(--transition);
}
.map-tab.active, .map-tab:hover {
  background: var(--gold); color: var(--white); border-color: var(--gold);
}
.map-container { position: relative; }
.map-frame { display: none; border-radius: var(--radius); overflow: hidden; }
.map-frame.active { display: block; }
.map-frame iframe {
  width: 100%; height: 400px; border: none; display: block;
}

/* ── SPECIAL GUESTS ── */
.section-special-guests { background: var(--cream-dark); }
.special-guests-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.guest-card {
  background: var(--white); border-radius: var(--radius);
  padding: 20px; text-align: center;
  box-shadow: 0 4px 16px var(--shadow);
  border: 1px solid var(--gold-light);
  transition: transform var(--transition);
}
.guest-card:hover { transform: translateY(-4px); }
.guest-icon { color: var(--gold); font-size: 1.2rem; margin-bottom: 8px; }
.guest-name-item {
  font-weight: 600; color: var(--brown); font-size: 0.9rem; margin-bottom: 4px;
}
.guest-role { font-size: 0.78rem; color: var(--text-light); }

/* ── GIFT SECTION ── */
.section-gift {
  background: linear-gradient(135deg, #FDF8F0, var(--cream-dark));
}
.gift-desc {
  text-align: center; max-width: 560px; margin: 0 auto 40px;
  color: var(--text-light); font-size: 0.9rem; line-height: 1.7;
}
.bank-cards { display: flex; flex-direction: column; gap: 16px; max-width: 500px; margin: 0 auto; }
.bank-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gold-light);
  box-shadow: 0 4px 20px var(--shadow);
  overflow: hidden; transition: transform var(--transition);
}
.bank-card:hover { transform: translateY(-3px); }
.bank-card-inner {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; flex-wrap: wrap;
}
.bank-logo {
  width: 64px; height: 40px; object-fit: contain; flex-shrink: 0;
}
.bank-info { flex: 1; min-width: 0; }
.bank-name { font-weight: 600; color: var(--brown); font-size: 0.9rem; }
.bank-account-no {
  font-family: monospace; font-size: 1.1rem;
  color: var(--text); letter-spacing: 1px; font-weight: 600;
}
.bank-account-name { font-size: 0.78rem; color: var(--text-light); }
.btn-copy {
  background: var(--gold); color: var(--white); border: none;
  border-radius: 8px; padding: 8px 16px; font-size: 0.8rem;
  cursor: pointer; transition: all var(--transition);
  white-space: nowrap; flex-shrink: 0;
  display: flex; align-items: center; gap: 6px;
}
.btn-copy:hover   { background: var(--gold-dark); transform: scale(1.05); }
.btn-copy.copied  { background: #27ae60; }

/* ── WISHES SECTION ── */
.section-wishes { background: var(--cream); }
.wish-form {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; box-shadow: 0 4px 24px var(--shadow);
  margin-bottom: 40px; border: 1px solid var(--gold-light);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block; font-weight: 500; margin-bottom: 6px;
  color: var(--brown); font-size: 0.9rem;
}
.form-group input,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid #E0D8CC; border-radius: 10px;
  font-family: 'Montserrat', sans-serif; font-size: 0.9rem;
  color: var(--text); background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
}
.radio-group {
  display: flex; gap: 20px; flex-wrap: wrap;
}
.radio-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; cursor: pointer; color: var(--text);
}
.radio-label input { width: auto; }
.btn-submit {
  width: 100%; padding: 14px; border: none; border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--white); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 1px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(156,122,60,0.4);
}
.wishes-empty {
  text-align: center; color: var(--text-light); padding: 40px; font-style: italic;
}
.wish-card {
  background: var(--white); border-radius: 12px;
  padding: 20px 24px; margin-bottom: 16px;
  box-shadow: 0 2px 12px var(--shadow);
  border-left: 3px solid var(--gold);
}
.wish-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px; flex-wrap: wrap; gap: 8px;
}
.wish-header strong { color: var(--brown); font-size: 0.95rem; }
.wish-attendance {
  font-size: 0.78rem; color: var(--text-light);
  background: var(--cream-dark); padding: 3px 10px; border-radius: 20px;
}
.wish-message { color: var(--text); font-size: 0.88rem; line-height: 1.7; margin-bottom: 8px; }
.wish-time { color: var(--text-light); font-size: 0.75rem; }

/* ── CLOSING SECTION ── */
.section-closing {
  background: var(--brown);
  color: var(--white); text-align: center;
}
.closing-ornament {
  font-size: 0.9rem; margin-bottom: 20px; letter-spacing: 8px; color: var(--gold);
}
.closing-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--gold-light); margin-bottom: 20px;
}
.closing-text {
  max-width: 580px; margin: 0 auto 32px;
  color: rgba(255,255,255,0.8); line-height: 1.8; font-size: 0.9rem;
}
.closing-names {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--gold); display: flex; align-items: center;
  gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px;
}
.closing-and { font-size: 1.2rem; color: var(--gold-light); }

/* ── FOOTER ── */
.site-footer {
  background: #1A0D05; padding: 28px 24px 20px;
  text-align: center; position: relative;
}
.footer-content {
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
}
.footer-made {
  color: rgba(255,255,255,0.4); font-size: 0.78rem;
}
.footer-brand {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold-light); font-size: 0.82rem;
  transition: color var(--transition);
}
.footer-brand:hover { color: var(--gold); }
.footer-brand strong { color: var(--gold); }
.footer-logo {
  height: 28px; width: auto; display: inline-block;
}
/* Admin trigger */
#admin-trigger {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 28px; cursor: pointer;
  opacity: 0; transition: opacity 0.4s;
}
#admin-trigger:hover { opacity: 0.5; background: rgba(201,169,110,0.2); }

/* ── SCROLL ANIMATIONS ── */
.animate-on-scroll {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.animate-on-scroll.visible {
  opacity: 1; transform: translateY(0);
}
.animate-fade-up {
  animation: fadeUp 1s cubic-bezier(0.25,0.46,0.45,0.94) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--brown); color: var(--white);
  padding: 12px 28px; border-radius: 50px;
  font-size: 0.88rem; z-index: 9999;
  opacity: 0; transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  white-space: nowrap; pointer-events: none;
}
.toast.show {
  opacity: 1; transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   ADMIN PANEL
   ═══════════════════════════════════════════════════════════ */
.admin-overlay {
  position: fixed; inset: 0; z-index: 9800;
  background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
}
.admin-panel {
  background: var(--white); border-radius: 20px;
  width: 100%; max-width: 720px; max-height: 92vh;
  overflow-y: auto; position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}
.admin-close {
  position: sticky; top: 16px; left: calc(100% - 52px);
  float: right; margin: 16px 16px 0 0;
  background: var(--cream-dark); border: none;
  width: 36px; height: 36px; border-radius: 50%;
  cursor: pointer; font-size: 0.9rem; color: var(--brown);
  transition: background var(--transition); z-index: 1;
}
.admin-close:hover { background: #E0D0C0; }
.admin-section { padding: 24px 28px; }
.admin-header { text-align: center; margin-bottom: 28px; }
.admin-lock-icon {
  font-size: 2.5rem; color: var(--gold); display: block; margin-bottom: 12px;
}
.admin-header h2 { font-size: 1.6rem; color: var(--brown); margin-bottom: 6px; }
.admin-header p  { color: var(--text-light); font-size: 0.88rem; }
.admin-login-form {
  display: flex; flex-direction: column; gap: 12px; max-width: 300px; margin: 0 auto;
}
.admin-login-form input {
  padding: 12px 16px; border: 1px solid #E0D8CC;
  border-radius: 10px; font-size: 0.9rem; color: var(--text);
  text-align: center; letter-spacing: 2px;
  transition: border-color 0.3s;
}
.admin-login-form input:focus { outline: none; border-color: var(--gold); }
.admin-error { color: #e74c3c; font-size: 0.82rem; text-align: center; }

/* Admin Tabs */
.admin-tabs {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 0 28px 16px; border-bottom: 1px solid var(--cream-dark);
}
.admin-tab {
  padding: 8px 14px; border: 1px solid #E0D8CC; border-radius: 8px;
  background: transparent; cursor: pointer; font-size: 0.8rem;
  color: var(--text-light); transition: all 0.2s;
}
.admin-tab.active {
  background: var(--gold); color: var(--white); border-color: var(--gold);
}
.admin-tab-content { display: none; padding: 24px 28px; }
.admin-tab-content.active { display: block; }
.admin-tab-content h3 {
  font-size: 1.1rem; color: var(--brown); margin: 20px 0 12px;
  padding-bottom: 6px; border-bottom: 1px solid var(--cream-dark);
}
.admin-tab-content h3:first-child { margin-top: 0; }
.admin-section-sub {
  font-size: 1rem !important; margin-top: 24px !important;
}
.admin-form-group { margin-bottom: 14px; }
.admin-form-group label {
  display: block; font-size: 0.82rem; font-weight: 500;
  color: var(--text-light); margin-bottom: 4px;
}
.admin-form-group input,
.admin-form-group textarea,
.admin-form-group select {
  width: 100%; padding: 10px 14px; border: 1px solid #E0D8CC;
  border-radius: 8px; font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem; color: var(--text); background: var(--cream);
  transition: border-color 0.3s;
}
.admin-form-group input:focus,
.admin-form-group textarea:focus,
.admin-form-group select:focus { outline: none; border-color: var(--gold); }

/* Admin buttons */
.admin-btn-primary {
  width: 100%; padding: 12px; border: none; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--white); font-weight: 600; font-size: 0.9rem;
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 8px;
}
.admin-btn-primary:hover {
  transform: translateY(-1px); box-shadow: 0 4px 16px rgba(156,122,60,0.4);
}
.admin-btn-secondary {
  padding: 10px 20px; border: 1px solid var(--gold); border-radius: 8px;
  background: transparent; color: var(--gold-dark); font-size: 0.85rem;
  cursor: pointer; transition: all 0.2s;
}
.admin-btn-secondary:hover { background: rgba(201,169,110,0.1); }
.admin-btn-danger {
  padding: 10px 20px; border: 1px solid #e74c3c; border-radius: 8px;
  background: transparent; color: #e74c3c; font-size: 0.85rem;
  cursor: pointer; transition: all 0.2s; width: 100%; margin-top: 8px;
}
.admin-btn-danger.small { padding: 6px 14px; font-size: 0.78rem; width: auto; }
.admin-btn-danger:hover { background: rgba(231,76,60,0.1); }
.admin-hint {
  font-size: 0.8rem; color: var(--text-light); margin-top: 6px;
}

/* Admin bank / guest entries */
.admin-bank-entry, .admin-guest-entry, .admin-ls-entry {
  background: var(--cream); border-radius: 10px;
  padding: 16px; margin-bottom: 16px;
  border: 1px solid var(--cream-dark);
}

/* Dropzone */
.dropzone {
  border: 2px dashed var(--gold-light); border-radius: 12px;
  padding: 32px 20px; text-align: center; cursor: pointer;
  transition: all 0.3s; background: var(--cream); margin-bottom: 12px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.dropzone i    { font-size: 2rem; color: var(--gold); }
.dropzone p    { font-size: 0.88rem; color: var(--text-light); margin: 0; }
.dropzone-hint { font-size: 0.75rem !important; }
.dropzone:hover, .dropzone.dragover {
  border-color: var(--gold); background: rgba(201,169,110,0.08);
}
.small-dropzone { padding: 16px; }
.upload-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.preview-thumb { position: relative; }
.preview-thumb img {
  width: 80px; height: 80px; object-fit: cover; border-radius: 8px;
}
.preview-thumb span {
  display: block; font-size: 0.68rem; text-align: center;
  max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.couple-photo-upload {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px;
}
.couple-photo-upload label {
  display: block; font-size: 0.82rem; font-weight: 500;
  color: var(--text-light); margin-bottom: 6px;
}
.photo-preview-thumb {
  width: 100%; height: 120px; object-fit: cover; border-radius: 8px;
  margin-top: 8px; display: none;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .section { padding: 60px 0; }

  /* Cover */
  .cover-names > span:first-child,
  .cover-names > span:last-child { font-size: 2.4rem; }

  /* Couple */
  .couple-grid { grid-template-columns: 1fr; gap: 24px; }
  .couple-and-symbol { order: 1; }
  .couple-card:first-child { order: 0; }
  .couple-card:last-child  { order: 2; }
  .couple-photo-frame { width: 200px; height: 250px; }

  /* Timeline */
  .timeline::before { left: 24px; }
  .timeline-item { flex-direction: column !important; padding-left: 64px; }
  .timeline-dot { left: 24px; transform: none; width: 42px; height: 42px; font-size: 1.1rem; }
  .timeline-content { width: 100%; margin: 0 !important; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* Admin */
  .admin-panel { max-height: 98vh; border-radius: 16px; }
  .admin-tabs  { gap: 4px; }
  .admin-tab   { padding: 7px 10px; font-size: 0.75rem; }
  .admin-section, .admin-tab-content { padding: 16px 20px; }
  .couple-photo-upload { grid-template-columns: 1fr; }

  /* Countdown */
  .countdown-item { padding: 12px 14px; min-width: 64px; }
  .countdown-sep  { display: none; }

  /* Event */
  .event-card { padding: 24px 20px; }

  /* Banks */
  .bank-card-inner { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cover-content { padding: 32px 20px; }
  .special-guests-grid { grid-template-columns: 1fr 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
