/* =========================================================
   WEDDING PAGE — FULL STYLESHEET
   Clean, balanced, production‑ready
   ========================================================= */


/* =========================================================
   1) HERO — STRUCTURE & LAYERING
   Base layout for the hero section. Ensures background,
   gradient and content stack correctly.
   ========================================================= */

.voucher-hero {
    position: relative;
    overflow: visible !important;
    padding: 1.5rem 0;
}

/* Soft atmospheric wash behind hero content */
.voucher-hero-gradient {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* Hero content sits above gradient and background */
.voucher-hero .container {
    position: relative;
    z-index: 2;
}


/* =========================================================
   2) HERO CARD — LUXURY GLASS
   Frosted glass effect for premium hero panels.
   ========================================================= */

.voucher-hero-card {
    overflow: visible !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}

.voucher-hero-card .carousel {
    margin-bottom: 0.75rem;
}


/* =========================================================
   3) CAROUSEL — FADE TRANSITION
   Smooth fade between slides with natural height.
   ========================================================= */

.carousel.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity .5s ease;
}

.carousel.carousel-fade .carousel-item.active {
    opacity: 1;
}

.carousel-inner {
    height: auto !important;
}


/* =========================================================
   4) CAROUSEL IMAGES — WEDDING VERSION
   Controlled height, soft crop and rounded corners.
   ========================================================= */

.wedding-carousel-img {
    max-height: 260px;
    width: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
}

.carousel-item {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.carousel-indicators {
    bottom: -8px;
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 5;
}


/* =========================================================
   5) MOBILE BUTTON FIX
   Keeps large buttons usable on small screens.
   ========================================================= */

@media (max-width: 576px) {
    .voucher-hero .btn-lg {
        font-size: 0.9rem !important;
        padding: 8px 14px !important;
        border-radius: 6px !important;
    }
}


/* =========================================================
   6) PREMIUM CARD MICRO‑ANIMATIONS
   Gentle lift and icon motion on hover.
   ========================================================= */

.premium-card {
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.premium-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(0,0,0,0.12);
}

.pp-icon {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.premium-card:hover .pp-icon {
    transform: scale(1.08);
    opacity: 0.9;
}

.premium-card blockquote {
    transition: transform 0.45s ease;
}

.premium-card:hover blockquote {
    transform: translateY(-3px);
}


/* =========================================================
   7) WEDDING HEADING — CENTRED + UNDERLINE
   Elegant centred heading with gold accent line.
   ========================================================= */

.wedding-heading-wrapper {
    display: flex;
    justify-content: center;
    text-align: center;
}

.wedding-heading {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 14px;
    z-index: 10;
}

.wedding-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 3px;
    background: linear-gradient(
        90deg,
        rgba(255, 215, 160, 0) 0%,
        rgba(255, 215, 160, 1) 50%,
        rgba(255, 215, 160, 0) 100%
    );
    border-radius: 2px;
}

.wedding-tight {
    margin-bottom: 22px;
}


/* =========================================================
   8) ICONS — BALANCED SIZING
   Consistent icon size and spacing in hero text rows.
   ========================================================= */

.wedding-icon {
    height: 28px;
    width: auto;
    opacity: 0.9;
    flex-shrink: 0;
}

.d-flex.align-items-center.gap-2 {
    gap: 0.55rem !important;
    line-height: 1.35;
}


/* =========================================================
   9) WEDDING BUTTONS — PREMIUM PALETTE
   Refined colour system for primary and secondary CTAs.
   ========================================================= */

.voucher-hero .wedding-btn {
    padding: 10px 22px !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

.voucher-hero .btn-warning {
    background-color: #f4b75a !important;
    border-color: #f4b75a !important;
}

.voucher-hero .btn-warning:hover {
    background-color: #e3a64c !important;
    border-color: #e3a64c !important;
}

.voucher-hero .btn.bg-success {
    background-color: #3c8f6b !important;
    border-color: #3c8f6b !important;
}

.voucher-hero .btn.bg-success:hover {
    background-color: #347a5b !important;
    border-color: #347a5b !important;
}


/* =========================================================
   10) HERO BACKGROUND — FLORAL IMAGE
   Container‑scoped hero background with soft floral artwork.
   Provides breathing room and a consistent hero height.
   ========================================================= */

.voucher-hero-image {
    position: relative;
    z-index: 1;

    background-image: image-set(
        url('webimage/Main/NewPage/chtbot/chtbot-used/hero-carousel/avif-lossless/wedding-bg-ai-1200.avif') type("image/avif"),
        url('webimage/Main/NewPage/chtbot/chtbot-used/hero-carousel/webp/wedding-bg-ai-1200.webp') type("image/webp"),
        url('webimage/Main/NewPage/chtbot/chtbot-used/hero-carousel/png/wedding-bg-ai-1200.png') type("image/png"),
        url('webimage/Main/NewPage/chtbot/chtbot-used/hero-carousel/png/wedding-bg-ai-1200.png') type("image/jpeg")
    );

    background-size: cover;        /* fills naturally */
    background-position: center;   /* keeps focus */
    background-repeat: no-repeat;

    border-radius: 16px;
    padding: 40px 20px;            /* breathing room for content */
    min-height: 420px;             /* consistent hero height */
}


/* =========================================================
   11) VIDEO ORIENTATION FIX
   Prevents rotated video display on some devices.
   ========================================================= */

.video-rotate-wrapper video {
    transform: none !important;
}


/* =========================================================
   12) EDITORIAL FADE CAROUSEL — TESTIMONIALS
   Slow cinematic fade for testimonial transitions.
   ========================================================= */

#weddingFadeCarousel .carousel-item {
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
}

#weddingFadeCarousel .carousel-item.active {
    opacity: 1;
}

#weddingFadeCarousel img {
    object-fit: cover;
    width: 100%;
    border-radius: 12px;
}
