/*====================================
      HERO SECTION
====================================*/

:root {

    --primary: #2E7D32;
    --secondary: #4CAF50;
    --light: #FFF8E8;
    --white: #ffffff;
    --dark: #222;
    --shadow: 0 20px 60px rgba(0, 0, 0, .18);

}


.hero-slider {

    position: relative;

    width: 100%;
    height: 78vh;

    overflow: hidden;

    background: #000;

}


/* =========================
   HORIZONTAL HERO SLIDER
========================= */

.hero-wrapper {

    display: flex;

    width: 300%;
    height: 100%;

    transition: transform 1.2s ease-in-out;

}


.hero-slide {

    position: relative;

    flex: 0 0 33.333333%;

    width: 33.333333%;
    height: 100%;

    top: 0;
    left: 0;

    opacity: 1;
    visibility: visible;

    overflow: hidden;

}


.hero-slide.active {

    opacity: 1;
    visibility: visible;

}


/*========================*
 * HERO IMAGE
 *=========================*/

.hero-bg {

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center center;

    animation: zoomHero 12s linear infinite;

}


@keyframes zoomHero {

    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.12);
    }

}


/*========================*
 * OVERLAY
 *=========================*/

.overlay {

    position: absolute;

    width: 100%;
    height: 100%;

    left: 0;
    top: 0;

    background:
        linear-gradient(90deg,
            rgba(22, 60, 28, .55),
            rgba(32, 95, 45, .30),
            rgba(0, 0, 0, .10));

}

/*========================
      CONTENT
=========================*/

.hero-content {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    max-width: 700px;

    color: #fff;

    z-index: 50;

}

.hero-tag {

    display: inline-block;

    background: rgba(255, 255, 255, .15);

    backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, .25);

    padding: 8px 18px;

    border-radius: 50px;

    margin-bottom: 20px;

    font-size: 14px;

    font-weight: 600;

    animation: fadeUp .8s ease;

}

.hero-content h1 {

    font-size: 68px;

    line-height: 1.1;

    font-weight: 700;

    margin-bottom: 20px;

    font-family: 'Poppins', sans-serif;

    animation: fadeUp 1s ease;

}

.hero-content h1 span {

    color: #9EFF6A;

}

.hero-content p {

    font-size: 20px;

    line-height: 34px;

    max-width: 650px;

    margin-bottom: 30px;

    animation: fadeUp 1.3s ease;

}

/*========================
       BUTTONS
=========================*/

.hero-buttons {

    display: flex;

    gap: 8px;

    margin-bottom: 24px;

}

.shop-btn {

    background: linear-gradient(135deg, #43A047, #2E7D32);

    color: #fff;

    padding: 7px 16px;

    border-radius: 50px;

    font-weight: 600;

    font-size: 12.5px;

    min-height: 34px;

    position: relative;

    overflow: hidden;

    transition: .35s;

    display: inline-flex;

    align-items: center;

    justify-content: center;

}

.shop-btn:hover {

    transform: translateY(-2px);

    box-shadow:
        0 6px 18px rgba(76, 175, 80, .35);

}

.shop-btn i {

    margin-left: 6px;

    font-size: 11px;

}

.category-btn {

    background: rgba(255, 255, 255, .14);

    backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, .25);

    color: #fff;

    padding: 7px 16px;

    border-radius: 50px;

    font-size: 12.5px;

    font-weight: 600;

    min-height: 34px;

    transition: .35s;

    display: inline-flex;

    align-items: center;

    justify-content: center;

}

.category-btn:hover {

    background: #fff;

    color: #2E7D32;

    transform: translateY(-2px);

}

/*========================
      SEARCH BOX
=========================*/

.hero-search {

    width: 100%;

    max-width: 520px;

    display: flex;

    background: #fff;

    border-radius: 50px;

    overflow: hidden;

    margin-bottom: 0;

    box-shadow: var(--shadow);

}

.hero-search input {

    width: 100%;

    border: none;

    outline: none;

    padding: 11px 20px;

    font-size: 14px;

}

.hero-search button {

    width: 50px;

    border: none;

    background: #2E7D32;

    color: #fff;

    font-size: 15px;

    transition: .3s;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

}

.hero-search button:hover {

    background: #43A047;

}

/*========================
      SLIDER ARROWS
=========================*/

.prev-slide,
.next-slide {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 36px;

    height: 36px;

    border-radius: 50%;

    border: none;

    cursor: pointer;

    background: rgba(255, 255, 255, .22);

    backdrop-filter: blur(12px);

    color: #fff;

    font-size: 13px;

    z-index: 100;

    transition: .35s;

    display: flex;

    align-items: center;

    justify-content: center;

}

.prev-slide {

    left: 20px;

}

.next-slide {

    right: 20px;

}

.prev-slide:hover,
.next-slide:hover {

    background: #2E7D32;

    transform: translateY(-50%) scale(1.08);

}

/*========================
      DOTS
=========================*/

.hero-dots {

    position: absolute;

    bottom: 35px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    gap: 12px;

    z-index: 100;

}

.dot {

    width: 14px;

    height: 14px;

    border-radius: 50%;

    background: #fff;

    cursor: pointer;

    opacity: .5;

}

.dot.active {

    width: 42px;

    border-radius: 50px;

    background: #9EFF6A;

    opacity: 1;

}

/*========================
      FLOATING CARDS
=========================*/

.floating-card {

    position: absolute;

    background: rgba(255, 255, 255, .18);

    backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, .25);

    color: #fff;

    padding: 16px 26px;

    border-radius: 18px;

    font-weight: 600;

    box-shadow: var(--shadow);

    animation: floatCard 4s ease-in-out infinite;

    z-index: 90;

}

.card1 {

    right: 180px;

    top: 25%;

}

.card2 {

    right: 120px;

    bottom: 28%;

}

.card3 {

    right: 350px;

    bottom: 18%;

}

@keyframes floatCard {

    0% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-16px);

    }

    100% {

        transform: translateY(0);

    }

}

/*========================
     SCROLL INDICATOR
=========================*/

.scroll-down {

    position: absolute;

    bottom: 25px;

    right: 50px;

    width: 34px;

    height: 60px;

    border: 2px solid #fff;

    border-radius: 30px;

    z-index: 100;

}

.scroll-down span {

    width: 8px;

    height: 8px;

    background: #fff;

    border-radius: 50%;

    position: absolute;

    left: 50%;

    top: 10px;

    transform: translateX(-50%);

    animation: scrollMouse 2s infinite;

}

@keyframes scrollMouse {

    0% {

        top: 10px;
        opacity: 1;

    }

    100% {

        top: 38px;
        opacity: 0;

    }

}

@keyframes fadeUp {

    from {

        opacity: 0;
        transform: translateY(50px);

    }

    to {

        opacity: 1;
        transform: translateY(0);

    }

}

/*====================================
      RESPONSIVE (TABLET & MOBILE)
====================================*/

@media(max-width:992px) {

    .hero-slider {
        height: auto;
        min-height: 480px;
    }

    .hero-wrapper {
        height: 100%;
    }

    .hero-slide {
        position: relative;
        height: auto;
        min-height: 480px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-bg {
        animation: none;
        object-fit: cover;
        object-position: center center;
    }

    .overlay {
        background: linear-gradient(180deg,
                rgba(12, 45, 18, 0.60) 0%,
                rgba(10, 38, 15, 0.72) 100%);
    }

    .hero-content {
        position: relative;
        top: auto;
        transform: none;
        max-width: 100%;
        text-align: center;
        padding: 55px 18px 45px;
        z-index: 10;
    }

    .hero-content h1 {
        font-size: 36px;
        line-height: 1.18;
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 15.5px;
        line-height: 25px;
        max-width: 540px;
        margin: 0 auto 20px;
    }

    .hero-tag {
        font-size: 12.5px;
        padding: 7px 18px;
        margin-bottom: 15px;
    }

    .hero-buttons {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        gap: 7px;
        margin-bottom: 16px;
        flex-wrap: wrap;
    }

    .shop-btn,
    .category-btn {
        padding: 6px 14px;
        font-size: 11.5px;
        border-radius: 50px;
        font-weight: 600;
        width: auto;
        min-height: 30px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .shop-btn i {
        margin-left: 5px;
        font-size: 10px;
    }

    .hero-search {
        display: flex;
        flex-direction: row;
        align-items: center;
        max-width: 440px;
        margin: 0 auto;
        border-radius: 50px;
        background: #fff;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
    }

    .hero-search input {
        padding: 9px 16px;
        font-size: 13px;
        border: none;
        outline: none;
        flex: 1;
    }

    .hero-search button {
        width: 42px;
        height: 100%;
        min-height: 34px;
        font-size: 13.5px;
        border: none;
        border-radius: 0 50px 50px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .floating-card {
        display: none;
    }

    .prev-slide,
    .next-slide {
        display: none;
    }

    .scroll-down {
        display: none;
    }

    .hero-dots {
        bottom: 14px;
        gap: 7px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dot.active {
        width: 24px;
    }

}

@media(max-width:767px) {

    .hero-slider {
        min-height: 440px;
    }

    .hero-slide {
        min-height: 440px;
    }

    .hero-bg {
        animation: none;
        object-fit: cover;
        object-position: center 20%;
    }

    .hero-content {
        padding: 38px 14px 34px;
    }

    .hero-content h1 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .hero-content p {
        font-size: 13.5px;
        line-height: 22px;
        max-width: 420px;
        margin: 0 auto 16px;
    }

    .hero-tag {
        font-size: 11.5px;
        padding: 5px 13px;
        margin-bottom: 10px;
    }

    /* Compact Hero CTA Buttons on Mobile */
    .hero-buttons {
        display: inline-flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-bottom: 14px;
        flex-wrap: wrap;
        width: 100%;
    }

    .shop-btn,
    .category-btn {
        padding: 9px 15px;
        font-size: 13px;
        font-weight: 600;
        min-height: 38px;
        line-height: 1.2;
        border-radius: 50px;
        width: auto;
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        box-sizing: border-box;
    }

    .shop-btn i {
        margin-left: 6px;
        font-size: 12px;
    }

    /* Compact Hero Search on Mobile */
    .hero-search {
        display: flex;
        flex-direction: row;
        align-items: center;
        max-width: 380px;
        width: 100%;
        min-height: 40px;
        margin: 0 auto;
        border-radius: 50px;
        background: #ffffff;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
        overflow: hidden;
    }

    .hero-search input {
        padding: 8px 16px;
        font-size: 13px;
        min-height: 40px;
        line-height: 1.2;
        border: none;
        outline: none;
        flex: 1;
        background: transparent;
    }

    .hero-search button {
        width: 42px;
        min-height: 40px;
        height: 40px;
        font-size: 13px;
        border: none;
        border-radius: 0 50px 50px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        background: #2E7D32;
        color: #fff;
        padding: 0;
    }

    .hero-dots {
        bottom: 12px;
        gap: 6px;
    }

    .dot {
        width: 7px;
        height: 7px;
    }

    .dot.active {
        width: 20px;
    }

}

@media(max-width:480px) {

    .hero-slider {
        min-height: 390px;
    }

    .hero-slide {
        min-height: 390px;
    }

    .hero-bg {
        animation: none;
        object-fit: cover;
        object-position: center 25%;
    }

    .hero-content {
        padding: 30px 10px 28px;
    }

    .hero-content h1 {
        font-size: 24px;
        line-height: 1.22;
        margin-bottom: 6px;
    }

    .hero-content p {
        font-size: 12.5px;
        line-height: 19px;
        max-width: 320px;
        margin: 0 auto 12px;
    }

    .hero-tag {
        font-size: 10.5px;
        padding: 4px 10px;
        margin-bottom: 8px;
    }

    .hero-buttons {
        gap: 6px;
        margin-bottom: 12px;
    }

    .shop-btn,
    .category-btn {
        padding: 8px 13px;
        font-size: 12.5px;
        min-height: 36px;
        border-radius: 50px;
    }

    .shop-btn i {
        margin-left: 5px;
        font-size: 11px;
    }

    .hero-search {
        max-width: 320px;
        min-height: 38px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    }

    .hero-search input {
        padding: 7px 14px;
        font-size: 12px;
        min-height: 38px;
    }

    .hero-search button {
        width: 38px;
        min-height: 38px;
        height: 38px;
        font-size: 12px;
    }

    .hero-dots {
        bottom: 8px;
        gap: 5px;
    }

    .dot {
        width: 6px;
        height: 6px;
    }

    .dot.active {
        width: 18px;
    }

}

@media(max-width:360px) {

    .hero-slider {
        min-height: 370px;
    }

    .hero-slide {
        min-height: 370px;
    }

    .hero-content {
        padding: 24px 6px 24px;
    }

    .hero-content h1 {
        font-size: 20px;
        line-height: 1.22;
        margin-bottom: 4px;
    }

    .hero-content p {
        font-size: 11.5px;
        line-height: 17px;
        max-width: 280px;
        margin: 0 auto 10px;
    }

    .hero-tag {
        font-size: 9.5px;
        padding: 3px 8px;
        margin-bottom: 6px;
    }

    .hero-buttons {
        gap: 5px;
        margin-bottom: 10px;
    }

    .shop-btn,
    .category-btn {
        padding: 6px 10px;
        font-size: 11.5px;
        min-height: 34px;
    }

    .shop-btn i {
        margin-left: 4px;
        font-size: 10px;
    }

    .hero-search {
        max-width: 275px;
        min-height: 34px;
    }

    .hero-search input {
        padding: 6px 10px;
        font-size: 11px;
        min-height: 34px;
    }

    .hero-search button {
        width: 34px;
        min-height: 34px;
        height: 34px;
        font-size: 11px;
    }

}