/* ============================================
   WEDDING EXPRESS - Home Page Styles (Luxury v2)
   ============================================ */

/* === Hero Banner Slideshow === */
.hero-banner {
  position: relative;
  width: 100%;
  height: 88vh;
  min-height: 540px;
  max-height: 880px;
  overflow: hidden;
  margin-top: 72px;
  background: var(--espresso-deep);
}

.banner-slides-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.15s ease-in-out;
  z-index: 1;
}

.banner-slide.active {
  opacity: 1;
  z-index: 2;
}

.banner-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 6.5s ease-out;
}

.banner-slide.active .banner-slide-img {
  transform: scale(1.08);
}

.banner-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(23, 12, 7, 0.38) 0%,
    rgba(23, 12, 7, 0.16) 42%,
    rgba(44, 24, 16, 0.62) 76%,
    rgba(18, 9, 6, 0.88) 100%
  );
}

.banner-content {
  position: absolute;
  bottom: 14%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 5;
  width: 92%;
  max-width: 860px;
}

.banner-content .welcome-text {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(23, 12, 7, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.45);
  backdrop-filter: blur(8px);
  font-size: clamp(0.75rem, 1.5vw, 0.92rem);
  color: var(--gold-bright);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 700;
}

.banner-content h1 {
  color: #FFFFFF;
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  margin-bottom: 14px;
  text-shadow: 0 6px 26px rgba(0, 0, 0, 0.55);
}

.banner-content h1 span {
  background: linear-gradient(135deg, #FFF2B2, #E5C158, #C8A951);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.banner-content p {
  color: rgba(253, 248, 239, 0.92);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  margin: 0 auto 26px;
  max-width: 650px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.banner-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.banner-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 6;
}

.banner-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1.5px solid rgba(242, 214, 117, 0.8);
  background: transparent;
  transition: all 0.3s ease;
}

.banner-dots .dot.active {
  width: 30px;
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(23, 12, 7, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  backdrop-filter: blur(8px);
}

.banner-arrow:hover {
  background: var(--gold);
  color: var(--espresso-deep);
}

.banner-arrow.prev { left: 22px; }
.banner-arrow.next { right: 22px; }

.replay-curtain-pill {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 6;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(139, 26, 26, 0.78);
  border: 1px solid rgba(242, 214, 117, 0.5);
  color: var(--gold-pale);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.replay-curtain-pill:hover {
  background: var(--crimson);
  color: #FFF;
}

/* === Justdial Quick Info Ribbon === */
.studio-trust-bar {
  background: linear-gradient(90deg, var(--espresso-deep), #3B1810, var(--espresso-deep));
  border-top: 1.5px solid rgba(200, 169, 81, 0.45);
  border-bottom: 1.5px solid rgba(200, 169, 81, 0.45);
  padding: 15px 0;
  color: var(--gold-pale);
}

.trust-bar-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 22px;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 600;
  color: #F6E9CE;
}

.trust-pill i {
  color: var(--gold-bright);
  font-size: 1rem;
}

/* === About Preview Section === */
.about-preview-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: 55px;
  align-items: center;
}

.about-preview-image {
  position: relative;
}

.about-preview-image .main-img {
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(200, 169, 81, 0.45);
  box-shadow: var(--shadow-dark);
  aspect-ratio: 4/5;
}

.about-preview-image .main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-preview-image .floating-box {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: linear-gradient(135deg, var(--crimson), #9E1F1F, var(--gold-deep));
  color: var(--ivory);
  padding: 22px 26px;
  border-radius: 16px;
  text-align: center;
  border: 2px solid var(--gold-pale);
  box-shadow: 0 14px 35px rgba(139, 26, 26, 0.4);
}

.floating-box .number {
  font-family: 'Playfair Display', serif;
  font-size: 2.3rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.floating-box .label {
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 5px;
  display: block;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0 28px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(200, 169, 81, 0.1);
  border: 1px solid rgba(200, 169, 81, 0.25);
}

.about-feature-item i { color: var(--crimson); }
.about-feature-item span { font-weight: 700; font-size: 0.96rem; }

/* === Services Visual Cards (With Real Photos) === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-photo-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 169, 81, 0.24);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.service-photo-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-bright);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.45);
}

.service-photo-thumb {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.service-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-photo-card:hover .service-photo-thumb img {
  transform: scale(1.09);
}

.service-photo-thumb .tag-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(23, 12, 7, 0.78);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: var(--gold-bright);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.service-photo-body {
  padding: 24px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-photo-body h3 {
  color: var(--gold-pale);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.service-photo-body p {
  color: #C7B69B;
  font-size: 0.96rem;
  margin-bottom: 14px;
  flex: 1;
}

.service-link {
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* === Dynamic Admin-Configured Packages Showcase === */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.package-card {
  background: #FFFDF8;
  border: 1.5px solid rgba(200, 169, 81, 0.3);
  border-radius: var(--radius-lg);
  padding: 34px 26px 28px;
  position: relative;
  transition: all 0.35s ease;
  box-shadow: 0 12px 35px rgba(44, 24, 16, 0.06);
  display: flex;
  flex-direction: column;
}

.package-card.featured {
  border: 2px solid var(--crimson);
  background: linear-gradient(180deg, #FFFDF8 0%, #FCEFD6 100%);
  box-shadow: 0 22px 50px rgba(139, 26, 26, 0.14);
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold);
}

.package-badge {
  position: absolute;
  top: -12px;
  right: 22px;
  padding: 5px 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--crimson), var(--gold-deep));
  color: #FFF;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.package-card h3 {
  font-size: 1.45rem;
  margin-bottom: 4px;
}

.package-tagline {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.package-price {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--crimson);
  line-height: 1.1;
  margin-bottom: 14px;
}

.package-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.package-spec-pill {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(200, 169, 81, 0.16);
  color: var(--espresso);
  font-size: 0.82rem;
  font-weight: 700;
}

.package-features {
  margin-bottom: 24px;
  flex: 1;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(200, 169, 81, 0.22);
  font-size: 0.95rem;
  color: #493629;
}

.package-features li:last-child { border-bottom: none; }
.package-features li i { color: var(--gold-deep); margin-top: 4px; font-size: 0.82rem; }

/* === Home Availability Calendar + Quick Booking Section === */
.home-booking-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 32px;
  align-items: start;
}

.home-cal-box,
.home-quick-form-box {
  background: #FFFDF8;
  border: 1.5px solid rgba(200, 169, 81, 0.35);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-dark);
}

.home-cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, var(--espresso), #140A06);
  color: var(--gold-pale);
  padding: 11px 15px;
  border-radius: 12px;
  margin-bottom: 14px;
}

.home-cal-nav {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(200, 169, 81, 0.18);
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.home-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
}

.hcal-day {
  aspect-ratio: 1;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.94rem;
  border: 1px solid rgba(200, 169, 81, 0.28);
  background: #FAF3E3;
  color: var(--espresso);
}

.hcal-day.empty { background: transparent; border: none; }
.hcal-day.past { background: #F0ECE3; border-color: transparent; color: #B4A89D; cursor: not-allowed; }
.hcal-day.available { cursor: pointer; }
.hcal-day.available:hover { background: #F5E0B1; border-color: var(--gold-deep); }
.hcal-day.available::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #1E8E3E; margin-top: 2px; }
.hcal-day.unavailable {
  background: linear-gradient(135deg, #7A1414, #590B0B);
  color: #FFD6D6;
  border-color: #8B1A1A;
  cursor: not-allowed;
}
.hcal-day.unavailable span { text-decoration: line-through; }
.hcal-day.unavailable small { font-size: 0.55rem; font-family: 'Cormorant Garamond', serif; text-transform: uppercase; }
.hcal-day.selected {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold-bright)) !important;
  color: var(--espresso-deep) !important;
  border-color: var(--espresso) !important;
  box-shadow: 0 5px 16px rgba(200, 169, 81, 0.45);
}

.hform-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hfield {
  margin-bottom: 14px;
}

.hfield label {
  display: block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--espresso);
  margin-bottom: 6px;
}

.hfield input,
.hfield select,
.hfield textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(139, 105, 20, 0.35);
  border-radius: 10px;
  background-color: #FFFFFF;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  color: #1E110B;
  outline: none;
  transition: all 0.25s ease;
}

.hfield input:focus,
.hfield select:focus,
.hfield textarea:focus {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(200, 169, 81, 0.24);
}

.hfield input[readonly] {
  background-color: #FAF1DF;
  cursor: pointer;
}

.hchips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hchip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(200, 169, 81, 0.4);
  background: var(--ivory);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}

.hchip input { display: none; }
.hchip.checked {
  background: var(--crimson);
  color: #FFF;
  border-color: var(--crimson);
}

/* === Stats Counter === */
.stats-section {
  padding: 62px 0;
  background: linear-gradient(135deg, var(--crimson-dark), var(--crimson), var(--gold-deep));
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  color: var(--ivory);
}

.stat-item .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  font-weight: 700;
  color: var(--gold-pale);
  display: block;
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 8px;
  display: block;
}

/* === Portfolio Collage Preview (Real Photos) === */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.portfolio-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1.5px solid rgba(200, 169, 81, 0.3);
  box-shadow: 0 12px 30px rgba(44, 24, 16, 0.1);
}

.portfolio-item.featured {
  grid-row: span 2;
  aspect-ratio: auto;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(23, 12, 7, 0.88) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.portfolio-overlay h4 { color: var(--gold-pale); margin-bottom: 2px; }
.portfolio-overlay p { color: var(--gold-bright); font-size: 0.85rem; margin: 0; font-style: italic; }

/* === Testimonials === */
.testimonial-slider {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-item { display: none; }
.testimonial-item.active { display: block; animation: testimonialFade 0.5s ease; }
@keyframes testimonialFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-item blockquote {
  font-size: clamp(1.12rem, 2vw, 1.4rem);
  font-style: italic;
  line-height: 1.8;
  margin: 14px 0 22px;
}

.testimonial-stars { color: var(--gold); font-size: 1rem; }
.client-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.12rem; }
.client-event { color: var(--crimson); font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; }

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.testimonial-nav .t-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--gold-deep);
  background: transparent;
}

.testimonial-nav .t-dot.active { background: var(--crimson); border-color: var(--crimson); }

/* === CTA Section === */
.cta-section {
  background:
    linear-gradient(135deg, rgba(23, 12, 7, 0.9), rgba(92, 11, 11, 0.86)),
    url('../assets/images/banner-3.jpg') center/cover no-repeat;
  text-align: center;
  color: var(--ivory);
}

.cta-section h2 { color: var(--gold-pale); margin-bottom: 12px; }
.cta-section p { color: #E8D5A3; max-width: 620px; margin: 0 auto 26px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* === Ecosystem Spotlight Cards (Join Partner + Separate Store) === */
.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.eco-card {
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  border: 1.5px solid rgba(200, 169, 81, 0.35);
  box-shadow: var(--shadow-dark);
  display: flex;
  flex-direction: column;
}

.eco-partner {
  background: linear-gradient(145deg, #24140D, #130906);
  color: var(--ivory);
}
.eco-partner h3 { color: var(--gold-pale); margin: 12px 0 10px; }
.eco-partner p { color: #D5C5AD; flex: 1; }

.eco-store {
  background: linear-gradient(145deg, #FFFDF8, #F7EBD3);
}
.eco-store h3 { margin: 12px 0 10px; }
.eco-store p { flex: 1; }

.eco-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(200, 169, 81, 0.16);
  border: 1px solid rgba(200, 169, 81, 0.45);
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  align-self: flex-start;
}

.eco-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

@media (max-width: 900px) {
  .ecosystem-grid { grid-template-columns: 1fr; }
}

/* === Responsive === */
@media (max-width: 1024px) {
  .about-preview-grid,
  .home-booking-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-banner { height: 74vh; min-height: 450px; }
  .banner-arrow { width: 38px; height: 38px; }
  .banner-arrow.prev { left: 10px; }
  .banner-arrow.next { right: 10px; }
  .services-grid,
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item.featured { grid-row: span 1; aspect-ratio: 4/3; }
  .about-features,
  .hform-row { grid-template-columns: 1fr; }
  .about-preview-image .floating-box { right: 10px; bottom: 10px; padding: 14px 18px; }
  .hcal-day.unavailable small { display: none; }
}
