/* nav bar */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    background-color: #f9fbff;
}


/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1140px;
    height: 71px;
    margin: 30px auto;
    padding: 0 30px;
    background-color: #f9fbff;
    position: relative;
}

/* Logo section */
.navbar-left img {
    height: 50px;
}

/* Navigation links */
.navbar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
}

.navbar-center a {
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s ease;
    color: #9897A1;
}

.navbar-center a.active {
    color: #000000;
}

.navbar-center a:hover {
    color: #ff4d6d;
}

/* Cart section */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-right img {
    height: 20px;
}

.navbar-right span {
    font-size: 15px;
    color: #333;
}

/* Media query for mobile */
@media (max-width: 768px) {
    .navbar {
        width: 361px;
        height: 38px;
        margin-top: 67px;
        margin-left: 16px;
        margin-right: auto;
        padding: 0;
    }

    .navbar-center {
        display: none;
    }

    .navbar-left img {
        height: 30px;
    }

    .navbar-right img {
        height: 18px;
    }

    .navbar-right span {
        font-size: 13px;
    }
}










/* 2. Banner */




.banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1140px;
    margin: 60px auto 40px;
    padding-left: 30px;
    /* keep left padding */
    padding-right: 0;
    /* remove right padding */
    gap: 20px;
    background-color: #f0f4ff;
    border-radius: 8px;
    box-sizing: border-box;
}

.banner-content {
    max-width: 600px;
}

.banner-content h2 {
    font-size: 48px;
    font-weight: 900;
    color: #000000;
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: 'Georgia', serif;
}

.banner-content .highlight {
    color: #e95a08;
}

.banner-content p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.6);
    max-width: 550px;
}

.banner-image img {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .banner {
        flex-direction: column;
        max-width: 360px;
        margin: 40px auto;
        padding: 0 16px;
        background-color: transparent;
        box-shadow: none;
        border-radius: 0;
    }

    .banner-content {
        order: 2;
        max-width: 100%;
        text-align: left;
    }

    .banner-content h2 {
        font-size: 32px;
    }

    .banner-content p {
        max-width: 100%;
        font-size: 14px;
    }

    .banner-image {
        order: 1;
        width: 100%;
        margin-bottom: 20px;
    }

    .banner-image img {
        max-width: 500px;
        width: 100%;
        height: auto;
    }
}



/* 3. Plants Section */



.plants-section {
    max-width: 1140px;
    margin: 60px auto 40px;
    padding: 0 30px;
    text-align: center;
}

.plants-section h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 10px;
    font-family: 'Georgia', serif;
}

.plants-section .highlight {
    color: #e95a08;
}

.plants-subtitle {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}

.plants-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.plant-card {
    background: #fff;
    padding: 10px;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.05);
    border-radius: 6px;
}

.plant-card img {
    width: 100%;
    height: auto;
    border-radius: 0;
    border: none;
    box-shadow: none;
}


.plant-card h3 {
    margin: 10px 0 0;
    font-weight: 600;
}


.plant-card {
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
}


.add-to-cart-btn {
    width: 100%;
    padding: 10px 0;
    background-color: #e95a08;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
}

.add-to-cart-btn:hover {
    background-color: #d04f04;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .plants-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .plants-section {
        padding: 0 16px;
        margin: 40px auto;
    }
}






/* 4. Plants Lover Section */
.plants-lover {
    max-width: 1140px;
    margin: 60px auto 40px;
    padding: 200px 30px 0;
    display: flex;
    align-items: center;
    gap: 40px;
}


.plants-lover-image img {
    width: 500px;
    height: auto;
    border-radius: 0;
    display: block;
}

.plants-lover-content {
    max-width: 600px;
}

.plants-lover-content h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 20px;
    font-family: 'Georgia', serif;
}

.plants-lover-content ul {
    list-style-type: disc;
    padding-left: 20px;
    color: rgba(0, 0, 0, 0.6);
    font-size: 16px;
    line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .plants-lover {
        flex-direction: column;
        max-width: 360px;
        margin: 40px auto;
        padding: 0 16px;
        text-align: left;
    }

    .plants-lover-image {
        width: 100%;
        margin-bottom: 20px;
    }

    .plants-lover-image img {
        width: 100%;
    }

    .plants-lover-content {
        max-width: 100%;
    }
}

.trusted-badge {
    position: absolute;
    top: -300px;
    left: 210px;
    width: 10px;
    height: 10px;
    box-shadow: none;
    z-index: 50;
    transform: none;
}




@media (max-width: 768px) {
    .trusted-badge {
        display: none !important;
    }
}



/* latest deal section */
.latest-deals {
    max-width: 1140px;
    margin: 60px auto 40px;
    padding: 0 30px;
    box-sizing: border-box;
    text-align: center;
}

.latest-header h2 {
    font-family: 'Georgia', serif;
    font-weight: 900;
    font-size: 50px;
    margin-bottom: 10px;
}

.latest-header h2 span {
    color: #e95a08;
}

.latest-header p {
    max-width: 888px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.35);
    margin: 0 auto 40px auto;
}







/* latest deal pic */
.latest-deals-pictures {
    max-width: 1140px;
    margin: 60px auto 40px;
    padding: 0 30px;
    box-sizing: border-box;
    display: flex;
    gap: 28px;
    justify-content: flex-start;
    align-items: stretch;
}

.small-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.small-cards-wrapper .card {
    position: relative;
    width: 367px;
    height: 197px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background-color: #c8c8c8;
    color: white;
}

.big-card {
    position: relative;
    flex-grow: 1;
    max-width: 753px;
    height: 423px;
    border-radius: 22px;
    overflow: hidden;
    cursor: pointer;
    background-color: #c8c8c8;
    color: white;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-family: 'Georgia', serif;
    font-weight: 700;
    padding: 40px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.overlay-text h3 {
    margin: 0 0 10px 0;
    font-size: 30px;
}

.overlay-text a {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: white;
    text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .latest-deals-pictures {
        display: block;
        max-width: 100%;
        padding: 0 15px;
    }

    .small-cards-wrapper {
        display: block;
    }

    .small-cards-wrapper .card,
    .big-card {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin-bottom: 24px;
        border-radius: 16px;
    }

    .overlay-text {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.5);
        padding: 20px;
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-size: 18px;

    }

    .overlay-text h3 {
        font-size: 24px !important;
        margin-bottom: 6px;
    }

    .overlay-text a {
        font-size: 16px !important;
    }
}



/* ---- */




/* 5. Join Section */

.join-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: url('../assets/news-letter-bg.png') center center/cover no-repeat;
    height: 533px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 30px;
    box-sizing: border-box;
    color: white;
    overflow: hidden;
}

.join-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    width: 100%;
}

.join-content h2 {
    font-family: 'Georgia', serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.join-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.join-form input[type="email"] {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    font-size: 16px;
    border-radius: 4px 0 0 4px;
}

.join-form button {
    background-color: #e95a08;
    border: none;
    border-radius: 0 4px 4px 0;
    color: white;
    font-weight: 700;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.join-form button:hover {
    background-color: #cc4a07;
}

@media (max-width: 768px) {
    .join-section {
        height: auto;
        padding: 40px 16px;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        left: 0;
        right: 0;
        background-position: center top;
    }

    .join-content {
        max-width: 100%;
        padding: 0 10px;
    }

    .join-content h2 {
        font-family: 'Georgia', serif;
        font-size: 23px;
        font-weight: 700;
        margin-bottom: 20px;
        color: white;
    }

    .join-form {
        flex-direction: row;
        max-width: 100%;
        gap: 10px;
    }

    .join-form input[type="email"],
    .join-form button {
        width: auto;
        flex-grow: 1;
        border-radius: 4px;
    }

    .join-form button {
        margin-top: 0;
        flex-grow: 0;
    }
}




/* 6. Footer Section */
.footer-section {
    max-width: 1140px;
    margin: 60px auto 40px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color: #fff;
    box-sizing: border-box;
    gap: 40px;
}

.footer-logo {
    max-width: 280px;
}

.footer-logo img {
    max-width: 160px;
    margin-bottom: 16px;
}

.footer-logo p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: normal;
    letter-spacing: 0;
    color: rgba(0, 0, 0, 0.5);
    margin: 0 0 20px 0;
}


.footer-links {
    display: flex;
    gap: 60px;
    flex-grow: 1;
    justify-content: center;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #e95a08;
}

.footer-socials {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-socials a img {
    width: 28px;
    height: 28px;
    transition: opacity 0.2s ease;
}

.footer-socials a:hover img {
    opacity: 0.7;
}

.footer-menu-left {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #6B7280;
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-left li {
    margin-bottom: 20px;
}

.footer-menu-left li:last-child {
    margin-bottom: 0;
}


@media (max-width: 768px) {
    .footer-section {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 40px 16px;
    }

    .footer-logo {
        max-width: 100%;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 24px;
        width: 100%;
        align-items: flex-start;
       
    }

    .footer-column {
        gap: 8px;
        text-align: left;
       
    }

    .footer-socials {
        gap: 20px;
    }
}