:root {
    --primary: #2d6a4f;
    --primary-dark: #1b4332;
    --primary-light: #52b788;
    --primary-lighter: #95d5b2;
    --primary-pale: #d8f3dc;
    --accent: #e8ac41;
    --accent-dark: #d4972e;
    --accent-light: #f0c75e;
    --dark: #1a1a2e;
    --dark-gray: #2d2d44;
    --medium-gray: #6c757d;
    --light-gray: #f0f2f5;
    --lighter-gray: #f8f9fa;
    --white: #ffffff;
    --black: #000000;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --font-accent: 'Dancing Script', cursive;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* ===== Preloader ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}

.loader {
    text-align: center;
    color: var(--white);
}

.loader i {
    font-size: 60px;
    color: var(--accent);
    animation: spin 2s linear infinite;
}

.loader p {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 3px;
}

@keyframes spin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 106, 79, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-card {
    background: var(--primary);
    color: var(--white);
    width: 100%;
    justify-content: center;
    border-radius: var(--radius);
    padding: 10px 20px;
    font-size: 14px;
}

.btn-card:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Section Styles ===== */
.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-accent);
    font-size: 22px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.section-subtitle.light {
    color: var(--accent);
}

.section-subtitle i {
    font-size: 18px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title .highlight {
    color: var(--primary);
    position: relative;
}

.section-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary-pale);
    z-index: -1;
    border-radius: 4px;
}

.section-desc {
    font-size: 17px;
    color: var(--medium-gray);
    max-width: 650px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.highlight-light {
    color: var(--accent);
}

/* ===== Scroll Reveal Animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-slow);
}

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

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

/* ===== Top Bar ===== */
.top-bar {
    background: var(--primary-dark);
    padding: 10px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.top-left span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-left span i {
    color: var(--accent);
    font-size: 12px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 12px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-2px);
}

/* ===== Header / Navigation ===== */
#header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

#header.sticky {
    box-shadow: var(--shadow-lg);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
}

.logo-tagline {
    font-size: 11px;
    color: var(--medium-gray);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 5px;
}

.nav-links a {
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 20px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('../images/hero-bg.webp') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 67, 50, 0.92) 0%, rgba(45, 106, 79, 0.75) 50%, rgba(27, 67, 50, 0.6) 100%);
}

/* Floating Leaves */
.floating-leaves {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.leaf {
    position: absolute;
    color: rgba(255, 255, 255, 0.08);
    animation: floatLeaf 15s infinite ease-in-out;
}

.leaf-1 { font-size: 40px; top: 10%; left: 10%; animation-delay: 0s; }
.leaf-2 { font-size: 30px; top: 20%; right: 15%; animation-delay: 3s; }
.leaf-3 { font-size: 50px; bottom: 20%; left: 20%; animation-delay: 5s; }
.leaf-4 { font-size: 35px; bottom: 30%; right: 25%; animation-delay: 7s; }
.leaf-5 { font-size: 25px; top: 50%; left: 50%; animation-delay: 10s; }

@keyframes floatLeaf {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -40px) rotate(90deg); }
    50% { transform: translate(-20px, -80px) rotate(180deg); }
    75% { transform: translate(40px, -40px) rotate(270deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding: 40px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    color: var(--accent);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 62px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero h1 .highlight {
    color: var(--accent);
    position: relative;
}

.hero h1 .highlight::after {
    display: none;
}

.hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

/* FIX: Updated hero-stats to act as a solid container so it doesn't overlap text if placed outside the hero section */
.hero-stats {
    display: flex;
    gap: 40px;
    padding: 30px 40px;
    background: var(--primary-dark);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.15);
    flex-wrap: wrap;
    justify-content: center;
    margin: 30px auto;
    box-shadow: var(--shadow-lg);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    margin-top: 5px;
}

.stat-divider {
    width: 1px;
    background: rgba(255,255,255,0.2);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-8px); }
}

/* ===== Features Strip ===== */
/* FIX: Removed margin-top: -50px to stop collision overlapping */
.features-strip {
    background: var(--white);
    padding: 40px 0;
    margin-top: 0; 
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 30px 25px;
    border-right: 1px solid var(--light-gray);
    transition: var(--transition);
}

.feature-item:last-child {
    border-right: none;
}

.feature-item:hover {
    background: var(--primary-pale);
}

.feature-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background: var(--accent);
    transform: rotateY(180deg);
}

.feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 3px;
}

.feature-text p {
    font-size: 13px;
    color: var(--medium-gray);
}

/* ===== About Section ===== */
.about-section {
    padding: 80px 0 120px; /* Adjusted padding */
    background: var(--lighter-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-image-main img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-image-main:hover img {
    transform: scale(1.05);
}

/* FIX: Tweaked positioning slightly to prevent layout breaking */
.about-experience-badge {
    position: absolute;
    bottom: -20px; 
    right: -20px;
    width: 150px;
    height: 150px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    border: 5px solid var(--white);
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.exp-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    line-height: 1.3;
}

.about-image-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border: 4px solid var(--primary-light);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content .section-subtitle {
    display: block;
}

.about-description {
    font-size: 17px;
    color: var(--medium-gray);
    margin-bottom: 35px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.about-feature {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.about-feature-icon {
    color: var(--primary);
    font-size: 24px;
    margin-top: 2px;
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.about-feature p {
    font-size: 14px;
    color: var(--medium-gray);
    line-height: 1.6;
}

/* ===== Plants Section ===== */
.plants-section {
    padding: 120px 0;
    background: var(--white);
}

.plant-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 28px;
    border: 2px solid var(--light-gray);
    background: var(--white);
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--medium-gray);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 106, 79, 0.3);
}

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

.plant-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.plant-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-lighter);
}

.plant-image {
    position: relative;
    overflow: hidden;
    height: 320px;
}

.plant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.plant-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 16px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.plant-badge.sale {
    background: #e74c3c;
}

.plant-badge.new {
    background: var(--accent);
    color: var(--dark);
}

.plant-actions {
    position: absolute;
    top: 15px;
    right: -60px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition);
    z-index: 2;
}

.plant-card:hover .plant-actions {
    right: 15px;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    font-size: 14px;
}

.action-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.plant-info {
    padding: 25px;
}

.plant-category {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plant-info h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin: 8px 0;
}

.plant-info p {
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.plant-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--light-gray);
}

.price-current {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.price-old {
    font-size: 16px;
    color: var(--medium-gray);
    text-decoration: line-through;
    margin-left: 8px;
}

.plant-rating {
    display: flex;
    align-items: center;
    gap: 2px;
}

.plant-rating i {
    color: var(--accent);
    font-size: 13px;
}

.plant-rating span {
    font-size: 13px;
    color: var(--medium-gray);
    margin-left: 5px;
}

/* ===== Services Section ===== */
.services-section {
    padding: 120px 0;
    background: var(--lighter-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-lighter);
}

.service-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-icon-wrapper {
    position: absolute;
    bottom: -28px;
    left: 30px;
    width: 56px;
    height: 56px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 24px;
    box-shadow: var(--shadow);
    z-index: 2;
    transition: var(--transition);
}

.service-card:hover .service-icon-wrapper {
    background: var(--primary);
    color: var(--white);
    transform: rotate(360deg);
}

.service-content {
    padding: 45px 30px 30px;
}

.service-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-content p {
    font-size: 15px;
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
}

.service-link:hover {
    color: var(--accent);
    gap: 14px;
}

/* ===== CTA Section ===== */
.cta-section {
    position: relative;
    padding: 120px 0;
    background: url('../images/cta-bg.webp') center/cover no-repeat fixed;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 67, 50, 0.93), rgba(45, 106, 79, 0.88));
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-form {
    display: flex;
    gap: 0;
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.cta-input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    outline: none;
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--dark);
}

.cta-form .btn {
    border-radius: var(--radius-full);
    padding: 18px 30px;
    margin: 4px;
}

/* ===== Gallery Section ===== */
.gallery-section {
    padding: 120px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item-tall {
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(27, 67, 50, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-overlay p {
    color: var(--accent);
    font-size: 14px;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
}

.gallery-overlay i {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--white);
    font-size: 22px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay h4,
.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: 120px 0;
    background: var(--primary-pale);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
    border: 2px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-lighter);
}

.testimonial-card.featured {
    background: var(--primary);
    transform: scale(1.05);
}

.testimonial-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.testimonial-card.featured .testimonial-text {
    color: rgba(255,255,255,0.9);
}

.testimonial-card.featured h4 {
    color: var(--white);
}

.testimonial-card.featured span {
    color: var(--primary-lighter);
}

.testimonial-card.featured .testimonial-quote i {
    color: rgba(255,255,255,0.1);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-stars i {
    color: var(--accent);
    font-size: 16px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-pale);
}

.testimonial-author h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--dark);
}

.testimonial-author span {
    font-size: 13px;
    color: var(--medium-gray);
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    right: 25px;
}

.testimonial-quote i {
    font-size: 60px;
    color: var(--primary-pale);
}

/* ===== Blog Section ===== */
.blog-section {
    padding: 120px 0;
    background: var(--lighter-gray);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-content {
    padding: 28px;
}

.blog-category {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.blog-content h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin: 10px 0 12px;
    line-height: 1.3;
    transition: var(--transition);
}

.blog-card:hover .blog-content h3 {
    color: var(--primary);
}

.blog-content p {
    font-size: 15px;
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 18px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
}

.blog-link:hover {
    color: var(--accent);
    gap: 14px;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 120px 0;
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.contact-info-side {
    background: var(--primary-dark);
    padding: 60px 50px;
    color: var(--white);
}

.contact-info-side h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.contact-info-side > p {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.contact-detail-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-detail-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-detail-item p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

.contact-social {
    display: flex;
    gap: 12px;
}

.contact-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-3px);
}

.contact-form-side {
    padding: 60px 50px;
    background: var(--white);
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    margin-bottom: 25px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius);
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--dark);
    transition: var(--transition);
    outline: none;
    background: var(--lighter-gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Map Section ===== */
.map-section {
    line-height: 0;
}

.map-section iframe {
    filter: grayscale(30%);
    transition: var(--transition);
}

.map-section iframe:hover {
    filter: grayscale(0);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: var(--white);
}

.footer-top {
    padding: 80px 0 60px;
    background: url('../images/hero-bg.webp') center/cover no-repeat;
    position: relative;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.95);
}

.footer-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
    gap: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-logo .logo-name {
    color: var(--white);
}

.footer-about p {
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-search {
    display: flex;
    margin-bottom: 20px;
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.15);
}

.footer-search input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.05);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 14px;
}

.footer-search input::placeholder {
    color: rgba(255,255,255,0.4);
}

.footer-search button {
    padding: 12px 18px;
    background: var(--accent);
    border: none;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.footer-search button:hover {
    background: var(--accent-light);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 15px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    transition: var(--transition);
}

.footer-links a i {
    font-size: 10px;
    color: var(--accent);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

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

.footer-post {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.post-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 5px;
}

.footer-post a {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    transition: var(--transition);
}

.footer-post a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding: 20px 0;
    background: rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-5px);
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 50px;
    }
    
    .section-title {
        font-size: 38px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        z-index: 1001;
        gap: 0;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        padding: 15px 10px;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .hamburger {
        display: flex;
        z-index: 1002;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image-main img {
        height: 400px;
    }
    
    .plants-grid,
    .services-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .testimonial-card.featured {
        transform: none;
    }
    
    .testimonial-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item-tall {
        grid-row: span 1;
    }
    
    .gallery-item-wide {
        grid-column: span 1;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info-side,
    .contact-form-side {
        padding: 50px 35px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-item {
        border-bottom: 1px solid var(--light-gray);
    }
    
    .feature-item:nth-child(2) {
        border-right: none;
    }
    
    .feature-item:nth-child(3),
    .feature-item:nth-child(4) {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .hero h1 {
        font-size: 34px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 25px 30px;
    }
    
    .stat-divider {
        width: 100%;
        height: 1px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .cta-content h2 {
        font-size: 34px;
    }
    
    .cta-form {
        flex-direction: column;
        border-radius: var(--radius);
    }
    
    .cta-form .btn {
        border-radius: var(--radius);
        margin: 0;
    }
    
    .plants-grid,
    .services-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        border-right: none;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .feature-item:last-child {
        border-bottom: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .about-experience-badge {
        width: 120px;
        height: 120px;
        bottom: -20px;
        right: -10px;
    }
    
    .exp-number {
        font-size: 32px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        min-height: 90vh;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .about-section,
    .plants-section,
    .services-section,
    .gallery-section,
    .testimonials-section,
    .blog-section,
    .contact-section,
    .cta-section {
        padding: 80px 0;
    }
    
    .contact-info-side,
    .contact-form-side {
        padding: 35px 25px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .plant-image {
        height: 250px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
}

/* ===== Selection Color ===== */
::selection {
    background: var(--primary);
    color: var(--white);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}
