/* =======================
   Import Google Fonts
======================= */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* =======================
   Global Reset & Root Variables
======================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #22c55e;
    --secondary-green: #86efac;
    --dark-green: #16a34a;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --accent-blue: #3b82f6;
    --cream: #fefdf8;
}

body {
    font-family: "Roboto", sans-serif;
    background: var(--cream);
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =======================
   Language Switcher (This website feature was removed on September 29th.)
======================= */
.language-switcher {
    display: flex;
    background: var(--gray-100);
    border-radius: 20px;
    padding: 0.2rem;
    gap: 0.2rem;
    transform: scale(0.8);
}

.language-btn {
    background: none;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--gray-600);
    transition: all 0.3s ease;
}

.language-btn.active {
    background: var(--primary-green);
    color: var(--gray-900);
}

.language-btn:hover:not(.active) {
    background: var(--gray-200);
    color: var(--gray-800);
}

/* =======================
   RTL Support
======================= */
body[dir="rtl"] {
    text-align: right;
}

body[dir="rtl"] .hero {
    flex-direction: row-reverse;
}

body[dir="rtl"] .about__content,
body[dir="rtl"] .contact__content {
    direction: rtl;
}

body[dir="rtl"] .nav__menu {
    flex-direction: row-reverse;
}

body[dir="rtl"] .plant-card__footer {
    flex-direction: row-reverse;
}

body[dir="rtl"] .cart-item {
    flex-direction: row-reverse;
}

body[dir="rtl"] .footer__content {
    direction: rtl;
}

body[dir="rtl"] .footer__links {
    direction: rtl;
}

/* =======================
   Header & Navigation
======================= */
.header {
    background: rgba(254, 253, 248, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav__search {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    border: 2px solid var(--gray-200);
    transition: border-color 0.3s ease;
}

.nav__search:focus-within {
    border-color: var(--primary-green);
}

.search__input {
    border: none;
    outline: none;
    background: none;
    padding: 0.5rem;
    font-family: inherit;
    width: 200px;
}

.search__btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
}

.nav__logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: rgb(0, 151, 57);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav__link {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav__link:hover {
    color: var(--dark-green);
}

.cart-btn {
    background: var(--primary-green);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 600;
    color: var(--gray-900);
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 222, 128, 0.3);
}

.cart-btn__count {
    background: var(--white);
    color: var(--dark-green);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

/* =======================
   Hero Section
======================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
    padding-top: 1rem;
}

.hero__badge {
    display: inline-block;
    background: var(--primary-green);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 200;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.hero__features {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
}

.feature__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
}

.feature__icon svg {
    width: 24px;
    height: 24px;
}

/* =======================
   Hero Gallery
======================= */
.hero__gallery {
    position: relative;
    width: 400px;
    height: 400px;
}

.gallery__item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery__item.active {
    opacity: 1;
}

.gallery__info {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.gallery__dots {
    position: absolute;
    bottom: -3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: var(--primary-green);
}

/* =======================
   Hero Text & CTA
======================= */
.hero__title {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.1;
}

.hero__subtitle {
    font-size: 1.5rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero__cta {
    background: var(--dark-green);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.hero__cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(22, 163, 74, 0.3);
}

.hero__cta__color{
    color: var(--white);
    text-decoration: none;
}

/* =======================
   Floating Cards
======================= */
.hero__visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.floating-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    position: absolute;
    top: 50px;
    right: 50px;
    animation-delay: -3s;
    animation-duration: 8s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.hero__image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

/* =======================
   Plants Section
======================= */
.plants {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section__header {
    text-align: center;
    margin-bottom: 2rem;
}

.section__title {
    font-size: 3rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section__subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
}

.plants__filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--white);
    border: 2px solid var(--gray-200);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

.plants__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.plant-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.plant-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.plant-card__image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.plant-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.plant-card:hover .plant-card__image {
    transform: scale(1.1);
}

.plant-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.plant-card:hover .plant-card__overlay {
    opacity: 1;
}

.plant-card__quick-add {
    background: var(--primary-green);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gray-900);
    transition: all 0.3s ease;
}

.plant-card__quick-add:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(74, 222, 128, 0.4);
}

.plant-card__content {
    padding: 1.5rem;
}

.plant-card__name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
    font-weight: 600;
}

.plant-card__description {
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.plant-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plant-card__price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-green);
}

.plant-card__add-btn {
    background: var(--primary-green);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-weight: 600;
    color: var(--gray-900);
}

.plant-card__add-btn:hover {
    background: var(--secondary-green);
    transform: scale(1.05);
}

/* =======================
   Cart Section
======================= */
.cart-modal {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-left: 1px solid var(--gray-200);
    transition: right 0.3s ease;
    z-index: 2000;
}

.cart-modal.active {
    right: 0;
}

.cart-modal__content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cart-modal__header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-modal__title {
    font-size: 1.5rem;
    color: var(--gray-900);
    font-weight: 600;
}

.cart-modal__close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray-600);
    transition: color 0.3s ease;
}

.cart-modal__close:hover {
    color: var(--gray-900);
}

.cart-modal__items {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.empty-cart {
    text-align: center;
    padding: 2rem;
}

.empty-cart p {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.empty-cart small {
    color: var(--gray-500);
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--gray-100);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cart-item__image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-item__info {
    flex: 1;
}

.cart-item__name {
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--gray-900);
}

.cart-item__price {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.cart-item__remove {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0.5rem;
}

.cart-item__remove:hover {
    color: #ef4444;
}

.cart-modal__footer {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.cart-modal__total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
}

.cart-modal__checkout {
    width: 100%;
    background: var(--dark-green);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.cart-modal__checkout:hover {
    background: #15803d;
    transform: translateY(-2px);
}

.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 3000;
    animation: slideInRight 0.3s ease-out;
    border: 1px solid var(--gray-200);
}

.notification__content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
}

.notification__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-green);
    color: var(--gray-900);
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.notification__icon svg {
    width: 16px;
    height: 16px;
}

.notification__text {
    color: var(--gray-900);
    font-weight: 500;
}

.notification.fade-out {
    animation: slideOutRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* =======================
   About Section
======================= */
.about {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about__title {
    font-size: 2.5rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about__description {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about__stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
}

.about__stat {
    text-align: center;
}

.about__stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.about__stat-label {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.about__visual {
    display: flex;
    justify-content: center;
}

.about__image {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
}

.about__cards {
    display: grid;
    gap: 1.5rem;
}

.about__card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.about__card:hover {
    transform: translateY(-5px);
}

.card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary-green);
}

.card__icon svg {
    width: 32px;
    height: 32px;
}

/* =======================
   Contact Section
======================= */
.contact {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    background: var(--white);
    border: 2px solid var(--primary-green);
}

.contact__icon svg {
    width: 24px;
    height: 24px;
}

.contact__title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.3rem;
}

.contact__text {
    color: var(--gray-600);
    line-height: 1.5;
}

.contact__hours {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form__group {
    display: flex;
    flex-direction: column;
}

.form__label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form__input,
.form__textarea {
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--white);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__submit {
    background: var(--dark-green);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    align-self: flex-start;
}

.form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.3);
}

/* =======================
   Footer Section
======================= */
.footer {
    background: var(--gray-900);
    color: var(--gray-100);
    padding: 4rem 2rem 1rem;
    margin-top: 6rem;
}

.footer__content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__tagline {
    color: var(--gray-300);
    font-size: 1.1rem;
    line-height: 1.6;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.fa-shopping-cart {
    color: var(--white);
}

.footer__title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__link {
    color: var(--gray-300);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer__link:hover {
    color: var(--primary-green);
    transform: translateX(5px);
}

.footer__social {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__social-link {
    color: var(--gray-300);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer__social-link:hover {
    color: var(--primary-green);
    transform: translateX(5px);
}

.footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-700);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__copyright {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.footer__bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer__bottom-links .footer__link {
    font-size: 0.9rem;
}

.footer__social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    color: var(--white);
}

.social-link:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

.newsletter__text {
    margin: 1rem 0;
    color: var(--gray-300);
}

.newsletter__form {
    display: flex;
    gap: 0.5rem;
}

.newsletter__input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--gray-700);
    border-radius: 5px;
    background: var(--gray-800);
    color: var(--white);
    font-family: inherit;
}

.newsletter__btn {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter__btn:hover {
    background: var(--dark-green);
}

.animated-name{
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    background: linear-gradient(270deg, #22c55e, #86efac, #d1d5db, #16a34a);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 1.8s linear infinite;
    cursor: pointer;
}

.animated-name:hover {
  animation-play-state: paused;
}

.letter {
  display: inline-block;
  animation: none;
  transition: transform 0.3s ease;
}

.animated-name:hover .letter {
  animation: bounceUp 0.6s ease forwards;
  animation-delay: calc(var(--i) * 0.01s);
}

::selection {
  background: #16a34a;
  color: black;
}

::-moz-selection { 
  background: #16a34a;
  color: black;
}

@keyframes gradientMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 150% 50%; }
}

.reveal {
  opacity: 0;
  transform: translateY(80px); 
  transition: all 1.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}