/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --accent-color: #2d5a27;
    --text-color: #1a1a1a;
    --gray-color: #e5e5e5;
    --light-gray: #f5f5f5;
}

body {
    background-color: #fff;
    color: var(--text-color);
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.8;
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Announcement Bar */
.announcement-bar {
    background: #163D08;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 13px;
    position: relative;
    transition: all 0.3s ease;
}

/* Dark Theme */
.announcement-bar.theme-dark {
    background: #1a1a1a;
}

/* Light Theme */
.announcement-bar.theme-light {
    background: #f5f5f5;
    color: #333;
}

.announcement-bar.theme-light .announcement-text strong {
    color: #2d5a27;
}

.announcement-bar.theme-light .countdown-unit {
    background: rgba(0, 0, 0, 0.1);
}

.announcement-bar.theme-light .countdown-unit span {
    color: #2d5a27;
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.announcement-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.announcement-text i {
    font-size: 14px;
    opacity: 0.9;
}

.announcement-text strong {
    color: #ffc107;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.countdown-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

.countdown-units {
    display: flex;
    align-items: center;
    gap: 2px;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-weight: 600;
    font-size: 13px;
}

.countdown-unit {
    background: rgba(255, 255, 255, 0.15);
    padding: 3px 6px;
    border-radius: 3px;
}

.countdown-unit span {
    color: #ffc107;
}

.countdown-separator {
    opacity: 0.6;
    font-weight: 400;
}

.announcement-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px;
    opacity: 0.7;
    transition: opacity 0.2s;
    font-size: 12px;
}

.announcement-close:hover {
    opacity: 1;
}

/* Adjust header position when announcement is visible */
header:has(.announcement-bar) {
    top: 0;
}

@media (max-width: 768px) {
    .announcement-bar {
        padding: 8px 40px;
        font-size: 11px;
        flex-direction: column;
        text-align: center;
    }

    .announcement-content {
        gap: 8px;
        flex-direction: column;
        align-items: center;
    }

    .announcement-text {
        text-align: center;
        justify-content: center;
    }

    .countdown-timer {
        gap: 5px;
        justify-content: center;
    }

    .countdown-label {
        display: none;
    }

    .countdown-units {
        font-size: 11px;
    }

    .countdown-unit {
        padding: 2px 4px;
    }
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

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

nav {
    margin-left: auto;
    flex-shrink: 1;
    min-width: 0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: normal;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Helvetica', 'Arial', sans-serif;
}

nav ul li a:hover {
    text-decoration: underline;
}

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

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    padding: 8px 0;
    margin-top: 10px;
    z-index: 1000;
    flex-direction: column;
    gap: 0;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease;
}

.dropdown-menu li a:hover {
    background-color: #f5f5f5;
    text-decoration: none;
}

.dropdown.active .dropdown-menu {
    display: flex;
}

.dropdown > a {
    cursor: pointer;
    position: relative;
    padding-right: 18px;
}

.dropdown > a::after {
    content: '\25BC';
    font-size: 8px;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.dropdown.active > a::after {
    transform: rotate(180deg);
}

.quote-link {
    background-color: #163D08 !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.quote-link:hover {
    background-color: #0f2905 !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 30px;
    flex-shrink: 0;
}

.nav-icons a {
    color: var(--text-color);
    font-size: 16px;
}

.nav-icons a:hover {
    opacity: 0.6;
}

/* User Account Menu & Dropdown */
.user-account-menu {
    position: relative;
}

#user-signin-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: opacity 0.3s;
    white-space: nowrap;
    max-width: 200px;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border: 1px solid var(--gray-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 280px;
    z-index: 1000;
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
}

.user-dropdown-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gray-color);
}

.user-dropdown-info {
    flex: 1;
    min-width: 0;
}

.user-dropdown-name {
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-email {
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-divider {
    height: 1px;
    background-color: var(--gray-color);
    margin: 0;
}

.user-dropdown-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    text-decoration: none;
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-size: 13px;
    color: var(--text-color);
    transition: background-color 0.2s;
}

.user-dropdown-link:hover {
    background-color: #f8f9fa;
}

.user-dropdown-link i {
    font-size: 14px;
    color: #666;
}

.user-dropdown-signout {
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: none;
    text-align: left;
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-size: 13px;
    color: #dc3545;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.user-dropdown-signout:hover {
    background-color: #f8f9fa;
}

.user-dropdown-signout i {
    font-size: 14px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hide mobile close button on desktop */
.mobile-menu-close {
    display: none;
}

/* Hero Section */
.hero {
    height: 85vh;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

/* Hero Background Slides */
.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
}

.hero-bg-slide.active {
    opacity: 1;
}

/* Hero Overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    margin-bottom: 24px;
    font-weight: normal;
    color: #ffffff;
    letter-spacing: -2px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 18px;
    margin-bottom: 0;
    color: #ffffff;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Hero Navigation Dots */
.hero-nav-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.hero-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-nav-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.hero-nav-dot.active {
    background-color: #ffffff;
    border-color: #ffffff;
    transform: scale(1.3);
}

/* Service Hero Section */
.service-hero {
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.service-hero-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

.service-hero-overlay .container {
    max-width: 800px;
}

.service-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    margin-bottom: 24px;
    font-weight: normal;
    color: #ffffff;
    letter-spacing: -2px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.service-hero p {
    font-size: 18px;
    color: #ffffff;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Service Details List */
.service-details-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-details-list li {
    padding: 20px;
    background-color: var(--light-gray);
    border-left: 4px solid #163D08;
    font-size: 16px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.service-details-list li:hover {
    background-color: #e8f5e9;
    transform: translateX(5px);
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.pricing-card {
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid #f0f0f0;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: #163D08;
}

.pricing-featured {
    border: 3px solid #163D08;
    transform: scale(1.03);
}

.pricing-featured:hover {
    transform: scale(1.03) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #163D08 0%, #2d5a27 100%);
    color: #fff;
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(22, 61, 8, 0.3);
    font-family: 'Helvetica', 'Arial', sans-serif;
}

.pricing-header {
    background-color: #163D08;
    color: #fff;
    padding: 40px 20px 30px;
    text-align: center;
}

.pricing-header h3 {
    font-size: 32px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
    font-family: 'Helvetica', 'Arial', sans-serif;
}

.pricing-body {
    padding: 35px 25px;
    flex-grow: 1;
    background-color: #fafafa;
}

.pricing-frequency {
    text-align: center;
    font-size: 15px;
    color: #555;
    margin-bottom: 30px;
    font-weight: 600;
    font-family: 'Helvetica', 'Arial', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.pricing-features li {
    padding: 14px 0;
    color: #333;
    font-size: 15px;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    padding-left: 32px;
    font-family: 'Helvetica', 'Arial', sans-serif;
    line-height: 1.5;
}

.pricing-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #163D08;
    font-weight: bold;
    font-size: 18px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-area {
    text-align: center;
    font-size: 15px;
    color: #163D08;
    font-weight: 700;
    margin: 25px 0 0 0;
    padding: 14px;
    background: linear-gradient(135deg, #f0f7ee 0%, #e8f5e9 100%);
    border-radius: 8px;
    border: 1px solid #d4edda;
    font-family: 'Helvetica', 'Arial', sans-serif;
    letter-spacing: 0.5px;
}

.pricing-footer {
    padding: 30px 25px 35px;
    background-color: #fff;
    text-align: center;
    border-top: 2px solid #f0f0f0;
}

.pricing-price {
    font-size: 42px;
    font-weight: 700;
    color: #163D08;
    margin: 0 0 25px 0;
    font-family: 'Helvetica', 'Arial', sans-serif;
    letter-spacing: -1px;
}

.pricing-btn {
    display: inline-block;
    padding: 14px 45px;
    background-color: #163D08;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-family: 'Helvetica', 'Arial', sans-serif;
    text-transform: uppercase;
}

.pricing-btn:hover {
    background-color: #0f2905;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(22, 61, 8, 0.4);
}

.btn {
    display: inline-block;
    padding: 14px 40px;
    background-color: rgba(255, 255, 255, 0.85);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: normal;
    border: 1px solid var(--primary-color);
    cursor: pointer;
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Categories Section */
.section-title {
    text-align: center;
    margin: 100px 0 60px;
    font-size: 14px;
    font-weight: normal;
    color: var(--text-color);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: 'Helvetica', 'Arial', sans-serif;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background-color: var(--primary-color);
    margin: 20px auto 0;
}

.services-container {
    margin-bottom: 100px;
}

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

.service-card {
    background-color: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.service-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background-color: #163D08;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: 'Helvetica', 'Arial', sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.service-content {
    background: rgba(255, 255, 255, 0.75);
    padding: 20px;
    width: 100%;
    backdrop-filter: blur(6px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.service-content h3 {
    font-size: 20px;
    margin-bottom: 4px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.service-content > p {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
}

.service-list {
    list-style: none;
    margin: 0 0 8px 0;
    padding: 0;
}

.service-list li {
    font-size: 12px;
    color: #555;
    margin-bottom: 3px;
    padding-left: 16px;
    position: relative;
    font-family: 'Helvetica', 'Arial', sans-serif;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #163D08;
    font-weight: bold;
}

.service-btn {
    display: inline-block;
    color: #163D08;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Helvetica', 'Arial', sans-serif;
    transition: gap 0.3s ease;
}

.service-btn:hover {
    text-decoration: underline;
}

/* Products Section */
.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 100px;
}

.product-card {
    background-color: white;
}

.product-img {
    height: 350px;
    width: 100%;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.product-info {
    padding: 0;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: normal;
    letter-spacing: -0.3px;
}

.product-price {
    font-size: 15px;
    font-weight: normal;
    color: var(--text-color);
    margin-bottom: 16px;
    font-family: 'Helvetica', 'Arial', sans-serif;
}

/* About Section */
.about {
    background-color: var(--light-gray);
    padding: 100px 0;
    margin-bottom: 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    padding: 0;
}

.about-text h2 {
    font-size: 42px;
    margin-bottom: 32px;
    font-weight: normal;
    letter-spacing: -1px;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.8;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.footer-column p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
    line-height: 1.6;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    font-weight: 300;
    transition: all 0.2s ease;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-column ul li i {
    margin-right: 8px;
    font-size: 13px;
    opacity: 0.6;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-icons a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

.social-icons a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0;
    font-weight: 300;
}

/* Admin Page Styles */
.admin-container {
    max-width: 900px;
    margin: 120px auto 100px;
    padding: 0 20px;
}

.admin-title {
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: 'Helvetica', 'Arial', sans-serif;
}

.admin-form {
    display: grid;
    gap: 32px;
    margin-bottom: 80px;
}

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

.form-group label {
    margin-bottom: 12px;
    font-weight: normal;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Helvetica', 'Arial', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px;
    border: 1px solid var(--gray-color);
    font-size: 16px;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.8;
}

.upload-area {
    border: 1px solid var(--gray-color);
    padding: 60px;
    text-align: center;
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--primary-color);
}

.upload-area i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.upload-area p {
    margin-bottom: 0;
    font-size: 14px;
}

.upload-area span {
    color: var(--primary-color);
    text-decoration: underline;
}

.uploaded-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.uploaded-image {
    position: relative;
    overflow: hidden;
    height: 180px;
}

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

.delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: white;
    border: 1px solid var(--gray-color);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .product-image-wrapper {
        height: 180px;
    }

    .product-info {
        padding: 8px;
    }

    .product-name {
        font-size: 12px;
        min-height: 34px;
    }

    .product-price {
        font-size: 14px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Tablet/Medium screen adjustments */
@media (max-width: 1200px) {
    nav ul {
        gap: 20px;
    }

    nav ul li a {
        font-size: 12px;
    }

    .nav-icons {
        margin-left: 20px;
        gap: 15px;
    }

    #user-signin-icon {
        max-width: 150px;
        font-size: 12px;
    }

    #user-signin-icon img {
        width: 24px !important;
        height: 24px !important;
    }

    #user-signin-icon .fas {
        font-size: 8px !important;
    }
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 48px;
    }

    .service-hero h1 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        color: #163D08;
    }

    nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background-color: white;
        z-index: 9999;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        transform: translateX(100%);
        opacity: 1;
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0.3s ease;
        overflow-y: auto;
        padding-top: 70px;
    }

    nav.active {
        transform: translateX(0);
        visibility: visible;
    }

    /* Overlay when menu is open */
    nav.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 280px;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

    /* Close button for mobile menu */
    .mobile-menu-close {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 28px;
        color: #163D08;
        cursor: pointer;
        padding: 8px 12px;
        background: none;
        border: none;
        z-index: 10;
        line-height: 1;
    }

    .mobile-menu-close:hover {
        color: #000;
    }

    nav ul {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }

    nav ul li {
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        font-size: 15px;
        letter-spacing: 1.5px;
        display: block;
        padding: 18px 24px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    nav ul li a:hover {
        background-color: #f8f9fa;
        color: #163D08;
        text-decoration: none;
    }

    /* Mobile dropdown styling */
    nav .dropdown-menu {
        display: none;
        position: static;
        box-shadow: none;
        margin-top: 0;
        padding: 0;
        background-color: #f8f9fa;
        border-radius: 0;
        flex-direction: column;
    }

    nav .dropdown.active .dropdown-menu {
        display: flex;
    }

    nav .dropdown-menu li {
        border-bottom: none;
    }

    nav .dropdown-menu li a {
        padding: 14px 24px 14px 40px;
        font-size: 13px;
        color: #666;
    }

    nav .dropdown-menu li a:hover {
        background-color: #eef2ee;
        color: #163D08;
    }

    /* Mobile dropdown arrow rotation */
    nav .dropdown.active > a::after {
        transform: rotate(180deg);
    }

    /* Mobile quote button */
    nav ul li .quote-link {
        margin: 16px 24px;
        display: block;
        text-align: center;
        border-radius: 8px;
        padding: 14px 20px !important;
    }

    .hero {
        height: 60vh;
        min-height: 350px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .service-hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .service-card {
        min-height: 280px;
    }

    .service-content {
        padding: 14px;
    }

    .service-content h3 {
        font-size: 14px;
        white-space: normal;
    }

    .service-content > p {
        font-size: 10px;
        display: none;
    }

    .service-list {
        display: none;
    }

    .service-badge {
        top: 12px;
        left: 12px;
        font-size: 9px;
        padding: 4px 10px;
    }

    .service-btn {
        font-size: 11px;
    }

    .section-title {
        margin: 60px 0 40px;
    }

    .products {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-bottom: 80px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-column h3 {
        margin-bottom: 8px;
    }

    .footer-column ul li {
        margin-bottom: 4px;
    }
}

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

    .hero h1 {
        font-size: 28px;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 13px;
    }

    .hero-content {
        padding: 30px 20px;
    }

    .service-hero h1 {
        font-size: 32px;
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .product-card {
        border-radius: 4px;
    }

    .product-image-wrapper {
        height: 100px;
    }

    .product-info {
        padding: 6px;
    }

    .product-name {
        font-size: 10px;
        min-height: 26px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .product-price {
        font-size: 11px;
    }

    .product-original-price {
        font-size: 10px;
    }

    .product-scientific-name {
        font-size: 9px;
        margin-top: 2px;
    }

    .heart-btn {
        width: 28px;
        height: 28px;
        top: 6px;
        right: 6px;
    }

    .heart-btn i {
        font-size: 12px;
    }

    .like-count {
        top: 38px;
        right: 6px;
        font-size: 9px;
        padding: 2px 5px;
    }

    .services-grid {
        gap: 8px;
    }

    .service-card {
        min-height: 220px;
    }

    .service-content {
        padding: 12px;
    }

    .service-content h3 {
        font-size: 13px;
    }

    .service-badge {
        top: 8px;
        left: 8px;
        font-size: 8px;
        padding: 3px 8px;
    }

    .service-btn {
        font-size: 10px;
    }

    .section-title {
        font-size: 11px;
        letter-spacing: 3px;
        margin: 50px 0 30px;
    }

    .admin-container {
        margin: 100px auto 60px;
    }

    .about-text h2 {
        font-size: 32px;
    }

    .about-img {
        height: 350px;
    }

    /* Mobile header adjustments */
    .header-container {
        padding: 15px 0;
    }

    .logo img {
        height: 32px;
    }

    /* Mobile footer */
    .footer-content {
        gap: 16px;
    }

    .footer-column h3 {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .footer-column ul li {
        margin-bottom: 2px;
        font-size: 12px;
    }

    .footer-column ul li a {
        font-size: 12px;
    }

    /* Mobile project cards */
    .project-card {
        flex-direction: column !important;
    }

    .project-card.reverse {
        flex-direction: column !important;
    }

    .project-image-container {
        width: 100%;
        height: 220px;
    }

    .project-content {
        width: 100%;
        padding: 24px;
    }

    .project-title {
        font-size: 20px;
    }

    .project-meta {
        flex-wrap: wrap;
        gap: 12px;
    }

    /* Mobile quotation form */
    .about {
        padding: 60px 0;
    }

    #quotation-form .form-group input,
    #quotation-form .form-group select,
    #quotation-form .form-group textarea {
        padding: 14px;
        font-size: 14px;
    }
}

/* Product Tabs */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.tab-btn {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 12px 35px;
    font-size: 14px;
    font-family: 'Helvetica', 'Arial', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #555;
    text-transform: capitalize;
    font-weight: 500;
}

.tab-btn:hover {
    background-color: #f8f8f8;
    border-color: #163D08;
}

.tab-btn.active {
    background-color: #163D08;
    color: #fff;
    border-color: #163D08;
}

/* Plant Type Filter */
.plant-type-filter {
    margin-bottom: 30px;
}

.plant-type-select {
    min-width: 200px;
    padding: 10px 40px 10px 16px;
    font-size: 14px;
    font-family: 'Helvetica', 'Arial', sans-serif;
    color: #1a1a1a;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    transition: border-color 0.2s ease;
}

.plant-type-select:hover {
    border-color: #163D08;
}

.plant-type-select:focus {
    outline: none;
    border-color: #163D08;
}

/* View More Button */
#view-more-btn:hover {
    background: #0f2906 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 61, 8, 0.3);
}

#view-more-btn:active {
    transform: translateY(0);
}

/* Products Grid - Lazada Style */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 40px;
    background: #f5f5f5;
    padding: 8px;
    border-radius: 4px;
}

/* Skeleton Loading */
.skeleton-card {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.skeleton-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-content {
    padding: 16px 0;
}

.skeleton-line {
    height: 14px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    margin-bottom: 8px;
    border-radius: 4px;
}

.skeleton-line.short {
    width: 60%;
}

.skeleton-line.medium {
    width: 80%;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.product-card {
    background-color: #fff;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 aspect ratio like Lazada */
    overflow: hidden;
    background-color: #fff;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Discount Badge - Lazada Style */
.product-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #f57224 0%, #ee4d2d 100%);
    color: #fff;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-transform: none;
    letter-spacing: 0;
    border-radius: 0 0 0 4px;
}

.product-badge::after {
    content: ' OFF';
    font-size: 9px;
    font-weight: 600;
}

/* Heart Button - Lazada Style */
.heart-btn {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.heart-btn:hover {
    background: rgba(0, 0, 0, 0.6);
}

.heart-btn i {
    font-size: 13px;
    color: #fff;
    transition: color 0.2s ease;
}

.heart-btn.liked i {
    color: #ee4d2d;
}

.heart-btn:hover i {
    color: #ee4d2d;
}

/* Like Count - Lazada Style */
.like-count {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    z-index: 9;
}

.like-count::before {
    content: '❤ ';
}

/* Product Info - Lazada Style */
.product-info {
    padding: 8px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #fff;
}

.product-name {
    font-size: 12px;
    color: #212121;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.4;
    text-align: left;
    padding: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 34px;
}

.product-price-wrapper {
    margin: 4px 0 0 0;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 6px;
    flex-wrap: wrap;
}

/* Price - Lazada Style (Orange) */
.product-price {
    font-size: 16px;
    color: #f57224;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: 0;
}

.product-price::before {
    content: '₱';
    font-size: 12px;
}

.product-original-price {
    font-size: 11px;
    color: #9e9e9e;
    text-decoration: line-through;
    margin-left: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Sold/Rating - Lazada Style */
.product-sold {
    font-size: 10px;
    color: #757575;
    margin-top: 6px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.product-rating i {
    font-size: 10px;
    color: #ffc400;
}

.product-rating span {
    font-size: 10px;
    color: #757575;
    margin-left: 2px;
}

/* Product Sizes - Ensures consistent spacing */
.product-sizes {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    margin: 4px 0;
    gap: 3px;
}

/* Scientific and Native Name wrapper */
.product-scientific-name {
    font-size: 10px;
    color: #999;
    margin: 4px 0 0 0;
    text-align: left;
    line-height: 1.4;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Product Thumbnails */
.product-thumbnails {
    display: flex;
    gap: 6px;
    padding: 8px 12px;
    background-color: #fff;
    overflow-x: auto;
    scrollbar-width: thin;
}

.product-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.product-thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.product-thumbnails::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 2px;
}

.thumbnail-preview {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border: 2px solid #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.thumbnail-preview.active {
    border-color: #163D08;
    border-width: 3px;
}

.thumbnail-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-more {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border: 2px solid #e0e0e0;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    background-color: #f8f8f8;
}

.btn-icon-only {
    width: 100%;
    padding: 8px 0;
    border: none;
    background: transparent;
    color: #666;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    font-size: 12px;
    font-weight: 400;
    font-family: 'Helvetica', 'Arial', sans-serif;
    cursor: default;
}

.product-discount-text {
    display: inline-block;
    background-color: #163D08;
    color: #fff;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 3px;
    margin-left: 8px;
    font-family: 'Helvetica', 'Arial', sans-serif;
}

/* Sizes Dropdown */
.product-sizes {
    position: relative;
}

.sizes-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: white;
    border-radius: 8px;
    padding: 10px;
    min-width: 180px;
    max-width: 300px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    border: 1px solid #e0e0e0;
}

.sizes-dropdown.show {
    display: block;
}

.sizes-dropdown-content {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sizes-dropdown .size-tag {
    background: transparent;
    color: #666;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 400;
    font-family: 'Helvetica', 'Arial', sans-serif;
    border: 1px solid #e0e0e0;
    cursor: default;
}

.view-sizes-btn {
    background: transparent;
    border: 1px solid #e0e0e0;
    color: #666;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 20px;
    font-family: 'Helvetica', 'Arial', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.view-sizes-btn::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 8px;
}

.view-sizes-btn.active::after {
    transform: rotate(180deg);
}

.view-sizes-btn.active {
    background: transparent;
    color: #666;
    border-color: #e0e0e0;
}

.product-rating {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-top: 10px;
}

.product-rating i {
    color: #ffc107;
    font-size: 14px;
}

.loading-state {
    text-align: center;
    padding: 80px 20px;
    color: #666;
    grid-column: 1 / -1;
}

.loading-state i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #163D08;
}

.loading-state p {
    font-size: 16px;
    font-family: 'Helvetica', 'Arial', sans-serif;
}

/* Projects Grid */
.projects-container {
    position: relative;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 30px;
    overflow: hidden;
}

.project-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.project-nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.project-nav-btn i {
    color: rgba(22, 61, 8, 0.7);
    font-size: 18px;
}

.project-nav-btn.prev {
    left: -25px;
}

.project-nav-btn.next {
    right: -25px;
}

.project-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.project-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: row;
}

/* Reverse layout for alternating projects */
.project-card.reverse {
    flex-direction: row-reverse;
}

.project-image-container {
    position: relative;
    width: 45%;
    height: 380px;
    overflow: hidden;
    flex-shrink: 0;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-category-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(22, 61, 8, 0.95);
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: 'Helvetica', 'Arial', sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Project Image Navigation */
.project-image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.project-image-nav:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
}

.project-image-nav i {
    color: rgba(22, 61, 8, 0.8);
    font-size: 14px;
}

.project-image-nav.prev,
.project-image-nav[data-direction="prev"] {
    left: 20px !important;
    right: auto !important;
}

.project-image-nav.next,
.project-image-nav[data-direction="next"] {
    right: 20px !important;
    left: auto !important;
}

.project-image-indicator {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    font-family: 'Helvetica', 'Arial', sans-serif;
    z-index: 5;
    backdrop-filter: blur(10px);
}

.project-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 55%;
}

.project-title {
    font-size: 28px;
    color: #163D08;
    margin-bottom: 16px;
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 600;
    line-height: 1.3;
}

.project-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #666;
    font-family: 'Helvetica', 'Arial', sans-serif;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-meta i {
    color: #163D08;
}

.project-description {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    font-family: 'Helvetica', 'Arial', sans-serif;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-cta {
    margin-top: auto;
}

.project-cta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #163D08;
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-cta i {
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .projects-grid {
        gap: 20px;
    }

    .project-card {
        display: flex !important;
        flex-direction: row !important;
    }

    .project-card.reverse {
        flex-direction: row-reverse !important;
    }

    .project-image-container {
        width: 45% !important;
        height: 280px;
        min-height: 280px;
        flex-shrink: 0;
    }

    .project-content {
        width: 55% !important;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .project-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .project-meta {
        gap: 12px;
        margin-bottom: 10px;
        font-size: 11px;
    }

    .project-description {
        font-size: 13px;
        margin-bottom: 15px;
        -webkit-line-clamp: 3;
    }

    .project-category-tag {
        top: 12px;
        left: 12px;
        padding: 6px 14px;
        font-size: 9px;
    }

    .project-cta span {
        font-size: 12px;
    }

    .project-image-nav {
        width: 28px;
        height: 28px;
        background: rgba(0, 0, 0, 0.3) !important;
        border: none !important;
        backdrop-filter: none;
    }

    .project-image-nav i {
        font-size: 10px;
        color: white !important;
    }

    .project-image-indicator {
        padding: 4px 8px;
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .projects-grid {
        gap: 16px;
    }

    .project-card {
        display: flex !important;
        flex-direction: row !important;
    }

    .project-card.reverse {
        flex-direction: row-reverse !important;
    }

    .project-image-container {
        width: 42% !important;
        height: 220px;
        min-height: 220px;
        flex-shrink: 0;
    }

    .project-content {
        width: 58% !important;
        padding: 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .project-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .project-meta {
        gap: 10px;
        margin-bottom: 8px;
        font-size: 10px;
    }

    .project-description {
        font-size: 12px;
        margin-bottom: 12px;
        -webkit-line-clamp: 3;
    }

    .project-category-tag {
        top: 10px;
        left: 10px;
        padding: 5px 12px;
        font-size: 8px;
    }

    .project-cta span {
        font-size: 11px;
    }

    .project-image-nav {
        width: 24px;
        height: 24px;
        background: rgba(0, 0, 0, 0.35) !important;
        border: none !important;
        backdrop-filter: none;
    }

    .project-image-nav i {
        font-size: 9px;
        color: white !important;
    }
}

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

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

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 950px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-30px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-header {
    padding: 30px 35px;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #163D08 0%, #2d5a27 100%);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 4px 12px rgba(22, 61, 8, 0.15);
}

.modal-header h2 {
    font-size: 26px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 28px;
    color: white;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    padding: 30px;
}

.product-detail-image-container {
    position: relative;
}

.product-detail-image {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.product-image-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.product-image-thumbnails::-webkit-scrollbar {
    height: 5px;
}

.product-image-thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.product-image-thumbnails::-webkit-scrollbar-thumb {
    background: #163D08;
    border-radius: 10px;
}

.thumbnail-item {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail-item.active {
    border-color: #163D08;
    box-shadow: 0 0 0 2px rgba(22, 61, 8, 0.2);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.magnifier-lens {
    position: absolute;
    width: 350px;
    height: 350px;
    border: 4px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background-repeat: no-repeat;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.7), inset 0 0 30px rgba(255, 255, 255, 0.2);
    pointer-events: none;
    opacity: 0;
    transform: scale(0.8);
    z-index: 100;
    cursor: none;
    transition: opacity 0.2s ease, transform 0.2s ease, left 0.1s ease-out, top 0.1s ease-out;
}

.magnifier-lens.active {
    opacity: 1;
    transform: scale(1);
}

.product-zoom-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(22, 61, 8, 0.9);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: all 0.3s ease;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-detail-row {
    border-bottom: 1px solid #f0f0f0;
    padding: 18px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 4px;
}

.product-detail-row:last-child {
    border-bottom: none;
}

.product-detail-label {
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: #163D08;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.product-detail-value {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 16px;
    color: #444;
    line-height: 1.7;
}

.product-detail-value.italic {
    font-style: italic;
    color: #2d5a27;
}

.product-detail-value.price {
    font-size: 32px;
    font-weight: 700;
    font-family: 'Helvetica', 'Arial', sans-serif;
    color: #163D08;
}

.product-detail-value.price del {
    font-size: 22px;
    color: #999;
    margin-left: 12px;
    font-weight: 400;
}

.product-detail-description {
    grid-column: 1 / -1;
    padding: 32px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    margin: 8px 30px 30px 30px;
    border: 2px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.product-detail-description-title {
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #163D08;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-detail-description-text {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 15px;
    color: #555;
    line-height: 1.9;
}

.product-detail-description-text ul {
    margin: 0;
    padding-left: 24px;
}

.product-detail-description-text li {
    margin-bottom: 10px;
    color: #444;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        max-width: 100%;
        border-radius: 0;
        max-height: 100vh;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
    }

    .product-detail-image-container {
        max-width: 200px;
        margin: 0 auto;
    }

    .product-detail-image {
        border-radius: 6px;
    }

    .modal-header h2 {
        font-size: 16px;
    }

    .modal-header {
        padding: 12px 16px;
    }

    .product-detail-info {
        gap: 8px;
    }

    .product-detail-row {
        padding: 10px;
    }

    .product-detail-label {
        font-size: 11px;
    }

    .product-detail-value {
        font-size: 13px;
    }

    .product-detail-value.price {
        font-size: 22px;
    }

    .product-detail-value.price del {
        font-size: 14px;
        margin-left: 8px;
    }

    .product-detail-description {
        margin: 0 12px 12px 12px;
        padding: 14px;
        border-radius: 8px;
    }

    .product-detail-description-title {
        font-size: 13px;
    }

    .product-detail-description-text {
        font-size: 12px;
        line-height: 1.6;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* App-like smooth scrolling */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .trendry-title {
        font-size: 28px;
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        padding: 0 6px;
    }

    .product-card {
        border-radius: 4px;
        border: 1px solid #eee;
        /* Remove hover effect on mobile */
        transform: none !important;
        box-shadow: none !important;
        /* Add tap feedback */
        -webkit-tap-highlight-color: transparent;
        transition: background-color 0.15s ease;
    }

    .product-card:active {
        background-color: #f5f5f5;
    }

    .product-image-wrapper {
        height: 90px;
    }

    .product-info {
        padding: 6px;
    }

    .product-name {
        font-size: 11px;
        min-height: 30px;
    }

    .product-price {
        font-size: 13px;
    }

    .product-tabs {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 8px;
        margin-bottom: 20px;
        padding: 0 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        width: auto;
        min-width: 0;
        padding: 8px 12px;
        font-size: 11px;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    /* Quotation form responsive */
    #quotation-form {
        grid-template-columns: 1fr !important;
    }

    /* Mobile gallery - same masonry structure as web */
    #gallery-preview-grid {
        column-count: 2 !important;
        column-gap: 10px;
    }

    #gallery-preview-grid > div {
        margin-bottom: 10px !important;
        border-radius: 8px !important;
    }

    /* Mobile testimonials */
    #testimonials-grid {
        grid-template-columns: 1fr !important;
    }

    /* Mobile stories - keep horizontal layout */
    #stories-preview-grid {
        gap: 16px !important;
    }

    #stories-preview-grid .story-card {
        display: flex !important;
        flex-direction: row !important;
    }

    #stories-preview-grid .story-image {
        width: 130px !important;
        min-width: 130px !important;
        min-height: 150px !important;
    }

    #stories-preview-grid .story-content {
        padding: 12px !important;
    }

    #stories-preview-grid .story-content h3 {
        font-size: 13px !important;
        margin-bottom: 4px !important;
    }

    #stories-preview-grid .story-content p {
        font-size: 10px !important;
        margin-bottom: 6px !important;
    }

    #stories-preview-grid .story-content a {
        font-size: 11px !important;
    }

    /* Mobile feedback form - SINGLE column on mobile */
    .feedback-two-column {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    #feedback-form-container {
        padding: 16px !important;
        border-radius: 12px;
    }

    /* Hide testimonials on mobile feedback section */
    .feedback-two-column > div:first-child {
        display: none;
    }

    /* Better touch targets */
    .btn, button {
        min-height: 44px;
    }

    /* Mobile container padding */
    .container {
        padding: 0 16px;
    }
}

/* Extra small devices */
@media (max-width: 380px) {
    .hero h1 {
        font-size: 28px;
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 4px;
        padding: 0 4px;
    }

    .product-image-wrapper {
        height: 75px;
    }

    .product-info {
        padding: 4px;
    }

    .product-name {
        font-size: 9px;
        min-height: 22px;
    }

    .product-price {
        font-size: 12px;
    }

    .product-scientific-name {
        font-size: 8px;
    }

    nav ul li a {
        padding: 16px 20px;
        font-size: 14px;
    }

    .section-title {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .product-tabs {
        gap: 6px;
        padding: 0 4px;
    }

    .tab-btn {
        padding: 6px 10px;
        font-size: 10px;
    }
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 12px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    z-index: 9999;
    width: auto;
    max-width: calc(100% - 40px);
    transition: transform 0.3s ease;
}

.mobile-bottom-nav-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    color: #666;
    font-size: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-item:hover {
    color: #163D08;
    background: rgba(22, 61, 8, 0.1);
}

.mobile-nav-item.active {
    color: white;
    background: #163D08;
}

.mobile-nav-item.home-item {
    background: #163D08;
    color: white;
}

.mobile-nav-item.home-item:hover {
    background: #1f5210;
    color: white;
}

.mobile-nav-item i {
    font-size: 20px;
}

/* Show mobile bottom nav only on mobile */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: block;
    }

    /* Add padding to body so content doesn't get hidden behind nav */
    body {
        padding-bottom: 100px;
    }

    /* Hide desktop nav icons on mobile since we have bottom nav */
    .nav-icons {
        display: none;
    }

    /* Adjust footer padding on mobile */
    footer {
        padding-bottom: 80px;
    }
}
