:root{
    --primary-color: #E95A08;
}
/* shared style */

.primary-color{
    color: var(--primary-color);
}
.cart-btn{
    width: 270px;
    height: 50px;
    background-color: var(--primary-color);
    font-size: 1rem;
    color: #fff;
    text-align: center;
}

 /* Nav Style */
.nav-link{
    color: #8987A1;
    font-weight: 400;
    transition: all .5s ease-in-out;

}

.nav-link:hover{
    color: #252432;
    font-weight: 700;
}
.active{
    color: #252432;
    font-weight: 700;
}
.nav-link-icon{
    font-size: 1.5rem;
    color: black;
    position: relative;
    top: 5px;
}
/* banner style */

.banner-content h1{
    font-size: 4rem;
}

/* Deal section Style */

.plant-grid{
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 28px;
}
.plant-left{
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.plant-card{
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}
.plant-card img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}
/* Zoom Effect */
.plant-card:hover img{
    transform: scale(1.1);
}

.plant-card .overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2), transparent);
}
.plant-card .text-content{
    position: absolute;
    left: 20px;
    bottom: 20px;
    color: white;
}
.plant-card .text-content a{
    display: block;
    text-decoration: underline;
    margin-top: 10px;
}
.plant-card:hover .text-content{
    opacity: 0.8;
}
/* Subscribe Style */
.subscribe-section {
    position: relative;
    background: url(../assets/subscribe-bg.png) center/cover no-repeat;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}
.subscribe-section .overlay{
    position: absolute;
    background: rgba(0, 0, 0, 0.2); 
    inset: 0;
}

.subscribe-section .content{
    position: relative;
    color: white;
    z-index: 2;
    max-width: 90%;
}
.subscribe-form{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    background: white;
    border-radius: 4px;
    overflow: hidden;
}
.subscribe-form input{
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
}
.subscribe-form button{
    background-color: var(--primary-color);
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.subscribe-form button:hover{
    background-color: #d63c0f;
}

@media screen and (max-width : 640px){
    .flower-shop-font{
        font-size: 0.875rem;
    }
    .navbar{
        margin: 1rem;
    }
    .nav-items{
        margin-top: 2rem;
    }
    .nav-link.hide-sm{
        display: none;
    }
    .nav-link-icon{
        position: relative;
        left: -25px;
        top: 30px;
    }
    .nav-item{
        color: black;
    }
    /* Banner Responsive */
    .banner{
        margin-top: 28px;
        margin-bottom: 65px;
    }
    .banner-content{
        padding: 0 1rem;
    }
    .banner>div{
        flex-direction: column-reverse;
        gap: 25px;
    }
    .banner-content, img{
        width: 100%;
    }
    .banner-content{
        text-align: left;
    }
    .banner-content h1{
        font-size: 1.5rem;
    }
    /* Plants Responsive */
    .plants{
        padding: 1rem;
    }
    .carts{
        grid-template-columns: repeat(2,  1fr);
        padding: 1rem;
    }
    .section-description{
        max-width: 350px;
    }
    .cart-item, .cart-btn{
        max-width: 220px;
    }
    /* Plants lover responsive */
    .flower-lover>div{
        flex-direction: column;
        padding: 0 1rem;
    }
    .flower-lover-heading{
        font-size: 1.5rem;
    }
    .lover-lover-lists{
        padding: 1rem 0;
    }
    .trusted-badge{
        display: none;
    }
    .plant-grid{
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    .section-title, .section-description{
        width: 100%;
    }

    /* Subscribe Section Responsive */
    .subscribe-section{
        height: auto;
        padding: 60px 20px;
    }
    .flower-shop-heading{
        font-size: 1.25rem;
    }
    .footer-container{
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 20px;
    }
    .footer-social-navigation{
        margin-top: 20px;
    }
}