/* =============================================
   ALBERT & MARIYA WEDDING WEBSITE - style.css
   ============================================= */

:root {
  --cream: #faf5ee;
  --cream-dark: #f2ead9;
  --brown-dark: #4a1a0a;
  --brown-mid: #6b2d0f;
  --gold: #b8860b;
  --gold-light: #d4a847;
  --white: #ffffff;
  --text-dark: #2c1a0e;
  --card-bg: rgba(255,255,255,0.9);
  --shadow: 0 8px 40px rgba(74,26,10,0.10);
}

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

html { scroll-behavior: smooth; }

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

.hidden { display: none !important; }

/* =================== WELCOME SCREEN =================== */
.welcome-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: #1a0a04;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.welcome-bg-text {
  position: absolute;
  font-family: 'Great Vibes', cursive;
  font-size: clamp(80px, 18vw, 220px);
  color: rgba(180,100,20,0.15);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.welcome-card {
  position: relative;
  width: min(340px, 88vw);
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.3);
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
  animation: cardFloat 3s ease-in-out infinite alternate;
}

@keyframes cardFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}

.welcome-img {
  width: 100%; height: 480px;
  object-fit: cover; object-position: top center;
  display: block;
}

.welcome-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 30%, transparent 70%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding: 32px 20px;
  text-align: center;
}

.welcome-tag {
  font-size: 10px; letter-spacing: 4px;
  color: var(--gold-light); font-weight: 500;
  margin-bottom: 8px;
}

.welcome-names {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(44px, 12vw, 64px);
  color: #fff; line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.amp-sm { font-size: 0.65em; color: var(--gold-light); }

.welcome-divider {
  width: 50px; height: 1px;
  background: var(--gold-light);
  margin: 12px auto 8px;
}

.welcome-subtitle {
  font-size: 13px; letter-spacing: 3px;
  color: rgba(255,255,255,0.75); font-weight: 300;
}

.open-btn {
  background: rgba(74,26,10,0.75);
  border: 1px solid rgba(212,168,71,0.6);
  color: var(--gold-light);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; letter-spacing: 4px;
  padding: 16px 48px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.open-btn:hover {
  background: var(--brown-dark);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

/* =================== FLOATING BUTTONS =================== */
.fab {
  position: fixed; z-index: 1000;
  width: 52px; height: 52px;
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  cursor: pointer; border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s, box-shadow 0.3s;
}

.fab:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }

.fab-whatsapp {
  right: 20px; bottom: 80px;
  background: #25D366;
  text-decoration: none;
}

.fab-music {
  right: 20px; bottom: 16px;
  background: var(--brown-dark);
}

/* =================== HERO =================== */
.hero-section {
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 60px 24px;
  gap: 0;
  overflow: hidden;
}

.hero-arch {
  width: 280px; flex-shrink: 0;
  border-radius: 200px 200px 0 0;
  overflow: hidden;
  border: 4px solid white;
  box-shadow: var(--shadow);
  height: 420px;
}

.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.hero-arch-left { margin-right: -40px; align-self: flex-end; }
.hero-arch-right { margin-left: -40px; align-self: flex-end; }

.hero-center {
  text-align: center;
  padding: 0 40px;
  z-index: 2;
  max-width: 520px;
}

.hero-verse {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(15px, 2.2vw, 20px);
  color: var(--brown-dark);
  line-height: 1.6;
  margin-bottom: 10px;
}

.hero-ref {
  font-size: 11px; letter-spacing: 3px;
  color: var(--gold); font-weight: 600;
  margin-bottom: 16px;
}

.gold-line {
  width: 60px; height: 1px;
  background: var(--gold-light);
  margin: 0 auto 24px;
}

.hero-groom, .hero-bride {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(56px, 8vw, 100px);
  color: var(--brown-dark);
  line-height: 1;
}

.hero-amp {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(36px, 5vw, 60px);
  color: var(--gold);
  line-height: 1.2;
}

.hero-date {
  font-size: 18px; letter-spacing: 6px;
  color: var(--text-dark);
  margin-top: 20px; margin-bottom: 6px;
  font-weight: 300;
}

.hero-venue-name {
  font-size: 11px; letter-spacing: 3px;
  color: rgba(74,26,10,0.6);
  text-transform: uppercase;
}

/* =================== GALLERY =================== */
.gallery-section {
  background: var(--cream);
  padding: 60px 24px;
}

.gallery-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: center;
}

.g-card { overflow: hidden; }

.g-rect {
  border-radius: 8px;
  border: 4px solid white;
  box-shadow: var(--shadow);
  height: 340px;
}

.g-rect img { width: 100%; height: 100%; object-fit: cover; }

.g-arch {
  border-radius: 200px 200px 0 0;
  border: 4px solid white;
  box-shadow: var(--shadow);
  height: 440px;
  width: 65%;
  margin: 0 auto;
}

.g-arch img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* =================== COUNTDOWN =================== */
.countdown-section {
  background: var(--cream);
  padding: 80px 24px;
  text-align: center;
  border-top: 1px solid rgba(184,134,11,0.2);
  border-bottom: 1px solid rgba(184,134,11,0.2);
}

.countdown-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(40px, 6vw, 72px);
  color: var(--brown-dark);
  margin-bottom: 48px;
}

.countdown-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cd-box {
  text-align: center;
  background: white;
  border-radius: 20px;
  padding: 28px 20px 20px;
  min-width: 110px;
  box-shadow: 0 8px 32px rgba(74,26,10,0.10), 0 1px 0 rgba(255,255,255,0.8) inset;
  border: 1px solid rgba(212,168,71,0.18);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cd-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(74,26,10,0.15);
}

.cd-box span {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 6vw, 72px);
  color: var(--brown-dark);
  font-weight: 600;
  display: block;
  line-height: 1;
}

.cd-box p {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-top: 10px;
  font-weight: 600;
}

.cd-sep {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 28px;
  opacity: 0.7;
}

/* =================== BIG DAY =================== */
.bigday-section {
  background: var(--cream);
  padding: 80px 24px;
  text-align: center;
}

.section-tag {
  font-size: 11px; letter-spacing: 4px;
  color: var(--gold); margin-bottom: 10px;
}

.bigday-heading {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(52px, 8vw, 96px);
  color: var(--brown-dark);
  margin-bottom: 48px;
}

.bigday-cards {
  display: flex;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.event-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 40px 36px;
  flex: 1 1 360px;
  text-align: left;
  box-shadow: var(--shadow);
  border: 1px solid rgba(212,168,71,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 60px rgba(74,26,10,0.15);
}

.event-icon-wrap {
  background: rgba(184,134,11,0.1);
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
}

.event-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; color: var(--brown-dark);
  margin-bottom: 20px;
}

.ei-svg {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 1px;
}

.event-row {
  display: flex; gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 13px; letter-spacing: 1px;
  color: var(--text-dark);
}

.ei { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

.explore-btn {
  display: inline-block; margin-top: 24px;
  font-size: 11px; letter-spacing: 3px;
  color: var(--gold); text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.3s;
}

.explore-btn:hover { color: var(--brown-dark); border-color: var(--brown-dark); }

/* =================== COUPLE =================== */
.couple-section {
  background: var(--cream-dark);
  padding: 80px 24px;
  text-align: center;
}

.couple-heading {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(44px, 6vw, 72px);
  color: var(--brown-dark);
  margin-bottom: 56px;
}

.couple-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.couple-card {
  background: white;
  border-radius: 24px;
  padding: 40px 32px;
  flex: 1 1 300px;
  max-width: 340px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s;
}

.couple-card:hover { transform: translateY(-6px); }

.monogram {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(184,134,11,0.12);
  border: 1px solid rgba(184,134,11,0.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  font-family: 'Great Vibes', cursive;
  font-size: 32px; color: var(--gold);
}

.sparkle {
  font-size: 18px; color: var(--gold-light);
  margin-bottom: 8px;
}

.c-name {
  font-family: 'Great Vibes', cursive;
  font-size: 48px; color: var(--brown-dark);
  line-height: 1.1; margin-bottom: 12px;
}

.c-role {
  font-size: 10px; letter-spacing: 4px;
  color: var(--gold); margin-bottom: 8px;
}

.c-parents {
  font-weight: 600; font-size: 15px;
  color: var(--text-dark); margin-bottom: 6px;
}

.c-address {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 15px;
  color: rgba(74,26,10,0.6);
}

.infinity-sym {
  font-size: 40px; color: var(--gold-light);
  flex-shrink: 0;
}

/* =================== FEATURE PHOTO =================== */
.feature-section {
  position: relative;
  height: 500px; overflow: hidden;
}

.feature-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}

.feature-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(74,26,10,0.75) 30%, transparent 80%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding: 56px 24px;
  text-align: center;
}

.feat-names {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(48px, 8vw, 80px);
  color: white;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.feat-date {
  font-size: 13px; letter-spacing: 3px;
  color: rgba(255,255,255,0.8);
  margin-top: 8px;
}

/* =================== RSVP =================== */
.rsvp-section {
  background: var(--cream);
  padding: 80px 24px;
  text-align: center;
  position: relative;
}

.rsvp-heading {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(44px, 7vw, 84px);
  color: var(--brown-dark);
  margin-bottom: 12px;
}

.rsvp-sub {
  font-size: 12px; letter-spacing: 3px;
  color: rgba(74,26,10,0.6);
  margin-bottom: 40px;
}

.rsvp-btns {
  display: flex; gap: 20px;
  justify-content: center; flex-wrap: wrap;
}

.rsvp-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; letter-spacing: 3px;
  padding: 18px 44px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1.5px solid transparent;
}

.rsvp-yes {
  background: var(--brown-dark);
  color: var(--gold-light);
  border-color: var(--brown-dark);
}

.rsvp-yes:hover {
  background: var(--brown-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74,26,10,0.3);
}

.rsvp-no {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.rsvp-no:hover {
  background: var(--gold);
  color: white;
  transform: translateY(-2px);
}

.rsvp-msg {
  margin-top: 32px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-style: italic;
  color: var(--brown-dark);
  animation: fadeIn 0.5s ease;
}

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

/* =================== FOOTER =================== */
.footer-section {
  background: #5a1e07;
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-bg-text {
  position: absolute;
  font-family: 'Great Vibes', cursive;
  font-size: clamp(80px, 16vw, 200px);
  color: rgba(255,255,255,0.06);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.footer-inner { position: relative; z-index: 1; }

.footer-names {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(44px, 7vw, 72px);
  color: var(--gold-light);
  margin-bottom: 16px;
}

.gold-line.short {
  width: 60px; height: 1.5px;
  background: var(--gold-light);
  margin: 0 auto 20px;
}

.footer-date {
  font-size: 11px; letter-spacing: 4px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

.footer-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 17px;
  color: rgba(255,255,255,0.75);
}

/* =================== MAIN SITE REVEAL =================== */
.main-site {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.main-site.visible {
  opacity: 1;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    padding: 40px 16px;
  }

  .hero-arch {
    width: 200px; height: 280px;
    margin: 0 auto !important;
    border-radius: 140px 140px 0 0;
  }

  .hero-arch-left, .hero-arch-right {
    display: none;
  }

  .hero-center { padding: 0 16px; }

  .gallery-wrap {
    grid-template-columns: 1fr;
  }

  .g-arch { width: 80%; height: 360px; }
  .g-rect { height: 280px; }

  .couple-row { flex-direction: column; align-items: center; }

  .rsvp-btns { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero-groom, .hero-bride { font-size: 56px; }
  .bigday-cards { flex-direction: column; }
  .event-card { flex: 1 1 auto; }
}
