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

:root {
    --min-font-size: 16px;
    --max-font-size: 20px;
    --min-screen-width: 320px;
    --max-screen-width: 1920px;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

    /* Primary Colors */
    --primary-green: #7ed492;
    /* Deep, natural green */
    --primary-light: #9beab0;
    /* Lighter green for accents */
    --primary-dark: #4bbd7a;
    /* Dark green for hover states */

    /* Secondary Colors */
    --secondary-brown: #795548;
    /* Earthy brown */
    --secondary-light: #A1887F;
    /* Light brown for accents */

    /* Neutral Colors */
    --neutral-light: #F5F5F5;
    /* Light background */
    --neutral-white: #FFFFFF;
    /* Pure white */
    --neutral-dark: #424242;
    /* Dark text */
    --neutral-gray: #757575;
    /* Secondary text */

    /* Accent Colors */
    --accent-yellow: #b6f5d8;
    /* Warm yellow for highlights */
    --accent-orange: #FF9800;
    /* Warm orange for emphasis */
}

html {
    font-size: clamp(var(--min-font-size), 1vw + 0.5rem, var(--max-font-size));
    font-family: var(--font-family);
}

body {
    background-color: #F8F9FA;
    /* Light, neutral background for the entire website */
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: clamp(0.8rem, 1.2vw, 1.2rem) 0;
}

.navbar .nav-content {
    max-width: min(1200px, 90vw);
    margin: 0 auto;
    padding: 0 clamp(1.2rem, 2vw, 2rem);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.navbar .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    position: static;
    padding-left: 0;
}

.navbar .logo img {
    height: 64px !important;
    width: auto;
    display: block;
}

.navbar .nav-links {
    display: flex;
    list-style: none;
    gap: clamp(1.2rem, 2vw, 2rem);
    margin-left: auto;
}

.navbar .nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: clamp(1.1rem, 1.3vw, 1.3rem);
    letter-spacing: 0.3px;
}

.navbar .home-link {}

.navbar .nav-link:hover {
    color: var(--primary-dark);
}

.navbar.scrolled {
    background-color: var(--primary-dark);
    /* Slightly darker on scroll */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-link {
    color: white;
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary-light);
}

.navbar.fullscreen-mode {
    background-color: rgba(0, 0, 0, 0.9) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar.fullscreen-mode .nav-link,
.navbar.fullscreen-mode .logo {
    color: white !important;
}

.navbar.fullscreen-mode .nav-link:hover {
    color: var(--primary-light) !important;
}

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: #1B4332;
    /* Deep forest green for hero section */
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-content {
    position: absolute;
    top: 50%;
    right: clamp(5%, 10vw, 10%);
    transform: translateY(-50%);
    text-align: left;
    color: white;
    z-index: 1;
    max-width: min(600px, 80vw);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-text {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    line-height: 1.4;
    letter-spacing: 0.2px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.content-section {
    padding: clamp(2rem, 4vw, 4rem) 0;
    background-color: #F8F9FA;
    /* Light neutral for main content sections */
    position: relative;
}

.content-container {
    max-width: min(1200px, 90vw);
    margin: 0 auto;
    padding: 0 clamp(1rem, 2vw, 2rem);
}

/* Section Title Base Styles */
.section-title {
    margin-bottom: clamp(2rem, 3vw, 3rem);
    color: var(--primary-dark);
    font-size: clamp(2rem, 3vw, 2.5rem);
}

/* Section Title Alignments */
.section-title-left {
    text-align: left;
}

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

.section-title-right {
    text-align: right;
}

/* Section Title Variants */
.about-section .section-title {
    text-align: left;
}

.plants-section .section-title {
    text-align: center;
}

.services-section .section-title {
    text-align: left;
    margin-top: 2rem;
}

.contact-section .section-title {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: clamp(1rem, 2vw, 2rem);
}

.service-card {
    background: var(--neutral-white);
    padding: clamp(1.5rem, 2vw, 2rem);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.service-title {
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    color: var(--primary-green);
    margin-bottom: clamp(0.5rem, 1vw, 1rem);
}

.service-text {
    font-size: clamp(0.9rem, 1.1vw, 1.1rem);
    color: var(--neutral-gray);
    line-height: 1.6;
}

/* Dropdown Menu Styles */
.navbar .dropdown {
    position: relative;
}

.navbar .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 10px);
    background-color: white;
    min-width: 200px;
    padding: 0.5rem 0;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.navbar .dropdown-menu li {
    list-style: none;
    padding: 0;
}

.navbar .dropdown-link {
    display: block;
    padding: 0.3rem 1.2rem;
    color: black;
    text-decoration: none;
    font-size: clamp(0.9rem, 1.1vw, 1.1rem);
    transition: background-color 0.3s ease;
}

.navbar .dropdown-link:hover {
    background-color: rgba(39, 174, 96, 0.1);
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .hero-content {
        max-width: 500px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-text {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 768px) {
    .navbar .nav-content {
        padding: 1rem;
    }

    .navbar .logo {
        position: static;
        padding-left: 0;
    }

    .navbar .nav-link {
        font-size: 1rem;
    }

    .hero-content {
        right: 5%;
        max-width: 90%;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-text {
        font-size: 1.2rem;
    }

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

    .navbar .dropdown-menu {
        position: static;
        background-color: white;
        box-shadow: none;
        padding: 0;
        margin-top: 0.3rem;
    }

    .navbar .dropdown-link {
        padding: 0.3rem 1rem;
    }
}

@media screen and (max-width: 480px) {
    .navbar .nav-content {
        flex-direction: column;
        gap: 1rem;
    }

    .navbar .logo {
        position: static;
        padding-left: 0;
        text-align: center;
    }

    .navbar .nav-links {
        margin-left: 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero-content {
        right: 5%;
        text-align: center;
    }

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

    .hero-text {
        font-size: 1.1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .carousel-track {
        gap: 0.5em;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .service-card {
        min-width: 85vw;
        max-width: 95vw;
        flex: 0 0 85vw;
        scroll-snap-align: center;
        margin: 0 auto;
    }

    .carousel-button {
        display: none !important;
    }

    .prev-button {
        left: 0.2rem;
    }

    .next-button {
        right: 0.2rem;
    }
}

.more-plants-btn {
    position: absolute;
    right: 2.5vw;
    bottom: 2vw;
    background: var(--primary-green);
    color: var(--neutral-white);
    padding: 0.7rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.2);
    transition: background 0.2s;
    z-index: 2;
}

.more-plants-btn:hover {
    background: var(--primary-dark);
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 1rem 0;
}

.carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    align-items: flex-start;
    gap: 2em;
}

.service-card {
    width: 240px;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1.5em 1em;
    box-sizing: border-box;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-card .image-container {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 16px;
    margin-bottom: 1em;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(46, 125, 50, 0.08);
}

.service-card .service-title,
.service-card .service-text {
    text-align: center;
}

.service-card.active {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
    transition: all 0.3s ease;
    opacity: 0;
}

.carousel-container:hover .carousel-button {
    opacity: 1;
}

.carousel-button:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.carousel-button:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-button {
    left: 1rem;
}

.next-button {
    right: 1rem;
}

.service-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

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

.service-title {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.service-text {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .service-card {
        flex: 0 0 calc(100% - 2rem);
    }

    .carousel-button {
        width: 40px;
        height: 40px;
        opacity: 1;
    }
}

/* Services Section Styles */
.services-section {
    background-color: #F5F7F5;
    /* Very light green-tinted background for services */
    padding: 5rem 0;
}

.services-content {
    display: flex;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.services-info {
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-item {
    margin-bottom: 1.5rem;
}

.service-item:last-child {
    margin-bottom: 0;
}

.services-section .service-title {
    color: var(--primary-green);
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.services-section .service-text {
    color: var(--neutral-gray);
    line-height: 1.4;
    font-size: 0.85rem;
}

.services-video {
    flex: 1;
    max-width: 550px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    padding-bottom: 35%;
    height: 0;
    transition: all 0.3s ease;
    background-color: #FFFFFF;
    /* Pure white for video container */
}

.services-video.expanded {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80vw;
    width: 1000px;
    padding-bottom: 35%;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.video-overlay.active {
    opacity: 1;
    visibility: visible;
}

.services-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.close-video {
    position: absolute;
    top: -40px;
    right: 0;
    background: var(--neutral-white);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.custom-fullscreen {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    z-index: 1001;
    transition: background-color 0.3s ease;
}

.custom-fullscreen:hover {
    background: rgba(0, 0, 0, 0.9);
}

.minimize-video {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    z-index: 1001;
    transition: background-color 0.3s ease;
}

.minimize-video:hover {
    background: rgba(0, 0, 0, 0.9);
}

.services-video.expanded .custom-fullscreen {
    display: none;
}

.services-video.expanded .minimize-video {
    display: flex;
}

@media (max-width: 1024px) {
    .services-content {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 3rem 0;
    }

    .services-content {
        flex-direction: column;
    }

    .services-info {
        max-width: 100%;
    }

    .services-video {
        max-width: 100%;
        margin-top: 2rem;
    }

    .services-section .service-title {
        font-size: 1rem;
    }

    .services-section .service-text {
        font-size: 0.8rem;
    }
}

/* Ultra Minimal Plants Section */
.plants-section {
    position: relative;
}

.plants-section .section-title {
    text-align: center;
}

.plants-section .carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 1rem 0;
}

.plants-section .carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.plants-section .carousel-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 2rem;
    will-change: transform;
}

.plants-section .service-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    min-width: 300px;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    transform: scale(0.98);
    opacity: 0.8;
}

.plants-section .service-card.active {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.plants-section .service-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.plants-section .service-card:hover img {
    transform: scale(1.02);
}

.plants-section .service-title {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.plants-section .service-text {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.plants-section .carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
    transition: all 0.3s ease;
    opacity: 0;
}

.plants-section .carousel-container:hover .carousel-button {
    opacity: 1;
}

.plants-section .carousel-button:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.plants-section .carousel-button:active {
    transform: translateY(-50%) scale(0.95);
}

.plants-section .prev-button {
    left: 1rem;
}

.plants-section .next-button {
    right: 1rem;
}

.plants-section .more-plants-btn {
    position: absolute;
    right: 2.5vw;
    bottom: 2vw;
    background: var(--primary-green);
    color: var(--neutral-white);
    padding: 0.7rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.2);
    transition: background 0.2s;
    z-index: 2;
}

.plants-section .more-plants-btn:hover {
    background: var(--primary-dark);
}

@media (max-width: 768px) {
    .plants-section .service-card {
        flex: 0 0 calc(100% - 2rem);
    }

    .plants-section .carousel-button {
        width: 40px;
        height: 40px;
        opacity: 1;
    }
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-green));
    color: #fff;
    padding: 1.5rem 0 0.75rem 0;
    text-align: center;
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-light));
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
    position: relative;
}

.footer-left {
    text-align: left;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.footer-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.footer-contact-item svg {
    width: 14px;
    height: 14px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-align: left;
}

.footer-nav-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--primary-dark);
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    padding: 0.15rem 0;
    display: inline-block;
}

.footer-nav a:hover {
    color: var(--primary-green);
}

.social-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
}

.social-links-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--primary-dark);
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.15rem 0;
    font-size: 1rem;
    font-weight: normal;
}

.social-links a:hover {
    color: var(--primary-green);
}

.social-links img {
    display: inline-block;
    vertical-align: middle;
    height: 28px;
    width: 28px;
    margin: 0;
}

.footer-bottom {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .footer-left {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 1.5rem 0 0.75rem 0;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0 0.75rem;
    }

    .footer-left,
    .footer-nav,
    .social-links {
        text-align: center;
        align-items: center;
        width: 100%;
    }

    .footer-nav {
        margin-top: 1rem;
    }

    .footer-nav a {
        display: block;
        margin: 0.3rem 0;
    }

    .social-links {
        margin-top: 1rem;
    }

    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 0.7rem 0 0.5rem 0;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.7rem;
        padding: 0 0.2rem;
    }

    .footer-left,
    .footer-nav,
    .social-links {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-left {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .footer-nav {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .footer-brand {
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
    }

    .footer-text,
    .footer-contact,
    .footer-contact-item,
    .footer-nav a,
    .social-links a {
        font-size: 0.95rem !important;
        margin: 0.1rem 0;
    }

    .footer-contact {
        gap: 0.2rem;
        margin-bottom: 0.3rem;
    }

    .footer-nav a {
        display: block;
        margin: 0.2rem 0;
    }

    .social-links {
        gap: 0.3rem;
        margin-top: 0.2rem;
        margin-bottom: 0.2rem;
    }

    .footer-bottom {
        font-size: 0.75rem;
        padding-top: 0.4rem;
        margin-top: 0.7rem;
    }

    .footer-nav-title,
    .social-links-title {
        display: none;
    }
}

/* About Section Styles */
.about-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.about-content {
    flex: 1 1 350px;
    min-width: 300px;
}

.about-image {
    flex: 1 1 350px;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    background: #f7f3ed;
    padding: 1.5rem;
}

/* Contact Section Styles */
.contact-flex {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.contact-map {
    flex: 1 1 300px;
    min-width: 220px;
}

.contact-map iframe {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: 350px;
}

.contact-form {
    flex: 1 1 300px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.contact-form button {
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.9rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

/* Additional Text Styles */
.footer-text {
    font-size: 0.95rem;
    color: #cce3d0;
}

.footer-contact {
    margin-top: 1rem;
    font-size: 0.98rem;
}

.footer-contact a {
    color: #cce3d0;
    text-decoration: underline;
}

/* Map Link Styles */
.map-link {
    margin-top: 0.7rem;
    text-align: center;
}

.map-link a {
    color: var(--primary-green);
    text-decoration: underline;
    font-size: 0.98rem;
}

/* About Content Styles */
.about-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 2rem;
}

/* Contact Section Text */
.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    color: #333;
    line-height: 1.6;
}

/* Language Switcher Styles */
.language-switcher {
    position: relative;
}

.language-switcher .nav-link {
    font-weight: 500;
    cursor: pointer;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 50%;
    transform: translateX(50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    min-width: 120px;
    display: none;
    z-index: 1000;
    list-style: none;
    text-align: center;
}

.language-switcher:hover .language-dropdown {
    display: block;
}

.language-dropdown li {
    list-style: none;
}

.language-option {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
    text-align: center;
}

.language-option:hover {
    background-color: #f5f5f5;
    color: var(--primary-green);
}

/* Admin Login Page Styles */
.login-container {
    max-width: clamp(280px, 90vw, 400px);
    margin: 7vh auto 0 auto;
    background: var(--neutral-white);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(46, 125, 50, 0.13), 0 1.5px 6px rgba(44, 62, 80, 0.07);
    padding: clamp(1.2rem, 5vw, 2.5rem) clamp(1rem, 5vw, 2.2rem) clamp(1rem, 5vw, 2rem) clamp(1rem, 5vw, 2.2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-container h2 {
    color: var(--primary-green);
    margin-bottom: 2rem;
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: -1px;
}

#login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

#login-form label {
    color: var(--neutral-dark);
    font-weight: 500;
    margin-bottom: 0.2rem;
}

#login-form input[type="email"],
#login-form input[type="password"] {
    padding: 0.9rem 1.1rem;
    border-radius: 8px;
    border: 1.5px solid #e0e0e0;
    font-size: 1.08rem;
    background: #f8fafb;
    transition: border 0.2s;
}

#login-form input[type="email"]:focus,
#login-form input[type="password"]:focus {
    border: 1.5px solid var(--primary-green);
    outline: none;
    background: #f3fef6;
}

#login-form button[type="submit"] {
    background: linear-gradient(90deg, var(--primary-green) 60%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 1rem 0;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 0.5rem;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.09);
    transition: background 0.2s, transform 0.15s;
}

#login-form button[type="submit"]:hover {
    background: linear-gradient(90deg, var(--primary-dark) 60%, var(--primary-green) 100%);
    transform: translateY(-2px) scale(1.03);
}

.error-message {
    color: #d32f2f;
    font-size: 1rem;
    margin-top: 0.2rem;
    min-height: 1.2em;
    text-align: center;
}

@media (max-width: 600px) {
    .login-container {
        max-width: 98vw;
        padding: 1em 0.5em;
    }

    #login-form button[type="submit"] {
        font-size: 1rem;
        padding: 0.8rem 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Admin Panel Styles */
#admin-panel {
    max-width: 900px;
    margin: 6vh auto 0 auto;
    background: var(--neutral-white);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(46, 125, 50, 0.10), 0 1.5px 6px rgba(44, 62, 80, 0.07);
    padding: 2.5rem 2.2rem 2.5rem 2.2rem;
    animation: fadeIn 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

#admin-panel h2 {
    color: var(--primary-green);
    margin-bottom: 2.2rem;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -1px;
    text-align: center;
}

#admin-panel section {
    margin-bottom: 2.5rem;
}

#add-plant-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem 2%;
    background: #f8fafb;
    border-radius: 12px;
    padding: 1.5rem 1rem 1.2rem 1rem;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.04);
    align-items: flex-end;
}

#add-plant-form input[type="text"],
#add-plant-form input[type="number"] {
    flex: 1 1 45%;
    min-width: 160px;
    padding: 0.7rem 1rem;
    border-radius: 7px;
    border: 1.2px solid #e0e0e0;
    font-size: 1rem;
    background: #f8fafb;
    margin-bottom: 0.5rem;
}

#add-plant-form input[type="checkbox"] {
    margin-right: 0.5rem;
}

#add-plant-form button[type="submit"] {
    background: linear-gradient(90deg, var(--primary-green) 60%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.9rem 2.2rem;
    font-size: 1.08rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.09);
    transition: background 0.2s, transform 0.15s;
    margin-left: auto;
}

#add-plant-form button[type="submit"]:hover {
    background: linear-gradient(90deg, var(--primary-dark) 60%, var(--primary-green) 100%);
    transform: translateY(-2px) scale(1.03);
}

#add-plant-error {
    flex-basis: 100%;
    color: #d32f2f;
    font-size: 1rem;
    margin-top: 0.2rem;
    min-height: 1.2em;
    text-align: center;
}

#plants-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
}

.plant-admin-card {
    background: #f8fafb;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.04);
    padding: 1.1rem 1rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    position: relative;
    transition: box-shadow 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
    min-height: 0;
}

.plant-admin-card:hover {
    border: 2px solid var(--primary-green);
    background: #f3fef6;
    box-shadow: 0 6px 24px rgba(46, 125, 50, 0.13);
    z-index: 2;
}

.plant-admin-card strong {
    color: var(--primary-green);
    font-size: 1.13rem;
    font-weight: 700;
    margin-right: 0.5rem;
}

.plant-admin-card em {
    color: var(--neutral-gray);
    font-size: 1rem;
}

.plant-admin-card button,
.plant-admin-card form {
    cursor: pointer;
}

.plant-admin-card button {
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 7px;
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    margin-right: 0.7rem;
    margin-top: 0.3rem;
    transition: background 0.2s, transform 0.15s;
}

.plant-admin-card button:hover {
    background: var(--primary-dark);
    transform: scale(1.04);
}

.edit-plant-form-container {
    margin-top: 1rem;
    background: #f3fef6;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 4px rgba(46, 125, 50, 0.06);
}

.edit-plant-form input[type="text"],
.edit-plant-form input[type="number"] {
    margin-bottom: 0.7rem;
    padding: 0.7rem 1rem;
    border-radius: 7px;
    border: 1.2px solid #e0e0e0;
    font-size: 1rem;
    background: #f8fafb;
    width: 100%;
}

.edit-plant-form button[type="submit"],
.edit-plant-form .cancel-edit-btn {
    margin-top: 0.5rem;
    margin-right: 0.7rem;
    padding: 0.6rem 1.3rem;
    font-size: 1rem;
    border-radius: 7px;
    border: none;
    font-weight: 600;
    background: var(--primary-green);
    color: white;
    transition: background 0.2s, transform 0.15s;
}

.edit-plant-form button[type="submit"]:hover,
.edit-plant-form .cancel-edit-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.04);
}

.edit-plant-error {
    color: #d32f2f;
    font-size: 1rem;
    margin-top: 0.2rem;
    min-height: 1.2em;
    text-align: center;
}

.plant-images-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.7rem;
}

.plant-image-admin {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(46, 125, 50, 0.06);
    padding: 0.5rem 0.7rem 0.7rem 0.7rem;
}

.plant-image-admin img {
    max-width: 90px;
    max-height: 90px;
    border-radius: 6px;
    margin-bottom: 0.4rem;
    box-shadow: 0 1px 4px rgba(46, 125, 50, 0.08);
}

.plant-image-admin button {
    background: var(--accent-orange);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.3rem 0.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.2rem;
    transition: background 0.2s, transform 0.15s;
}

.plant-image-admin button:hover {
    background: var(--accent-yellow);
    color: var(--primary-dark);
    transform: scale(1.05);
}

#logout-btn {
    display: block;
    margin: 2.5rem auto 0 auto;
    background: linear-gradient(90deg, var(--secondary-brown) 60%, var(--secondary-light) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.9rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(121, 85, 72, 0.09);
    transition: background 0.2s, transform 0.15s;
}

#logout-btn:hover {
    background: linear-gradient(90deg, var(--secondary-light) 60%, var(--secondary-brown) 100%);
    color: var(--primary-dark);
    transform: translateY(-2px) scale(1.03);
}

@media (max-width: 900px) {
    #admin-panel {
        max-width: 99vw;
        padding: 1.2rem 0.2rem 1.2rem 0.2rem;
    }

    #add-plant-form input[type="text"],
    #add-plant-form input[type="number"] {
        min-width: 120px;
    }
}

/* Admin Panel Sidebar Layout */
#admin-panel-layout {
    display: flex;
    min-height: 100vh;
    background: #f4f7f6;
}

#sidebar {
    width: 230px;
    background: linear-gradient(180deg, var(--primary-green) 80%, var(--primary-dark) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 2.5rem 1.2rem 1.2rem 1.2rem;
    box-shadow: 2px 0 16px rgba(46, 125, 50, 0.08);
    min-height: 100vh;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 10;
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    letter-spacing: -1px;
    text-align: center;
    color: var(--accent-yellow);
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.sidebar-nav li {
    width: 100%;
}

.sidebar-nav a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 1.13rem;
    font-weight: 500;
    padding: 0.7rem 1rem;
    border-radius: 7px;
    transition: background 0.2s, color 0.2s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: var(--accent-yellow);
    color: var(--primary-dark);
}

.sidebar-nav button {
    width: 100%;
    background: var(--secondary-brown);
    color: white;
    border: none;
    border-radius: 7px;
    padding: 0.7rem 1rem;
    font-size: 1.13rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 2rem;
    transition: background 0.2s, color 0.2s;
}

.sidebar-nav button:hover {
    background: var(--secondary-light);
    color: var(--primary-dark);
}

#main-content {
    flex: 1;
    padding: 3.5rem 2.5rem 2.5rem 2.5rem;
    background: #f4f7f6;
    min-height: 100vh;
}

#main-content h2 {
    color: var(--primary-green);
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
}

#plants-list-section,
#create-plant-section {
    background: var(--neutral-white);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(46, 125, 50, 0.07);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 900px) {
    #admin-panel-layout {
        flex-direction: column;
        width: 100vw;
    }

    #sidebar {
        width: 100%;
        min-height: unset;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1.2rem 0.5rem;
        position: static;
        box-shadow: none;
    }

    .sidebar-title {
        margin-bottom: 0;
        font-size: 1.2rem;
    }

    .sidebar-nav {
        flex-direction: row;
        gap: 0.7rem;
    }

    .sidebar-nav li,
    .sidebar-nav button,
    .sidebar-nav a {
        width: auto;
        padding: 0.5rem 0.7rem;
        font-size: 1rem;
    }

    #main-content {
        padding: 1.2rem 0.5rem;
    }

    #plants-list-section,
    #create-plant-section {
        padding: 1.2rem 0.5rem;
    }
}

/* Plant Detail Modal */
#plant-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.18);
    animation: fadeIn 0.3s;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.18);
    z-index: 1;
}

.modal-content {
    position: relative;
    z-index: 2;
    background: var(--neutral-white);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(46, 125, 50, 0.13), 0 1.5px 6px rgba(44, 62, 80, 0.07);
    padding: 2.5rem 2.2rem 2rem 2.2rem;
    min-width: 320px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    animation: fadeIn 0.3s;
}

.modal-content h2 {
    color: var(--primary-green);
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-content p {
    margin-bottom: 0.7rem;
    color: var(--neutral-dark);
    font-size: 1.08rem;
}

.modal-content img {
    margin: 0.2rem 0.4rem 0.2rem 0;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(46, 125, 50, 0.08);
    background: #f8fafb;
}

#close-plant-detail {
    background: none;
    border: none;
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    z-index: 3;
    transition: color 0.2s;
}

#close-plant-detail:hover {
    color: var(--accent-orange);
}

@media (max-width: 600px) {
    .modal-content {
        padding: 1.2rem 0.5rem 1rem 0.5rem;
        min-width: 0;
    }
}

/* Compact Plant Card Info */
.plant-card-main {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.5rem;
    font-size: 1.08rem;
}

.plant-card-main strong {
    font-size: 1.13rem;
    color: var(--primary-green);
    font-weight: 700;
    margin-right: 0.5rem;
}

.plant-size-label {
    background: var(--primary-light);
    color: white;
    border-radius: 6px;
    padding: 0.18em 0.7em;
    font-size: 0.98em;
    font-weight: 500;
    margin-right: 0.5rem;
}

.plant-availability {
    border-radius: 6px;
    padding: 0.18em 0.7em;
    font-size: 0.98em;
    font-weight: 500;
    background: #eee;
    color: #666;
}

.plant-availability.available {
    background: var(--primary-green);
    color: white;
}

.plant-availability.unavailable {
    background: #e57373;
    color: white;
}

.plant-admin-card {
    padding: 1.1rem 1rem 1rem 1rem;
    gap: 0.4rem;
    min-height: 0;
}

/* Compact Plant Card with Image */
.plant-admin-card.compact {
    width: 170px;
    min-width: 0;
    max-width: 100%;
    padding: 0.7rem 0.7rem 0.6rem 0.7rem;
    align-items: center;
    gap: 0.2rem;
    margin: 0.3rem;
    display: inline-flex;
    flex-direction: column;
    box-sizing: border-box;
}

.plant-card-thumb {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    background: #f3fef6;
    box-shadow: 0 1px 4px rgba(46, 125, 50, 0.08);
    display: block;
}

.plant-card-thumb.placeholder {
    background: #e0e0e0;
    width: 90px;
    height: 90px;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    display: block;
}

.plant-admin-card.compact .plant-card-main {
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    margin-bottom: 0.3rem;
    text-align: center;
}

.plant-admin-card.compact button {
    margin: 0.2rem 0.2rem 0 0.2rem;
    padding: 0.3rem 0.7rem;
    font-size: 0.95rem;
}

#plant-edit-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.18);
    animation: fadeIn 0.3s;
}

#plant-edit-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.18);
    z-index: 1;
}

#plant-edit-modal .modal-content {
    position: relative;
    z-index: 2;
    background: var(--neutral-white);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(46, 125, 50, 0.13), 0 1.5px 6px rgba(44, 62, 80, 0.07);
    padding: 2.5rem 2.2rem 2rem 2.2rem;
    min-width: 320px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    animation: fadeIn 0.3s;
}

#plant-edit-modal .modal-content h2 {
    color: var(--primary-green);
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 700;
}

#plant-edit-modal .modal-content form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

#plant-edit-modal .modal-content input[type="text"],
#plant-edit-modal .modal-content input[type="number"] {
    padding: 0.7rem 1rem;
    border-radius: 7px;
    border: 1.2px solid #e0e0e0;
    font-size: 1rem;
    background: #f8fafb;
    width: 100%;
}

#plant-edit-modal .modal-content button[type="submit"],
#plant-edit-modal .modal-content .cancel-edit-btn {
    margin-top: 0.5rem;
    margin-right: 0.7rem;
    padding: 0.6rem 1.3rem;
    font-size: 1rem;
    border-radius: 7px;
    border: none;
    font-weight: 600;
    background: var(--primary-green);
    color: white;
    transition: background 0.2s, transform 0.15s;
}

#plant-edit-modal .modal-content button[type="submit"]:hover,
#plant-edit-modal .modal-content .cancel-edit-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.04);
}

#plant-edit-modal .edit-plant-error {
    color: #d32f2f;
    font-size: 1rem;
    margin-top: 0.2rem;
    min-height: 1.2em;
    text-align: center;
}

#plant-edit-modal #close-edit-plant {
    background: none;
    border: none;
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    z-index: 3;
    transition: color 0.2s;
}

#plant-edit-modal #close-edit-plant:hover {
    color: var(--accent-orange);
}

@media (max-width: 600px) {
    #plant-edit-modal .modal-content {
        padding: 1.2rem 0.5rem 1rem 0.5rem;
        min-width: 0;
    }
}

.plant-detail-modal-content {
    max-width: 800px;
    min-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

#plant-detail-modal .modal-content {
    max-width: 800px;
    min-width: 500px;
    padding: 2.5rem 3.5rem 2rem 3.5rem;
}

@media (max-width: 900px) {

    .plant-detail-modal-content,
    #plant-detail-modal .modal-content {
        max-width: 98vw;
        min-width: 0;
        padding: 1.2rem 0.5rem 1rem 0.5rem;
    }
}

.plant-detail-fields {
    width: 100%;
    margin: 1.2rem 0 1.2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.plant-detail-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 1.13rem;
    justify-content: flex-start;
    background: #f8fafb;
    border-radius: 7px;
    padding: 0.4rem 1.5rem 0.4rem 1.5rem;
    box-shadow: 0 1px 4px rgba(46, 125, 50, 0.04);
    min-height: 48px;
    word-break: break-word;
}

.plant-detail-row.multiline {
    align-items: flex-start;
    min-height: 70px;
}

.plant-detail-label {
    font-weight: 600;
    color: var(--primary-green);
    min-width: 140px;
    flex-shrink: 0;
    font-size: 1.13rem;
    margin-top: 0.2em;
}

.plant-detail-value {
    flex: 1;
    color: var(--neutral-dark);
    font-size: 1.13rem;
    word-break: break-word;
    min-width: 0;
    white-space: pre-line;
}

.edit-field-btn {
    background: none;
    border: none;
    color: var(--primary-dark);
    font-size: 1.1rem;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: color 0.2s;
    padding: 0.2rem 0.4rem;
    border-radius: 5px;
}

.edit-field-btn:hover .edit-icon {
    color: var(--accent-orange);
}

.edit-icon {
    font-size: 1.1em;
    vertical-align: middle;
    color: var(--primary-dark);
    transition: color 0.2s;
}

.plant-detail-value input[type="text"],
.plant-detail-value input[type="number"],
.plant-detail-value select {
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
    border: 1.2px solid #e0e0e0;
    font-size: 1.08em;
    background: #f8fafb;
    margin-right: 0.3rem;
    width: 100%;
    min-width: 120px;
    max-width: 350px;
}

.plant-detail-value button.save-field-btn,
.plant-detail-value button.cancel-field-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.3rem 0.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    margin-left: 0.2rem;
    transition: background 0.2s, transform 0.15s;
}

.plant-detail-value button.save-field-btn:hover,
.plant-detail-value button.cancel-field-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.plant-image-admin-modal {
    background: #f8fafb;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.08);
    padding: 1rem 1rem 0.7rem 1rem;
    margin: 0.7rem 1.1rem 0.7rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s, transform 0.2s;
    min-width: 140px;
    max-width: 160px;
    position: relative;
}

.plant-image-admin-modal:hover {
    box-shadow: 0 6px 24px rgba(46, 125, 50, 0.13);
    transform: translateY(-2px) scale(1.03);
}

.plant-image-admin-modal img {
    width: 120px;
    height: 90px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 0.7rem;
    background: #fff;
    box-shadow: 0 1px 4px rgba(46, 125, 50, 0.08);
}

.plant-image-admin-modal button {
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.3rem 0.9rem;
    font-size: 0.97rem;
    font-weight: 600;
    margin: 0.2rem 0.2rem 0.2rem 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 1px 4px rgba(46, 125, 50, 0.06);
}

.plant-image-admin-modal button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

#modal-images {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.7rem;
    justify-content: center;
    margin-bottom: 1.2rem;
}

#add-image-btn {
    background: var(--accent-yellow);
    color: var(--primary-dark);
    border: none;
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    font-size: 1.08rem;
    font-weight: 700;
    cursor: pointer;
    margin: 1.2rem auto 0 auto;
    display: block;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.09);
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

#add-image-btn:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px) scale(1.03);
}

.edit-image-form {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.edit-image-input {
    margin-bottom: 0.3rem;
}

#plant-images-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.35);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

#plant-images-modal[style*="display: flex"] {
    display: flex !important;
}

#plant-images-modal .modal-content {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    padding: 2.2rem 2.5rem 2rem 2.5rem;
    max-width: 600px;
    width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalPopIn 0.18s cubic-bezier(.4, 2, .6, 1) 1;
}

#plant-images-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

@keyframes modalPopIn {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }

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

.footer-brand,
.footer-nav-title,
.social-links-title {
    color: #fff;
}

.footer-text,
.footer-contact,
.footer-contact-item,
.footer-nav a,
.social-links a,
.footer-bottom {
    color: #fff !important;
}

.footer-nav a:hover,
.social-links a:hover {
    color: #b6f5d8;
}

.footer-contact a {
    color: #fff;
    text-decoration: underline;
}

.map-link a {
    color: #fff;
}

.logo-img {
    height: clamp(28px, 6vw, 64px);
    width: auto;
    display: block;
    max-width: 100%;
}

.modal-content {
    max-width: min(400px, 95vw);
    width: 100%;
    padding: clamp(1em, 4vw, 2em);
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .modal-content {
        max-width: 98vw;
        padding: 1em 0.5em;
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.nav-toggle .bar {
    width: 26px;
    height: 3px;
    background: #fff;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        position: absolute;
        top: 1.2rem;
        right: 1.5rem;
        z-index: 1200;
    }

    .navbar .nav-content {
        position: relative;
    }

    .navbar .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70vw;
        max-width: 320px;
        background: var(--primary-dark);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem 2rem;
        gap: 1.5rem;
        box-shadow: -2px 0 16px rgba(0, 0, 0, 0.12);
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0;
        pointer-events: none;
        z-index: 1050;
    }

    .navbar.mobile-open .nav-links {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .navbar .nav-links li {
        width: 100%;
    }

    .navbar .nav-link {
        font-size: 1.2rem;
        color: #fff;
        width: 100%;
        padding: 0.7em 0;
        text-align: left;
    }
}

@media (max-width: 600px) {
    .admin-panel-layout {
        flex-direction: row;
        width: 100vw;
        min-height: 100vh;
    }

    .sidebar {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 60px;
        min-width: 60px;
        max-width: 60px;
        height: 100vh;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 1.2em;
        z-index: 1;
        padding: 1.2em 0.2em 0.7em 0.2em;
        background: linear-gradient(180deg, #7edc97 0%, #a0e6b2 100%);
        border-radius: 0 18px 18px 0;
        box-shadow: 0 2px 8px rgba(44, 62, 80, 0.07);
        opacity: 1;
        pointer-events: auto;
        margin-bottom: 0;
    }

    .admin-panel-content,
    #main-content {
        margin-left: 60px;
        width: calc(100vw - 60px);
        box-sizing: border-box;
        padding: 0.7em 0.5em 1.2em 0.5em;
    }

    .sidebar a,
    .sidebar button {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        padding: 0.5em 0.2em;
        margin: 0.2em 0;
        width: 100%;
        min-width: 0;
        text-align: center;
        border-radius: 0.7em;
        writing-mode: initial;
        text-orientation: initial;
    }
}

/* Desktop (default) admin panel sidebar styles */
.admin-panel-layout {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    width: 100%;
}

.sidebar {
    width: 200px;
    min-width: 200px;
    max-width: 220px;
    background: linear-gradient(180deg, #7edc97 0%, #a0e6b2 100%);
    border-radius: 18px 0 0 18px;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.07);
    padding: 2em 1em 1.5em 1em;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2em;
}

.sidebar a,
.sidebar button {
    display: block;
    width: 100%;
    margin-bottom: 1em;
    text-align: left;
    font-size: 1.1rem;
    padding: 0.7em 1em;
    border-radius: 0.7em;
}

.admin-panel-content {
    flex: 1 1 0%;
    padding: 2em 2em 2em 2em;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .admin-panel-layout {
        flex-direction: column;
        width: 100vw;
        min-height: 100vh;
    }

    .sidebar {
        width: 100vw;
        min-width: 0;
        max-width: 100vw;
        border-radius: 0 0 18px 18px;
        box-shadow: 0 2px 8px rgba(44, 62, 80, 0.07);
        padding: 1.2em 0.5em 0.7em 0.5em;
        margin-bottom: 1.2em;
        display: flex;
        flex-direction: row !important;
        justify-content: space-around;
        align-items: center;
        gap: 0.7em;
    }

    .sidebar a,
    .sidebar button {
        display: inline-block;
        width: auto;
        margin-bottom: 0;
        text-align: center;
        font-size: 1rem;
        padding: 0.5em 0.8em;
        border-radius: 0.7em;
    }

    .admin-panel-content {
        width: 100vw;
        padding: 0.7em 0.5em 1.2em 0.5em;
        box-sizing: border-box;
    }

    .modal-content {
        max-width: 98vw;
        width: 100vw;
        padding: 1em 0.5em;
        border-radius: 1.1em;
    }

    form {
        width: 100%;
        max-width: 98vw;
    }

    input,
    select,
    textarea,
    button {
        font-size: 1rem;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 0.7em;
    }

    .admin-panel-content h2,
    .admin-panel-content h3 {
        font-size: 1.2rem;
        text-align: center;
    }

    .pagination {
        flex-direction: column;
        gap: 0.5em;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .sidebar {
        display: none !important;
    }

    .admin-top-buttons {
        display: flex;
        flex-direction: column;
        gap: 1em;
        justify-content: center;
        align-items: center;
        margin: 1.2em 0 1.5em 0;
        width: 100vw;
        max-width: 100vw;
    }

    .admin-top-btn {
        width: 95vw;
        max-width: 400px;
        margin: 0.5em auto;
        text-align: center;
        background: linear-gradient(90deg, #7edc97 60%, #a0e6b2 100%) !important;
        color: #fff !important;
        border: none !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(44, 62, 80, 0.09) !important;
        font-weight: 600;
        font-size: 1.05rem;
        padding: 0.7em 1.2em;
        cursor: pointer;
        transition: background 0.2s, transform 0.15s;
    }

    .admin-top-btn:active {
        background: linear-gradient(90deg, #4bbd7a 60%, #7edc97 100%) !important;
        transform: scale(0.97);
    }

    .admin-logout-btn-wrapper {
        justify-content: center;
        align-items: center;
        margin-top: 1.2em;
        margin-bottom: 1.2em;
        width: 100vw;
        max-width: 100vw;
    }
}

@media (min-width: 601px) {
    .sidebar {
        display: flex !important;
    }

    .admin-top-buttons {
        display: flex !important;
        gap: 1.2em;
        justify-content: center;
        align-items: center;
        margin: 1.5em 0 2em 0;
    }

    .admin-top-btn {
        padding: 0.8em 1.5em;
        font-size: 1.1rem;
    }
}

.admin-logout-btn-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

@media (max-width: 600px) {
    .admin-logout-btn-wrapper {
        margin-top: 1.2em;
        margin-bottom: 1.2em;
    }
}

@media (max-width: 600px) {

    #main-content,
    .admin-panel-content,
    .admin-top-buttons {
        width: 100vw;
        max-width: 100vw;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .admin-top-buttons {
        display: flex;
        flex-direction: column;
        gap: 1em;
        justify-content: center;
        align-items: center;
        margin: 1.2em 0 1.5em 0;
        width: 93vw;
        max-width: 93vw;
        margin-left: 2vw;
    }

    .admin-top-btn {
        width: 93vw;
        max-width: 380px;
        margin: 0.5em 0;
        text-align: center;
        background: linear-gradient(90deg, #7edc97 60%, #a0e6b2 100%) !important;
        color: #fff !important;
        border: none !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(44, 62, 80, 0.09) !important;
        font-weight: 600;
        font-size: 1.05rem;
        padding: 0.7em 1.2em;
        cursor: pointer;
        transition: background 0.2s, transform 0.15s;
    }

    .admin-top-btn:active {
        background: linear-gradient(90deg, #4bbd7a 60%, #7edc97 100%) !important;
        transform: scale(0.97);
    }

    .admin-logout-btn-wrapper {
        justify-content: center;
        align-items: center;
        margin-top: 1.2em;
        margin-bottom: 1.2em;
        width: 93vw;
        max-width: 93vw;
        margin-left: 2vw;
    }
}