:root {
    --primary-orange: #CD6821;
    --primary-teal: #2A9D8F;
    --bg-white: #ffffff;
    --text-brown: #4A403A;
    --text-black: #1A1A1A;
    --accent-gold: #E9C46A;
    --jungle-deep: #0B3D33;
    --jungle-lush: #1B5E20;
    --sand-warm: #FDF5E6;
    --leaf-light: #A5D6A7;
    --accent-tangerine: #FF8C00;
    --portal-bg: rgba(11, 61, 51, 0.95);
    --organic-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

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

body {
    font-family: 'Bitter', serif;
    color: var(--text-brown);
    line-height: 1.6;
    background-color: var(--bg-white);
}

h1,
h2 {
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.site-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

.site-title {
    font-family: 'Abril Fatface', cursive;
    font-size: 3rem;
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tribal Borders */
.tribal-border {
    height: 20px;
    width: 100%;
    background-image: url(/tribal-border.jpg);
    background-size: auto 100%;
    background-repeat: repeat-x;
    flex-shrink: 0;
}


/* Global Site Navigation */
.global-nav {
    background: #1a1a1a;
    color: white;
    padding: 0.6rem 0;
    font-size: 0.8rem;
    font-weight: 500;
}

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

.global-nav a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.global-nav a:hover {
    color: var(--accent-gold);
}

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

.home-link {
    font-weight: 700;
    color: white !important;
}

.social-icon svg {
    display: block;
    fill: currentColor;
}

/* Header */
.main-header {
    text-align: center;
    padding-bottom: 2rem;
}

.header-content {
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.header-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-title {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.site-tagline {
    font-size: 1.2rem;
    color: var(--primary-teal);
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-section {
        height: 50vh;
        min-height: 300px;
    }
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-text h2 {
    color: white;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.6;
}

/* Navigation & Search */
.category-nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    z-index: 100;
    border-bottom: 1px solid #eee;
}

.category-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 1rem 1rem 0.5rem 1rem;
    gap: 2rem;
}

.category-nav a {
    text-decoration: none;
    color: var(--text-black);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.category-nav a:hover {
    color: var(--primary-orange);
}

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

#plant-search {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-family: 'Bitter', serif;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

/* Tag Chips */
.tag-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.8rem;
}

.tag-chip {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #eee;
    color: #666;
}

.tag-chip.tag-edible {
    background: #e9f5e9;
    color: #2d5a27;
}

.tag-chip.tag-medicinal {
    background: #fff4e5;
    color: #b45309;
}

.tag-chip.tag-ornamental {
    background: #eef2ff;
    color: #4338ca;
}

.tag-chip.tag-construction {
    background: #fef2f2;
    color: #b91c1c;
}

.tag-chip.tag-seeds {
    background: #fdf2f8;
    color: #be185d;
}

.tag-chip.tag-produce {
    background: #f0fdf4;
    color: #15803d;
}

/* Info Strip */
.info-strip {
    background: #fdfdfd;
    border-bottom: 1px solid #eee;
    padding: 1.5rem 0;
}

.info-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    padding: 0 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-brown);
    font-size: 0.9rem;
}

.info-item svg {
    color: var(--primary-orange);
}

/* Filter Bar */
.filter-bar {
    background: #fdfdfd;
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
    position: sticky;
    top: 60px;
    /* Below nav */
    z-index: 90;
}

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

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-brown);
}

.filter-divider {
    height: 24px;
    width: 1px;
    background: #ddd;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary-teal);
}

input:checked+.slider:before {
    transform: translateX(22px);
}

/* Tag Buttons */
.tag-btn {
    background: #f3f4f6;
    border: 1px solid #ddd;
    color: var(--text-brown);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: var(--primary-teal);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
}

.chat-window.hidden {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
}

.chat-header {
    background: var(--primary-teal);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #f9f9f9;
}

.msg {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    max-width: 85%;
    line-height: 1.4;
}

.msg.bot {
    background: #eee;
    color: var(--text-black);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.msg.user {
    background: var(--primary-teal);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-input-area {
    padding: 1rem;
    border-top: 1px solid #eee;
    display: flex;
    gap: 0.5rem;
}

.chat-input-area input {
    flex: 1;
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}

.chat-input-area button {
    background: var(--primary-teal);
    color: white;
    border: none;
    padding: 0 1rem;
    border-radius: 4px;
    cursor: pointer;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.plant-card:hover .main-photo {
    transform: scale(1.05);
}

.category-title {
    position: relative;
    overflow: hidden;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-orange);
    transform: translateX(-101%);
    transition: transform 1s ease-out;
}

.reveal-active .category-title::after {
    transform: translateX(0);
}

/* Loading State */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.5s;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-teal);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Catalog */
main {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.category-section {
    margin-bottom: 5rem;
}

.category-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 8px solid var(--primary-teal);
}

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

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

.plant-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

.plant-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(45, 90, 39, 0.15);
    border-color: var(--accent-light);
}

.plant-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.plant-card:hover::before {
    width: 12px;
}

.plant-info {
    padding: 1.25rem;
    padding-left: 1.8rem;
    /* Extra space for the tribal stripe */
    display: flex;
    flex-direction: column;
    flex: 1;
}

.plant-name {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--text-black);
}

.botanical-name {
    display: block;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.plant-description {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.plant-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.plant-price {
    font-weight: 700;
    color: var(--primary-teal);
    font-size: 1.2rem;
}

.plant-status {
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 700;
}

.meta-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.stock-count {
    font-size: 0.7rem;
    color: #666;
    font-weight: 700;
    text-transform: uppercase;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Catalog Gallery & Nano Banana Styles */
.plant-gallery {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #fdfdfd;
    border-radius: 8px;
    margin-bottom: 1rem;
    cursor: pointer;
}

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

.plant-card:hover .main-photo {
    transform: scale(1.05);
}

.photo-count {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.banana-optimized {
    border: 3px solid transparent;
    transition: border-color 0.3s;
}

.plant-card:hover .banana-optimized {
    border-color: var(--accent-gold);
}

.photo-placeholder {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #ccc;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.photo-placeholder.sanctuary-bg {
    background: linear-gradient(135deg, #e9f0e8 0%, #d4e0d2 100%);
}

.placeholder-icon {
    font-size: 3rem;
    filter: sepia(0.5);
}

.card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.useful-plants-link,
.whatsapp-buy,
.whatsapp-notify,
.admin-photo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.useful-plants-link {
    background: #f3f4f6;
    color: var(--text-brown);
    border: 1px solid #e5e7eb;
}

.useful-plants-link:hover {
    background: white;
    border-color: var(--primary-teal);
    color: var(--primary-teal);
    box-shadow: 0 4px 12px rgba(42, 157, 143, 0.15);
}

.whatsapp-buy,
.whatsapp-notify {
    background: var(--primary-teal);
    color: white;
    box-shadow: 0 4px 12px rgba(42, 157, 143, 0.2);
}

.whatsapp-buy:hover,
.whatsapp-notify:hover {
    background: var(--primary-orange);
    box-shadow: 0 6px 15px rgba(205, 104, 33, 0.3);
    transform: translateY(-2px);
}

.admin-photo-btn {
    background: #fff;
    color: var(--primary-teal);
    border: 2px dashed var(--primary-teal);
    margin-top: 0.5rem;
}

.admin-photo-btn:hover {
    background: var(--primary-teal);
    color: white;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.lightbox.hidden {
    display: none;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

.lightbox-caption {
    margin-top: 1rem;
    color: var(--accent-gold);
    font-weight: bold;
    font-family: 'Outfit', sans-serif;
}

@media (max-width: 768px) {
    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 0.5rem;
        font-size: 1.5rem;
        background: rgba(0, 0, 0, 0.5);
    }
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    border: 1px solid #ddd;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-brown);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s;
    opacity: 0.5;
}

.lang-btn.active {
    opacity: 1;
    color: var(--primary-orange);
}

.lang-btn:hover {
    opacity: 1;
}

.divider {
    color: #ccc;
}

/* Voice Button */
.voice-btn {
    background: none;
    border: none;
    color: var(--text-brown);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}

.voice-btn:hover {
    opacity: 1;
    background: rgba(42, 157, 143, 0.1);
    color: var(--primary-teal);
}

.voice-btn.listening {
    color: #dc2626;
    animation: pulse 1.5s infinite;
    opacity: 1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* WhatsApp Button (deprecated by generic button style above but kept for compatibility) */
.whatsapp-notify {
    margin-top: 0;
}

.whatsapp-notify svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Footer */
.main-footer {
    background: #fdfdfd;
    border-top: 1px solid #eee;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.footer-sections {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    text-align: left;
}

.footer-info p {
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    color: #666;
}

.footer-social .instagram-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-brown);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.3s, color 0.3s;
}

.footer-social .instagram-link:hover {
    color: var(--primary-orange);
    transform: translateX(5px);
}

.footer-social svg {
    color: var(--primary-orange);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .global-nav-content {
        flex-direction: column;
        gap: 0.6rem;
    }

    .main-site-links {
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-sections {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-title {
        font-size: 2.5rem;
    }

    .header-content {
        padding-top: 4rem;
    }

    .header-actions {
        top: 0.5rem;
        right: 0.5rem;
    }

    .category-nav ul {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .responsive-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .plant-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #fdf4e3 0%, #f9ebcf 100%);
    padding: 5rem 1rem;
    text-align: center;
    border-top: 1px solid #f0e0c0;
    border-bottom: 1px solid #f0e0c0;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '🍃';
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 8rem;
    opacity: 0.05;
    transform: rotate(-15deg);
}

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

.cta-content h2 {
    color: var(--primary-orange);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-brown);
    line-height: 1.8;
}

.cta-btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: var(--primary-teal);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(42, 157, 143, 0.25);
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(42, 157, 143, 0.35);
    background: #258a7e;
}

/* Chocolate Specific Styles */
.chocolate-promo {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(109, 76, 65, 0.05);
    border-radius: 12px;
    border-left: 4px solid #6D4C41;
}

.chocolate-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #6D4C41;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    transition: transform 0.3s ease, color 0.3s;
}

.chocolate-link:hover {
    color: #4E342E;
    transform: translateX(5px);
}

.chocolate-icon {
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Page specificity for reveal animations */
#app[data-page="farm-shop"] .plant-card.reveal-active {
    border-color: #f0e0c0;
}

/* Dorien Web Dev CTA Extra Polish */
.dorien-cta {
    background: linear-gradient(135deg, #121212 0%, #2a2a2a 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dorien-btn {
    box-shadow: 0 10px 30px rgba(42, 157, 143, 0.3);
}

/* Utility for smooth icons */
.icon-shield {
    display: inline-flex;
    padding: 0.5rem;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Fan Gallery Styles */
.fan-gallery-section {
    text-align: center;
    padding: 4rem 0;
    overflow: hidden;
    /* Prevent horizontal scrollbar during fan */
}

.fan-gallery-container {
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    margin-bottom: 2rem;
    margin-top: 1rem;
    overflow: visible;
}

/* Bento-Style Gallery */
.gallery-section {
    padding: 6rem 0;
    background: #fdfdfd;
}

.bento-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    grid-auto-rows: 320px;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.bento-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
}

/* Aracari Toucan Focus */
.bento-item.toucan-focus {
    background-position: 80% 60%;
}

/* Resident Sloth Focus */
.bento-item.sloth-focus {
    background-position: center 25%;
}

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

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

.bento-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Polaroid Masonry Gallery */
.polaroid-masonry {
    column-count: 3;
    column-gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.polaroid-item {
    break-inside: avoid;
    margin-bottom: 2rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: zoom-in;
}

.polaroid-frame {
    background: #fff;
    padding: 12px 12px 45px 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.polaroid-frame img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: auto;
    /* Preserve natural ratio */
    object-fit: contain;
}

.polaroid-caption {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: 'Bitter', serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #555;
    opacity: 0.8;
}

/* Organic Rotations */
.polaroid-item:nth-child(odd) {
    transform: rotate(-1.5deg);
}

.polaroid-item:nth-child(even) {
    transform: rotate(1.5deg);
}

.polaroid-item:nth-child(3n) {
    transform: rotate(2deg) translateY(10px);
}

.polaroid-item:hover {
    transform: scale(1.05) rotate(0deg) !important;
    z-index: 10;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Lightbox integration for Mosaic */
.polaroid-item .bento-overlay {
    display: none;
    /* Hide old bento overlay if still present */
}

@media (max-width: 1024px) {
    .polaroid-masonry {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .polaroid-masonry {
        column-count: 1;
    }
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    object-fit: contain;
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    z-index: 2001;
}

@media (max-width: 1024px) {
    .bento-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .bento-item.tall {
        grid-row: span 1;
        height: 350px;
    }

    .bento-item.wide {
        grid-column: span 2;
        height: 300px;
    }
}

@media (max-width: 600px) {
    .bento-gallery {
        grid-template-columns: 1fr;
    }

    .bento-item.wide {
        grid-column: span 1;
    }
}

/* Tour Details Styling */
.tour-intro {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.tour-details-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    min-width: 200px;
}

/* Modern Icon Styling */
.feature-icon,
.logistic-icon,
.tip-icon {
    color: var(--primary-teal);
    flex-shrink: 0;
    stroke-width: 1.5px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.feature-icon {
    width: 22px;
    height: 22px;
}

.logistic-icon {
    width: 32px;
    height: 32px;
}

.tip-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.tour-card:hover .feature-icon,
.tip-card:hover .tip-icon {
    transform: scale(1.1);
    color: var(--primary-orange);
}

.detail-icon {
    width: 28px;
    height: 28px;
    color: var(--primary-teal);
}

.tour-highlights {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    background: rgba(255, 255, 255, 0.8);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.tour-highlights li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 2rem;
    font-size: 1.1rem;
    color: var(--text-brown);
}

.tour-highlights li:last-child {
    border-bottom: none;
}

.tour-highlights li::before {
    content: '🍃';
    color: var(--primary-teal);
    position: absolute;
    left: 0;
    font-size: 1rem;
    top: 1rem;
}

.more-than-chocolate {
    margin: 3rem auto;
    padding: 3rem;
    background: linear-gradient(135deg, #e9f0e8 0%, #d4e0d2 100%);
    border-radius: 30px;
    color: var(--jungle-dark);
    max-width: 800px;
    position: relative;
}

.more-than-chocolate h3 {
    color: var(--primary-teal);
    margin-bottom: 1rem;
    font-family: 'Abril Fatface', cursive;
    font-size: 2rem;
}

@media (max-width: 768px) {

    /* Mobile Fallback for Gallery - simpler stack */
    .fan-gallery-container {
        height: 350px;
    }

    .fan-gallery {
        width: 260px;
        height: 360px;
    }

    /* Reduce spread on mobile so it doesn't overflow */
    .fan-gallery:hover .fan-card:nth-child(1) {
        transform: rotate(-15deg) translateX(-60px);
    }

    .fan-gallery:hover .fan-card:nth-child(2) {
        transform: rotate(-7deg) translateX(-30px);
    }

    .fan-gallery:hover .fan-card:nth-child(3) {
        transform: rotate(0deg) translateY(-20px);
    }

    .fan-gallery:hover .fan-card:nth-child(4) {
        transform: rotate(7deg) translateX(30px);
    }

    .fan-gallery:hover .fan-card:nth-child(5) {
        transform: rotate(15deg) translateX(60px);
    }

    .tour-details-grid {
        gap: 1rem;
    }

    .detail-item {
        width: 100%;
    }
}

/* Visual Haven Gallery */
.gallery-section {
    padding: 6rem 0;
    background-color: #fdfdfd;
}

.gallery-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-subtitle {
    text-align: left;
    margin-bottom: 3rem;
    color: var(--text-brown);
    font-size: 1.1rem;
    max-width: 600px;
    opacity: 0.8;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
}

.gallery-item:nth-child(even) {
    transform: translateY(30px);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-overlay span {
    color: white;
    font-family: 'Abril Fatface', cursive;
    font-size: 1.5rem;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.gallery-item:nth-child(even):hover {
    transform: translateY(20px) scale(1.02);
}

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

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

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-item:nth-child(even) {
        transform: translateY(0);
    }

    .gallery-item:nth-child(even):hover {
        transform: translateY(-10px) scale(1.02);
    }
}

/* Lush Haven Redesign Styles */
.lush-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(135deg, rgba(11, 61, 51, 0.95) 0%, rgba(27, 94, 32, 0.9) 100%);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lush-card {
    background: var(--sand-warm);
    padding: 4.5rem 3.5rem;
    border-radius: var(--organic-radius);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 550px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
    animation: organicFloat 6s ease-in-out infinite;
}

@keyframes organicFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(0.5deg);
    }
}

.lush-card h2 {
    font-family: 'Abril Fatface', cursive;
    color: var(--jungle-deep);
    font-size: 2.8rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.lush-card p {
    color: var(--text-brown);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    padding: 0 1rem;
}

.organic-input {
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    padding: 1.2rem 1.5rem;
    border: 2px solid var(--leaf-light);
    border-radius: 60px;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    background: white;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: border-color 0.3s ease;
}

.organic-input:focus {
    outline: none;
    border-color: var(--primary-teal);
}

.organic-btn {
    background: var(--jungle-deep);
    color: white;
    padding: 1.2rem 3.5rem;
    border: none;
    border-radius: var(--organic-radius);
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 12px 25px rgba(11, 61, 51, 0.3);
}

.organic-btn:hover {
    transform: scale(1.05) rotate(-2deg);
    background: var(--jungle-lush);
    box-shadow: 0 18px 35px rgba(11, 61, 51, 0.4);
}

.portal-dashboard {
    background: transparent;
    min-height: 100vh;
    padding: 0;
}

/* Guest Portal Layout */
.guest-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.guest-content>*:not(.main-header) {
    max-width: 1200px;
    width: 100%;
}

.guest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

/* Guest Portal Header & Ambience Styling */
.portal-dashboard .header-section {
    text-align: center;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    padding: 0 1rem;
}

.portal-dashboard .header-section p {
    color: rgba(255, 255, 255, 0.95);
}

.ambience-box {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.ambience-box span {
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
}

.ambience-box .lush-icon {
    color: white;
    stroke-width: 2px;
}

.ambience-box button {
    background: white;
    color: var(--jungle-deep);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s, color 0.2s;
}

.ambience-box button:hover {
    transform: scale(1.05);
    background: var(--primary-teal);
    color: white;
}

/* Lush Glassmorphism Cards */
.lush-card-content {
    background: rgba(253, 245, 230, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 25px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    height: 100%;
    color: var(--text-brown);
    display: flex;
    flex-direction: column;
}

.lush-card-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.lush-card-content .info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lush-card-content .info-item {
    display: block;
    font-size: 1.05rem;
    line-height: 1.6;
}

.lush-card-content .info-item h4 {
    font-size: 1.2rem;
    color: var(--jungle-deep);
    margin-bottom: 0.3rem;
}

.lush-card-content h3 {
    font-family: 'Abril Fatface', cursive;
    color: var(--jungle-deep);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.lush-icon {
    color: var(--primary-teal);
    stroke-width: 1.8px;
}

.leaf-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,0 Q20,10 10,40 T30,80" fill="none" stroke="%231B5E20" stroke-width="0.5" opacity="0.1"/></svg>');
    opacity: 0.3;
}

/* WhatsApp Bubble */
.whatsapp-bubble {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-bubble:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    animation: none;
}

.whatsapp-bubble svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Dorien CTA Contrast Improvements */
.dorien-cta {
    background: rgba(11, 61, 51, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4rem;
    border-radius: 40px;
    text-align: center;
    color: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    margin: 4rem 1rem;
}

.dorien-cta h2 {
    color: var(--accent-gold);
}

.dorien-cta p {
    color: rgba(255, 255, 255, 0.95);
}

/* Interactive Map Enhancements */
.map-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    aspect-ratio: 16 / 9;
    background: var(--jungle-deep);
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.5s;
}

.map-container:hover .map-image {
    opacity: 1;
}

.map-marker {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--primary-teal);
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(42, 157, 143, 0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s;
    z-index: 10;
}

.map-marker::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    animation: pulseMarker 2s infinite;
    opacity: 0;
}

.map-marker:hover {
    transform: translate(-50%, -50%) scale(1.3);
    background: var(--accent-gold);
    border-color: var(--jungle-deep);
}

@keyframes pulseMarker {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Map Modal (Glassmorphism) */
.map-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 61, 51, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.map-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.map-modal-content {
    background: var(--sand-warm);
    padding: 3rem;
    border-radius: 25px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.map-modal.active .map-modal-content {
    transform: translateY(0) scale(1);
}

.close-map-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--text-brown);
    cursor: pointer;
    transition: transform 0.2s;
}

.close-map-modal:hover {
    transform: rotate(90deg);
    color: var(--primary-teal);
}

.map-modal .modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.map-modal .modal-header h3 {
    font-family: 'Abril Fatface', cursive;
    color: var(--jungle-deep);
    font-size: 2rem;
    margin: 0;
}

.map-modal #modal-desc {
    font-size: 1.15rem;
    color: var(--text-brown);
    line-height: 1.6;
}
/* Monkey Hover Fix */
.site-logo {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}
.site-logo:hover {
    transform: rotate(-15deg) scale(1.1) !important;
}
