/* Weddings pages (modern) */

.weddings{ background: var(--bg); }

/* HERO / SUBHERO */
.wed-hero{
  padding: 38px 0 18px;
  background:
    radial-gradient(1000px 520px at 15% 15%, rgba(236,72,153,.14), transparent 55%),
    radial-gradient(900px 520px at 85% 30%, rgba(14,165,233,.14), transparent 55%),
    linear-gradient(180deg, rgba(2,6,23,.03), transparent 70%);
}

.wed-hero__row{
  display:grid;
  grid-template-columns: 1.1fr .85fr;
  gap: 18px;
  align-items:start;
}

.wed-subhero{
  padding: 28px 0 18px;
  background:
    radial-gradient(900px 420px at 20% 20%, rgba(14,165,233,.12), transparent 55%),
    linear-gradient(180deg, rgba(2,6,23,.03), transparent 70%);
}
.wed-subhero__row{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items:start;
}

.wed-eyebrow{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.wed-title{
  margin: 8px 0 10px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
}

.wed-sub{
  margin: 0;
  color:#334155;
  line-height: 1.75;
  max-width: 75ch;
}

.wed-badges{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  align-items:center;
}

.wed-pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(2,6,23,.06);
  font-weight: 800;
  font-size: 13px;
}
.wed-pill i{ color: var(--accent); }

.wed-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.wed-btn{
  border:0;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 900;
  text-decoration:none;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap: 10px;
  color:#fff;
  background: linear-gradient(90deg, var(--brand2), var(--accent));
  box-shadow: 0 14px 30px rgba(11,103,163,.22);
}
.wed-btn:hover{ filter: brightness(1.05); }

.wed-btn--ghost{
  background: transparent;
  color:#0b3a5b;
  border: 1px solid rgba(2,6,23,.16);
  box-shadow:none;
}
.wed-btn--ghost:hover{ background: rgba(2,6,23,.04); }

.wed-mini{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.mini-card{
  background:#fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 12px;
  display:flex;
  gap: 10px;
  align-items:flex-start;
}
.mini-card i{ color: var(--accent); margin-top: 3px; }
.mini-card b{ display:block; }
.mini-card small{ color: var(--muted); font-weight: 700; }

/* Hero media */
.wed-heroMedia,
.wed-subheroMedia{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #e5e7eb;

  height: 360px;      /* ✅ force a real height so the image stays inside */
}

.wed-subheroMedia{ height: 300px; }
.wed-subheroMedia{ min-height: 300px; }

.wed-heroMedia img,
.wed-subheroMedia img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.wed-heroMedia__badge{
  position:absolute;
  left: 14px;
  bottom: 14px;
  display:inline-flex;
  gap: 8px;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  color:#fff;
  font-weight: 900;
  font-size: 13px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.wed-heroMedia__badge .dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 6px rgba(239,68,68,.22);
}

.wed-heroCard__foot{
  margin-top: 10px;
  background:#fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 12px 14px;
  color:#334155;
}

/* Sections */
.wed-section{ padding: 26px 0 40px; }
.wed-section--soft{ background: #f8fafc; }

.wed-section__head{
  margin-bottom: 14px;
}
.wed-section__head h2{
  margin:0;
  font-size: 26px;
}
.wed-section__head p{
  margin: 6px 0 0;
  color:#64748b;
  font-weight: 700;
}

/* Cards grid */
.wed-grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}
.wed-card{
  background:#fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 16px;
  color:#334155;
  line-height:1.7;
}
.wed-card h3{
  margin: 0 0 10px;
  color:#0f172a;
  font-size: 18px;
  display:flex;
  gap: 10px;
  align-items:center;
}
.wed-card h3 i{ color: var(--accent); }

/* Packages */
.packages{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pkg{
  background:#fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 16px;
  color:#334155;
}
.pkg__top{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.pkg__top h3{ margin:0; color:#0f172a; }
.pkg__price{
  font-weight: 1000;
  color:#0f172a;
  background: rgba(2,6,23,.05);
  border: 1px solid rgba(2,6,23,.06);
  padding: 6px 10px;
  border-radius: 999px;
}

.pkg__list{
  margin: 10px 0 0;
  padding-left: 18px;
}
.pkg__list li{ margin: 8px 0; }

.pkg__note{
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(14,165,233,.08);
  border: 1px solid rgba(14,165,233,.15);
  color:#0b3a5b;
  font-weight: 700;
}

.pkg__cta{
  display:inline-flex;
  margin-top: 12px;
  font-weight: 900;
  text-decoration:none;
  color:#0b3a5b;
}
.pkg__cta:hover{ text-decoration: underline; }

.pkg--featured{
  background:
    radial-gradient(900px 360px at 40% 10%, rgba(236,72,153,.12), transparent 60%),
    #fff;
  border: 1px solid rgba(236,72,153,.18);
}

/* Requirements */
.req-grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}
.req-card{
  background:#fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 16px;
  color:#334155;
}
.req-card h3{
  margin: 0 0 10px;
  color:#0f172a;
  font-size: 18px;
  display:flex;
  gap: 10px;
  align-items:center;
}
.req-card h3 i{ color: var(--accent); }
.req-card ul{ margin: 10px 0 0; padding-left: 18px; }
.req-card li{ margin: 8px 0; }

/* Gallery */
.wed-gallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.wed-gallery .g{
  border-radius: 18px;
  overflow:hidden;
  box-shadow: var(--shadow);
  background:#e5e7eb;
  display:block;
}
.wed-gallery img{
  width:100%;
  height: 190px;
  object-fit: cover;
  display:block;
}

.wed-gallery__note{
  margin-top: 12px;
  display:flex;
  gap: 10px;
  align-items:center;
  color:#64748b;
  font-weight: 800;
}
.wed-gallery__note i{ color: var(--accent); }

/* CTA */
.wed-cta{
  padding: 30px 0 52px;
  background:
    radial-gradient(1000px 420px at 15% 20%, rgba(14,165,233,.12), transparent 55%),
    radial-gradient(900px 420px at 85% 30%, rgba(236,72,153,.12), transparent 55%),
    #f8fafc;
}
.wed-cta__row{
  background:#fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  flex-wrap:wrap;
}
.wed-cta__row h2{ margin:0; font-size: 22px; }
.wed-cta__row p{ margin: 6px 0 0; color:#64748b; font-weight: 700; }
.wed-cta__actions{ display:flex; gap: 10px; flex-wrap:wrap; }

/* Responsive */
@media (max-width: 980px){
  .wed-hero__row,
  .wed-subhero__row{ grid-template-columns: 1fr; }
  .wed-mini{ grid-template-columns: 1fr; }
  .wed-grid{ grid-template-columns: 1fr; }
  .packages{ grid-template-columns: 1fr; }
  .req-grid{ grid-template-columns: 1fr; }
  .wed-gallery{ grid-template-columns: repeat(2, 1fr); }
  .wed-heroMedia, .wed-subheroMedia{ min-height: 220px; }
  .wed-gallery img{ height: 160px; }
}

/* ===== Wedding Lightbox (page-local) ===== */
.wed-no-scroll { overflow: hidden; }

.wed-lightbox{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  background: rgba(2, 6, 23, .78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.wed-lightbox.is-open{ display: grid; }

.wed-lightbox{
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  justify-items: center;
  padding: 22px;
}

.wed-lightbox__figure{
  width: min(1100px, 100%);
  max-height: calc(100vh - 90px);
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
  display: grid;
  grid-template-rows: 1fr auto;
}

.wed-lightbox__img{
  width: 100%;
  height: auto;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  display: block;
  background: rgba(0,0,0,.20);
}

.wed-lightbox__cap{
  padding: 12px 14px;
  color: rgba(255,255,255,.92);
  font-weight: 800;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
}

.wed-lightbox__close{
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.wed-lightbox__close:hover{ background: rgba(255,255,255,.16); }

.wed-lightbox__nav{
  width: 44px;
  height: 64px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.wed-lightbox__nav:hover{ background: rgba(255,255,255,.16); }

@media (max-width: 860px){
  .wed-lightbox{
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    gap: 10px;
    padding: 16px;
  }
  .wed-lightbox__nav{ width: 100%; height: 46px; }
  .wed-lightbox__prev{ order: 2; }
  .wed-lightbox__figure{ order: 1; }
  .wed-lightbox__next{ order: 3; }
}

.wed-packages .wed-section__sub{
  max-width:820px;
  margin:12px auto 0;
  text-align:center;
  color:#5f6f82;
  line-height:1.75;
}

.pkg{
  background:#fff;
  border:1px solid rgba(18, 52, 88, 0.08);
  border-radius:24px;
  padding:28px;
  box-shadow:0 14px 34px rgba(19, 39, 70, 0.08);
}

.pkg h3{
  margin:14px 0 14px;
  font-size:1rem;
  line-height:1.15;
  color:#18314f;
}

.pkg__tag{
  display:inline-flex;
  align-items:center;
  padding:10px 16px;
  border-radius:999px;
  background:#eaf4ff;
  color:#1481d6;
  font-weight:700;
  font-size:.95rem;
}

.pkg__price{
  display:inline-block;
  margin-bottom:16px;
  font-size:1.5rem;
  font-weight:800;
  color:#1185d1;
  line-height:1.1;
}

.pkg__price--custom{
  white-space:nowrap;
}

.pkg__desc{
  margin:0;
  color:#53657b;
  line-height:1.8;
  font-size:1.02rem;
}

.pkg__desc + .pkg__desc{
  margin-top:10px;
}

.pkg--signature-top{
  margin-top:30px;
  margin-bottom:28px;
  padding:34px;
  background:linear-gradient(135deg, #fff7ea 0%, #ffffff 100%);
  border:1px solid rgba(221, 176, 88, 0.28);
  box-shadow:0 18px 42px rgba(37, 51, 74, 0.08);
}

.pkg__header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
  margin-bottom:16px;
}

.pkg__header h3{
  margin:14px 0 0;
}

.packages--three{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
  align-items:stretch;
}

.packages--three .pkg{
  height:100%;
}

.pkg--highlight{
  background:linear-gradient(180deg, #f2f9ff 0%, #ffffff 100%);
  border:1px solid rgba(20, 129, 214, 0.18);
}

.pkg__footnote{
  margin-top:24px;
  text-align:center;
  color:#5f6f82;
  line-height:1.75;
}

@media (max-width: 1100px){
  .packages--three{
    grid-template-columns:1fr;
  }

  .pkg__header{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* groups section*/
.group-events-card{
  margin-top:28px;
  background:#fff;
  border:1px solid rgba(18, 52, 88, 0.08);
  border-radius:24px;
  padding:32px;
  box-shadow:0 14px 34px rgba(19, 39, 70, 0.08);
  width:100%;
}

.group-events-card__head{
  margin-bottom:20px;
}

.group-events-card__tag{
  display:inline-flex;
  align-items:center;
  padding:9px 16px;
  border-radius:999px;
  background:#eaf4ff;
  color:#1481d6;
  font-weight:700;
  font-size:.92rem;
  margin-bottom:14px;
}

.group-events-card__head h3{
  margin:0;
  font-size:2rem;
  line-height:1.15;
  color:#18314f;
}

.group-events-list{
  margin:0;
  padding-left:1.2rem;
  color:#53657b;
}

.group-events-list li{
  margin:0 0 14px;
  line-height:1.8;
  font-size:1rem;
}

.group-events-note{
  margin-top:22px;
  padding:18px 20px;
  border-radius:18px;
  background:#f8fbff;
  border:1px solid rgba(20, 129, 214, 0.10);
  color:#5f6f82;
  line-height:1.8;
}

@media (max-width: 768px){
  .group-events-card{
    padding:24px 20px;
  }

  .group-events-card__head h3{
    font-size:1.65rem;
  }
}

@media (min-width: 900px){
  .wed-hero__row,
  .wed-subhero__row,
  .wed-section,
  .wed-cta{
    padding-left: 40px;
  }
}