:root {
    --bg: #f7f8f2;
    --bg-soft: #e8efd8;
    --surface: #ffffff;
    --surface-2: #f0f6e8;
    --text: #1e2a1d;
    --muted: #4b5f49;
    --brand: #2f7d4b;
    --brand-dark: #1f5b35;
    --accent: #d9923b;
    --ring: rgba(47, 125, 75, 0.25);
    --shadow: 0 14px 40px rgba(22, 39, 21, 0.14);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 20%, rgba(217, 146, 59, 0.13), transparent 28%),
        radial-gradient(circle at 90% 8%, rgba(47, 125, 75, 0.2), transparent 30%),
        linear-gradient(180deg, var(--bg) 0%, #fcfdf9 100%);
}

body.index-page {
    background: url('../images/0/Image7.png') center/cover no-repeat fixed;
}

body.about-page {
    background: url('../images/Image19.png') center/cover no-repeat fixed;
}

body.shop-page {
    background: url('../images/Image21.png') center/cover no-repeat fixed;
}

body.contact-page {
    background: url('../images/Image22.png') center/cover no-repeat fixed;
}

body.order-page {
    background: url('../images/Image21.png') center/cover no-repeat fixed;
}

a {
    color: inherit;
    text-decoration: none;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 5vw;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(47, 125, 75, 0.15);
    backdrop-filter: blur(10px);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.nav {
    display: flex;
    gap: 0.95rem;
    flex-wrap: wrap;
}

.nav a {
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-weight: 600;
    color: var(--muted);
    transition: background 0.22s ease, color 0.22s ease;
}

.nav a:hover {
    background: var(--surface-2);
    color: var(--brand-dark);
}

.lang-btn {
    border: 1px solid rgba(47, 125, 75, 0.24);
    border-radius: 999px;
    padding: 0.48rem 0.95rem;
    font-weight: 700;
    color: var(--brand-dark);
    background: #f8fbf2;
}

main {
    width: min(1180px, 92vw);
    margin: 0 auto;
}

.hero {
    margin: 2.4rem 0 1.8rem;
    padding: clamp(1.5rem, 3.5vw, 3.2rem);
    border-radius: 26px;
    background:
        linear-gradient(145deg, rgba(232, 239, 216, 0.85), rgba(255, 255, 255, 0.98)),
        linear-gradient(90deg, #eff6dd, #fafdf3);
    box-shadow: var(--shadow);
}

.hero-enhanced {
    margin: 2rem 0 1.5rem;
    padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 3vw, 3rem);
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(30, 42, 29, 0.75), rgba(47, 125, 75, 0.65)),
        url('../images/baobab-tree-tms_ali-riley.jpg') center/cover no-repeat;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
}

.hero-content {
    z-index: 2;
}

.hero-enhanced h1,
.hero-enhanced p {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-enhanced .badge {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    animation: float 6s ease-in-out infinite;
    opacity: 0.9;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.stats-bar {
    margin: 2.5rem 0;
    padding: 2rem;
    background: linear-gradient(90deg, var(--brand), #3f9a5f);
    border-radius: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    box-shadow: 0 12px 32px rgba(47, 125, 75, 0.25);
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.95;
    font-weight: 600;
}

.featured-trees {
    margin: 3rem 0;
}

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

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--muted);
    font-size: 1.05rem;
}

body.index-page .section-header h2,
body.index-page .section-header p {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.featured-card {
    background: var(--surface);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(30, 42, 29, 0.08);
    border: 1px solid rgba(47, 125, 75, 0.09);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(30, 42, 29, 0.15);
}

.featured-image {
    height: 200px;
    overflow: hidden;
    background: var(--surface-2);
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.08);
}

.featured-content {
    padding: 1.2rem;
}

.featured-content h3 {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
}

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

.services-enhanced {
    margin: 3rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--surface);
    border-radius: 18px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(30, 42, 29, 0.08);
    border: 1px solid rgba(47, 125, 75, 0.09);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(30, 42, 29, 0.15);
}

.service-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.2rem;
}

.service-icon img {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    margin: 0 0 0.8rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--muted);
    line-height: 1.6;
}

.testimonials {
    margin: 3rem 0 3.5rem;
}

.testimonial-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0 2rem;
    -webkit-overflow-scrolling: touch;
}

.testimonial-scroll::-webkit-scrollbar {
    display: none;
}

.testimonial-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonial-card {
    background: linear-gradient(135deg, #f8fbf2, #ffffff);
    border-radius: 18px;
    padding: 2rem 1.8rem;
    box-shadow: 0 6px 20px rgba(30, 42, 29, 0.08);
    border: 1px solid rgba(47, 125, 75, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 320px;
    max-width: 380px;
    flex-shrink: 0;
}

.quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: var(--brand);
    opacity: 0.15;
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    line-height: 1;
}

.testimonial-card p {
    position: relative;
    z-index: 2;
    color: var(--text);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--brand-dark);
    font-size: 0.95rem;
}

.badge {
    display: inline-block;
    padding: 0.36rem 0.7rem;
    border-radius: 999px;
    background: rgba(47, 125, 75, 0.12);
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 0.83rem;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    margin-top: 0;
}

.hero h1 {
    margin: 0.7rem 0;
    font-size: clamp(1.9rem, 3.8vw, 3.1rem);
}

.hero p {
    margin: 0;
    max-width: 760px;
    color: var(--muted);
    line-height: 1.65;
}

.hero-actions {
    margin-top: 1.35rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: none;
    padding: 0.68rem 1.12rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(90deg, var(--brand), #3f9a5f);
    color: #fff;
    box-shadow: 0 8px 22px rgba(47, 125, 75, 0.27);
}

.btn-ghost {
    background: #fff;
    color: var(--brand-dark);
    border: 1px solid rgba(47, 125, 75, 0.25);
}

.highlights,
.services,
.contact-grid {
    margin: 1.5rem 0 2rem;
    display: grid;
    gap: 1rem;
}

.highlights {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card,
.service,
.contact-card,
.product-card {
    background: var(--surface);
    border-radius: 18px;
    padding: 1.1rem;
    box-shadow: 0 8px 24px rgba(30, 42, 29, 0.08);
    border: 1px solid rgba(47, 125, 75, 0.09);
}

.card p,
.service p,
.contact-card p {
    color: var(--muted);
    line-height: 1.58;
}

.services {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    margin-bottom: 3rem;
}

.page-head {
    margin-top: 1.8rem;
}

.page-head h1 {
    margin-bottom: 0.3rem;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.page-head p {
    margin-top: 0;
    color: var(--muted);
}

.shop-search-section {
    max-width: 1200px;
    margin: 2rem auto 1.5rem;
    padding: 0 5vw;
    text-align: center;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 1rem;
}

.tree-search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid rgba(47, 125, 75, 0.2);
    border-radius: 50px;
    background: #ffffff;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tree-search-input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 4px 16px rgba(47, 125, 75, 0.15);
}

.search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    pointer-events: none;
    opacity: 0.5;
}

.tree-count {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0;
}

@media (max-width: 768px) {
    .tree-search-input {
        padding: 0.9rem 2.5rem 0.9rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .search-icon {
        right: 1rem;
        font-size: 1rem;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    max-width: 1200px;
    margin: 1rem auto 0;
    padding: 0 5vw;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb-item {
    display: inline;
}

.breadcrumb-item a {
    color: var(--brand);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--brand-dark);
    text-decoration: underline;
}

.breadcrumb-item span {
    color: var(--muted);
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: var(--muted);
    user-select: none;
}

.product-grid {
    margin: 1.4rem 0 3rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.product-card {
    padding: 0;
    overflow: hidden;
}

.product-image-wrap {
    height: 155px;
    background: var(--surface-2);
    overflow: hidden;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-content {
    padding: 0.95rem;
}

.product-content h3 {
    margin: 0 0 0.3rem 0;
    font-size: 1.05rem;
}

.tree-name-link {
    color: var(--brand-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.tree-name-link:hover {
    color: var(--brand);
    text-decoration: underline;
}

.product-content .scientific-name {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0 0 0.5rem 0;
    font-style: italic;
}

.price-line {
    margin: 0.4rem 0 0.8rem;
    color: var(--brand-dark);
    font-weight: 700;
}

.contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-bottom: 3rem;
}

.contact-card a {
    color: var(--brand-dark);
    font-weight: 600;
}

.footer {
    margin-top: 3rem;
    padding: 3rem 5vw 1.5rem;
    background: linear-gradient(135deg, #1e2a1d 0%, #2f7d4b 100%);
    color: #ffffff;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.footer-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-social {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    flex-shrink: 0;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.social-icon--facebook {
    background-color: #1877F2;
    color: #fff;
}

.footer-social-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.footer-social-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-social-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 0.5rem;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 0.2rem;
    opacity: 0.8;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.order-form-container,
.contact-form-section {
    max-width: 680px;
    margin: 1.5rem auto 3rem;
}

.order-form {
    background: var(--surface);
    border-radius: 18px;
    padding: 1.8rem;
    box-shadow: 0 8px 24px rgba(30, 42, 29, 0.08);
    border: 1px solid rgba(47, 125, 75, 0.09);
}

.order-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--brand-dark);
}

.scientific-name-hint {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0.5rem 0 0 0;
    font-style: italic;
}

.form-group {
    margin-bottom: 1.3rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(47, 125, 75, 0.25);
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--ring);
}

.form-group input[readonly] {
    background: var(--surface-2);
    cursor: not-allowed;
}

.price-display {
    padding: 0.7rem 0.9rem;
    background: var(--surface-2);
    border-radius: 10px;
    font-weight: 700;
    color: var(--brand-dark);
}

.btn-large {
    width: 100%;
    padding: 0.85rem 1.5rem;
    font-size: 1.05rem;
    margin-top: 0.5rem;
}

.alert {
    padding: 1rem 1.2rem;
    border-radius: 12px;
    margin: 1.5rem auto;
    max-width: 680px;
    font-weight: 600;
}

.alert-success {
    background: rgba(47, 125, 75, 0.12);
    color: var(--brand-dark);
    border: 1px solid rgba(47, 125, 75, 0.25);
}

.alert-error {
    background: rgba(220, 38, 38, 0.12);
    color: #991b1b;
    border: 1px solid rgba(220, 38, 38, 0.25);
}

@media (max-width: 720px) {
    .topbar {
        padding: 0.75rem 4vw;
        flex-wrap: wrap;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .lang-btn {
        margin-left: auto;
    }

    .order-form {
        padding: 1.3rem;
    }

    .hero-enhanced {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.8rem 1.5rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 300px;
    }

    .stats-bar {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .services-enhanced {
        grid-template-columns: 1fr;
    }

    .service-icon {
        width: 100px;
        height: 100px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

.about-content {
    max-width: 900px;
    margin: 2rem auto;
}

.about-text-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(47, 125, 75, 0.09);
}

.about-intro,
.about-passion {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.about-intro {
    font-weight: 500;
}

.services-section {
    margin: 3rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card-detailed {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(30, 42, 29, 0.08);
    border: 1px solid rgba(47, 125, 75, 0.09);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-detailed:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30, 42, 29, 0.15);
}

.service-card-detailed h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--brand-dark);
}

.service-card-detailed p {
    color: var(--muted);
    line-height: 1.7;
}

.about-experience {
    max-width: 900px;
    margin: 3rem auto;
}

.experience-content {
    background: rgba(47, 125, 75, 0.95);
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.experience-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 1rem;
    color: #ffffff;
}

.experience-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
}

body.about-page .section-header h2,
body.about-page .section-header p {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

body.about-page .page-head h1,
body.about-page .page-head p {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

body.about-page .hero-enhanced {
    background:
        linear-gradient(135deg, rgba(30, 42, 29, 0.75), rgba(47, 125, 75, 0.65));
}

body.about-page .stats-bar {
    background: rgba(47, 125, 75, 0.9);
}

body.about-page .stats-bar .stat-number,
body.about-page .stats-bar .stat-label {
    color: #ffffff;
}

body.shop-page .hero-enhanced {
    background:
        linear-gradient(135deg, rgba(30, 42, 29, 0.75), rgba(47, 125, 75, 0.65));
}

body.shop-page .stats-bar {
    background: rgba(47, 125, 75, 0.9);
}

body.shop-page .stats-bar .stat-number,
body.shop-page .stats-bar .stat-label {
    color: #ffffff;
}

body.contact-page .page-head h1,
body.contact-page .page-head p {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

body.contact-page .section-header h2,
body.contact-page .section-header p {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

body.order-page .page-head h1,
body.order-page .page-head p {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

body.about-page .contact-form-section .section-header h2,
body.about-page .contact-form-section .section-header p {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

body.contact-page .testimonials .section-header h2 {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

body.shop-page .contact-form-section .section-header h2,
body.shop-page .contact-form-section .section-header p {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

body.order-page .testimonials .section-header h2 {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Location Pages */
.location-page {
    background: #f7f9f1;
}

.location-hero {
    background: linear-gradient(135deg, #1e2a1d 0%, #2f7d4b 100%);
    color: #ffffff;
    padding: 4rem 5vw 3rem;
    text-align: center;
}

.location-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.location-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.location-main {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 5vw;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
}

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

.tree-image-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 6px 20px rgba(30, 42, 29, 0.08);
    border: 1px solid rgba(47, 125, 75, 0.08);
    text-align: center;
}

.tree-image-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.tree-image-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--brand-dark);
    margin-bottom: 0.3rem;
}

.tree-image-card .scientific-name {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0 0 0.5rem 0;
    font-style: italic;
}

.tree-image-card .price-info {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.contact-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 6px 20px rgba(30, 42, 29, 0.08);
    border: 1px solid rgba(47, 125, 75, 0.08);
}

.contact-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--brand-dark);
    margin-bottom: 1rem;
}

.contact-card p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-card a {
    color: var(--brand);
    text-decoration: none;
}

.contact-card a:hover {
    color: var(--brand-dark);
}

.location-article {
    background: #ffffff;
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: 0 6px 20px rgba(30, 42, 29, 0.08);
    border: 1px solid rgba(47, 125, 75, 0.08);
}

.location-article h2 {
    font-family: 'Playfair Display', serif;
    color: var(--brand-dark);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.location-article h3 {
    font-family: 'Playfair Display', serif;
    color: var(--brand-dark);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.location-article p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.location-cta {
    background: linear-gradient(135deg, #f8fbf2, #ffffff);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
    border: 1px solid rgba(47, 125, 75, 0.1);
}

.location-cta h3 {
    margin-top: 0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.related-locations,
.related-trees {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 5vw;
}

.related-locations h2,
.related-trees h2 {
    font-family: 'Playfair Display', serif;
    color: var(--brand-dark);
    text-align: center;
    margin-bottom: 2rem;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.location-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(30, 42, 29, 0.08);
    border: 1px solid rgba(47, 125, 75, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 42, 29, 0.12);
}

.location-card h4 {
    color: var(--brand);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.location-card p {
    color: var(--text);
    font-size: 0.95rem;
    margin: 0;
}

.tree-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.tree-card-link {
    text-decoration: none;
}

.tree-card-small {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(30, 42, 29, 0.08);
    border: 1px solid rgba(47, 125, 75, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.tree-card-small:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 42, 29, 0.12);
}

.tree-card-small img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.tree-card-small h4 {
    color: var(--brand-dark);
    font-size: 0.95rem;
    margin: 0;
}

@media (max-width: 768px) {
    .location-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

/* Directory Page */
.directory-page {
    background: #f7f9f1;
}

.directory-hero {
    background: linear-gradient(135deg, #1e2a1d 0%, #2f7d4b 100%);
    color: #ffffff;
    padding: 4rem 5vw 3rem;
    text-align: center;
}

.directory-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.directory-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.directory-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 5vw;
}

.directory-intro {
    background: #ffffff;
    border-radius: 18px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 6px 20px rgba(30, 42, 29, 0.08);
    border: 1px solid rgba(47, 125, 75, 0.08);
    text-align: center;
}

.directory-intro h2 {
    font-family: 'Playfair Display', serif;
    color: var(--brand-dark);
    margin-bottom: 1rem;
}

.directory-intro p {
    color: var(--text);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.directory-search {
    margin-bottom: 2rem;
}

.directory-search input {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid rgba(47, 125, 75, 0.2);
    border-radius: 50px;
    background: #ffffff;
    transition: border-color 0.3s ease;
}

.directory-search input:focus {
    outline: none;
    border-color: var(--brand);
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.directory-location-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(30, 42, 29, 0.08);
    border: 1px solid rgba(47, 125, 75, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.directory-location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 42, 29, 0.12);
}

.directory-location-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--brand-dark);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.directory-location-card .location-type {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.directory-location-card .tree-count {
    color: var(--brand);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 2.5rem;
    border-radius: 18px;
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

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

.modal-close {
    color: var(--muted);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--brand-dark);
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
}

.modal-content #modalSubtitle {
    color: var(--muted);
    margin-bottom: 2rem;
}

.modal-tree-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.modal-tree-card {
    background: linear-gradient(135deg, #f8fbf2, #ffffff);
    border: 1px solid rgba(47, 125, 75, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.modal-tree-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(30, 42, 29, 0.15);
    border-color: var(--brand);
}

.modal-tree-card h4 {
    color: var(--brand-dark);
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 768px) {
    .directory-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .directory-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        padding: 1.5rem;
        margin: 10% auto;
    }
    
    .modal-tree-grid {
        grid-template-columns: 1fr;
    }
}

/* Tree Detail Pages */
.tree-detail-page {
    background: #f7f9f1;
}

.tree-detail-hero {
    background: linear-gradient(135deg, #1e2a1d 0%, #2f7d4b 100%);
    color: #ffffff;
    padding: 4rem 5vw 3rem;
    text-align: center;
}

.tree-detail-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.hero-scientific-name {
    font-size: 1.3rem;
    opacity: 0.9;
    font-style: italic;
}

.tree-detail-main {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 5vw;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
}

.tree-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tree-detail-article {
    background: #ffffff;
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: 0 6px 20px rgba(30, 42, 29, 0.08);
    border: 1px solid rgba(47, 125, 75, 0.08);
}

.tree-detail-article h2 {
    font-family: 'Playfair Display', serif;
    color: var(--brand-dark);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.tree-detail-article h3 {
    font-family: 'Playfair Display', serif;
    color: var(--brand-dark);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.tree-detail-article p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.tree-detail-cta {
    background: linear-gradient(135deg, #f8fbf2, #ffffff);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
    border: 1px solid rgba(47, 125, 75, 0.1);
}

.tree-detail-cta h3 {
    margin-top: 0;
}

.related-trees-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 5vw;
}

.related-trees-section h2 {
    font-family: 'Playfair Display', serif;
    color: var(--brand-dark);
    text-align: center;
    margin-bottom: 2rem;
}

.related-trees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.related-tree-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(30, 42, 29, 0.08);
    border: 1px solid rgba(47, 125, 75, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.related-tree-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 42, 29, 0.12);
}

.related-tree-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.related-tree-card h4 {
    color: var(--brand-dark);
    font-size: 1rem;
    margin: 0 0 0.3rem 0;
}

.related-tree-card .scientific-name {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0;
}

@media (max-width: 768px) {
    .tree-detail-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tree-detail-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-scientific-name {
        font-size: 1.1rem;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}
