.slide-down-animate {
  opacity: 0;
  transform: translateY(-80px);
}

.slide-down-animate.show {
  animation: slideDownFade 3s cubic-bezier(.6,.2,.3,1) forwards;
}

@keyframes slideDownFade {
  0% {
    opacity: 0;
    transform: translateY(-80px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
:root{
  --bg:#f7f2ec;
  --card:#fff;
  --accent:#b8864b; /* warm gold */
  --muted:#6f6a66;
  --text:#2e2a28;
  --max:1100px;
}

/* Prevent horizontal scroll on small screens */
html,body{
  overflow-x: hidden;
}

/* base */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  scroll-behavior:smooth;
  line-height:1.5;
  padding-bottom:0;
}

/* Ensure images and videos scale */
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* media background */
.media-wrap{
  position:fixed; inset:0; z-index:-3; overflow:hidden;
}
.bg-video{
  position:absolute; left:50%; top:50%;
  min-width:100%; min-height:100%;
  width:auto; height:auto;
  transform:translate(-50%,-50%);
  object-fit:cover;
  filter:contrast(.95) saturate(.9) brightness(.92);
  will-change:transform, filter;
}
.bg-overlay{
  position:fixed; inset:0; z-index:-2;
  background:linear-gradient(180deg, rgba(247,242,236,0.25), rgba(247,242,236,0.55));
  pointer-events:none;
}

/* Parallax decorative layers */
.parallax-layer{
  position:fixed; inset:0; z-index:-1; pointer-events:none;
  transform:translateZ(0);
}
.parallax-layer.layer-1{
  background: radial-gradient(circle at 20% 10%, rgba(255,255,255,0.06), transparent 10%), radial-gradient(circle at 80% 90%, rgba(0,0,0,0.04), transparent 10%);
  mix-blend-mode:overlay; opacity:0.9;
}
.parallax-layer.layer-2{
  background-image: url('../media/background0.webp'); /* very subtle floral overlay if desired */
  background-size:cover;
  opacity:0.06;
  filter:blur(1px) saturate(.7);
}

/* container */
.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.2rem;
  box-sizing: border-box;
  width: 100%;
}

/* header/nav */
.site-header{
  position:sticky; top:0; z-index:40;
  background:linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.35));
  backdrop-filter: blur(6px);
  border-bottom:1px solid rgba(0,0,0,0.04);
}
.nav{display:flex; align-items:center; gap:1rem; justify-content:space-between}
.brand .logo{font-family:"Playfair Display", serif; color:var(--accent); font-weight:700; font-size:1.05rem; text-decoration:none}
.nav-links a{margin-left:1rem; color:var(--muted); text-decoration:none; font-size:.95rem}
.menu-btn{display:none}

/* hero */
.hero{min-height:78vh; display:flex; align-items:center; justify-content:center; text-align:center; padding:6rem 1rem; position:relative; overflow:visible}
.hero-inner{max-width:820px; background:rgba(255,255,255,0.6); padding:2.2rem; border-radius:14px; box-shadow:0 14px 40px rgba(0,0,0,0.12)}
/* Home Hero Section Background */
#home.hero {
  background: url('../media/background2.webp') center center/cover no-repeat;
  position: relative;
  z-index: 1;
}

#home.hero .hero-inner {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 24px rgba(184,134,75,0.10);
  max-width: 900px;
  margin: 0 auto;
}
.small-note{font-size:.9rem; color:var(--muted); margin:0 0 .6rem}

/* HERO title with letter spans */
.hero-title{
  font-family:"Playfair Display", serif; font-size:2.6rem; margin:0 0 .4rem; 
  color:var(--muted) !important;
  display:inline-block;
  line-height:1.05;
  overflow:visible;
  letter-spacing:0.6px;
}

.bin-binti{
  
  font-family:"Playfair Display", serif; font-size:1rem; margin:0 0 .4rem; 
}

.hero-names-pair {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.8rem;
  text-align: center;
  margin-top: 2rem;
}

.hero-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative; /* important for flowers */
}


.frame-wrapper {
  position: relative;
  width: 180px;
  height: 280px;
  overflow: hidden; /* force clip just in case */
}

/* Apply the mask to the PHOTO */
.frame-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* 🔥 THIS is the important part */
  -webkit-mask-image: url("../media/frame2.webp");
  mask-image: url("../media/frame2.webp");

  -webkit-mask-size: contain;
  mask-size: contain;

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  z-index: 0;
}

/* Frame on top */
.frame-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
}


.hero-and {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  color: var(--muted);
  margin: 0;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

/* shimmer line */
.hero-and::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 45%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: shimmer 2.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -120%; }
  70% { left: 140%; }
  100% { left: 140%; }
}


/* ============================
   FLOWER ORNAMENTS
   ============================ */
.flower-group {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;   /* adjust depending on image size */
  height: 260px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

.flower {
  position: absolute;
  width: 52px;
  opacity: 0.85;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
  animation: pulse 1s infinite ease-in-out alternate,
             drift 6s infinite ease-in-out;
}

/* LEFT side, middle — closer */
.f1 {
  bottom: 70px;
  left: 10%;
  transform: translateX(-50%);
}

/* RIGHT side, middle — closer */
.f4 {
  bottom: 97px;
  left: 13%;
  transform: translateX(-50%);
}

/* BOTTOM-LEFT — closer inward */
.f2 {
  bottom: 48px;
  left: 18%;
  transform: translateX(-50%);
}

/* BOTTOM-RIGHT — closer inward */
.f3 {
  bottom: 38px;
  left: 19%;
  transform: translateX(-50%);
}


/* soft pulse */
@keyframes pulse {
  0%   { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.15); opacity: 1; }
}

/* soft floating drift */
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(4px, -6px) scale(1.03); }
  100% { transform: translate(0, 0) scale(1); }
}

/* style for each letter created by JS */
.hero-title .char{
  display:inline-block;
  opacity:0;
  transform:translateY(10px) rotateX(20deg);
  transform-origin:50% 50% -10px;
  transition:transform .6s cubic-bezier(.2,.9,.25,1), opacity .5s;
  will-change:transform, opacity;
}

/* when revealed */
.hero-title .char.revealed{
  opacity:1;
  transform:none;
}

/* floral frame SVG */
.floral-frame{
  position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:2;
  mix-blend-mode:overlay;
  opacity:0.85;
}

/* rest (unchanged from previous but full file included) */

/* buttons */
.btn{display:inline-block; padding:.6rem .9rem; border-radius:10px; border:1px solid rgba(0,0,0,0.06); background:transparent; cursor:pointer}
.btn-primary{
  background-color: #b8864b;
  border: none;
  padding: 0.8rem 1.5rem;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
  box-shadow:0 6px 18px rgba(184,134,75,0.12)
}
.btn-primary:hover{background-color: #a06e3c}
.btn-ghost{background:transparent; color:var(--accent); border:1px solid rgba(0,0,0,0.06)}

/* section / cards */
.section{padding:2rem 1rem}
.card{
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  background:linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.95)); 
  padding:1.2rem; 
  border-radius:12px; 
  box-shadow:0 8px 30px rgba(0,0,0,0.06)
}
.section-title{font-family:"Playfair Display", serif; font-size:1.5rem; margin:0 0 .4rem}
.muted{color:var(--muted)}
.grid{
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 1.2rem;
  align-items: start;
  width: 100%;
}

/* countdown */
.countdown{display:flex; gap:.8rem; justify-content:center; margin-top:1rem}
.time{min-width:86px; background:#ffffff64; padding:.6rem .8rem; border-radius:8px; text-align:center; box-shadow:0 6px 20px rgba(0,0,0,0.06)}
.time span{display:block; font-weight:700; font-size:1.25rem}
.time small{display:block; color:var(--muted); font-size:.75rem}

/* story */
.story-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-top:1rem}
.story-item{padding:1rem}

/* rsvp form */
.form-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:1rem}
.form-grid label{display:block}
.form-grid .full{grid-column:1/-1}
.form-inline{display:flex; gap:.6rem; margin-top:.6rem}
.form-actions{display:flex; align-items:center; gap:1rem; grid-column:1/-1}

/* gift */
/* ===========================
   GIFT SECTION
   =========================== */
#gift {
  position: relative;
  padding: 90px 20px;
  background: url("../media/background1.webp") center/cover no-repeat;
  color: #4b3f36;
}

#gift::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 248, 242, 0.65);
  backdrop-filter: blur(2px);
}

#gift .container {
  position: relative;
  max-width: 750px;
  margin: auto;
  text-align: center;
}

#gift .section-title {
  font-family: "Vidaloka", serif;
  font-size: 2.4rem;
  color: #b8864b;
  margin-bottom: 10px;
}

#gift .intro-text {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  color: #6d5f55;
  margin-bottom: 35px;
  line-height: 1.6;
}

/* Items */
.gift-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gift-item {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(184, 134, 75, 0.4);
  padding: 18px 20px;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(4px);
}

.gift-item strong {
  font-family: "Vidaloka", serif;
  color: #b8864b;
  font-size: 1.2rem;
}

/* Detail Button */
.detail-btn {
  font-family: "Playfair Display", serif;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid #b8864b;
  background: rgba(255, 255, 255, 0.7);
  color: #b8864b;
  cursor: pointer;
  transition: 0.2s ease;
}

.detail-btn:hover {
  background: #b8864b;
  color: #fff;
}

/* Hidden Detail Content */
.gift-detail {
  display: none;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(184, 134, 75, 0.35);
  padding: 20px;
  border-radius: 14px;
  backdrop-filter: blur(4px);
  animation: fadeDown 0.3s ease;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gift-detail .acc {
  font-size: 1.3rem;
  font-weight: bold;
  margin: 5px 0;
}

.copy-btn {
  margin-top: 10px;
  padding: 8px 16px;
  font-family: "Playfair Display", serif;
  border-radius: 18px;
  border: 1px solid #b8864b;
  background: white;
  color: #b8864b;
  cursor: pointer;
}

.copy-btn:hover {
  background: #b8864b;
  color: white;
}

.address {
  margin-top: 6px;
  line-height: 1.45;
  font-size: 1rem;
}

/* messages */
.messages{margin-top:1rem}

/* Small text */
.small {
  font-size: 0.85rem;
}


.cover-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8) url('media/cover-bg.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.cover-content {
  text-align: center;
  color: white;
  padding: 2rem;
  max-width: 600px;
  width: 100%;
}

.cover-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.cover-hero {
  width: 50%;
  height: auto;
  display:block;
  margin:0 auto;
}

.cover-names {
  font-size: 3rem;
  font-weight: 700;
  margin: 0.5rem 0 1rem;
}

.cover-dear {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Hero Overlay Styles */
.hero-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7) url('media/hero-bg.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1001;
  padding: 1.5rem;
  text-align: center;
}


.hero-names {
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin: 0.5rem 0 1rem;
  color: #b8864b;
}

.hero-date {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.scroll-down {
  margin-top: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

.scroll-mouse {
  width: 24px;
  height: auto;
  margin: 0 auto 0.5rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Love Section Styles */
.love-section {
  background-color: #f9f9f9;
  padding: 4rem 1.5rem;
  text-align: center;
}

.love-content {
  max-width: 800px;
  margin: 0 auto;
}
/* Love Section Styling with Vidaloka font */
#loveSection .love-title {
  font-family: 'Vidaloka', serif;
  font-size: 2.5rem;
  font-weight: normal;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

#loveSection .love-text {
  font-family: 'Vidaloka', serif;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0;
}

#loveSection {
  padding: 1.5rem 2rem;
  box-shadow: 0 2px 12px rgba(184, 134, 75, 0.08);
  text-align: center;
}

.love-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #b8864b;
}

.love-content blockquote {
  font-size: 1.2rem;
  font-style: italic;
  margin: 1.5rem 0;
  color: #333;
  position: relative;
}

.love-content blockquote:before {
  content: open-quote;
  font-size: 3rem;
  line-height: 0;
  position: absolute;
  left: -10px;
  top: -10px;
  color: #b8864b;
}

.love-content blockquote:after {
  content: close-quote;
  font-size: 3rem;
  line-height: 0;
  position: absolute;
  right: -10px;
  bottom: -10px;
  color: #b8864b;
}

.love-verse {
  font-size: 1rem;
  margin-top: 1rem;
  color: #777;
}

/* Invitation Section Styles */
.invitation-section {
  background-color: #fff3e0;
  padding: 3rem 1.5rem;
  text-align: center;
}

.invitation-content {
  max-width: 700px;
  margin: 0 auto;
}

.invitation-content p {
  font-size: 1.1rem;
  margin: 1rem 0;
  color: #333;
}

/* reveal animation (default hidden) */
.reveal{opacity:0; transform:translateY(12px); transition:all .7s cubic-bezier(.2,.9,.25,1); will-change:opacity, transform}
.revealed{opacity:1; transform:none}

/* music toggle on state */
.music-toggle.on{background:var(--accent); color:#fff; border:none}

/* Enhanced Music Toggle Button */
.music-toggle {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.25, 1);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.music-toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
  z-index: -1;
}
.music-toggle.on {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(184, 134, 75, 0.4);
}

.music-toggle.on:hover {
  transform: scale(1.05);
}

.music-toggle.on .music-icon {
  animation: musicPulse 0.6s ease-in-out infinite;
}

@keyframes musicPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Book Cover Overlay Styles */
.cover-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: opacity 0.7s cubic-bezier(.2,.9,.25,1), visibility 0.7s;
}
.cover-overlay.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.cover-content {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cover-bg {
  position: absolute;
  inset: 0;
  background: url('../media/background0.webp') center center/cover no-repeat;
  z-index: 1;
  filter: brightness(0.98) blur(0px);
}
.cover-inner {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.7);
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
  padding-bottom: 1.5rem;
  text-align: center;
  max-width: 340px;
  margin: auto;
}
.cover-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.cover-names {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.cover-dear {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 2rem;
}
#openInviteCover {
  font-size: 1.1rem;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 340px;
  padding: 2.5rem 2rem;
}
.scroll-down {
  margin-top: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}
.scroll-text {
  font-size: 1rem;
  color: var(--muted);
}

.scroll-lottie {
  width: 50px;
  height: 50px;
  margin: 0 auto 0.5rem;
}

.lottie-birds {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  pointer-events: none;
}

.lottie-weddingfloral {
  width: 100%;
  height: 150px;
  margin-bottom: -110px;
  margin-top: 0;
  position: relative;
  top: -31px; /* moved 10px higher using position */
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(180deg);
}

/* Bottom Navbar Styles */
.bottom-navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.5rem 0;
  z-index: 100;
}
.bottom-navbar .nav-item {
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}
.bottom-navbar .nav-item:hover {
  color: #007bff;
}

@media (max-width: 480px) {
  
  .cover-names, .hero-names {
    font-size: 1.5rem;
  }
  .fn-logo {
    width: 65%;
    display: block;
    margin: 0 auto;
  }
  .scroll-lottie {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 980px) {
  .container {
    padding: 0.8rem;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .story-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0.5rem;
  }
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: inline-block;
  }
  .hero {
    padding: 2rem 0.5rem;
  }
  .hero-inner {
    padding: 1rem;
  }
  .hero-title {
    font-size: 1.5rem;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .countdown {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .card {
    padding: 0.7rem;
  }
  .hero-date {
    font-size: 1.2rem;
  }
  .scroll-text {
    font-size: 0.9rem;
  }
}

/* ================================
   SAVE THE DATE (card stays)
================================ */
#save {
  position: relative;
  padding: 120px 20px 100px;
  background: url("../media/background3.webp") center/cover no-repeat;
  text-align: center;
}

/* Card only for the title */
#save .card {
  max-width: 460px;
  margin: 0 auto 50px;
  padding: 28px 32px;
  border-radius: 18px;

  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.35);

  box-shadow: 0 18px 35px rgba(0,0,0,0.22);
}

#save .section-title {
  font-family: "Vidaloka", serif;
  font-size: 2.7rem;
  color: var(--muted);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

#save .muted {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  color: var(--muted);
  opacity: .9;
}

/* ================================
   COUNTDOWN (NO CARD)
   Clean, elegant, luxury
================================ */
#save .countdown {
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* The numbers */
#save .countdown .time span {
  display: block;
  font-family: "Vidaloka", serif;
  font-size: 3.2rem;
  font-weight: normal;
  color: var(--muted);
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
  letter-spacing: 1px;
}

/* The labels (Hari, Jam...) */
#save .countdown .time small {
  display: block;
  margin-top: 6px;
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  color: var(--muted);
  opacity: 0.9;
  letter-spacing: 0.5px;
}

/* Optional: gentle floating animation (very light) */
#save .countdown .time {
  animation: floaty 4s ease-in-out infinite;
}

@keyframes floaty {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}


/* ===========================
   EVENT SECTION
   =========================== */
#event {
  position: relative;
  padding: 110px 20px;
  background: url("../media/background0.webp") center/cover no-repeat;
  text-align: center;
}

#event::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 248, 242, 0.68);
  backdrop-filter: blur(2px);
}

/* Layout */
#event .container {
  position: relative;
  max-width: 900px;
  margin: auto;
}

#event .grid {
  display: flex;
  justify-content: center;
}

/* Card styling */
.event-card {
  width: 100%;
  max-width: 580px;
  padding: 35px 40px;
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.50);
  border: 1px solid rgba(184, 134, 75, 0.40);
  backdrop-filter: blur(10px);

  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

/* Title */
#event .section-title {
  font-family: "Vidaloka", serif;
  font-size: 2.5rem;
  color: var(--muted);
}

/* Subsections */
#event .when,
#event .venue {
  margin-bottom: 2px;
}

#event .when h3,
#event .venue h3 {
  font-family: "Vidaloka", serif;
  color: #714f36;
  font-size: 1.6rem;
  margin-top: 0px;
  margin-bottom: 0px;
}

#event .when p,
#event .venue p {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: var(--text);
  opacity: 0.9;
  margin-top: 0px;
  margin-bottom: 0px;
}

/* Google Maps Link */
#event .link {
  display: inline-block;
  margin-top: 10px;
  font-family: "Playfair Display", serif;
  color: #fff;
  background: #b8864b;
  border-radius: 12px;
  font-size: 1.05rem;
  font-style: italic;
  text-decoration: none;
  padding: 6px 10px;
  transition: 0.25s ease;
}

#event .link:hover {
  color: #fff;
  background: #b8864b;
  border-radius: 12px;
}

/* Small floating animation (very subtle) */
.event-card {
  animation: eventFloat 5s ease-in-out infinite;
}

@keyframes eventFloat {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-7px); }
  100% { transform: translateY(0); }
}

.divider{
  display:block;
  margin:0 auto;
  transform:rotate(180deg);
  margin-top:-40px;
  margin-bottom:-25px;
  max-width: 40%;
  width:200px;
  height: 82px;
}
