/* =========================================================
   MAYAPUR CORE FULL-BLEED & LUXURY HERO IMAGE FIX (v3.4)
   ========================================================= */

/* 1. Global Reset & Eliminate ALL Left/Right White Space */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    background-color: #1A0E05 !important; /* Force dark background globally */
}

/* Force dark background on Elementor containers so white gaps never show */
.elementor,
.elementor-page,
.elementor-section-wrap,
.elementor-section,
.elementor-section-boxed,
.elementor-section-boxed > .elementor-container,
.elementor-column,
.elementor-column-gap-default > .elementor-column > .elementor-element-populated,
.elementor-widget-wrap,
.elementor-widget-container,
.elementor-widget-html {
    background-color: #1A0E05 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* 2. Hero Section 100% Full-Bleed Screen Width Fix */
#hero {
    position: relative !important;
    width: 100vw !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: 100vw !important;
    min-height: 85vh !important;
    overflow: hidden !important;
    background: #1A0E05 !important;
    padding-top: 110px !important; /* Space for sticky header */
}

.hero-bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    overflow: hidden !important;
    background: #1A0E05 !important;
}

.hero-bg-gradient {
    position: absolute !important;
    inset: 0 !important;
    background: radial-gradient(circle at 70% 30%, rgba(201, 151, 58, 0.18) 0%, transparent 60%),
                linear-gradient(90deg, #1A0E05 35%, rgba(26, 14, 5, 0.4) 70%, #1A0E05 100%) !important;
    z-index: 3 !important;
}

/* 3. Owner Image Face Fix & Professional Side Blur / Fade Effect */
.hero-owner-image {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
    width: 55% !important;
    max-width: 750px !important;
    z-index: 2 !important;

    /* Ensure face is 100% visible at top of image */
    object-fit: cover !important;
    object-position: top center !important;

    /* Professional Feathered Side Blur & Gradient Mask (Melts edges into background) */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%),
                        linear-gradient(to bottom, black 85%, transparent 100%) !important;
    mask-image: linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%),
                linear-gradient(to bottom, black 85%, transparent 100%) !important;
    -webkit-mask-composite: source-in !important;
    mask-composite: intersect !important;

    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.7)) !important;
    transition: all 0.5s ease !important;
}

/* Vignette overlay for seamless blending */
.hero-vignette {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(to right, #1A0E05 30%, transparent 65%, #1A0E05 98%),
                linear-gradient(to bottom, transparent 70%, #1A0E05 100%) !important;
    z-index: 4 !important;
    pointer-events: none !important;
}

/* 4. Hero Text & Content Box */
.hero-content {
    position: relative !important;
    z-index: 10 !important;
    max-width: 1350px !important;
    margin: 0 auto !important;
    padding: 3.5rem 2rem 5rem !important;
}

.hero-inner {
    max-width: 620px !important;
}

.hero-title {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: clamp(2.75rem, 5.5vw, 4.75rem) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.03em !important;
    color: #FFFFFF !important;
    margin-bottom: 1.25rem !important;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.8) !important;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.3vw, 1.2rem) !important;
    line-height: 1.65 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-bottom: 2rem !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8) !important;
}

/* 5. Sticky Header Wrapper */
#sticky-header-wrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

#announcement-bar {
    background: linear-gradient(90deg, #C44E12, #E8621A, #C44E12) !important;
    padding: 0.4rem 0 !important;
    overflow: hidden !important;
    position: relative !important;
    width: 100% !important;
}

.announcement-track {
    display: flex !important;
    gap: 3rem !important;
    animation: scrollAnnounce 25s linear infinite !important;
    white-space: nowrap !important;
}

@keyframes scrollAnnounce {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.announcement-item {
    color: #FFFFFF !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em !important;
}

#site-header {
    background: rgba(26, 14, 5, 0.96) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(201, 151, 58, 0.25) !important;
    width: 100% !important;
}

.header-inner {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 70px !important;
    gap: 1.5rem !important;
}

.site-logo-img {
    height: 50px !important;
    width: 50px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #C9973A !important;
}

/* 6. Product Cards Grid & Loop Buttons */
.woocommerce ul.products,
.woocommerce-page ul.products,
ul.wc-block-grid__products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    list-style: none !important;
    margin: 1.5rem 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background: #FFFFFF !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(42, 26, 14, 0.08) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    width: 100% !important;
    float: none !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 40px rgba(42, 26, 14, 0.16) !important;
}

.woocommerce ul.products li.product img {
    width: 100% !important;
    height: 220px !important;
    max-height: 220px !important;
    object-fit: cover !important;
    display: block !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
    font-family: "Playfair Display", serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding: 0.9rem 1rem 0.25rem !important;
    margin: 0 !important;
    color: #1C1C1E !important;
}

.woocommerce ul.products li.product .price {
    padding: 0 1rem 0.5rem !important;
    font-weight: 700 !important;
    color: #E8621A !important;
    font-size: 1rem !important;
}

.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product a.add_to_cart_button,
.woocommerce ul.products li.product a.wa-loop-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    height: 42px !important;
    max-height: 42px !important;
    margin: 0.5rem 1rem 1rem !important;
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    color: #FFFFFF !important;
    border-radius: 10px !important;
    padding: 0 0.85rem !important;
    text-align: center !important;
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.8125rem !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3) !important;
    width: calc(100% - 2rem) !important;
}

/* 7. Footer Styling */
#site-footer {
    position: relative !important;
    width: 100vw !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    background: linear-gradient(180deg, #1A0E05 0%, #0D0702 100%) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 4rem 0 2rem !important;
}

.footer-grid {
    max-width: 1280px !important;
    margin: 0 auto 3rem !important;
    padding: 0 1.5rem !important;
    display: grid !important;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr !important;
    gap: 2.5rem !important;
}

.footer-bottom {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 1.5rem 1.5rem 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
}

/* 8. Mobile Responsiveness */
@media (max-width: 1024px) {
    .hero-owner-image {
        width: 50% !important;
        opacity: 0.85 !important;
    }
    .woocommerce ul.products, .woocommerce-page ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    #hero {
        padding-top: 95px !important;
        min-height: auto !important;
    }
    .hero-content {
        padding: 2.5rem 1.25rem 3rem !important;
    }
    .hero-owner-image {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 320px !important;
        margin-top: 1rem !important;
        object-fit: cover !important;
        object-position: top center !important;
        -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%) !important;
        mask-image: linear-gradient(to bottom, black 70%, transparent 100%) !important;
    }
    .woocommerce ul.products, .woocommerce-page ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    .woocommerce ul.products li.product img {
        height: 150px !important;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}