:root {
    --primary-green: #27ae60;
    --dark-green: #229954;
    --light-green: #a8e6cf;
    --bg-gradient: linear-gradient(135deg, #a8e6cf 0%, #dcedc1 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2d3436;
}

/* Navbar Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green) !important;
    letter-spacing: 1px;
}

.nav-link {
    color: #636e72 !important;
    font-weight: 500;
    margin: 0 1rem;
    position: relative;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--primary-green) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.icon-btn {
    background: none;
    border: none;
    color: #636e72;
    font-size: 1.3rem;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.icon-btn:hover {
    color: var(--primary-green);
    transform: translateY(-2px);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    background: var(--bg-gradient);
    border-radius: 30px;
    padding: 4rem 3rem;
    margin: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.stat-box {
    text-align: center;
    animation: fadeInUp 1s ease;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    display: block;
}

.stat-label {
    color: #636e72;
    font-size: 0.95rem;
}

.search-container {
    max-width: 500px;
    margin-top: 2rem;
}

.search-input-group {
    background: white;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.search-input-group:focus-within {
    box-shadow: 0 8px 30px rgba(39, 174, 96, 0.2);
    transform: translateY(-2px);
}

.search-input-group input {
    border: none;
    border-radius: 50px 0 0 50px;
    padding: 0.8rem 1.5rem;
}

.search-input-group input:focus {
    box-shadow: none;
    outline: none;
}

.search-btn {
    background: var(--primary-green);
    border: none;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 0 50px 50px 0;
    transition: all 0.3s;
}

.search-btn:hover {
    background: var(--dark-green);
}


/* Logo responsive dans la section hero */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.hero-logo {
    max-width: 100%;
    height: auto;
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    animation: fadeInScale 1s ease-in-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .hero-logo {
        max-height: 400px;
    }
}

@media (max-width: 767px) {
    .hero-logo {
        max-height: 300px;
    }

    .logo-container {
        padding: 1rem;
    }
}

@media (max-width: 575px) {
    .hero-logo {
        max-height: 250px;
    }
}

.plant-icon {
    font-size: 8rem;
}

.decorative-leaf {
    position: absolute;
    font-size: 3rem;
    animation: leafFloat 4s ease-in-out infinite;
}

.leaf-1 {
    top: -20px;
    right: -30px;
}

.leaf-2 {
    bottom: -30px;
    left: -20px;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes leafFloat {

    0%,
    100% {
        transform: rotate(0deg) translateY(0px);
    }

    50% {
        transform: rotate(10deg) translateY(-10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Filter Pills */
.filter-pills {
    background: white;
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    gap: 0.5rem;
}

.filter-pill {
    padding: 0.7rem 1.8rem;
    border: none;
    background: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    color: #636e72;
}

.filter-pill.active {
    background: var(--primary-green);
    color: white;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.filter-pill:hover:not(.active) {
    background: #f1f3f5;
}

/* Plant Cards */
.plant-card {
    background: white !important;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.4s;
    border: none !important;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.plant-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

.plant-image-container {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: #f8f9fa;
}

.plant-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.plant-card:hover .plant-image {
    transform: scale(1.1);
}

.plant-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-green);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.wishlist-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    font-size: 1.1rem;
    color: #636e72;
}

.wishlist-btn:hover {
    background: #e74c3c;
    color: white;
    transform: scale(1.1);
}

.plant-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.plant-category {
    color: #636e72;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.plant-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 0.8rem;
}

.plant-features {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #636e72;
    font-size: 0.9rem;
}

.feature-icon {
    color: var(--primary-green);
}

.plant-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.add-to-cart-btn {
    width: 100%;
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.add-to-cart-btn:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

/* Info Section - Enhanced Modern Design */
.info-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.95) 100%);
    border-radius: 30px;
    padding: 4rem 3rem;
    margin: 4rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.info-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(39, 174, 96, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBackground 15s ease-in-out infinite;
}

@keyframes floatBackground {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-30px, 30px) scale(1.1);
    }
}

.info-card {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.info-card:hover::before {
    opacity: 0.03;
}

.info-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(39, 174, 96, 0.15);
    border-color: var(--primary-green);
}

.info-icon {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    display: inline-block;
}

.info-card:hover .info-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 5px 15px rgba(39, 174, 96, 0.3));
}

.info-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.info-card:hover .info-title {
    color: var(--primary-green);
}

.info-text {
    color: #636e72;
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background: #2d3436;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--light-green);
}

.footer-link {
    color: #b2bec3;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
}

.footer-link:hover {
    color: white;
    padding-left: 5px;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    color: var(--light-green);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .plant-circle {
        width: 250px;
        height: 250px;
    }

    .plant-icon {
        font-size: 4rem;
    }
}

/* Map Location Section */
.map-location-section {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.map-container-home {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    height: 450px;
    position: relative;
}

.map-container-home iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .map-location-section {
        padding: 2rem 1.5rem;
    }

    .map-container-home {
        height: 350px;
        border-radius: 15px;
    }
}

@media (max-width: 576px) {
    .map-location-section {
        padding: 1.5rem 1rem;
    }

    .map-container-home {
        height: 300px;
        border-radius: 12px;
    }
}