/**
 * Home Hero Slider Styles
 * This file is loaded only on the homepage
 * Works with existing Woodmart carousel structure
 */

/* ==========================================================================
   HOME SLIDER AREA (ROW CONTAINER)
   ========================================================================== */

/**
 * Main container for the home hero slider section
 * Provides the dark green background and overall layout structure
 */
 .wd-content-layout {
    padding-block: 0px;
}


.arrows-svg-wrapper img {
    display: inline-block;
    width: 550px;
    position: absolute;
    margin: 0 auto;
    margin-bottom: -15px;
    z-index: 10;
    top: 275px;
    left: 44%;
}

.home-slider-area {
    background: linear-gradient(to bottom, #000000 -20%, var(--new-green, #0F3F36) 10%, var(--new-green, #0F3F36) 35%, #000000 65%);
    position: relative;
    overflow: hidden;
    padding-top: 0%;
    padding-bottom: 3%;
    padding-left: 60px;
    border-radius: var(--radius-16);
    margin-bottom: 2%;
}

.shop-reviews {
    padding-top: 40px;
    margin-top: -44px;
}

@media (max-width: 1024px) {
    .home-slider-area {
        padding-left: 0px;
        padding-bottom: 24px;
    }
}

.kiiver-man {
    position: relative;
    bottom: -35px;
    right: -320px;
}
.kiiver-man img {
    max-width: 460px;
}

/* Hero HHH text H1 styling */
.hero-hhh-txt h1 {
    color: var(--power-lime, #ADFF60);
    font-family: var(--font-primary, 'Biryani', sans-serif);
    font-size: 88px;
    font-weight: 500;
    line-height: 96%;
    margin: 0;
    text-align: left;
    text-wrap: balance;
}

/* Bold elements within hero HHH text H1 */
.hero-hhh-txt h1 strong,
.hero-hhh-txt h1 b {
    font-weight: 800;
}
@media (max-width: 1024px) {
    .hero-hhh-txt h1 {
        font-size: clamp(46px, 5vw, 52px);
        text-align: center;
        line-height: 110%;
    }
}

@media (max-width: 1024px) {
    .hero-hhh-txt h1 {
        font-size: clamp(48px, 5vw, 52px);
    }
    .hero-hhh-txt h1 {
        text-align: left;
        padding-top: 46px;
    }
    .kiiver-man {
        bottom: -35px;
        right: -6px;
    }
    .kiiver-man img {
        max-width: 360px;
    }
    .kiiver-man {
        display: inline-block;
        position: absolute;
        top: -130px;
        left: 50%;
    }
    .arrows-svg-wrapper {
        margin-inline-start: -28px;
    }
    .arrows-svg-wrapper img {
        position: sticky;
        margin-bottom: -10px;
    }
    .kiiver-man img {
        max-width: 360px;
        backdrop-filter: opacity(0.6);
        opacity: 0.4;
        top: -48px;
        position: absolute;
        margin-bottom: -20px;
    }
}

/* ==========================================================================
   HOME SLIDER CONTENT STRUCTURE
   ========================================================================== */

/**
 * Text column wrapper for the heading
 * Matches WPBakery page builder structure
 */
.home-slider-area .wpb_text_column.wpb_content_element {
    max-width: 1600px;
    margin: 0 auto 48px auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Home slider heading styling */
.home-slider-area h2 {
    color: var(--power-lime, #ADFF60);
    font-family: var(--font-primary, 'Biryani', sans-serif);
    font-size: clamp(32px, 5vw, 72px);
    font-weight: 900;
    line-height: 110%;
    margin: 0;
    text-align: left;
    text-wrap: balance;
}



/* ==========================================================================
   WOODMART CAROUSEL INTEGRATION
   ========================================================================== */

/**
 * Woodmart carousel container within home slider area
 */
.home-slider-area .wd-carousel-container {
    position: relative;
    z-index: 2;
}

.home-slider-area .wd-carousel {
    margin-inline: calc(var(--wd-gap) / -1);
    margin-right: -16px;
}
.home-slider-area .wd-hide-md-sm {
    display: block!important;
}
.home-slider-area .banner-title {
    color: var(--new-light-green, #D8FFB4);
    font-family: var(--font-primary, 'Biryani', sans-serif);
    font-size: clamp(24px, 5vw, 28px);
    font-weight: 800;
    line-height: 110%;
    margin: 0 0 16px 0;
    text-transform: capitalize;
    text-wrap-style: pretty;
}



@media (min-width: 1200px) {
    .home-slider-area .banner-title {
        max-width: 35ch;
    }
}

.home-slider-area .banner-title {
    max-width: 35ch;
}

.home-slider-area .banner-subtitle {
    color: var(--sales-light-red, #FFC3C3);
    font-family: var(--font-primary, 'Biryani', sans-serif);
    font-weight: 700;
    font-size: 14px;
    line-height: 120%;
    background: var(--sales-red, #B1292B);
    padding: 2px 8px;
    border-radius: 24px;
    display: inline-block;
    margin-bottom: 8px;
}

/**
 * Banner button styling
 */
.home-slider-area .btn {
    background: var(--power-lime, #ADFF60) !important;
    color: var(--new-green, #0F3F36) !important;
    border: none !important;
    padding: 12px 24px;
    border-radius: 12px;
    font-family: var(--font-primary, 'Biryani', sans-serif) !important;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none !important;
    display: inline-block !important;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    will-change: background-color, transform;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/**
 * Button hover state - enhanced with smooth effects
 */
.home-slider-area .btn:hover {
    background: #ffffff !important;
    color: var(--new-green, #0F3F36) !important;
    transform: translateY(0px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/**
 * Button focus state for accessibility
 */
.home-slider-area .btn:focus {
    outline: 2px solid var(--power-lime, #ADFF60);
    outline-offset: 2px;
    background: #ffffff !important;
    color: var(--new-green, #0F3F36) !important;
}

/**
 * Button active state for click feedback
 */
.home-slider-area .btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/**
 * Banner image styling
 */
.home-slider-area .banner-image.wd-bg-position-center img {
    border-radius: 8px;
    aspect-ratio: 7 / 4; /* 560×320 aspect ratio */
    object-fit: cover;
}

/**
 * Gradient overlay on banner images
 * ::before is always visible, ::after appears on hover
 */
.home-slider-area .banner-image.wd-bg-position-center {
    position: relative;
}

.home-slider-area .banner-image.wd-bg-position-center::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(to bottom, #104037 0%, transparent 40%),
        linear-gradient(to top, #104037 0%, transparent 50%);
    border-radius: 8px;
    z-index: 1;
}

.home-slider-area .banner-image.wd-bg-position-center img {
    position: relative;
    z-index: 0;
}

.home-slider-area .banner-image.wd-bg-position-center::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border-radius: 8px;
    z-index: 1;
    opacity: 0;
    will-change: opacity, box-shadow;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        inset 0 0 0 2px transparent,
        0 0 8px rgba(27, 181, 70, 0.4),
        0 0 16px rgba(255, 96, 130, 0.3),
        0 0 24px rgba(27, 181, 70, 0.2);
}

.home-slider-area .promo-banner:hover .banner-image.wd-bg-position-center::after {
    opacity: 1;
}

/**
 * Content banner styling
 */

 .home-slider-area .content-banner {
    margin: 30px;
    position: relative;
    z-index: 2;
 }

/**
 * Force content banner to bottom positioning
 * Overrides Woodmart's flex positioning for this specific section
 */
.home-slider-area .wrapper-content-banner {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

/* Additional override to ensure content stays at bottom */
.home-slider-area .promo-banner .wrapper-content-banner.wd-fill.wd-items-bottom.wd-justify-left {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
}
/* ==========================================================================
   WOODMART CAROUSEL NAVIGATION
   ========================================================================== */

/**
 * Navigation arrows styling for Woodmart carousel
 */
.home-slider-area .wd-nav-arrows {
    position: relative;
    z-index: 3;
}

.home-slider-area .wd-btn-arrow {
    border: 2px solid var(--power-lime, #ADFF60);
    background: transparent;
    border-radius: 50%;
    width: 48px;
    height: 48px;
}

/**
 * Pagination dots styling
 */
.home-slider-area .wd-nav-pagin-item {
    background: rgba(173, 255, 96, 0.3);
}

.home-slider-area .wd-nav-pagin-item.wd-active {
    background: var(--power-lime, #ADFF60);
}
