/* Reset margin dan padding untuk body */
body {
    
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: linear-gradient(to bottom, #FAF6F0, #FFFFFF);
    font-family: 'Open Sans', sans-serif;
}
body.locked {
  overflow: hidden; /* Lock scroll */}
#desktop-warning {
  background-color: #ffffff;
  color: #b00020;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  font-family: 'Cormorant Garamond', cursive;
}



/* Mobile content */
#mobile-content {
    position: relative;
    background-image: url('../img/1a.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
    transition: all 0.8s ease;
}

@keyframes fadeZoomIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

#mobile-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
    linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(214, 90, 90, 0)), 
    url('../img/cover.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;

}

#mobile-content > * {
    z-index: 2;
}

.hero-nama h4 {
  text-align: center;
  margin-top: 1rem;
  line-height: 1.4;
}

.hero-nama .baris-1 {
  font-family: 'Play fair', serif;
  font-size: 17px;
  font-weight: 400;
  animation-delay: 0.2s;
  padding-bottom: 2px;
}

.hero-nama .baris-2{
  font-family: 'Play fair', serif;
  font-weight: 100;
  font-size: 17px;
}
.hero-nama .baris-3 {
  font-family: 'Cormorant Garamond', cursive;
  font-weight: 100;
  font-size: 18px;
}

.hero-nama .baris-2 {
  font-size: 24px;
  animation-delay: 0.4s;
}

.hero-nama .baris-3 {
  font-size: 36px;
  font-weight: bold;
  animation-delay: 0.6s;
}

.hero-nama h4 div {
  opacity: 0;
  animation: fadeSlideUp 1s ease-out forwards;
  display: block;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Hero section */
.hero h1 {
    margin-top: 10%;
    color: rgb(255, 255, 255);
    font-size: 1rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: 3px;
    

}

.hero h2 {
    padding: 10px;
    font-family: 'Cormorant', cursive;
    
    font-size: 3rem;
    margin-right: 20px;
    animation: fadeZoomIn 3s ease-out forwards;
}

.hero span {
    font-size: 1.5rem;
    animation: fadeZoomIn 1s ease-out forwards;
}

.hero h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-style: normal;
}

.scroll-btn {
    margin-top: 5rem;
    padding: 6px 14px;
    font-size: 16px;
    border: none;
    background-color: #ffffff;
    color: black; 
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Sacramento', cursive;
    z-index: 10;
}

.scroll-btn:hover {
    background-color: #af3535;
    color: #fff;
   
}

#home {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(214, 90, 90, 0)),
              url(../img/4aa.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100vh;
  color: white;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.center-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 2rem;
  transform: translateY(-20px); /* Naik sedikit dari tengah */
}

/* "The Wedding Of" */
.center-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  letter-spacing: 3px;
  text-shadow: 2px 2px 4px rgba(168, 83, 83, 0.5);
  margin: 0;
}

/* Inisial */
.inisial-pasangan {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.inisial-pasangan h3,
.inisial-pasangan h4 {
  font-size: 6rem;
  font-family: 'Cormorant', cursive;
  color: white;
  text-shadow: 2px 2px 4px rgba(202, 22, 22, 0.5);
  margin: 0;
}

/* Foto Arch */
.photo-arch1 {
  width: 150px;
  height: 200px;
  background: white;
  border-radius: 150px 150px 20px 20px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(139, 0, 0, 0.5);
  border: 2px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-arch1 img {
  width: 100%;
  height: 120%;
  object-fit: cover;
}

/* Intro text */
#intro-txt {
  font-family: 'Sacramento', cursive;
  font-size: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  margin-top: 1rem;
  max-width: 80%;
}

/* Countdown */
#countdown-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.countdown-box {
  text-align: center;
}

.countdown-box span {
  display: block;
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
}

.countdown-box small {
  font-size: 16px;
  color: #ccc;
}

.countdown-divider {
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #b48a78, #d2b48c, #b48a78);
  margin-top: 10px;
  border-radius: 2px;
}

.separator {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
}

.dalil {
    padding: 40px 15px;
    background: #fefefe; /* Putih soft */
  }
  
  .dalil blockquote {
    max-width: 90%;
    margin: 0 auto;
    padding: 30px 20px;
    background-image: url(../img/bg.jpg);
    background-size: cover;
    border-left: 4px solid #800000; /* Merah maroon */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    font-style: italic;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    position: relative;
  }
  
  .dalil .icon-quote {
    position: absolute;
    top: -20px;
    left: 20px;
    background: #800000; /* Merah maroon */
    color: white;
    padding: 10px;
    border-radius: 20%;
    font-size: 20px;
  }
  
  .dalil blockquote p {
    margin-top: 20px;
    font-family: 'Poppins', sans-serif;
  }
  
  .dalil blockquote h2 {
    margin-top: 15px;
    text-align: right;
    font-size: 16px;
    color: #666;
    font-weight: 500;
  }
  
  
.photo-arch {
    width: 250px;
    height: 350px;
    margin: 0 auto;
    background: white;
    border-radius: 150px 150px 20px 20px; /* Setengah lingkaran atas */
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(139, 0, 0, 0.5);
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .photo-arch img {
    width: 120%;
    height: 120%;
    object-fit: cover;
  }
  
  
.acara-section {
    padding: 2rem 1rem;
    background-color: #f5f1f0;
  }
  
  .acara-card {
    background-image: url(../img/bg22.jpg);
    background-size: cover;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 2.5rem;
  
    text-align: center;
  }
  
  .judul-acara {
    font-family: 'sacramento', serif;
    font-size: 1.5rem;
    color: #800000;
    padding-top: 5%;
    padding-bottom: 5%;
    letter-spacing: 5px;
    text-shadow: 2px 2px 4px rgba(116, 27, 27, 0.5);

  }
  
  .foto-acara {
    width: 70%;
    display: block;
    border-bottom: 1px solid #eee;
    margin: 10%;
  }
  
  .info-acara {
    padding: 1.5rem;
  }
  
  .info-acara .tanggal {
    font-family: 'Work Sans', sans-serif;
    font-weight: bold;
    color: #444;
    margin-bottom: 1rem;
  }
  
  .info-acara p {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.95rem;
    color: #333;
    margin: 0.3rem 0;
  }
  .info-acara h1{
    font-weight: bold;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 1rem;
  }
  
  .btn-gmaps {
    display: inline-block;
    margin-top: 1rem;
    padding: 10px 16px;
    background-color: #800000;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    font-family: 'Poppins', sans-serif;
  }
  
  .btn-gmaps:hover {
    background-color: #a00000;
  }
  .gallery {
    padding: 40px 20px;
    text-align: center;
    background-image: url(../img/bg.jpg);
    background-size: cover;
  }
  
  .gallery h2 {
    grid-column: 1/-1;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #800000;
    font-family: 'great vibes', serif;
    text-shadow: 2px 2px 4px rgba(116, 27, 27, 0.5);
  }
  
  .gallery img {
    width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  }
  
  .gallery img:hover {
    transform: scale(1.05);
  }
  
  .gallery {
    display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 kolom */
  gap: 10px;
  padding: 20px;

  }
  
  .audio-icon-wrapper {
      position: fixed;
      bottom: 70px;
      right: 10px;
      background-color: transparent;
      border-radius: 50%;
      padding: 10px;
      z-index: 9999;
      cursor: pointer;
      transition: transform 0.3s ease;
    }
    
    .audio-icon-wrapper i {
      font-size: 24px;
      color: #4e8df6;
    }
    
    .audio-playing i {
      animation: spin 2s linear infinite;
      color: #f39c12; /* warna kuning pas nyala */
    }
    #audio-toggle.hidden {
      display: none;
    }
    
    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    
   /* CSS: kirim-hadiah.css */
.rekening {
  padding: 4rem 1rem;
  background-image: url(../img/bg22.jpg);
  background-size: cover;
}

.rekening h2 {
  text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #800000;
    font-family: 'great vibes', serif;
    text-shadow: 2px 2px 4px rgba(116, 27, 27, 0.5);
    letter-spacing: 5px;
}

.rekening-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.rekening-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  border-radius: 1.5rem;
  background-color: #ffffff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.rekening-box:hover {
  transform: translateY(-4px);
}

.rekening-logo {
  max-width: 100px;
  height: auto;
  margin-bottom: 1rem;
}

.rekening-nomor,
.rekening-nama {
  font-size: 1rem;
  margin: 0.25rem 0;
  color: #333;
  word-break: break-word;
}

.copy-btn {
  margin-top: 1rem;
  padding: 0.5rem 1.5rem;
  background-color: #800000;
  color: white;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.copy-btn:hover {
  background-color: #e4303f;
}

.bottom-navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 0;
  border-top: 1px solid #e4303f;
  z-index: 1000;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
}

.bottom-navbar .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  color: #444;
  text-decoration: none;
}

.bottom-navbar .nav-item i {
  font-size: 18px;
  margin-bottom: 2px;
}

.bottom-navbar .nav-item:hover {
  color: #1E3A8A;
}


@media (min-width: 768px) {

  .rekening-wrapper {
    flex-direction: row;
    justify-content: center;
  }

  .rekening-box {
    width: 100%;
    max-width: 280px;
  }
}


    .gallery-grid img:hover {
        transform: scale(1.05);
        transition: transform 0.3s ease;
    }
    
    /* Tambahan kecil agar gambar di gallery smooth */
    .gallery img {
        transition: transform 0.3s ease;
    }
    
    .rsvp {
          background-color: #fff5f8;
          padding: 40px;
          border-radius: 12px;
          box-shadow: 0 8px 20px rgba(128, 0, 0, 0.1);
          max-width: 700px;
          margin: 50px auto;
          color: #4a1c1c;
        }
        
        .rsvp h2 {
          text-align: center;
          font-size: 2rem;
          margin-bottom: 20px;
          color: #800000;
          font-family: 'great vibes', cursive;
          text-shadow: 2px 2px 4px rgba(116, 27, 27, 0.5);
          letter-spacing: 4px;
        }
        
        
        #commentForm {
          display: flex;
          flex-direction: column;
          gap: 15px;
          margin-bottom: 30px;
        }
        
        #commentForm input[type="text"],
        #commentForm textarea {
          padding: 12px;
          border: 1px solid #d4a5a5;
          border-radius: 8px;
          font-size: 1em;
          background-color: #fff;
          color: #4a1c1c;
          transition: border 0.3s ease;
        }
        
        #commentForm input[type="text"]:focus,
        #commentForm textarea:focus {
          border-color: #800000;
          outline: none;
        }
        
        #commentForm textarea {
          min-height: 100px;
          resize: vertical;
        }
        
        #commentForm button {
          background-color: #800000;
          color: #fff;
          padding: 12px;
          border: none;
          border-radius: 8px;
          font-size: 1em;
          cursor: pointer;
          transition: background-color 0.3s ease;
        }
        
        #commentForm button:hover {
          background-color: #a00000;
        }
        
        #commentsContainer {
          background-color: #fff;
          border: 1px solid #f0caca;
          border-radius: 10px;
          padding: 20px;
          box-shadow: 0 4px 12px rgba(128, 0, 0, 0.05);
        }
        
        .comment {
          margin-bottom: 20px;
          padding-bottom: 15px;
          border-bottom: 1px dashed #dcb6b6;
        }
        
        .comment strong {
          color: #800000;
          font-size: 1.05em;
        }
        
        .comment time {
          display: block;
          font-size: 0.85em;
          color: #888;
          margin-bottom: 5px;
        }
        
        .comment p {
          margin: 0;
          line-height: 1.6;
        }
        #branding {
          text-align: center;
          margin-top: 30px;
          margin-bottom: 80px;
          
        }
        
        #branding a {
          text-decoration: none;
          color: green;
          font-weight: bold;
          font-size: 1.2rem;
          transition: color 0.3s;
        }
        
        #branding a:hover {
          color: darkgreen;
        }
        #branding h1{
          justify-content: center;
          text-align: center;
          font-size: 12px;
        }
        