@import url('https://fonts.googleapis.com/css2?family=Elsie:wght@400;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400..700&display=swap');

/* --- Floating Music Button --- */
.floating-music-btn {
  position: fixed;
  bottom: 120px;
  right: 30px;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.floating-music-btn.show {
  opacity: 1;
  visibility: visible;
}

.music-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37 0%, #b69c04 100%);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.music-btn i {
  margin-top: 5px;
  transition: transform 0.3s ease;
}

.music-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
}

.music-btn:active {
  transform: scale(0.95);
}

.floating-music-btn.playing .music-btn {
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
  }
  50% {
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.6);
  }
}

@media (max-width: 768px) {
  .floating-music-btn {
    bottom: 90px;
    right: 20px;
  }

  .music-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .floating-music-btn {
    bottom: 80px;
    right: 15px;
  }

  .music-btn {
    width: 45px;
    height: 45px;
    font-size: 1rem;
    box-shadow: 0 2px 12px rgba(212, 175, 55, 0.3);
  }

  .music-btn:hover {
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
  }
}

body{
    font-size: 1.2rem;
    font-family: 'El Messiri', sans-serif;
    min-height: 4000px;
}
.hero{
    min-height: 110vh;
    padding-top: 50px;
    padding-bottom: 50px;
    background-image: url('../assets/hero-bgg.jpeg');
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    position: relative;
}

.hero::before{
    content: '';
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.hero main {
    position: relative;
    z-index: 1;
}
.hero .line-border{
    width: 400px;
    height: 3px;
    background-color: white;
    margin: 20px 0;
    margin-left: auto;
    margin-right: auto;
}
.hero img{
    width: 100px;
    margin-bottom: 30px;
}
.hero h1{
    font-family: 'Elsie', serif;
    color: #fff;
    font-size: 6rem;
    margin-top: 0;
}
.hero h4{
    font-size: 1.1rem;
}
.hero p {
    font-size: 1rem;
    font-style: italic;
}
.hero .guest-invite {
  background: rgba(0,0,0,0.6);
  border-top: 3px solid #fff;
  border-bottom: 3px solid #fff;
  border-radius: 16px;
  padding: 24px 18px;
  margin: 24px auto;
  width: 500px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}

.hero .guest-invite a{
    background-color: #fff;
    color: #000;
    transition: all 0.2s ease;
}
.hero .guest-invite a:hover{
    background-color: gold;
    color: #fff;
}
.hero h1, .hero h4, .hero p {
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.931);
}

.mynavbar{
    background-color: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(4px);
}
.mynavbar .offcanvas{
    height: 100vh;
}

.navbar-brand,
.mynavbar .offcanvas-title {
    font-family: 'Elsie', serif;
    color: grey;
    font-size: 3rem;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.395);
}
.mynavbar .nav-link {
    font-family: 'El Messiri', sans-serif;
    color: grey;
    font-size: 1.2rem;
    text-transform: uppercase;
}

/* Floating Navbar */
.floating-navbar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(182, 156, 4, 0.3);
    border-radius: 50px;
    padding: 15px 30px;
    z-index: 999;
    box-shadow: 0 8px 32px rgba(182, 156, 4, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.floating-navbar.show {
    opacity: 1;
    visibility: visible;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar-brand-floating {
    font-family: 'Elsie', serif;
    color: gold;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand-floating:hover {
    color: #fff;
    transform: scale(1.1);
}

.navbar-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-item {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: gold;
    transition: width 0.3s ease;
}

.nav-item:hover {
    color: gold;
}

.nav-item:hover::after {
    width: 100%;
}

/* Guest Name in Navbar */
.guest-name-navbar {
    display: flex;
    align-items: center;
    gap: 8px;
    color: gold;
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(182, 156, 4, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(182, 156, 4, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
}

.guest-name-navbar i {
    font-size: 1.2rem;
}

.guest-name-navbar span {
    font-size: 0.85rem;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Floating Navbar Responsive Design */

/* Desktop besar (1921px+) */
@media (min-width: 1921px) {
  .floating-navbar {
    bottom: 40px;
    padding: 14px 30px;
  }

  .navbar-container {
    gap: 45px;
  }

  .navbar-brand-floating {
    font-size: 1.8rem;
  }

  .nav-item {
    font-size: 0.95rem;
  }

  .guest-name-navbar {
    padding: 10px 20px;
  }

  .guest-name-navbar span {
    max-width: 180px;
  }
}

/* Laptop besar (1440px - 1920px) */
@media (min-width: 1440px) and (max-width: 1920px) {
  .floating-navbar {
    bottom: 35px;
    padding: 12px 28px;
  }

  .navbar-container {
    gap: 38px;
  }

  .navbar-brand-floating {
    font-size: 1.6rem;
  }

  .nav-item {
    font-size: 0.9rem;
  }

  .guest-name-navbar {
    padding: 8px 16px;
  }

  .guest-name-navbar span {
    max-width: 160px;
  }
}

/* Laptop (992px - 1439px) */
@media (min-width: 992px) and (max-width: 1439px) {
  .floating-navbar {
    bottom: 30px;
    padding: 11px 24px;
  }

  .navbar-container {
    gap: 28px;
  }

  .navbar-brand-floating {
    font-size: 1.4rem;
  }

  .nav-item {
    font-size: 0.85rem;
    padding: 6px 10px;
  }

  .guest-name-navbar {
    padding: 7px 14px;
    font-size: 0.85rem;
  }

  .guest-name-navbar span {
    max-width: 130px;
  }

  .guest-name-navbar i {
    font-size: 1rem;
  }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .floating-navbar {
    bottom: 20px;
    left: 15px;
    right: 15px;
    width: auto;
    transform: none;
    padding: 10px 18px;
    border-radius: 40px;
  }

  .navbar-container {
    gap: 18px;
  }

  .navbar-brand-floating {
    font-size: 1.2rem;
  }

  .navbar-menu {
    gap: 14px;
  }

  .nav-item {
    font-size: 0.75rem;
    padding: 5px 8px;
  }

  .guest-name-navbar {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .guest-name-navbar span {
    max-width: 110px;
  }

  .guest-name-navbar i {
    font-size: 0.95rem;
  }
}

/* Mobile besar (577px - 767px) */
@media (min-width: 577px) and (max-width: 767px) {
  .floating-navbar {
    bottom: 15px;
    left: 12px;
    right: 12px;
    width: auto;
    transform: none;
    padding: 9px 14px;
    border-radius: 35px;
  }

  .navbar-container {
    gap: 12px;
  }

  .navbar-brand-floating {
    font-size: 1rem;
  }

  .navbar-menu {
    gap: 10px;
  }

  .nav-item {
    font-size: 0.7rem;
    padding: 4px 6px;
  }

  .guest-name-navbar {
    padding: 5px 10px;
    font-size: 0.75rem;
  }

  .guest-name-navbar span {
    max-width: 90px;
  }

  .guest-name-navbar i {
    font-size: 0.9rem;
  }
}

/* Mobile kecil (≤576px) */
@media (max-width: 576px) {
  .floating-navbar {
    bottom: 10px;
    left: 8px;
    right: 8px;
    width: auto;
    transform: none;
    padding: 8px 10px;
    border-radius: 30px;
  }

  .navbar-container {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .navbar-brand-floating {
    font-size: 0.95rem;
  }

  .navbar-menu {
    gap: 6px;
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .nav-item {
    font-size: 1rem;
    padding: 3px 5px;
  }

  .guest-name-navbar {
    padding: 4px 8px;
    font-size: 0.7rem;
    order: 2;
  }

  .guest-name-navbar span {
    max-width: 70px;
    font-size: 0.65rem;
  }

  .guest-name-navbar i {
    font-size: 0.8rem;
  }
}

.home{
    background-image: url('../assets/bg-about.png');
    background-size: cover;
    min-height: 70vh;
}
.home::before{
    content: '';
    position: absolute;
    top: 100%; 
    left: 0;

    background: rgba(255, 255, 255, 0.8);
    z-index: 1;
}
.home .title-couple h2 {
    font-family: 'Elsie', serif;
    color: rgb(182, 156, 4);
    font-size: 1.7rem;
    font-weight: 500;
    margin-top: 100px;
    margin-bottom: 0.5em;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.05);
}
.home .title-couple h3 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.5em;
    color: rgb(149, 148, 148);
}
.home .couple{
    margin-top: 80px;
}
.home .couple h3{
    font-family: 'Elsie', serif;
    color: #0a0a0a;
    font-size: 2.4rem;
}
.home .couple img{
    width: 100%;
}
.home .couple .heart-icon{
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(65px);
}
.home .couple .heart-icon i{
    margin: 15px auto;
}
.home .couple .ket{
    font-size: 1.4rem;
    color: rgb(79, 79, 79);
}
.home .couple .description{
    margin-top: 10px;
}

.banner{
    min-height: 400px; 
    position:relative; 
    background-image: url('../assets/mekkah.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(80%);
}
.banner .overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    background:rgba(0,0,0,0.25);
    z-index: 1;
}
.banner h2, .banner p{
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.banner h2{
    font-family: 'Elsie', serif;
    font-size: 1.7rem;
}
.banner p{
    font-size: 1.2rem;
    margin-top: 10px;
}
.info{
    background-color: #0a0a0a;
    color: #fff;
    padding-top: 10rem;
    padding-bottom: 8rem;
}
.info .ket-det{
    font-size: 1.9rem;
}   
.info h4{
    font-size: 1.5rem;
}
.info h3{
    font-family: 'Elsie', serif;
    font-size: 2.8rem;
    margin-bottom: 0.5em;
    color: rgb(235, 214, 23);
}
.info .desc i{
    color: rgb(153, 138, 4);
    margin-right: 8px;
}
#countdown-boxes .box {
    min-width: 150px !important;
    max-width: 150px;
    width: 150px;
    padding: 24px 0 !important;
    font-size: 1.2rem;
    font-weight: 6000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-top: 4px solid rgb(235, 214, 23);
    border-bottom: 4px solid rgb(235, 214, 23);
}
#countdown-boxes .box span:first-child {
    font-size: 3.5rem !important;
    font-weight: bold;
    line-height: 1.1;
}
#countdown-boxes .box span:last-child {
    font-size: 1.2rem !important;
    font-weight: 400;
    margin-top: 6px;
    letter-spacing: 1px;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
    padding: 0 20px;
    max-width: 1000px;
}
.divider .line {
    flex: 1;
    height: 3px;
    background: #daa520;
}
.divider .icon {
    margin: 0 20px;
    font-size: 2rem;
    color: #daa520;
    flex-shrink: 0;
}

/* Divider Responsive Design */

/* Desktop besar (1921px+) */
@media (min-width: 1921px) {
  .divider {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
  }
  .divider .line {
    height: 4px;
  }
  .divider .icon {
    margin: 0 30px;
    font-size: 2.5rem;
  }
}

/* Laptop besar (1440px - 1920px) */
@media (min-width: 1440px) and (max-width: 1920px) {
  .divider {
    margin-left: auto;
    margin-right: auto;
    max-width: 1100px;
  }
  .divider .line {
    height: 3px;
  }
  .divider .icon {
    margin: 0 25px;
    font-size: 2.2rem;
  }
}

/* Laptop (992px - 1439px) */
@media (min-width: 992px) and (max-width: 1439px) {
  .divider {
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
  }
  .divider .line {
    height: 3px;
  }
  .divider .icon {
    margin: 0 20px;
    font-size: 2rem;
  }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .divider {
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
    padding: 0 20px;
  }
  .divider .line {
    height: 2px;
  }
  .divider .icon {
    margin: 0 15px;
    font-size: 1.8rem;
  }
}

/* Mobile besar (577px - 767px) */
@media (min-width: 577px) and (max-width: 767px) {
  .divider {
   margin-left: auto;
    margin-right: auto;
    max-width: 600px;
    padding: 0 15px;
  }
  .divider .line {
    height: 2px;
  }
  .divider .icon {
    margin: 0 12px;
    font-size: 1.5rem;
  }
}

/* Mobile kecil (≤576px) */
@media (max-width: 576px) {
  .divider {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    padding: 0 10px;
  }
  .divider .line {
    height: 2px;
  }
  .divider .icon {
    margin: 0 10px;
    font-size: 1.3rem;
  }
}
/* Media Queries */

/* Desktop besar (4K, >1920px) */
@media (min-width: 1921px) {
  html { font-size: 120%; }
  .hero h1 { font-size: 8rem; }
  .hero .line-border { width: 600px; }
  .hero .guest-invite { width: 600px; }
}

/* Laptop besar (1440px - 1920px) */
@media (min-width: 1440px) and (max-width: 1920px) {
  html { font-size: 100%; }
  .hero h1 { font-size: 6rem; }
  .hero .line-border { width: 400px; }
  .hero .guest-invite { width: 500px; }

}

/* Laptop (992px - 1439px) */
@media (min-width: 992px) and (max-width: 1439px) {
  html { font-size: 90%; }
  .hero h1 { font-size: 4.5rem; }
  .hero .line-border { width: 300px; }
  .hero .guest-invite { width: 400px; }
  .home .heart-icon{
    transform: translateX(-50%) translateY(45px);
  }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  html { font-size: 75%; }
  .hero h1 { font-size: 4.9rem; }
  .hero h4 { font-size: 1.4rem; }
  .hero h3 { font-size: 2.7rem; }
  .hero p { font-size: 1.2rem; }
  .hero .line-border { width: 500px; }
  .hero .guest-invite { width: 70vw; }
  .hero img { width: 200px; }
  .hero {
    min-height: 100vh;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .home{
    margin-top: 0;
    padding-bottom: 40px;
    }
    .home .couple .heart-icon{
        display: none;
    }
    .home .couple .description{
        margin-top: 40px;
    }
    #countdown-boxes .box {
          min-width: 90px !important;
          max-width: 90px;
          width: 90px;
          padding: 14px 0 !important;
        }
        #countdown-boxes .box span:first-child {
          font-size: 2.1rem !important;
        }
        #countdown-boxes .box span:last-child {
          font-size: 0.9rem !important;
        }
    .sticky-top{
        overflow: hidden;
    }
}

/* Mobile besar (577px - 767px) */
@media (min-width: 577px) and (max-width: 767px) {
  html { font-size: 65%; }
  .hero h1 { font-size: 5rem; }
  .hero h4 { font-size: 1.4rem; }
  .hero h3 { font-size: 2.7rem; }
  .hero p { font-size: 1.2rem; }
  .hero .line-border { width: 450px; }
  .hero .guest-invite { width: 60vw; padding: 20px 6vw; }
  .hero img { width: 150px; }
  .hero {
    min-height: 100vh;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .mynavbar .nav-link {
        font-size: 2rem;
        text-align: center;
    }
    .home .couple .heart-icon{
        display: none;
    }
    .home .couple .description{
        margin-top: 30px;
    }
    .home {
        margin-top: 0;
    }
    .banner{
        min-height: 200px;
    }
    .banner h2{
        font-size: 1.5rem;
    }
     .banner p{
        font-size: 1rem;
     }
     .sticky-top{
        overflow: hidden;
    }
}

/* Mobile kecil (<=576px) */
@media (max-width: 576px) {
  html { font-size: 60%; }
  body{
    overflow-x: hidden;
  }
  .hero h1 { font-size: 4rem; }
  .hero h4 { font-size: 1.4rem; }
  .hero h3 { font-size: 2rem; }
  .hero .line-border { width: 300px; }
  .hero .guest-invite { width: 85vw; padding: 15px 2vw; }
  .hero img { width: 80px; }
  .hero {
    min-height: 123vh;
    padding-bottom: 20px;
  }

  .hero::before{
    height: 100%;
  }
  .home{
    margin-top: 0;
    padding-top: 20px;
    min-height: 60vh;
  }
  .home .title-couple h2{
    margin-top: 40px;
  }
  .home .couple .heart-icon{
        display: none;
  }
  .banner{
        min-height: 200px;
    }
  .banner h2{
        font-size: 1.3rem;
    }
     .banner p{
        font-size: 1.1rem;
     }
  .home .couple{
    margin-top: 35px;
  }
}

/* Event Card Styling */
.card-event {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-event:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.card-event-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.card-event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-event-content {
  padding: 20px;
  text-align: center;
}
.card-event-content h4 {
  font-family: 'Elsie', serif;
  color: #0a0a0a;
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.card-event-content p {
  font-size: 1rem;
  color: rgb(79, 79, 79);
  margin: 6px 0;
}
.divider-card {
  width: 50px;
  height: 3px;
  background: gold;
  margin: 10px auto;
}

.btn-map {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 20px;
  background: gold;
  color: #000;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
.btn-map:hover {
  background: #daa520;
  color: #fff;
}
.btn-map i {
  margin-right: 6px;
}

@media (max-width: 768px) {
  .card-event {
    margin-bottom: 20px;
  }
  .card-event-content h4 {
    font-size: 1.4rem;
  }
}

/* Gallery Section Styling */
.gallery {
  padding: 10px 20px;
  margin-top: 10px;
}

.gallery h4 {
  color: #daa520;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.gallery h3 {
  font-family: 'Elsie', serif;
  color: #0a0a0a;
  font-size: 3rem;
  margin-bottom: 50px;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  background: #1a1a1a;
  min-height: 280px;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(182, 156, 4, 0.3);
}

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

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

/* Gallery Responsive Design */

/* Desktop besar (1921px+) */
@media (min-width: 1921px) {
  .gallery {
    padding: 80px 40px;
  }

  .gallery h3 {
    font-size: 3.5rem;
    margin-bottom: 60px;
  }

  .gallery-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 40px;
  }

  .gallery-item {
    min-height: 320px;
  }
}

/* Laptop besar (1440px - 1920px) */
@media (min-width: 1440px) and (max-width: 1920px) {
  .gallery {
    padding: 70px 30px;
  }

  .gallery h3 {
    font-size: 3rem;
    margin-bottom: 50px;
  }

  .gallery-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 0 30px;
  }

  .gallery-item {
    min-height: 300px;
  }
}

/* Laptop (992px - 1439px) */
@media (min-width: 992px) and (max-width: 1439px) {
  .gallery {
    padding: 50px 20px;
  }

  .gallery h3 {
    font-size: 2.4rem;
    margin-bottom: 40px;
  }

  .gallery h4 {
    font-size: 0.95rem;
  }

  .gallery-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 0 15px;
  }

  .gallery-item {
    min-height: 250px;
  }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .gallery {
    padding: 40px 15px;
    margin-top: 40px;
  }

  .gallery h3 {
    font-size: 3.8rem;
    margin-bottom: 35px;
  }

  .gallery h4 {
    font-size: 2.2rem;
  }

  .gallery-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 10px;
  }

  .gallery-item {
    min-height: 220px;
  }
}

/* Mobile besar (577px - 767px) */
@media (min-width: 577px) and (max-width: 767px) {
  .gallery {
    padding: 35px 12px;
    margin-top: 30px;
  }

  .gallery h3 {
    font-size: 3.4rem;
    margin-bottom: 30px;
  }

  .gallery h4 {
    font-size: 2rem;
  }

  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0;
  }

  .gallery-item {
    min-height: 200px;
  }
}

/* Mobile kecil (≤576px) */
@media (max-width: 576px) {
  .gallery {
    padding: 30px 10px;
    margin-top: 20px;
  }

  .gallery h3 {
    font-size: 3.4rem;
    margin-bottom: 25px;
  }

  .gallery h4 {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }

  .gallery-container {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0;
  }

  .gallery-item {
    min-height: 250px;
  }
}

/* GLightbox Responsive Styling */
.glightbox-container {
  background: rgba(0, 0, 0, 0.98);
  z-index: 9999;
}

.glightbox-desc {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 12px;
}

.glightbox-next,
.glightbox-prev {
  color: gold;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.glightbox-next:hover,
.glightbox-prev:hover {
  color: #fff;
  opacity: 1;
}

.glightbox-close {
  color: gold;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.glightbox-close:hover {
  color: #fff;
  opacity: 1;
}

/* Greetings Section */
.greetings {
  background-color: #0a0a0a;
  color: #fff;
  padding: 60px 20px;
  min-height: auto;
   margin-top: 20px;
}

.greetings h4 {
  color: gold;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.greetings h3 {
  font-family: 'Elsie', serif;
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 0.5em;
}

.greetings h5 {
  font-family: 'Elsie', serif;
  color: gold;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* Form Container */
.greeting-form-container {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(182, 156, 4, 0.3);
  border-radius: 12px;
  padding: 30px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.form-title {
  color: gold;
  font-weight: 600;
  text-align: center;
}

.form-label {
  color: #e0e0e0;
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.form-input {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(182, 156, 4, 0.2) !important;
  color: #fff !important;
  padding: 12px 15px;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.form-input:focus {
  background-color: rgba(255, 255, 255, 0.12) !important;
  border-color: gold !important;
  box-shadow: 0 0 0 3px rgba(182, 156, 4, 0.2);
  color: #fff !important;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.btn-submit {
  background: linear-gradient(135deg, #b69c04 0%, #d4af37 100%);
  color: #000;
  border: none;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #d4af37 0%, #b69c04 100%);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(182, 156, 4, 0.4);
}

.btn-submit i {
  margin-right: 8px;
}

/* Greeting List Container */
.greeting-list-container {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(182, 156, 4, 0.3);
  border-radius: 12px;
  padding: 30px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  max-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.list-title {
  color: gold;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
}

.list-title i {
  font-size: 1.5rem;
}

.greeting-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  max-height: 340px;
}

.greeting-item {
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid gold;
  border-radius: 8px;
  padding: 15px;
  transition: all 0.3s ease;
  animation: slideIn 0.4s ease-out;
}

.greeting-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(5px);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.greeting-item-name {
  color: gold;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 5px;
}

.greeting-item-message {
  color: #e0e0e0;
  font-size: 0.9rem;
  line-height: 1.5;
  word-break: break-word;
}

.greeting-item-time {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  margin-top: 8px;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.5);
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 15px;
  opacity: 0.5;
}

.empty-state p {
  font-size: 1rem;
  margin: 0;
}

/* Scrollbar styling */
.greeting-list::-webkit-scrollbar {
  width: 4px;
}

.greeting-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
}

.greeting-list::-webkit-scrollbar-thumb {
  background: rgba(182, 156, 4, 0.25);
  border-radius: 10px;
}

.greeting-list::-webkit-scrollbar-thumb:hover {
  background: rgba(182, 156, 4, 0.4);
}

/* gift */
/* --- Gift Section --- */
.gifts {
  background: #f8f9fa;
  padding-top: 60px;
  padding-bottom: 60px;
}
.gifts .section-title {
  font-size: 3.2rem;
  font-weight: 600;
  color: #b48a78;
  letter-spacing: 2px;
}
.gifts .section-subtitle {
  font-size: 2.2rem;
  font-weight: 700;
  color: #333;
}
.gift-bank-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 24px 16px;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.gift-bank-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
}
.gift-bank-item .bank-name {
  font-weight: 700;
  color: #2d6cdf;
  font-size: 1.2rem;
}
.gift-bank-item .bank-rek {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin: 2px 0;
}
.gift-bank-item .bank-an {
  font-size: 1rem;
  color: #888;
}
.qris-container {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.qris-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 18px 16px 10px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 160px;
}
.qris-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #eee;
  background: #fafafa;
}
.qris-name {
  font-weight: 600;
  color: #b48a78;
  font-size: 1.1rem;
}
@media (max-width: 768px) {
  .gifts .section-title {
    font-size: 2rem;
  }
  .gifts .section-subtitle {
    font-size: 2.5rem;
    font-family: 'Elsie', serif;

  }
  .gift-bank-box {
    padding: 16px 6px;
  }
  .qris-item {
    width: 120px;
    padding: 10px 6px 6px 6px;
  }
  .qris-img {
    width: 80px;
    height: 80px;
  }
}

/* Greetings Responsive Design */

/* Desktop besar (1921px+) */
@media (min-width: 1921px) {
  .greetings {
    padding: 80px 40px;
  }

  .greetings h3 {
    font-size: 3.2rem;
    margin-bottom: 60px;
  }

  .greeting-form-container,
  .greeting-list-container {
    padding: 40px;
  }

  .greeting-list-container {
    max-height: 700px;
  }
}

/* Laptop besar (1440px - 1920px) */
@media (min-width: 1440px) and (max-width: 1920px) {
  .greetings {
    padding: 70px 30px;
  }

  .greetings h3 {
    font-size: 2.8rem;
    margin-bottom: 50px;
  }

  .greeting-form-container,
  .greeting-list-container {
    padding: 30px;
  }

  .greeting-list-container {
    max-height: 680px;
  }
}

/* Laptop (992px - 1439px) */
@media (min-width: 992px) and (max-width: 1439px) {
  .greetings {
    padding: 50px 20px;
  }

  .greetings h3 {
    font-size: 2.4rem;
    margin-bottom: 40px;
  }

  .greeting-form-container,
  .greeting-list-container {
    padding: 25px;
  }

  .greeting-list-container {
    max-height: 650px;
  }

  .greetings h5 {
    font-size: 1.3rem;
  }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .greetings {
    padding: 40px 15px;
  }

  .greetings h3 {
    font-size: 2rem;
    margin-bottom: 35px;
  }

  .greeting-form-container,
  .greeting-list-container {
    padding: 20px;
  }

  .greeting-list-container {
    max-height: 600px;
  }

  .greetings h5 {
    font-size: 1.2rem;
  }

  .form-input {
    font-size: 0.9rem;
    padding: 10px 12px;
  }

  .form-label {
    font-size: 0.9rem;
  }
}

/* Mobile besar (577px - 767px) */
@media (min-width: 577px) and (max-width: 767px) {
  .greetings {
    padding: 35px 12px;
  }

  .greetings h3 {
    font-size: 3.2rem;
    margin-bottom: 30px;
  }

  .greetings h4 {
    font-size: 1.8rem;
  }

  .greeting-form-container,
  .greeting-list-container {
    padding: 20px;
    border-radius: 8px;
  }

  .greeting-list-container {
    max-height: 550px;
    margin-top: 20px;
  }

  .greetings h5 {
    font-size: 1.7rem;
    margin-bottom: 15px;
  }

  .form-input {
    font-size: 1.5rem;
    padding: 10px;
  }

  .form-label {
    font-size: 1.5rem;
  }

  #message {
    min-height: 80px;
  }
}

/* Mobile kecil (≤576px) */
@media (max-width: 576px) {
  .greetings {
    padding: 30px 10px;
  }

  .greetings h3 {
    font-size: 3rem;
    margin-bottom: 25px;
  }

  .greetings h4 {
    margin-top: 10px;
    font-size: 1.8rem;
    letter-spacing: 1px;
  }

  .greeting-form-container,
  .greeting-list-container {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
  }

  .greeting-list-container {
    max-height: 500px;
    margin-top: 0;
  }

  .greetings h5 {
    font-size: 1..5rem;
    margin-bottom: 12px;
  }

  .form-input {
    font-size: 1.3rem;
    padding: 8px 10px;
  }

  .form-label {
    font-size: 1.3rem;
    margin-bottom: 5px;
  }

  .btn-submit {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  #message {
    min-height: 80px;
  }

  .greeting-item {
    padding: 12px;
    border-left-width: 2px;
  }

  .greeting-item-name {
    font-size: 0.95rem;
  }

  .greeting-item-message {
    font-size: 0.85rem;
  }

  .empty-state {
    padding: 30px 15px;
  }

  .empty-state i {
    font-size: 2.5rem;
  }

  .list-title i {
    font-size: 1.2rem;
  }
}

/* --- End Section (Terima Kasih) --- */
.end-section {
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 50%, #f5f5f5 100%);
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.end-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.end-section-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.end-section-ornament {
  width: 60px;
  height: 60px;
  margin: 0 auto 30px;
  opacity: 0.4;
  transition: all 0.6s ease;
}

.end-section-ornament.top {
  font-size: 3rem;
  animation: floatOrnament 4s ease-in-out infinite;
}

.end-section-ornament.bottom {
  font-size: 3rem;
  margin-top: 30px;
  margin-bottom: 0;
  animation: floatOrnament 4s ease-in-out infinite 1s;
}

@keyframes floatOrnament {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.end-section-ornament::before {
  content: '✦';
  color: #b48a78;
  display: block;
}

.end-section-title {
  font-family: 'Elsie', serif;
  font-size: 3.5rem;
  color: #2d2d2d;
  font-weight: 700;
  margin: 0 0 24px 0;
  letter-spacing: 3px;
  position: relative;
  display: inline-block;
}

.end-section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  border-radius: 2px;
}

.end-section-subtitle {
  font-family: 'Elsie', serif;
  font-size: 1.8rem;
  color: #b48a78;
}
.end-section-name{
  font-size: 1.8rem;
  color: #6c6c6c;
  font-weight: 400;
}

.end-section-name-title{
  font-size: 5rem;
  color: #b69c04;
  font-family: 'Elsie', Serif;
}
.end-section-divider {
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #b48a78, transparent);
  margin: 28px auto;
  border-radius: 1px;
}

.end-section-text {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.8;
  margin: 12px 0;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.end-section-text:first-of-type {
  margin-top: 0;
}

.end-section-closing {
  font-family: 'Elsie', serif;
  font-size: 1.4rem;
  color: #b48a78;
  margin-top: 24px;
  margin-bottom: 0;
  letter-spacing: 1px;
  font-weight: 500;
}

/* End Section Responsive Design */

/* Desktop besar (1921px+) */
@media (min-width: 1921px) {
  .end-section {
    padding: 100px 40px;
  }

  .end-section-content {
    max-width: 800px;
  }

  .end-section-title {
    font-size: 4rem;
    margin-bottom: 30px;
  }

  .end-section-text {
    font-size: 1.3rem;
  }

  .end-section-closing {
    font-size: 1.6rem;
  }

  .end-section-ornament {
    width: 70px;
    height: 70px;
    margin-bottom: 40px;
  }

  .end-section-ornament.bottom {
    margin-top: 40px;
  }
}

/* Laptop besar (1440px - 1920px) */
@media (min-width: 1440px) and (max-width: 1920px) {
  .end-section {
    padding: 90px 30px;
  }

  .end-section-content {
    max-width: 750px;
  }

  .end-section-title {
    font-size: 3.5rem;
    margin-bottom: 28px;
  }

  .end-section-text {
    font-size: 1.2rem;
  }

  .end-section-closing {
    font-size: 1.5rem;
  }

  .end-section-ornament {
    width: 65px;
    height: 65px;
    margin-bottom: 35px;
  }
}

/* Laptop (992px - 1439px) */
@media (min-width: 992px) and (max-width: 1439px) {
  .end-section {
    padding: 70px 25px;
  }

  .end-section-content {
    max-width: 700px;
  }

  .end-section-title {
    font-size: 3rem;
    margin-bottom: 24px;
  }

  .end-section-text {
    font-size: 1.1rem;
  }

  .end-section-closing {
    font-size: 1.3rem;
  }

  .end-section-ornament {
    width: 55px;
    height: 55px;
    margin-bottom: 30px;
  }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .end-section {
    padding: 60px 20px;
  }

  .end-section-content {
    max-width: 650px;
  }

  .end-section-title {
    font-size: 2.8rem;
    margin-bottom: 22px;
  }

  .end-section-text {
    font-size: 1rem;
  }

  .end-section-closing {
    font-size: 1.2rem;
  }

  .end-section-ornament {
    width: 50px;
    height: 50px;
    margin-bottom: 25px;
  }

  .end-section-ornament.bottom {
    margin-top: 25px;
  }
}

/* Mobile besar (577px - 767px) */
@media (min-width: 577px) and (max-width: 767px) {
  .end-section {
    padding: 50px 15px;
  }

  .end-section-content {
    max-width: 100%;
  }

  .end-section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
  }

  .end-section-text {
    font-size: 1.1rem;
  }

  .end-section-closing {
    font-size: 1.2rem;
  }

  .end-section-ornament {
    width: 45px;
    height: 45px;
    margin-bottom: 20px;
  }
}

/* Mobile kecil (≤576px) */
@media (max-width: 576px) {
  .end-section {
    padding: 40px 15px;
  }

  .end-section-content {
    max-width: 100%;
  }

  .end-section-title {
    font-size: 2.2rem;
    margin-bottom: 18px;
  }

  .end-section-title::after {
    width: 60px;
    bottom: -10px;
  }

  .end-section-divider {
    width: 80px;
    margin: 20px auto;
  }

  .end-section-text {
    font-size: 1rem;
    line-height: 1.6;
    margin: 10px 0;
  }
  .end-section-name-title{
    font-size: 3.2rem;
  }

  .end-section-closing {
    font-size: 1.1rem;
    margin-top: 20px;
  }

  .end-section-ornament {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
  }

  .end-section-ornament.bottom {
    margin-top: 15px;
  }
}

/* --- Footer --- */
footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  padding: 0;
  width: 100%;
  height: 300px;
  margin-top: 0;
  border-top: 1px solid rgba(182, 156, 4, 0.3);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 20px 20px;
  gap: 20px;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.footer-brand {
  text-align: center;
}

.footer-brand h3 {
  font-family: 'Elsie', serif;
  color: #d4af37;
  font-size: 2rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: 2px;
}

.footer-brand p {
  font-size: 0.95rem;
  color: #b0b0b0;
  margin: 4px 0 0 0;
  letter-spacing: 1px;
}

.footer-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.4), transparent);
}

.footer-info {
  text-align: center;
}

.footer-info p {
  margin: 0;
  font-size: 0.95rem;
  color: #b0b0b0;
  letter-spacing: 0.5px;
}

.footer-info p:first-child {
  font-weight: 600;
  color: #d4af37;
  font-size: 1rem;
}

.footer-quote {
  font-size: 0.85rem;
  margin-top: 4px;
  font-style: italic;
  color: #808080;
}

.footer-bottom {
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid rgba(182, 156, 4, 0.2);
  width: 100%;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: #808080;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .footer-container {
    padding: 30px 15px 15px 15px;
    gap: 15px;
  }

  .footer-main {
    gap: 20px;
  }

  .footer-brand h3 {
    font-size: 1.6rem;
  }

  .footer-brand p {
    font-size: 0.85rem;
  }

  .footer-divider {
    height: 30px;
  }

  .footer-info p {
    font-size: 0.85rem;
  }

  .footer-info p:first-child {
    font-size: 0.9rem;
  }

  .footer-quote {
    font-size: 0.8rem;
  }

  .footer-bottom p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  footer{
    height: 200px;
  }
  .footer-container {
    padding: 25px 10px 10px 10px;
    gap: 12px;
  }

  .footer-main {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-brand h3 {
    font-size: 1.4rem;
  }

  .footer-brand p {
    font-size: 0.8rem;
  }

  .footer-divider {
    width: 30px;
    height: 1px;
    order: 2;
  }

  .footer-brand {
    order: 1;
  }

  .footer-info {
    order: 3;
  }

  .footer-info p {
    font-size: 0.8rem;
  }

  .footer-quote {
    font-size: 0.75rem;
  }

  .footer-bottom p {
    font-size: 0.75rem;
  }
}


