/* ===== FLORAL WEDDING THEME ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Great+Vibes&display=swap');

:root {
  --cream: #fdf8f4;
  --soft-pink: #f5e6e0;
  --dusty-rose: #d4a5a5;
  --deep-rose: #b87a7a;
  --sage: #8b9a7d;
  --sage-dark: #6b7a5d;
  --brown: #5c4a3a;
  --brown-light: #7a6a5a;
  --white: #ffffff;
  --gold: #c9a66b;
  --shadow: rgba(92, 74, 58, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cormorant Garamond', serif;
  background-color: var(--cream);
  color: var(--brown);
  line-height: 1.7;
  font-size: 18px;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  color: var(--brown);
}

.script {
  font-family: 'Great Vibes', cursive;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(253, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  z-index: 1000;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(212, 165, 165, 0.25);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px var(--shadow);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Great Vibes', cursive;
  font-size: 1.9rem;
  color: var(--deep-rose);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brown-light);
  position: relative;
  padding: 0.3rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--dusty-rose);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--deep-rose);
}

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

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
  transition: all 0.3s ease;
}

/* ===== HERO / BANNER ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: linear-gradient(rgba(253, 248, 244, 0.3), rgba(253, 248, 244, 0.5)),
              url('https://images.unsplash.com/photo-1519741497674-611481863552?w=1600') center/cover no-repeat;
  padding: 6rem 1.5rem 4rem;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
}

.hero .save-the-date {
  font-family: 'Great Vibes', cursive;
  font-size: 1.8rem;
  color: var(--deep-rose);
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 500;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.hero .ampersand {
  font-family: 'Great Vibes', cursive;
  font-size: 3.5rem;
  color: var(--dusty-rose);
  display: block;
  margin: 0.3rem 0;
}

.hero .date {
  font-size: 1.3rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-top: 1.5rem;
}

.hero .floral-divider {
  width: 120px;
  height: 30px;
  margin: 1.5rem auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 30'%3E%3Cpath d='M0 15 Q30 5 60 15 T120 15' fill='none' stroke='%23d4a5a5' stroke-width='1.5'/%3E%3Ccircle cx='60' cy='15' r='3' fill='%23d4a5a5'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 8rem 1.5rem 3rem;
  text-align: center;
  background: linear-gradient(180deg, var(--soft-pink) 0%, var(--cream) 100%);
  position: relative;
}

.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 0.8rem;
}

.page-header .subtitle {
  font-family: 'Great Vibes', cursive;
  font-size: 1.6rem;
  color: var(--deep-rose);
}

.page-header .floral-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--dusty-rose), transparent);
  margin: 1.2rem auto 0;
}

/* ===== SECTIONS ===== */
.section {
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.section-title .script {
  font-size: 1.5rem;
  color: var(--deep-rose);
}

/* ===== DOA ===== */
.doa-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  padding: 3rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px var(--shadow);
  border: 1px solid rgba(212, 165, 165, 0.2);
  position: relative;
}

.doa-content::before {
  content: '❀';
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cream);
  padding: 0 12px;
  font-size: 1.5rem;
  color: var(--dusty-rose);
}

.doa-arabic {
  font-size: 1.6rem;
  line-height: 2;
  margin-bottom: 1.5rem;
  color: var(--brown);
  direction: rtl;
}

.doa-latin {
  font-style: italic;
  color: var(--brown-light);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.doa-arti {
  font-size: 1.05rem;
  color: var(--brown);
  border-top: 1px solid rgba(212, 165, 165, 0.3);
  padding-top: 1.5rem;
}

/* ===== MEMPELAI ===== */
.couple-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.person-card {
  text-align: center;
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 40px var(--shadow);
  border: 1px solid rgba(212, 165, 165, 0.15);
  transition: transform 0.3s ease;
}

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

.person-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 6px solid var(--soft-pink);
  box-shadow: 0 8px 25px var(--shadow);
}

.person-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.person-card .parents {
  font-size: 0.95rem;
  color: var(--brown-light);
  margin-top: 1rem;
  line-height: 1.6;
}

.person-card .role {
  font-family: 'Great Vibes', cursive;
  font-size: 1.4rem;
  color: var(--deep-rose);
  margin-bottom: 0.8rem;
}

/* ===== CERITA CINTA ===== */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--dusty-rose), var(--sage));
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 2.5rem;
}

.timeline-item::before {
  content: '❀';
  position: absolute;
  left: 8px;
  top: 0;
  width: 26px;
  height: 26px;
  background: var(--cream);
  color: var(--dusty-rose);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-item h4 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  color: var(--deep-rose);
}

.timeline-item p {
  color: var(--brown-light);
  font-size: 1.05rem;
}

/* ===== ACARA + COUNTDOWN ===== */
.countdown-box {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2.5rem 0 3rem;
  flex-wrap: wrap;
}

.countdown-item {
  background: var(--white);
  border: 1px solid rgba(212, 165, 165, 0.3);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  min-width: 90px;
  text-align: center;
  box-shadow: 0 6px 20px var(--shadow);
}

.countdown-item .number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--deep-rose);
  display: block;
  line-height: 1.2;
}

.countdown-item .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brown-light);
}

.event-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.event-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 40px var(--shadow);
  border: 1px solid rgba(212, 165, 165, 0.15);
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--dusty-rose), var(--sage));
}

.event-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--deep-rose);
}

.event-card .time {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.event-card .place {
  color: var(--brown-light);
  font-size: 1.05rem;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.2rem;
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 20px var(--shadow);
  cursor: pointer;
  position: relative;
}

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

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

/* ===== RSVP ===== */
.rsvp-form {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 40px var(--shadow);
  border: 1px solid rgba(212, 165, 165, 0.2);
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  font-size: 1rem;
  color: var(--brown);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(212, 165, 165, 0.4);
  border-radius: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  background: var(--cream);
  color: var(--brown);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--dusty-rose);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.btn {
  display: inline-block;
  background: var(--deep-rose);
  color: white;
  padding: 0.9rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn:hover {
  background: var(--brown);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 122, 122, 0.3);
}

.btn-block {
  width: 100%;
  text-align: center;
}

/* ===== KADO ===== */
.gift-section {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.gift-box {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 40px var(--shadow);
  margin-bottom: 2rem;
  border: 1px solid rgba(212, 165, 165, 0.2);
}

.gift-box h3 {
  margin-bottom: 1rem;
  color: var(--deep-rose);
}

.bank-info {
  background: var(--soft-pink);
  padding: 1.5rem;
  border-radius: 10px;
  margin: 1.5rem 0;
  font-size: 1.1rem;
}

.bank-info .bank-name {
  font-weight: 600;
  font-size: 1.2rem;
}

.bank-info .account {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  letter-spacing: 1px;
  margin: 0.5rem 0;
}

/* ===== MAPS ===== */
.map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px var(--shadow);
  margin-top: 1.5rem;
  height: 350px;
  background: #eee;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.address-box {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px var(--shadow);
  margin-bottom: 1.5rem;
}

/* ===== TERIMA KASIH ===== */
.thankyou-content {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.thankyou-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.thankyou-content .script {
  font-size: 2rem;
  color: var(--deep-rose);
  display: block;
  margin-bottom: 1.5rem;
}

.thankyou-content p {
  font-size: 1.15rem;
  color: var(--brown-light);
  margin-bottom: 2rem;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--soft-pink);
  margin-top: 4rem;
}

footer .logo {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  display: block;
}

footer p {
  font-size: 0.95rem;
  color: var(--brown-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: -5px 0 30px var(--shadow);
    transition: right 0.35s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .couple-grid,
  .event-cards {
    grid-template-columns: 1fr;
  }

  .person-photo {
    width: 160px;
    height: 160px;
  }

  .countdown-item {
    min-width: 70px;
    padding: 1rem;
  }

  .countdown-item .number {
    font-size: 1.7rem;
  }

  .doa-content {
    padding: 2.5rem 1.5rem;
  }

  .hero h1 {
    font-size: 2.6rem;
  }
}

/* Decorative elements */
.floral-ornament {
  text-align: center;
  color: var(--dusty-rose);
  font-size: 1.4rem;
  margin: 1.5rem 0;
  letter-spacing: 8px;
}
