:root {
  --emerald: #046A38; --emerald-dark: #014421; --gold: #D4AF37;
  --glass: rgba(255,255,255,0.12); --glass-border: rgba(255,255,255,0.2);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Playfair Display', serif; color: white; position: relative; }
body::before { content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: url('bg.jpg') center/cover fixed; z-index: -2; }
body::after { content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(4,106,56,0.65), rgba(1,68,33,0.75)); z-index: -1; }

.menu-btn,.music-toggle { position: fixed; top: 15px; z-index: 100; background: rgba(255,255,255,0.08); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); color: white; width: 45px; height: 45px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.menu-btn { right: 15px; font-size: 18px; }
.music-toggle { right: 70px; font-size: 16px; }

.nav { position: fixed; top: 0; right: -250px; width: 240px; height: 100vh; background: rgba(1,68,33,0.45); backdrop-filter: blur(30px); padding: 80px 20px; transition: 0.4s; z-index: 99; overflow-y: auto; }
.nav.active { right: 0; }
.nav a { display: block; color: rgba(255,255,255,0.9); text-decoration: none; padding: 14px 0; font-size: 0.95rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 600px) {.nav { width: 200px; padding: 70px 15px; background: rgba(1,68,33,0.4); } }

.hero { height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 20px; }
.circle-photo { width: 200px; height: 200px; border-radius: 50%; border: 4px solid var(--gold); object-fit: cover; margin: 25px 0; box-shadow: 0 0 30px rgba(212,175,55,0.4); }
.hero h1 { font-size: 4rem; font-family: 'Great Vibes', cursive; margin: 10px 0; display: flex; align-items: center; justify-content: center; gap: 25px; }
.hero h1 span { color: var(--gold); font-size: 2.5rem; opacity: 0.9; }
.hero p.quote { color: white; font-style: italic; font-size: 1.2rem; margin: 15px 0; }
.btn { padding: 14px 32px; border-radius: 50px; font-weight: bold; cursor: pointer; margin: 8px; background: white; color: var(--emerald-dark); border: none; }
.btn-message { background: var(--glass); color: white; border: 2px solid white; }

/* FIX: GINAWANG SVH PARA DI GUMALAW SA KEYBOARD */
.section { padding: 100px 20px; text-align: center; min-height: 100svh; }
.section h1 { font-size: 3rem; margin: 15px 0 40px; font-family: 'Great Vibes', cursive; }
.section h3 { font-size: 2rem; color: white; }
.card { background: var(--glass); backdrop-filter: blur(15px); border: 1px solid var(--glass-border); border-radius: 20px; padding: 40px; max-width: 800px; margin: 20px auto; }

/* REUSABLE */
.sponsors-subtitle { color: var(--gold); font-size: 0.9rem; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 10px; }

/* DIVIDER WITH HEART */
.divider-heart { display: flex; align-items: center; justify-content: center; gap: 15px; margin: 25px 0;}
.divider-heart span:first-child,.divider-heart span:last-child { width: 100px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.divider-heart .heart { color: var(--gold); font-size: 18px; }

/* COUNTDOWN */
.countdown-title { font-size: 2.2rem; font-family: 'Great Vibes', cursive; margin-bottom: 8px; }
.countdown-sub { font-size: 0.9rem; opacity: 0.8; margin-bottom: 30px; font-style: italic; }
.countdown { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.time-box { background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); border: 1px solid rgba(212,175,55,0.4); border-radius: 12px; padding: 15px 8px; min-width: 70px; }
.time-box span { font-size: 1.8rem; font-weight: bold; display: block; }
.time-box label { font-size: 0.65rem; color: var(--gold); letter-spacing: 1px; margin-top: 6px; display: block; }
.divider { display: flex; align-items: center; justify-content: center; gap: 15px; margin: 20px 0; color: var(--gold); }
.divider::before,.divider::after { content: ''; height: 1px; width: 60px; background: rgba(212,175,55,0.5); }

/* SAVE THE DATE */
.save-date { color: var(--gold); letter-spacing: 8px; font-size: 1.8rem; font-weight: 700; text-transform: uppercase; font-family: 'Playfair Display', serif; margin: 15px 0 25px 0; }
.date-display .month { font-size: 3.2rem; font-family: 'Great Vibes', cursive; margin-bottom: 8px; }
.date-row { display: flex; align-items: center; justify-content: center; gap: 20px; }
.date-row .day { font-size: 3.2rem; color: var(--gold); font-weight: bold; }
.date-row .divider-line { width: 1px; height: 50px; background: rgba(212,175,55,0.6); }
.date-row .year { font-size: 3.2rem; font-weight: bold; }
.time { color: var(--gold); letter-spacing: 4px; font-size: 1.2rem; }
@media(max-width: 600px){
  .divider-heart span:first-child,.divider-heart span:last-child { width: 70px; height: 1px; }
  .divider-heart .heart { font-size: 16px; }
  .countdown-title { font-size: 1.8rem; }
  .countdown { gap: 8px; }
  .time-box { min-width: 60px; padding: 12px 6px; }
  .time-box span { font-size: 1.5rem; }
  .time-box label { font-size: 0.6rem; }
  .save-date { font-size: 1.4rem; letter-spacing: 5px; }
  .date-display .month,.date-row .day,.date-row .year { font-size: 2.5rem; }
  .time { font-size: 1rem; }
}

/* GALLERY */
.gallery-wrap { max-width: 380px; margin: auto; position: relative; }
.gallery-view { overflow: hidden; padding: 20px 0; }
.carousel { display: flex; transition: transform 0.6s ease-in-out; }
.carousel-item { min-width: 100%; padding: 0 10px; }
.carousel-item img { width: 100%; height: 280px; object-fit: cover; border-radius: 12px; border: 3px solid white; opacity: 0.6; transition: 0.4s; }
.carousel-item.active img { opacity: 1; transform: scale(1.05); }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); color: white; border: 1px solid white; padding: 10px 14px; cursor: pointer; border-radius: 50%; font-size: 14px; z-index: 10; }
.prev-btn { left: -15px; }.next-btn { right: -15px; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; }
.dot.active { background: var(--gold); width: 20px; border-radius: 10px; }
@media(max-width: 600px){.gallery-wrap { max-width: 280px; }.carousel-item img { height: 220px; } }

/* VIDEO */
.video-wrap { max-width: 900px; margin: auto; position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 20px; border: 3px solid white; box-shadow: 0 8px 30px rgba(0,0,0,0.4); }
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* EVENT */
.event-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 1000px; margin: auto; }
@media(max-width:768px){.event-grid { grid-template-columns: 1fr; } }
.map-container { margin-top: 20px; width: 100%; height: 220px; border-radius: 12px; overflow: hidden; border: 2px solid white; }
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* ENTOURAGE */
.entourage-card { background: var(--glass); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 20px; padding: 50px 30px; max-width: 800px; margin: auto; }
.entourage-couple { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 10px; }
.entourage-couple p { font-size: 0.8rem; color: rgba(255,255,255,0.7); letter-spacing: 2px; }
.entourage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 10px 0; }
.entourage-grid span { font-size: 0.75rem; color: rgba(255,255,255,0.7); letter-spacing: 1px; }
.entourage-divider { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 25px 0; }

@media(max-width: 600px){ .entourage-card { padding: 35px 20px; } .entourage-couple, .entourage-grid { gap: 20px; } }

/* SPONSORS */
.sponsors-title { font-size: 3.5rem; font-family: 'Great Vibes', cursive; margin: 0 0 20px 0; }
.sponsors-card { background: var(--glass); backdrop-filter: blur(20px); border: 1px solid rgba(212,175,55,0.3); border-radius: 20px; padding: 50px 30px; max-width: 700px; margin: auto; }
.sponsors-header { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.sponsors-header h3 { color: var(--gold); font-size: 1rem; letter-spacing: 3px; font-weight: 600; }
.sponsors-list { display: flex; flex-direction: column; gap: 18px; }
.sponsor-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.sponsor-pair p { font-size: 1.1rem; font-family: 'Playfair Display', serif; }
@media(max-width: 600px){.sponsors-title { font-size: 2.8rem; }.sponsors-card { padding: 30px 20px; }.sponsors-header,.sponsor-pair { gap: 20px; }.sponsor-pair p { font-size: 1rem; } }

/* ATTIRE */
.attire-section { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.attire-icon { font-size: 2.5rem; color: var(--gold); margin-bottom: 10px; }
.attire-title { font-size: 3.5rem; font-family: 'Great Vibes', cursive; margin-bottom: 40px; }
.attire-card { background: var(--glass); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.15); border-radius: 20px; padding: 50px 40px; max-width: 700px; width: 90%; text-align: center; }
.dresscode-label { color: rgba(255,255,255,0.7); font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px; }
.dresscode-title { font-size: 2rem; margin-bottom: 25px; font-family: 'Playfair Display', serif; }
.dresscode-desc { font-size: 1rem; line-height: 1.8; color: rgba(255,255,255,0.85); font-style: italic; margin-bottom: 40px; }
.color-icon { font-size: 1.5rem; color: var(--gold); margin-bottom: 8px; }
.color-label { color: rgba(255,255,255,0.7); font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 25px; }
.motif-colors { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.color-item { text-align: center; }
.color-circle { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 10px; border: 2px solid rgba(255,255,255,0.3); }
.color-circle.emerald { background: #046A38; }
.color-circle.lightgreen { background: #90EE90; }
.color-circle.white { background: #FFFFFF; }
.color-item p { font-size: 0.8rem; color: rgba(255,255,255,0.8); font-family: 'Playfair Display', serif; }
@media(max-width: 600px){.attire-title { font-size: 2.8rem; }.attire-card { padding: 35px 25px; }.dresscode-title { font-size: 1.6rem; }.motif-colors { gap: 20px; }.color-circle { width: 60px; height: 60px; } }

/* MESSAGES WALL */
.message-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; max-width: 1100px; margin: 40px auto; }
.message-card { background: var(--glass); backdrop-filter: blur(15px); border: 1px solid var(--glass-border); border-radius: 15px; padding: 25px; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.message-card .message-text { font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,0.9); font-style: italic; }
.message-card .message-name { color: var(--gold); font-weight: bold; font-size: 0.85rem; text-align: left; letter-spacing: 1px; }
.message-card .message-date { color: rgba(255,255,255,0.5); font-size: 0.75rem; text-align: left; }

/* GUEST LIST */
.guest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; max-width: 900px; margin: 40px auto; }
.guest-card { background: var(--glass); backdrop-filter: blur(15px); border: 1px solid var(--glass-border); border-radius: 12px; padding: 14px 18px; text-align: left; display: flex; justify-content: space-between; align-items: center; }
.guest-card .guest-name { color: white; font-weight: 600; font-size: 0.95rem; }
.guest-card .guest-count { color: var(--gold); font-weight: bold; font-size: 0.9rem; background: rgba(212,175,55,0.15); padding: 4px 10px; border-radius: 20px; }

/* ATTENDEES COUNT */
.attendees-count {
  text-align: center;
  margin-top: 15px;
  margin-bottom: 25px;
  padding: 12px 15px;
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  font-family: 'Playfair Display', serif;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(212,175,55,0.2);
}
.attendees-count span { color: var(--gold); letter-spacing: 1px; margin-right: 8px; font-weight: 600; }
.attendees-count strong { color: var(--gold); font-size: 1.5rem; font-weight: 700; }
@media(max-width: 600px){ .attendees-count { font-size: 0.9rem; margin-top: 12px; margin-bottom: 20px; padding: 10px 12px; } .attendees-count strong { font-size: 1.3rem; } }

/* FORMS - FIXED ZOOM */
input, textarea, select { 
  width: 90%; 
  padding: 14px; 
  margin: 12px 0; 
  background: var(--glass); 
  border: 1px solid white; 
  border-radius: 12px; 
  color: white; 
  font-family: 'Playfair Display', serif;
  font-size: 16px;
}
input::placeholder, textarea::placeholder { color: rgba(255, 255, 255, 0.7); }
.success-msg { color: #90EE90; margin-top: 10px; display: none; }

/* RSVP RADIO BUTTONS */
.rsvp-label {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  margin: 15px 0 10px 0;
  text-align: left;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
.radio-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 10px 0 20px 0;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}
.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 12px 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
  flex: 1;
  min-width: 200px;
}
.radio-option:hover {
  border-color: var(--gold);
  background: rgba(212,175,55,0.1);
}
.radio-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
}
.radio-option span {
  color: white;
  font-size: 0.95rem;
}
.radio-option input[type="radio"]:checked + span {
  color: var(--gold);
  font-weight: 600;
}
@media(max-width: 600px){
 .radio-group { flex-direction: column; }
 .radio-option { min-width: 100%; }
}

/* ==================== FINAL FIXES ==================== */

/* LOVE STORY TITLES - GOLD + GREAT VIBES */
#story .entourage-note {
  color: #D4AF37 !important;
  font-family: 'Great Vibes', cursive !important;
  font-size: 2.4rem !important;
  font-style: italic !important;
  text-align: center !important;
  margin: 35px 0 !important;
  letter-spacing: 1px !important;
  text-shadow: 0 0 15px rgba(212,175,55,0.4) !important;
}

/* PA LIIT NG LAHAT NG NAMES SA BUONG ENTOURAGE */
#entourage p b,
#entourage .entourage-grid p,
#entourage .entourage-card > p b {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: white !important;
}

#entourage .entourage-couple h3 {
  font-size: 2.2rem !important;
  font-family: 'Great Vibes', cursive !important;
  color: white !important;
  margin-bottom: 5px !important;
  letter-spacing: 2px;
  font-weight: 400;
  text-shadow: 0 0 15px rgba(212,175,55,0.3);
}

#entourage .entourage-note {
  font-size: 1.2rem !important;
  margin: 25px 0 !important;
}

/* NUKE FIX: PA GOLD NG LAHAT NG LABEL SA ENTOURAGE */
section#entourage .entourage-label {
  color: #D4AF37 !important;
  font-size: 0.9rem !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  font-family: 'Playfair Display', serif !important;
  font-weight: 700 !important;
  text-align: center !important;
  margin: 25px 0 15px 0 !important;
  text-shadow: 0 0 10px rgba(212,175,55,0.4) !important;
}

/* GOLD DIN YUNG DIVIDER DOTS */
section#entourage .entourage-divider span {
  background: #D4AF37 !important;
  opacity: 0.7;
}

/* MOBILE */
@media(max-width: 600px){ 
  #entourage p b,
  #entourage .entourage-grid p,
  #entourage .entourage-card > p b {
    font-size: 0.9rem !important;
  }
  #entourage .entourage-couple h3 { 
    font-size: 1.8rem !important; 
  }
}
