/* ========================================
   GILBERD TEMPLATE - Premium Floral Wedding
   by: E-Moment
======================================== */

/* ================================
   VARIABLES & RESET
================================ */
:root {
  --primary: #9E7167; /* Romantic Dusty Rose */
  --primary-dark: #7D534A;
  --primary-light: #E8D7C5;
  --secondary: #D4B5A0; /* Soft Peach */
  --accent: #C8A97E; /* Warm Gold */
  --light: #FFF8F3; /* Warm Ivory */
  --dark: #3A2C2C; /* Deep Brown */
  --text: #5D4037;
  --white: #FFFFFF;
  
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-heavy: 0 20px 50px rgba(0, 0, 0, 0.15);
  --radius: 16px;
  --radius-large: 30px;
  --border: 1px solid rgba(158, 113, 103, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--light);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

/* ================================
   TYPOGRAPHY
================================ */
h1, h2, h3, h4 {
  font-family: "Brillon", sans-serif;
  font-weight: 500;
  line-height: 1.2;
}

p {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

.font-playfair { font-family: 'Playfair Display', serif; }
.font-cormorant { font-family: 'Cormorant Garamond', serif; }
.font-poppins { font-family: 'Poppins', sans-serif; }

/* ================================
   PAGE LOADER
================================ */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#page-loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  text-align: center;
}

.loader-ring {
  width: 70px;
  height: 70px;
  border: 3px solid rgba(158, 113, 103, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 1.2s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader-text {
  font-size: 15px;
  color: var(--primary);
  letter-spacing: 1.5px;
  font-weight: 300;
}

/* ================================
   MAIN LAYOUT - FIXED LEFT, SCROLL RIGHT
================================ */
.content {
  display: flex;
  min-height: 100vh;
  position: relative;
}

.left-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 35%;
  height: 100vh;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 10;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.left-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 400 400"><path fill="%23ffffff" fill-opacity="0.03" d="M37.5,186c-12.1-10.5-11.8-32.3-7.2-46.7c4.8-15,13.1-17.8,30.1-36.7C91,68.8,83.5,56.7,103.4,45c22.2-13.1,51.1-9.5,69.6-1.6c18.1,7.8,15.7,15.3,43.3,33.2c28.8,18.8,37.8,10.5,50.7,33.9c13.8,24.8-3.8,32.6-3.8,32.6s-169.8,55.3-213.3,47C-2,192.7,49.1,196.2,37.5,186z"/></svg>');
  background-size: 400px;
  opacity: 0.4;
  z-index: -1;
}

.left-content {
  padding: 60px 40px;
  max-width: 500px;
  position: relative;
  z-index: 2;
}

.bg-left {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 4px;
  margin-bottom: 30px;
  color: rgba(255, 248, 243, 0.9);
  text-transform: uppercase;
  position: relative;
}

.bg-left::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin: 15px auto 0;
}

.nickname-left {
  font-size: 82px;
  font-weight: 400;
  line-height: 1;
  margin: 20px 0;
  color: var(--light);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.left-section .main-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 300;
  color: var(--primary-light);
  margin-top: 30px;
  letter-spacing: 1px;
}

.floral-divider {
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.2);
  width: 200px;
}

.right-section {
  width: 65%;
  margin-left: 35%;
  min-height: 100vh;
  overflow-y: auto;
  padding: 0;
  background-color: var(--light);
  position: relative;
}

/* ================================
   WAVE DIVIDER
================================ */
.wave-divider {
  width: 100%;
  height: 120px;
  overflow: hidden;
  line-height: 0;
  background: transparent;
}

.wave-divider svg {
  width: calc(100% + 1.3px);
  height: 100%;
}

.wave-divider path {
  fill: var(--primary-light);
}

.wave-invert path {
  fill: var(--light);
}

.wave-top {
  transform: rotate(180deg);
}

/* ================================
   COVER HERO
================================ */
.cover-hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(58, 44, 44, 0.9), rgba(58, 44, 44, 0.95));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--light);
  z-index: 9999;
  transform: translateY(0);
  opacity: 1;
  transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1), 
              opacity 0.8s ease;
  text-align: center;
  padding: 0 20px;
}

.cover-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="none" stroke="%23C8A97E" stroke-width="0.5" stroke-opacity="0.1" d="M20,20 Q50,10 80,20 T100,50 Q90,80 80,90 T50,100 Q10,90 20,80 T20,20" /></svg>');
  background-size: 200px;
  opacity: 0.3;
}

.cover-slide-up {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.cover-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 3px;
  margin-bottom: 10px;
  color: var(--primary-light);
}

.cover-hero .nickname {
  font-size: 96px;
  font-weight: 400;
  line-height: 1;
  margin: 10px 0;
  color: var(--light);
}

.ampersand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  color: var(--accent);
  margin: 10px 0;
}

.cover-hero .main-date {
  font-size: 18px;
  font-weight: 300;
  margin: 20px 0 40px;
  letter-spacing: 2px;
  color: var(--primary-light);
}

.cover-bottom {
  margin-top: 30px;
  text-align: center;
}

.guest-title {
  font-size: 16px;
  margin-bottom: 10px;
  color: rgba(255, 248, 243, 0.8);
}

.guest-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--light);
  margin: 15px 0 30px;
  padding: 10px 30px;
  border-top: 1px solid rgba(255, 248, 243, 0.2);
  border-bottom: 1px solid rgba(255, 248, 243, 0.2);
}

.open-invitation {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--primary);
  background: var(--light);
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 1.5px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.open-invitation:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* ================================
   RIGHT SECTION CONTENT
================================ */
.right-section > * {
  padding: 80px 60px;
}

/* OPENING SECTION */
.opening {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.7);
}

.opening-content {
  text-align: center;
  color: var(--light);
  max-width: 800px;
  padding: 0 20px;
  z-index: 2;
}

.opening-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  letter-spacing: 4px;
  margin-bottom: 20px;
  color: var(--primary-light);
}

.nickname-opening {
  font-size: 64px;
  font-weight: 400;
  line-height: 1;
  margin: 15px 0;
  color: var(--light);
}

.ampersand-opening {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  color: var(--accent);
  margin: 10px 0;
}

.opening-content .main-date {
  font-size: 20px;
  letter-spacing: 3px;
  margin-top: 30px;
  color: var(--primary-light);
}

/* QUOTE SECTION */
.quote-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--light);
  padding: 100px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="none" stroke="%23ffffff" stroke-width="0.5" stroke-opacity="0.05" d="M20,20 Q50,10 80,20 T100,50 Q90,80 80,90 T50,100 Q10,90 20,80 T20,20" /></svg>');
  background-size: 100px;
  opacity: 0.3;
}

.floral-ornament {
  position: absolute;
  color: rgba(255, 255, 255, 0.2);
  font-size: 24px;
}

.floral-ornament.left {
  left: 30px;
  top: 30px;
  transform: rotate(-15deg);
}

.floral-ornament.right {
  right: 30px;
  top: 30px;
  transform: rotate(15deg);
}

.floral-ornament i {
  display: block;
  margin: 5px 0;
}

.cover {
  width: 280px;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 40px auto;
  border: 8px solid var(--light);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-style: italic;
  line-height: 1.6;
  max-width: 800px;
  margin: 40px auto;
  color: var(--primary-light);
  position: relative;
  padding: 0 20px;
}

.quote::before,
.quote::after {
  content: '"';
  font-size: 60px;
  color: var(--accent);
  opacity: 0.5;
  position: absolute;
  font-family: serif;
}

.quote::before {
  top: -20px;
  left: -10px;
}

.quote::after {
  bottom: -40px;
  right: -10px;
}

/* COUNTDOWN */
.countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px 15px;
  min-width: 90px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.time-box span {
  font-size: 36px;
  font-weight: 300;
  color: var(--light);
}

.time-box small {
  font-size: 14px;
  color: var(--primary-light);
  margin-top: 8px;
  letter-spacing: 1px;
}

/* MEMPELAI SECTION */
.mempelai {
  padding: 100px 60px;
  background-color: var(--light);
}

.card-mempelai {
  background: var(--light);
  border-radius: var(--radius-large);
  padding: 60px 40px;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  border: var(--border);
  text-align: center;
  position: relative;
}

.section-title {
  font-family: "Cinzel", sans-serif;
  font-size: 42px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 10px;
}

.welcome-text {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.bride-section,
.groom-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  margin: 60px 0;
}

.foto-mempelai img {
  width: 280px;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 8px solid var(--light);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.foto-mempelai img:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.15);
}

.detail-mempelai {
  text-align: left;
  flex: 1;
}

.nickname-detail {
  font-size: 48px;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 10px;
}

.fullname-detail {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 15px;
}

.parents-detail,
.address-detail {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.7;
}

.social-wrapper {
  display: flex;
  justify-content:center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social {
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid var(--primary);
  transition: var(--transition);
  background: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.social:hover {
  background: var(--primary);
  color: var(--light);
}

.divider-heart {
  color: var(--primary);
  font-size: 32px;
  margin: 30px 0;
  opacity: 0.7;
}

/* EVENTS SECTION */
.events {
  padding: 100px 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--light);
}
.divider-floral {
    display:flex;
    justify-content:center;
}
.events .section-title {
  color: var(--light);
  text-align: center;
  margin-bottom: 60px;
}

.events-card {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--light);
  border-radius: var(--radius-large);
  padding: 60px 40px;
  box-shadow: var(--shadow-heavy);
  position: relative;
  overflow: hidden;
}

.events-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
}

.event-item {
  text-align: center;
  margin-bottom: 50px;
  color: var(--text);
}

.event-item:last-child {
  margin-bottom: 0;
}

.event-name {
  font-family: "Imperial Script", sans-serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 10px;
}

.event-date,
.event-time {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: var(--primary-dark);
  margin: 10px 0;
}

.event-location,
.event-address,
.event-dresscode,
.event-notes {
  font-size: 16px;
  color: var(--text);
  margin: 15px 0;
  line-height: 1.7;
}

.maps-button {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: var(--primary);
  text-decoration: none;
  padding: 10px 30px;
  border-radius: 50px;
  border: 1px solid var(--primary);
  margin-top: 15px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.maps-button:hover {
  background: var(--primary);
  color: var(--light);
}

.divider-floral {
  color: var(--primary);
  font-size: 20px;
  margin: 30px 0;
  opacity: 0.7;
}

.divider-floral i {
  margin: 0 5px;
}

.no-event {
  text-align: center;
  color: var(--text);
  font-style: italic;
}

/* STORY SECTION */
.story {
  padding: 100px 60px;
  background-color: var(--light);
}

.card-story {
  max-width: 900px;
  margin: 0 auto;
  background: var(--light);
  border-radius: var(--radius-large);
  padding: 60px 40px;
  box-shadow: var(--shadow);
  border: var(--border);
  text-align: center;
}

.story .section-title {
  margin-bottom: 50px;
}

.story-cover {
  width: 100%;
  max-width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 0 auto 40px;
  display: block;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.story-title {
font-family: "Imperial Script", sans-serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--primary);
  margin: 30px 0 10px;
}

.timeline {
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.story-content {
  font-size: 17px;
  color: var(--dark);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

.no-story {
  text-align: center;
  opacity: .7;
  font-style: italic;
}

/* GALLERY SECTION */
.gallery-section {
  padding: 100px 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.gallery-section .section-title {
  color: var(--light);
  text-align: center;
  margin-bottom: 60px;
}

.gallery-video {
  max-width: 900px;
  margin: 0 auto 60px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
}

.video-thumbnail {
  display: block;
  position: relative;
  text-decoration: none;
}

.video-thumbnail img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  width: 70px;
  height: 70px;
  background: var(--white);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.play-btn:hover {
  transform: scale(1.1);
}

.gallery-hero {
  max-width: 1000px;
  margin: 0 auto 50px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
}

.gallery-hero img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gallery-hero:hover img {
  transform: scale(1.03);
}

.gallery-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.4));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* INFORMASI SECTION */
.informasi {
  padding: 100px 60px;
  background-color: var(--light);
}

.card-informasi {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.amplop,
.RSVP,
.turut-mengundang,
.adab-walimah {
  background: var(--light);
  border-radius: var(--radius-large);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  border: var(--border);
  transition: var(--transition);
}

.amplop:hover,
.RSVP:hover,
.turut-mengundang:hover,
.adab-walimah:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.1);
}

.info-text {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 25px;
  line-height: 1.7;
}

.btn-amplop,
.btn-rsvp {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: var(--light);
  background: var(--primary);
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
}

.btn-amplop:hover,
.btn-rsvp:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.guest-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  text-align: left;
}

.guest-list li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.guest-list i {
  color: var(--primary);
}

.adab {
  width: 100%;
  max-width: 300px;
  border-radius: var(--radius);
  margin-top: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* MODALS */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(58, 44, 44, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(8px);

  /* INI KUNCINYA */
  overflow-y: auto;
}


.modal-content {
  background: var(--light);
  border-radius: var(--radius-large);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  animation: modalFadeIn 0.5s ease;

  /* Biar nggak double scroll */

}



@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--primary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(158, 113, 103, 0.1);
}

.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 500;
  color: var(--primary);
  text-align: center;
  margin-bottom: 20px;
}

.modal-subtitle {
  text-align: center;
  margin-bottom: 1.2rem;
  color: var(--text);
}

.bank-box {
  background: rgba(232, 215, 197, 0.3);
  border-radius: 12px;
  padding: 25px;
  margin: 20px 0;
  text-align: center;
  border: 1px solid rgba(158, 113, 103, 0.2);
}

.bank-name {
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.rekening {
  font-size: 24px;
  font-weight: 300;
  color: var(--dark);
  letter-spacing: 2px;
  margin: 15px 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
}

.account-holder {
  color: var(--text);
  margin-bottom: 10px;
}

.btn-copy {
  font-size: 14px;
  color: var(--primary);
  background: transparent;
  border: 1px solid var(--primary);
  padding: 10px 25px;
  border-radius: 50px;
  cursor: pointer;
  margin-top: 15px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: auto;
  margin-right: auto;
}

.btn-copy:hover {
  background: var(--primary);
  color: var(--light);
}

.qris-section {
  text-align: center;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(158, 113, 103, 0.2);
}

.qris-img {
  max-width: 200px;
  max-height: 40vh;   /* INI KUNCINYA */
  height: auto;
  border-radius: 12px;
  margin: 20px 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}


.qris-title {
  color: var(--text);
  margin-bottom: 15px;
}

.qris-note {
  font-size: .8rem;
  opacity: .85;
  color: var(--text);
}

/* RSVP FORM */
.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  padding: 15px;
  margin: 12px 0;
  border: 1px solid rgba(158, 113, 103, 0.3);
  border-radius: 10px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(158, 113, 103, 0.1);
}

.btn-submit {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--light);
  background: var(--primary);
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  cursor: pointer;
  margin-top: 20px;
  width: 100%;
  transition: var(--transition);
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.rsvp-alert {
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
  text-align: center;
  font-size: 15px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.rsvp-alert.success {
  background: rgba(212, 181, 160, 0.3);
  color: var(--primary-dark);
  border: 1px solid rgba(158, 113, 103, 0.3);
}

.rsvp-alert.error {
  background: rgba(158, 113, 103, 0.1);
  color: var(--primary-dark);
  border: 1px solid rgba(158, 113, 103, 0.3);
}

/* WISHES SECTION */
.wish-section {
  padding: 100px 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.wish-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.floral-ornament.wish-left {
  left: -50px;
  top: 50%;
  transform: translateY(-50%) rotate(-15deg);
}

.floral-ornament.wish-right {
  right: -50px;
  top: 50%;
  transform: translateY(-50%) rotate(15deg);
}

.wish-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.wish-title .section-title {
  color: var(--light);
  margin-bottom: 15px;
}

.wish-title .section-subtitle {
  color: var(--primary-light);
  letter-spacing: 1.5px;
}

.wish-card {
  background: var(--light);
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
}

.wish-header {
  padding: 25px;
  border-bottom: 1px solid rgba(158, 113, 103, 0.1);
  text-align: center;
}

.wish-header p {
  font-size: 15px;
  color: var(--primary);
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.wish-form {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wish-form input,
.wish-form select,
.wish-form textarea {
  padding: 16px;
  border: 1px solid rgba(158, 113, 103, 0.3);
  border-radius: 10px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}

.wish-form input:focus,
.wish-form select:focus,
.wish-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(158, 113, 103, 0.1);
}

.wish-form button {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--light);
  background: var(--primary);
  border: none;
  padding: 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 1.5px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.wish-form button:hover {
  background: var(--primary-dark);
}

.wish-comments {
  max-height: 400px;
  overflow-y: auto;
  padding: 0 40px 40px;
}

.wish-comment-item {
  padding: 25px 0;
  border-bottom: 1px solid rgba(158, 113, 103, 0.1);
}

.wish-comment-item:last-child {
  border-bottom: none;
}

.wish-comment-sosmed {
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-time {
  font-weight: 300;
  color: var(--dark);
  opacity: 0.7;
  font-size: 0.8rem;
}

.wish-comment-message {
  font-size: 16px;
  color: var(--dark);
  line-height: 1.7;
}

/* THANK SECTION */
.thank {
  min-height: 100vh;
  background: linear-gradient(rgba(58, 44, 44, 0.9), rgba(58, 44, 44, 0.95)), 
              url('../media/thank-bg.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 40px;
  color: var(--light);
  position: relative;
  overflow: hidden;
}

.thank::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><path fill="%23ffffff" fill-opacity="0.03" d="M37.5,186c-12.1-10.5-11.8-32.3-7.2-46.7c4.8-15,13.1-17.8,30.1-36.7C91,68.8,83.5,56.7,103.4,45 c22.2-13.1,51.1-9.5,69.6-1.6c18.1,7.8,15.7,15.3,43.3,33.2c28.8,18.8,37.8,10.5,50.7,33.9c13.8,24.8-3.8,32.6-3.8,32.6 s-169.8,55.3-213.3,47C-2,192.7,49.1,196.2,37.5,186z"/></svg>');
  background-size: 400px;
  opacity: 0.2;
}

.thanks-wrapper {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.thanks-title {
  font-size: 82px;
  font-weight: 400;
  color: var(--light);
  margin-bottom: 30px;
}

.thanks-text {
  font-size: 18px;
  color: var(--primary-light);
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.thanks-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 500;
  color: var(--light);
  margin: 40px 0;
  letter-spacing: 2px;
}

.thanks-family {
  margin-top: 50px;
}

.thanks-family-title {
  font-size: 16px;
  color: var(--primary-light);
  letter-spacing: 3px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.thanks-family-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--light);
  line-height: 1.8;
}

footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 248, 243, 0.2);
  width: 100%;
  max-width: 800px;
}

.footer {
  font-size: 16px;
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}

.e-moment {
  color: var(--accent);
  font-weight: 600;
  font-style: italic;
}

.footer:hover {
  color: var(--light);
}

/* MUSIC PLAYER */
#music-player {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

#music-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: var(--light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

#music-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  z-index: -1;
}

#music-toggle:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

#music-icon {
  font-size: 20px;
}

.music-playing #music-toggle {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(158, 113, 103, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(158, 113, 103, 0); }
  100% { box-shadow: 0 0 0 0 rgba(158, 113, 103, 0); }
}

/* ================================
   RESPONSIVE DESIGN
================================ */
@media (max-width: 1200px) {
  .left-section {
    width: 40%;
  }
  
  .right-section {
    width: 60%;
    margin-left: 40%;
  }
}

@media (max-width: 992px) {
  .content {
    flex-direction: column;
  }
  
  .left-section {
      display:none;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100vh;
    padding: 40px 20px;
  }
  
  .right-section {
    width: 100%;
    margin-left: 0;
  }
/* ================================
   COVER HERO WITH SPLASH BACKGROUND
================================ */
.cover-hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--light);
  z-index: 9999;
  transform: translateY(0);
  opacity: 1;
  transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1), 
              opacity 0.8s ease;
  text-align: center;
  padding: 0 20px;
  
  /* Default background jika tidak ada splash_background */
  background: linear-gradient(rgba(58, 44, 44, 0.85), rgba(58, 44, 44, 0.95));
  
  /* Background properties untuk splash_background */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Pattern overlay untuk semua cover */
.cover-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="none" stroke="%23C8A97E" stroke-width="0.5" stroke-opacity="0.1" d="M20,20 Q50,10 80,20 T100,50 Q90,80 80,90 T50,100 Q10,90 20,80 T20,20" /></svg>');
  background-size: 200px;
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
}

/* Gradient overlay untuk meningkatkan readability */
.cover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Pastikan konten di atas overlay */
.cover-subtitle,
.nickname,
.ampersand,
.main-date,
.cover-bottom {
  position: relative;
  z-index: 2;
}




  .right-section > * {
    padding: 60px 30px;
  }
  
  .bride-section,
  .groom-section {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .detail-mempelai {
    text-align: center;
  }
  
  .card-informasi {
    grid-template-columns: 1fr;
  }
  
  .cover-hero .nickname,
  .nickname-opening,
  .nickname-left,
  .section-title,
  .thanks-title {
    font-size: 48px;
  }
  
  .left-section .nickname-left {
    font-size: 56px;
  }
}

@media (max-width: 768px) {
  .right-section > * {
    padding: 50px 20px;
  }
  
  .cover-hero .nickname,
  .nickname-opening,
  .nickname-left,
  .section-title,
  .thanks-title {
    font-size: 36px;
  }
  
  .left-section .nickname-left {
    font-size: 42px;
  }
  
  .nickname-detail {
    font-size: 36px;
  }
  
  .countdown {
    flex-wrap: wrap;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .floral-ornament {
    display: none;
  }
  
  .time-box {
    min-width: 70px;
    padding: 15px 10px;
  }
  
  .time-box span {
    font-size: 28px;
  }
  
  .wish-form {
    padding: 30px 20px;
  }
}

@media (max-width: 576px) {
  .cover-hero .nickname {
    font-size: 48px;
  }
  
  .ampersand, .ampersand-opening {
    font-size: 24px;
  }
  
  .quote {
    font-size: 20px;
    padding: 0 10px;
  }
  
  .cover {
    width: 200px;
    height: 300px;
  }
}

/* AOS CUSTOM ANIMATIONS */
[data-aos] {
  opacity: 0;
  transition-property: transform, opacity;
  overflow: hidden;
}

/*live*/

.live-stream-section {
  padding: 80px 20px;
  text-align: center;
}

.live-stream-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  max-width: 900px;
  margin: auto;
  box-shadow: 0 20px 40px rgba(0,0,0,.2);
}

.live-stream-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.live-stream-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
}

.live-stream-link i {
  font-size: 20px;
  
}

.live-stream-item {
  margin-bottom:10px;
}

.live-stream-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}
