/* ============================================
   FONTS & VARIABLES
   ============================================ */
@import url("https://fonts.googleapis.com/css2?family=Explora&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Explora&family=Poppins:ital,wght@0,100;0,300;0,400;0,600;0,700;1,700&display=swap");

@font-face {
  font-family: 'Analogue';
  font-weight: normal;
  font-style: normal;
  src: url("../fonts/Analogue.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: 'Power';
  font-weight: normal;
  font-style: normal;
  src: url("../fonts/power.woff2") format("woff2");
  font-display: swap;
}

/* ============================================
   CSS VARIABLES - SATU TEMPAT
   ============================================ */
:root {
  /* Font Families */
  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Explora", cursive;
  --font-decorative: 'Analogue', sans-serif;
  --font-special: 'Power', sans-serif;
  
  /* Colors - Primary */
  --color-primary: #b05969;
  --color-primary-dark: #8c4552;
  --color-primary-light: #c47a88;
  --color-gold: #edc647;
  --color-gold-light: #f5d97a;
  --color-warning: #f8b501;
  
  /* Colors - Background */
  --bg-dark: #1a1a1a;
  --bg-medium: #292828;
  --bg-light: #f5f5f5;
  --bg-overlay: rgba(0, 0, 0, 0.5);
  
  /* Colors - Text */
  --text-light: #ffffff;
  --text-dark: #333333;
  --text-muted: #666666;
  --text-gold: #edc647;
  
  /* Colors - UI Elements */
  --border-light: #dddddd;
  --border-gold: #edc647;
  --shadow-default: 0 4px 15px rgba(0, 0, 0, 0.1);
  --shadow-strong: 0 8px 25px rgba(0, 0, 0, 0.15);
  
  /* RSVP Specific Colors */
  --rsvp-input-text: #333333;
  --rsvp-input-border: #cccccc;
  --card-name-color: #e67e22;
  --card-name-size: 1.6rem;
  --card-status-color: #7f8c8d;
  --card-status-size: 1.2rem;
  --card-msg-color: #32f0eb;
  --card-msg-size: 1.4rem;
  --card-border-sep: #eeeeee;
  
  /* Spacing */
  --section-padding: 7rem;
  --container-padding: 7%;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Border Radius */
  --radius-sm: 5px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --radius-xl: 50px;
  --radius-full: 50%;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%; /* 1rem = 10px */
}

body {
  font-family: var(--font-primary);
  background: var(--bg-medium);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   FLOATING LOGO
   ============================================ */
#logo {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  z-index: 999;
  animation: float 3s ease-in-out infinite;
}

#logo img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: var(--shadow-strong);
  transition: transform 0.3s ease;
}

#logo img:hover {
  transform: scale(1.1);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover !important;
  background-position: center !important;
}

.hero-content {
  text-align: center;
  color: var(--text-light);
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.hero-content h4 {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 5px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-content h1 {
  font-size: 6rem;
  font-family: var(--font-decorative);
  margin-bottom: 1.5rem;
  letter-spacing: 3px;
}

.hero-content h1 span {
  color: var(--color-gold);
}

.hero-content p {
  font-size: 1.8rem;
  margin-bottom: 3rem;
}

.hero .countdown {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero .waktu {
  text-align: center;
  min-width: 100px;
}

.hero .waktu h5 {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-light);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.hero .waktu p {
  font-size: 1.2rem;
  margin: 0.5rem 0 0;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.scroll-indicator span {
  display: block;
  width: 2px;
  height: 8px;
  background: var(--text-light);
  border-radius: 2px;
  animation: scrollPulse 1.5s ease-in-out infinite;
}

.scroll-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.scroll-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   QURAN SECTION
   ============================================ */
.quran {
  padding: var(--section-padding) var(--container-padding);
  background: linear-gradient(135deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
}

.quran .row {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.quran .quran-img {
  flex: 1 1 35rem;
  text-align: center;
}

.quran .quran-img img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.quran .content {
  flex: 1 1 45rem;
}

.quran .content h3 {
  font-size: 3.5rem;
  font-family: var(--font-special);
  color: var(--color-gold);
  margin-bottom: 2rem;
  font-style: italic;
}

.quran .content p {
  font-size: 1.6rem;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.8;
  opacity: 0.9;
}

/* ============================================
   ABOUT SECTIONS (GROOM & BRIDE)
   ============================================ */
.about, .about2 {
  padding: var(--section-padding) var(--container-padding);
}

.about {
  background: var(--bg-medium);
}

.about2 {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
}

.about .row, .about2 .row {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.about .about-img, .about2 .about2-img {
  flex: 1 1 35rem;
}

.about .about-img img, .about2 .about2-img img {
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  border: 3px solid var(--color-gold);
}

.about2 .about2-img {
  order: 2;
  text-align: right;
}

.about .content, .about2 .content {
  flex: 1 1 45rem;
}

.about .content h3, .about2 .content h3 {
  font-size: 4rem;
  font-family: var(--font-decorative);
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.about .content .nickname, .about2 .content .nickname {
  font-size: 1.8rem;
  color: var(--text-light);
  opacity: 0.8;
  margin-bottom: 2rem;
}

.about .content .parent-title, .about2 .content .parent-title {
  font-size: 1.6rem;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.about .content .parent-name, .about2 .content .parent-name {
  font-size: 1.8rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2.5rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--text-light);
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-default);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-instagram:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}

.btn-instagram i {
  width: 18px;
  height: 18px;
}

/* ============================================
   LOVE STORY SECTION
   ============================================ */
.story {
  padding: var(--section-padding) var(--container-padding);
  background: var(--bg-dark);
}

.story h2 {
  font-size: 5rem;
  font-family: var(--font-special);
  text-align: center;
  color: var(--color-gold);
  margin-bottom: 5rem;
  font-style: italic;
}

.story-timeline {
  max-width: 900px;
  margin: 0 auto;
}

.story-item {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 5rem;
}

.story-item.reverse {
  flex-direction: row-reverse;
}

.story-img-wrapper {
  flex: 1 1 40%;
}

.story-img-wrapper img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  border: 3px solid var(--color-gold);
  transition: transform 0.3s ease;
}

.story-img-wrapper img:hover {
  transform: scale(1.02);
}

.story-content {
  flex: 1 1 60%;
}

.story-content h3 {
  font-size: 2.4rem;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.story-content p {
  font-size: 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
  opacity: 0.9;
}

/* ============================================
   WEDDING EVENT SECTION
   ============================================ */
.bg-event {
  padding: var(--section-padding) var(--container-padding);
  background: linear-gradient(135deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
}

.section-title {
  font-size: 5rem;
  font-family: var(--font-secondary);
  color: var(--color-warning);
  margin-bottom: 4rem;
  font-weight: 300;
}

.section-title span {
  font-family: var(--font-primary);
  font-size: 4rem;
  font-weight: 700;
}

.event-card {
  display: flex;
  gap: 2rem;
  margin-bottom: 5rem;
  background: var(--bg-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.event-card.reverse {
  flex-direction: row-reverse;
}

.event-img-slider {
  flex: 1 1 50%;
  overflow: hidden;
}

.slider-container {
  display: flex;
  height: 100%;
  animation: slideShow 16s infinite;
}

.slider-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes slideShow {
  0%, 25% { transform: translateX(0); }
  33%, 58% { transform: translateX(-100%); }
  66%, 91% { transform: translateX(-200%); }
  100% { transform: translateX(0); }
}

.event-details {
  flex: 1 1 50%;
  padding: 3rem;
  display: flex;
  flex-direction: column;
}

.event-header h3 {
  font-size: 3.5rem;
  font-family: var(--font-special);
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.event-body {
  flex: 1;
}

.event-date {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.date-number {
  font-size: 8rem;
  font-family: var(--font-decorative);
  color: var(--color-gold);
  line-height: 1;
}

.date-text {
  display: flex;
  flex-direction: column;
}

.date-text span {
  font-size: 1.8rem;
  color: var(--text-light);
  line-height: 1.4;
}

.event-time {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-gold);
}

.event-time p {
  font-size: 1.6rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.event-time i {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
}

.event-location h5 {
  font-size: 1.6rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.event-location p {
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-maps {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2rem;
  background: transparent;
  color: var(--color-gold);
  font-size: 1.4rem;
  text-decoration: none;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.btn-maps:hover {
  background: var(--color-gold);
  color: var(--bg-dark);
}

.btn-maps i {
  width: 18px;
  height: 18px;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
  padding: var(--section-padding) var(--container-padding);
  background: var(--bg-dark);
}

.gallery h2 {
  font-size: 5rem;
  font-family: var(--font-secondary);
  color: var(--color-gold);
  margin-bottom: 4rem;
  font-weight: 300;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-default);
  transition: transform 0.3s ease;
}

.gallery-grid a:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.1);
}

/* ============================================
   GIFT SECTION
   ============================================ */
.gift-section {
  padding: var(--section-padding) var(--container-padding);
  background: linear-gradient(to bottom, var(--bg-medium), var(--bg-dark));
  text-align: center;
}

.gift-section h2 {
  font-size: 5rem;
  font-family: var(--font-special);
  color: var(--color-gold);
  margin-bottom: 2rem;
  font-style: italic;
}

.gift-section > .container > p {
  font-size: 1.6rem;
  color: var(--text-light);
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.gift-toggle {
  margin-bottom: 3rem;
}

.btn-gift-toggle {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 3rem;
  background: var(--color-primary);
  color: var(--text-light);
  font-size: 1.6rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-default);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.btn-gift-toggle:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.gift-cards-container {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gift-cards-container.show {
  display: grid;
  opacity: 1;
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gift-card {
  background: linear-gradient(135deg, #e0e0e0 0%, #ffffff 100%);
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-strong);
  transition: transform 0.3s ease;
}

.gift-card:hover {
  transform: translateY(-5px);
}

.gift-card-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
}

.bank-logo {
  height: 25px;
  width: auto;
}

.gift-card-body {
  text-align: left;
}

.chip-icon {
  width: 40px;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.gift-card h5 {
  font-size: 2.4rem;
  font-family: 'Courier New', monospace;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.gift-card p {
  font-size: 1.4rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.address-card {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
}

.address-card .gift-card-body {
  text-align: center;
}

.address-card i {
  font-size: 3rem;
  color: var(--bg-dark);
  margin-bottom: 1.5rem;
}

.address-card h4 {
  font-size: 1.6rem;
  color: var(--bg-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

.address-card p {
  font-size: 1.4rem;
  color: var(--text-dark);
  line-height: 1.8;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  background: var(--bg-dark);
  color: var(--text-light);
  font-size: 1.2rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-copy:hover {
  background: var(--text-dark);
}

.address-card .btn-copy {
  background: var(--bg-medium);
  color: var(--text-light);
}

/* ============================================
   RSVP SECTION
   ============================================ */
.rsvp {
  padding: var(--section-padding) var(--container-padding);
  background: var(--bg-medium);
}

.rsvp .row {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.rsvp-img-wrapper {
  flex: 1 1 40rem;
}

.rsvp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
}

.rsvp-form-wrapper {
  flex: 1 1 45rem;
}

.rsvp-form-wrapper h3 {
  font-size: 3rem;
  color: var(--color-gold);
  margin-bottom: 3rem;
  text-align: center;
}

#rsvpForm {
  margin-bottom: 4rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.5rem;
  font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-family: var(--font-primary);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  padding: 1.5rem;
  background: var(--color-primary);
  color: var(--text-light);
  font-size: 1.6rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.btn-submit:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.messages-container {
  margin-top: 3rem;
}

.messages-container h4 {
  font-size: 2rem;
  color: var(--color-gold);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-gold);
}

.message-list {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 1rem;
}

.message-list::-webkit-scrollbar {
  width: 5px;
}

.message-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.message-list::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 10px;
}

.message-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--color-gold);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.message-card h5 {
  font-size: var(--card-name-size);
  color: var(--card-name-color);
  margin-bottom: 0.3rem;
}

.message-relation {
  display: block;
  font-size: var(--card-status-size);
  color: var(--card-status-color);
  margin-bottom: 1rem;
}

.message-card p {
  font-size: var(--card-msg-size);
  color: var(--card-msg-color);
  line-height: 1.6;
}

.message-empty {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  font-size: 1.4rem;
}

/* ============================================
   CLOSING SECTION
   ============================================ */
.closing {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
              url('../images/popup.JPG') center/cover no-repeat;
  position: relative;
  text-align: center;
}

.closing-content {
  max-width: 800px;
  padding: 4rem;
  color: var(--text-light);
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.closing-content h1 {
  font-size: 5rem;
  font-family: var(--font-secondary);
  margin-bottom: 3rem;
  font-weight: 700;
}

.closing-content p {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 4rem;
}

.closing-couple p {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.closing-couple h3 {
  font-size: 4rem;
  font-family: var(--font-decorative);
}

.closing-couple h3 span {
  color: var(--color-warning);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--bg-dark);
  padding: 3rem 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
}

.footer-logo span {
  font-size: 2rem;
  font-family: var(--font-secondary);
  color: var(--color-gold);
}

.footer-text p {
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-text a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-text a:hover {
  color: var(--color-primary-light);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
  html {
    font-size: 56.25%; /* 1rem = 9px */
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .story-item,
  .story-item.reverse {
    flex-direction: column;
    text-align: center;
  }
  
  .story-img-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Mobile Landscape */
@media (max-width: 768px) {
  html {
    font-size: 50%; /* 1rem = 8px */
  }
  
  :root {
    --section-padding: 5rem;
    --container-padding: 5%;
  }
  
  .hero-content h1 {
    font-size: 4.5rem;
  }
  
  .hero .waktu h5 {
    font-size: 2.5rem;
  }
  
  .hero .waktu {
    min-width: 70px;
  }
  
  .quran .row,
  .about .row,
  .about2 .row,
  .rsvp .row {
    text-align: center;
  }
  
  .about2 .about2-img {
    order: 0;
    text-align: center;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .event-card,
  .event-card.reverse {
    flex-direction: column;
  }
  
  .event-img-slider {
    min-height: 250px;
  }
  
  .gift-cards-container.show {
    grid-template-columns: 1fr;
  }
}

/* Mobile Portrait */
@media (max-width: 480px) {
  .hero-content h4 {
    font-size: 1.6rem;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
  }
  
  .hero .countdown {
    gap: 1.5rem;
  }
  
  .hero .waktu h5 {
    font-size: 2rem;
  }
  
  .hero .waktu p {
    font-size: 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .closing-content h1 {
    font-size: 3.5rem;
  }
  
  .closing-content p {
    font-size: 1.4rem;
  }
  
  .closing-couple h3 {
    font-size: 3rem;
  }
  
  #logo {
    bottom: 2rem;
    right: 2rem;
  }
  
  #logo img {
    width: 40px;
    height: 40px;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  #logo,
  #loading-screen,
  #cover-screen,
  .scroll-indicator,
  .btn-instagram,
  .btn-maps,
  .btn-gift-toggle,
  .btn-copy,
  .btn-submit,
  footer {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .hero,
  .closing {
    min-height: auto;
    page-break-after: always;
  }
}