:root{
      --accent:#b76e79;
      --accent-dark:#a75d69;
      --muted:#f6f4f5;
      --text:#2b2b2b;
      --text-light:#6b6b6b;
      --gold:#d4af37;
      --white:#fff;
      --shadow: 0 4px 20px rgba(0,0,0,0.08);
      --transition: all 0.3s ease;
    }
    *{box-sizing:border-box;margin:0;padding:0}
    html,body{height:100%}
    body{
      font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
      color:var(--text);
      background:linear-gradient(180deg,#fff 0%,#fbf8fb 100%);
      line-height:1.6;
      -webkit-font-smoothing:antialiased;
      overflow-x:hidden;
    }

    /* Header */
    header{
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding:18px 5%;
      background:rgba(255,255,255,0.9);
      backdrop-filter: blur(10px);
      position:sticky;
      margin-bottom: 2px;
      top:0;
      z-index:120;
      box-shadow:0 2px 8px rgba(0,0,0,0.05);
    }
    header::before{ content:''; position:absolute; inset:0; background:rgba(255,255,255,0.7); z-index:-1; }
    header.scrolled{ padding:12px 5%; box-shadow:0 6px 18px rgba(0,0,0,0.08); }

    .logo{ display:flex; gap:10px; align-items:center }
    .logo svg{ width:56px; height:56px; flex-shrink:0 }
    .logo h1{ font-size:20px; color:var(--accent); font-weight:700; margin:0 }
    nav a{ text-decoration:none; color:var(--accent); font-weight:600; border-radius:6px; background:rgba(255,255,255,0.7); border:1px solid transparent }

    /* Page layout */
    main{ max-width:1200px; margin:0 auto; padding:0 5%; }

    /* Hero */
    .hero{
      display:grid;
      grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
      gap:40px;
      align-items:center;
      min-height:72vh;
      position:relative;
    }
    .hero::before{
      content:''; position:absolute; inset:0;
      background-image:url('https://wedding.nicdark.com/intro/wp-content/uploads/sites/8/2023/03/img-11.png');
      background-size:cover; background-position:center; opacity:0.5; z-index:-1;
    }
    .hero-left{ position:relative; z-index:2 }
    .names{ font-family:'Playfair Display', serif; text-align: center; font-size:clamp(36px,5vw,56px); line-height:1.05; margin-bottom:12px }
    .sub {
      color: var(--text-light);
      margin-top: 16px;
      font-size: 16px;
    }

    /* Countdown / cards */
    .countdown{ display:flex; gap:12px; flex-wrap:wrap; margin:18px 0 }
    .timebox{ background:var(--white); padding:14px 16px; border-radius:12px; min-width:84px; text-align:center; box-shadow:var(--shadow) }
    .timebox .num{ font-size:22px; font-weight:700; color:var(--accent) }
    .timebox .lbl{ font-size:11px; color:var(--text-light); text-transform:uppercase; letter-spacing:0.6px }

    .cards{ display:flex; gap:16px; flex-wrap:wrap; margin-top:12px }
    .card{ background:var(--white); padding:18px; border-radius:12px; box-shadow:var(--shadow); flex:1 1 250px }
    .card h3{ color:var(--accent); font-family:'Playfair Display', serif; margin-bottom:8px }

    .hero-photos{ border-radius:20px; overflow:hidden; box-shadow:var(--shadow); transform:perspective(1000px) rotateY(-5deg); transition:var(--transition) }
    .hero-photos img{ display:block; width:100%; height:auto; transition:var(--transition) }

    /* ---------- FULL-BLEED CARD SLIDER (NO PAGE PADDING) ---------- */
    /* We make slider full width (full-bleed) while keeping main content centered */
    .slider-section{
      margin-top:0px;
      padding:40px 0;
      position:relative;
    }

    .slider-heading{
      max-width:1200px;
      /* margin:0 auto 20px; */
      padding:0 5%;
      text-align:center;
      font-family:'Playfair Display', serif;
      color:var(--accent);
      font-size:30px;
    }

    /* full-bleed container */
    .card-slider-bleed {
      width:100vw;                 /* full viewport width */
      position:relative;
      left:50%;
      right:50%;
      margin-left:-50vw;
      margin-right:-50vw;
      box-sizing:border-box;
      /* padding:10px 0;      */
      background:transparent;
    }

    .card-slider-wrapper{
      max-width:1400px;
      margin:0 auto;
      padding:0 0;                 /* intentionally no left/right padding */
      position:relative;
    }

    .card-slider-container{
      position:relative;
      overflow:hidden;
    }

    .card-slider{
      display:flex;
      gap:14px;
      transition:transform .5s ease;
      padding:12px;
      will-change:transform;
      /* allow horizontal scroll on small screens */
      overflow-x:auto;
      scrollbar-width:none;
    }
    .card-slider::-webkit-scrollbar{ display:none }

    /* card sizes:
       - desktop: 5 cards visible => each ~20% less gaps
       - <=992px: 4 cards
       - <=768px: show 2 full + 1 partial -> card width ~45% so 2 full (45+45=90) and partial visible
    */
    .slider-card{
      flex:0 0 calc(20% - 11.2px); /* 5 cards on wide screens (accounting gaps) */
      background:var(--white);
      border-radius:14px;
      box-shadow:var(--shadow);
      padding:14px;
      transition:var(--transition);
      scroll-snap-align:start;
    }
    .slider-card img{ width:100%; height:160px; object-fit:cover; border-radius:10px; display:block; margin-bottom:10px }
    .slider-card h4{ margin:6px 0; font-family:'Playfair Display', serif; color:var(--accent) }
    .slider-card p{ color:#666; font-size:14px }

    /* arrows */
    .slider-btn{
      position:absolute;
      top:50%;
      transform:translateY(-50%);
      width:44px; height:44px;
      border-radius:50%;
      border:none;
      background:rgba(255,255,255,0.95);
      box-shadow:var(--shadow);
      font-size:20px;
      color:var(--accent);
      cursor:pointer;
      display:flex; align-items:center; justify-content:center;
      z-index:40;
    }
    .slider-btn:hover{ background:var(--accent); color:#fff; transform:translateY(-50%) scale(1.06) }

    .slider-btn.prev{ left:calc(50% - 600px); }  /* positioned relative to centered wrapper on large screens */
    .slider-btn.next{ right:calc(50% - 600px); }

    /* responsive arrow repositioning */
    @media(max-width:1400px){
      .slider-btn.prev{ left:10px }
      .slider-btn.next{ right:10px }
    }

    /* breakpoints for cards */
    @media(max-width:992px){
      .slider-card{ flex:0 0 calc(25% - 10px) } /* ~4 cards */
    }
    @media(max-width:768px){
      .slider-card{ flex:0 0 calc(45% - 10px) } /* 2 full cards + partial */
      .card-slider{ scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; padding:12px 18px }
      .slider-btn{ display:none } /* arrows not necessary on small screens; users swipe */
    }
    @media(max-width:480px){
      .slider-card{ flex:0 0 70% } /* mobile large card with partial */
    }

    
    /* Story/Gallery/Details/Footer - keep original look */
    .story{ background:var(--white); border-radius:16px; box-shadow:var(--shadow); padding:30px; margin-bottom:30px }
    .story h3{ color:var(--accent); font-family:'Playfair Display', serif; margin-bottom:12px }
    .gallery{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; margin-top:16px }
    .gallery img{ width:100%; height:150px; object-fit:cover; border-radius:10px; transition:var(--transition) }
    .details-card{ background:var(--white); padding:20px; border-radius:12px; box-shadow:var(--shadow) }

    footer{
      background:linear-gradient(180deg,#fff,#faf6fb);
      padding:40px 5%;
      margin-top:60px;border-top:1px solid rgba(0,0,0,0.05)
    }
    footer .footer-inner{ max-width:1200px; margin:0 auto; display:flex; gap:20px; justify-content:space-between; align-items:center; flex-wrap:wrap }
    .insta{ display:flex; gap:8px }
    .insta img{ width:64px; height:64px; border-radius:8px; object-fit:cover }

    /* small helpers */
    .centered{
      max-width:1200px; margin:0 auto; padding:0 5%;
    }

    /* animations */
    @keyframes fadeInUp{ from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:none} }
    .fade-in{ animation:fadeInUp .7s ease both }

    header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 5%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 120;
  background-image: url('https://wedding.nicdark.com/wedding-planner/wp-content/uploads/sites/3/2023/02/leaf-04.png');
  background-size: 190px;
  background-position: right;
  background-repeat: no-repeat;
}

.background-element {
  /* position: absolute; */
  top: 0;
  left: 0;
  background-color: #ff6b6b;
  /* z-index: -1; */
  border-radius: 10px;
  opacity: 0.5;

}


.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.time-box {
  flex: 1 1 60px;
  max-width: 80px;
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: center;
  min-width: 65px;
}

@media (max-width: 480px) {
  .countdown {
    gap: 5px;
  }
  .time-box {
    flex: 1 1 calc(25% - 5px);
    max-width: calc(25% - 5px);
    padding: 0.8rem 0.5rem;
  }
  .time-box h2 {
    font-size: 1.2rem;
  }
  .time-box p {
    font-size: 0.8rem;
  }
}

.get-more-info {
  color:var(--accent);
  float: right;
  cursor: pointer;
}


/* Modal styling */
/* Modal Base */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  overflow: auto;
}

.modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  width: 90%;
  max-width: 800px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

.close {
  position: absolute;
  right: 15px; top: 10px;
  font-size: 28px;
  color: #444;
  cursor: pointer;
}

/* Event Slider */
.event-slider-container {
  overflow: hidden;
  margin-top: 1.5rem;
  cursor: grab;
}

.event-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* smooth on iOS */
  scroll-behavior: smooth;
  cursor: grab;
  user-select: none; /* avoid text selection while dragging */
  padding-bottom: 8px;
}

.event-slider.active {
  cursor: grabbing;
}

/* Optional: hide scrollbar visually but keep scrolling available */
.event-slider::-webkit-scrollbar { height: 8px; }
.event-slider::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.12);
  border-radius: 999px;
}
.event-card {
  flex: 0 0 250px;
  background: #fff8f8;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

.event-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}

.event-card h4 {
  color: #b76e79;
  margin-bottom: 0.3rem;
}

.event-card p {
  font-size: 0.9rem;
  color: #444;
}


/* ---------- Dock Navigation ---------- */
.bottom-dock {
  display: none;
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: linear-gradient(145deg,#fff,#f9f1f2);
  border-top: 3px solid #f3d6da;
  box-shadow: 0 -6px 18px rgba(0,0,0,0.1);
  justify-content: space-around;
  align-items: center;
  padding: 0.5rem 0;
  z-index: 9999;
}

.dock-item {
  flex: 1;
  text-align: center;
  border: none;
  background: none;
  color: #b76e79;
  font-size: 0.7rem;
  transition: all .3s ease;
}

.dock-item i {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.1rem;
  transition: transform .3s ease, color .3s ease;
}

.dock-item.active i {
  transform: scale(1.3);
  color: #a65b67;
}

.center-btn {
  position: relative;
  background: linear-gradient(135deg,#b76e79,#a85d6b);
  color: #fff;
  width: 75px; height: 75px;
  border-radius: 50%;
  margin-top: -30px;
  box-shadow: 0 0 20px rgba(183,110,121,.5);
}

.center-btn i { font-size: 2rem; color: #fff; }
.center-btn span { color: #fff; font-weight: 500; }

.blink { animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: 0.4; transform: scale(1.1);} }

/* Show only on mobile */
@media (max-width: 768px) {
  .bottom-dock { display: flex; }
}

/* ---------- Modals ---------- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

.modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 30px rgba(0,0,0,0.2);
  position: relative;
  animation: pop 0.4s ease;
}
@keyframes pop {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-content.fancy {
  background: linear-gradient(145deg,#fffafc,#ffeef2);
  border: 2px solid #f4c4cc;
  box-shadow: 0 0 25px rgba(183,110,121,0.3);
}

.modal-content h3 {
  color: #b76e79;
  text-align: center;
  margin-bottom: 1rem;
}

.close {
  position: absolute;
  right: 15px; top: 10px;
  font-size: 26px;
  color: #666;
  cursor: pointer;
  transition: color .3s ease;
}
.close:hover { color: #b76e79; }

/* ---------- Inside Modals ---------- */
.call-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.call-list li {
  background: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #444;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: all .3s ease;
}

.call-list li:hover {
  background: #fbeaec;
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(183,110,121,0.3);
}

.modal-content input, .modal-content textarea {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #f2b9c3;
  margin-bottom: 1rem;
  outline: none;
}

.submit-btn {
  background: linear-gradient(135deg,#b76e79,#a65b67);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  cursor: pointer;
  width: 100%;
  transition: background .3s ease, transform .3s ease;
}
.submit-btn:hover {
  background: linear-gradient(135deg,#c98792,#b76e79);
  transform: translateY(-2px);
}



/* ====== THEN & NOW SECTION ====== */
.then-now-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(180deg, #fff9fb, #fef2f5);
  position: relative;
  overflow: hidden;
}

.section-title {
  font-size: 2rem;
  color: #b76e79;
  margin-bottom: 10px;
  font-family: 'Georgia', serif;
}

.section-subtitle {
  color: #6b6b6b;
  margin-bottom: 50px;
  font-style: italic;
}

.then-now-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.photo-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.08);
  overflow: hidden;
  flex: 1 1 300px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  position: relative;
}

.photo-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.photo-card:hover img {
  transform: scale(1.08);
}

.photo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(183,110,121,0.25);
}

.photo-text {
  padding: 20px;
  background: #fff;
}

.photo-text h3 {
  color: #a75d69;
  margin-bottom: 8px;
}

.photo-text p {
  color: #555;
  font-size: 0.95rem;
}

/* ====== FULL WIDTH COUPLE IMAGE SECTION ====== */
.fullwidth-photo {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}
.fullwidth-photo .brothers {
  position: relative;
  width: 100%;
  height: 130vh;
  overflow: hidden;
}

.fullwidth-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.fullwidth-photo .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

/* ====== Responsive (Mobile) ====== */
@media (max-width: 768px) {
  
  /* Reduce the height on mobile */
  .fullwidth-photo {
    height: 25vh;       /* Adjust to your liking – no white space */
  }
  .fullwidth-photo .brothers{
    height: 25vh;       /* Adjust to your liking – no white space */
  }

  /* Keep image full height to avoid gaps */
  .fullwidth-photo img {
    height: 100%;
  }

  .fullwidth-photo .overlay {
    inset: 0;           /* Cover full area */
  }

}





/* ====== MODAL BASE ====== */
.modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
  overflow: hidden;
}

/* ====== MODAL CONTENT (SCROLLABLE BODY) ====== */
.modal-content {
  background: #fff;
  border-radius: 18px;
  padding: 20px 0 25px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  animation: popIn 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: 85vh; /* Keeps modal inside viewport */
  overflow: hidden;
}

/* ====== HEADER STAYS FIXED ====== */
.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--accent);
  margin: 0;
  padding: 10px 20px 12px;
  border-bottom: 1px solid #f3d6da;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}

/* ====== CLOSE BUTTON ====== */
.close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.6rem;
  color: #999;
  cursor: pointer;
  transition: 0.3s;
  z-index: 3;
}
.close:hover { color: var(--accent-dark); }

/* ====== BODY IS NOW SCROLLABLE ====== */
.venue-list {
  padding: 20px 18px 25px;
  overflow-y: auto;
  flex-grow: 1;
  max-height: 70vh;
  scroll-behavior: smooth;
}

/* ====== VENUE CARD ====== */
.venue-card {
  background: #fff8f9;
  border: 1px solid #f3d6da;
  border-radius: 12px;
  padding: 15px 18px;
  text-align: left;
  transition: transform 0.3s ease;
}
.venue-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(183,110,121,0.2);
}
.venue-card h3 {
  color: var(--accent-dark);
  margin-bottom: 6px;
  font-family: 'Playfair Display', serif;
}

.map-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s;
}
.map-btn:hover { opacity: 0.9; }

@keyframes popIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Optional: hide scrollbar on mobile for clean look */
.venue-list::-webkit-scrollbar {
  width: 4px;
}
.venue-list::-webkit-scrollbar-thumb {
  background-color: var(--accent);
  border-radius: 4px;
}

/* ===== Modal Layout ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  height: 92%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
}

.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 25px;
  border-radius: 16px;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  animation: fadeIn 0.5s ease;
}

.modal-content h3 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  color: #b76e79;
  margin-bottom: 20px;
}

.close {
  float: right;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  color: #666;
}

.call-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: #fdf5f7;
  /* padding: 12px 15px; */
  margin-bottom: 10px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(183, 110, 121, 0.1);
  transition: transform 0.2s ease;
}

.contact-item:hover {
  transform: scale(1.02);
}

/* ===== Ripple Loader ===== */
.loader {
  position: relative;
  width: 18px;
  height: 18px;
  margin: 0 14px; /* ✅ Added margin on both sides for spacing */
}

.ripple::before,
.ripple::after {
  content: "";
  position: absolute;
  border: 2px solid #b76e79;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  animation: rippleAnim 1.5s infinite ease-in-out;
}

.ripple::after {
  animation-delay: 0.75s;
}

@keyframes rippleAnim {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* ===== Call Button (Now Left Side) ===== */
.call-btn {
  background: #b76e79;
  color: white;
  padding: 8px 30px;
  border-radius: 10%;
  font-size: 1.1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  width: 36px;
  height: 36px;
}

.call-btn:hover {
  background: #a35d68;
  transform: scale(1.1);
}

/* ===== Name Styling ===== */
.name {
  flex: 1;
  color: #444;
  font-weight: 500;
  font-size: 1rem;
}

/* ===== Animation ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}



/* ====== HERO SECTION ====== */
    .venue-hero {
      position: relative;
      width: 100%;
      height: 70vh;
      background: url('public/home/assets/img/venue-hero.jpg') center/cover no-repeat;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .venue-hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.45);
    }
    .venue-hero h1 {
      position: relative;
      color: #fff;
      font-size: 3rem;
      text-align: center;
      z-index: 2;
      font-family: "Georgia", serif;
      text-shadow: 2px 3px 8px rgba(0,0,0,0.5);
    }

    /* ====== WALIMA INFO SECTION ====== */
    .walima-info {
      background: linear-gradient(180deg,#fff9fb,#fef2f5);
      text-align: center;
    }
    .walima-info h2 {
      color: #b76e79;
      font-size: 1.5rem;
      margin-bottom: 10px;
      font-family: "Georgia", serif;
    }
    .walima-info p {
      color: #555;
      font-size: 1.1rem;
      margin: 8px 0;
    }
    .walima-info .info-box {
      margin-top: 30px;
      display: inline-block;
      background: #fff;
      border-radius: 15px;
      box-shadow: 0 6px 25px rgba(0,0,0,0.08);
      padding: 30px 50px;
    }

    /* ====== IMAGE GALLERY ====== */
    .venue-gallery {
      padding: 70px 20px;
      background: #fff;
      text-align: center;
    }
    .venue-gallery h2 {
      color: #b76e79;
      font-size: 1.5rem;
      margin-bottom: 40px;
    }
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
      gap: 20px;
      max-width: 1000px;
      margin: 0 auto;
    }
    .gallery-grid img {
      width: 100%;
      height: 260px;
      object-fit: cover;
      border-radius: 15px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
    .gallery-grid img:hover {
      transform: scale(1.05);
      box-shadow: 0 8px 25px rgba(183,110,121,0.3);
    }

    /* ====== MAP SECTION ====== */
    .venue-map {
      position: relative;
      /* padding: 80px 20px; */
      background: #fdf6f8;
      text-align: center;
    }
    .venue-map h2 {
      color: #b76e79;
      font-size: 1.5rem;
      margin-bottom: 30px;
    }
    .map-frame {
      width: 100%;
      max-width: 900px;
      height: 450px;
      margin: 0 auto;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }
    .map-frame iframe {
      width: 100%;
      height: 100%;
      border: 0;
    }

    /* Responsive */
    @media (max-width:768px){
      .venue-hero h1{ font-size: 2rem; }
      .walima-info .info-box { padding: 20px; }
      .gallery-grid img{ height: 200px; }
    }
    

    .venue-gallery {
    padding: 7px 5%;
    background: #fff8f9;
    text-align: center;
  }

.venue-gallery h2 {
  font-family: 'Playfair Display', serif;
  color: #b76e79;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.venue-gallery p {
  color: var(--text-light);
  margin-bottom: 35px;
  font-size: 1rem;
}

/* Responsive Masonry Grid (Better Mobile View) */
.masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

.masonry .item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.masonry .item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.masonry .item:hover img {
  transform: scale(1.06);
}

.masonry .item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .masonry {
    grid-template-columns: repeat(2, 1fr);
  }
  .masonry .item img {
    height: 150px;
  }
}

@media (min-width: 1024px) {
  .masonry {
    grid-template-columns: repeat(4, 1fr);
  }
  .masonry .item img {
    height: 220px;
  }
}

/* ===== Hero Section ===== */
.venue-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== Banner Image ===== */
.hero-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* ensures full coverage */
  object-position: center; /* keeps subject centered */
  z-index: 0;
}

/* ===== Overlay ===== */
.venue-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45); /* soft dark film */
  z-index: 1;
}

/* ===== Text Overlay ===== */
.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  animation: fadeInUp 1.5s ease;
}

.hero-overlay h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  letter-spacing: 1px;
  margin: 0;
}

.hero-overlay p {
  font-size: 1.2rem;
  margin-top: 10px;
  color: #fcebed;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .venue-hero { height: 60vh; }
  .hero-overlay h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
  .venue-hero { height: 50vh; }
  .hero-overlay h1 { font-size: 2rem; }
  .hero-overlay p { font-size: 1rem; }
}

@media (max-width: 480px) {
  .venue-hero { height: 45vh; }
  .hero-overlay h1 { font-size: 1.6rem; }
  .hero-overlay p { font-size: 0.9rem; }
}

/* ===== Fade Animation ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


/* Full Width Video Section */
.fullwidth-video {
    width: 100%;
    height: 70vh;
    position: relative;
    overflow: hidden;
    margin: 40px 0;
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.wedding-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

.video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.video-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.video-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .fullwidth-video {
        height: 50vh;
    }
    
    .video-content h2 {
        font-size: 2rem;
    }
    
    .video-content p {
        font-size: 1rem;
    }
}


/* ===== PREMIUM WEDDING FOOTER ===== */
.wedding-footer {
    position: relative;
    background: linear-gradient(180deg, #4b002b, #7a003f, #4b002b); /* Royal Maroon Gradient */
    padding: 60px 20px 40px;
    color: #fcefe3;
    overflow: hidden;
    border-top: 4px solid #d4af37;
}

/* GOLD FLORAL FRAMES */
.footer-frame {
    position: absolute;
    width: 100%;
    height: 70px;
    background: url("/home/assets/img/golden-floral-border.png") center/contain no-repeat;
    opacity: 0.55;
}
.top-frame { top: 0; }
.bottom-frame { bottom: 0; transform: rotate(180deg); }

/* DARK GOLD OVERLAY */
.footer-overlay {
    background: rgba(0, 0, 0, 0.55);
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* CONTENT WRAPPER */
.footer-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

/* TEXT LEFT SIDE */
.couple-name {
    font-family: "Playfair Display", serif;
    font-size: 32px;
    font-weight: bold;
    color: #ffe7b3;
    margin-bottom: 10px;
    text-shadow: 0 0 10px #000;
}
.heart { color: #ff8da8; }

.wedding-date, .wedding-venue {
    font-size: 16px;
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

/* TRIBUTE */
.father-tribute {
    margin-top: 20px;
    padding: 12px 15px;
    border-left: 3px solid #d4af37;
}
.father-tribute strong {
    color: #fff1c1;
}
.tribute-sub {
    opacity: 0.8;
    font-size: 13px;
}

/* RIGHT SIDE */
.section-title {
    color: #ffdca0;
    margin-bottom: 12px;
    font-size: 20px;
}

.social-links {
    margin-bottom: 18px;
}
.social-links a {
    font-size: 22px;
    margin-right: 14px;
    color: #fff;
    transition: 0.3s;
}
.social-links a:hover { color: #d4af37; }

/* Insta Grid */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(2, 90px);
    gap: 12px;
}
.insta-grid img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #d4af37;
    box-shadow: 0 0 8px rgba(0,0,0,0.4);
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 35px;
}

.arabic-dua {
    font-family: "Amiri", serif;
    font-size: 22px;
    margin-bottom: 8px;
    color: #ffebb6;
}
.love { color: #ff8ca3; }

/* ===== MOBILE RESPONSIVE FIXES ===== */
@media(max-width: 768px) {

    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .father-tribute {
        border-left: none;
        border-top: 2px solid #d4af37;
        padding-top: 20px;
        margin-top: 20px;
        width: 100%;
    }

    .insta-grid {
        grid-template-columns: repeat(2, 100px);
        gap: 15px;
        margin: 0 auto;
    }

    .footer-frame {
        height: 50px; /* smaller borders for mobile */
        opacity: 0.45;
    }

    .couple-name {
        font-size: 28px;
    }

    .section-title {
        margin-top: 20px;
    }
}

@media(max-width: 480px) {
    .insta-grid {
        grid-template-columns: repeat(2, 90px);
    }
}

.modal-content .dropdown {
    width: 100%;
    padding: 10px;
    margin: 10px 0 15px;
    border: 2px solid #d4af37;
    border-radius: 8px;
    background: #fff;
    font-size: 16px;
}




.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 70px;         /* ✅ Change this to increase/decrease size */
    height: auto;
    object-fit: contain;
    border-radius: 8px;  /* Optional premium look */
}

.logo-text h1 {
    font-size: 22px;
    margin: 0;
    font-weight: 700;
}

.logo-date {
    font-size: 13px;
    color: #6b6b6b;
}

/* ✅ Mobile Optimization */
@media (max-width: 768px) {
    .logo-img {
        width: 55px;
    }

    .logo-text h1 {
        font-size: 18px;
    }
}


/* ✅ WEDDING VIDEO PRELOADER - FINAL FIX */

#wedding-video-preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #000; /* fallback if video fails */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hide */
#wedding-video-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* Video */
.wedding-video-preloader__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay */
.wedding-video-preloader__overlay {
    position: absolute;
    inset: 0;
    background: rgba(105, 100, 100, 0.45);
}

/* Content */
.wedding-video-preloader__content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* ✅ Bismillah */
.wedding-video-preloader__bismillah {
    font-family: 'Amiri', serif;
    font-size: 26px;
    color: #f5d88c;
    margin-bottom: 14px;
    opacity: 1;     /* ✅ FORCED VISIBILITY FIX */
    transform: translateY(0);
    text-shadow: 0 4px 18px rgba(0,0,0,0.6);
}

/* ✅ Logo */
.wedding-video-preloader__logo {
    width: 85px;
    margin-bottom: 18px;
}

/* ✅ Spinner */
.wedding-video-preloader__spinner {
    width: 46px;
    height: 46px;
    border: 4px solid rgba(255,255,255,0.4);
    border-top: 4px solid #d4af37;
    border-radius: 50%;
    margin: 0 auto 14px;
    animation: weddingSpinner 1s linear infinite;
}

/* ✅ Text */
.wedding-video-preloader__text {
    font-size: 14px;
    color: #fff;
    letter-spacing: 1.5px;
}

/* ✅ Spinner Animation */
@keyframes weddingSpinner {
    100% { transform: rotate(360deg); }
}

/* ✅ Mobile */
@media (max-width: 768px) {
    .wedding-video-preloader__bismillah { font-size: 18px; }
    .wedding-video-preloader__logo { width: 60px; }
    .wedding-video-preloader__spinner { width: 34px; height: 34px; }
}


/* <style> */
.invitation-card {
  background: linear-gradient(135deg, #1a1a1a, #3d1c0f);
  color: gold;
  padding: 30px;
  width: 400px;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(255,215,0,0.4);
  text-align: center;
  animation: zoomIn .4s ease;
}

@keyframes zoomIn {
  from { transform: scale(.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.invite-box h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.status-container {
  margin: 15px 0;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: #333;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar div {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, gold, orange);
  transition: .5s;
}

.status-text {
  margin-bottom: 6px;
  font-weight: bold;
}

#membersList {
  text-align: left;
  padding-left: 20px;
}

.close-details {
  float: right;
  cursor: pointer;
  font-size: 22px;
  color: gold;
}


.invitation-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #ddd;
    border-top: 6px solid gold;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0); }
    100% { transform: rotate(360deg); }
}