﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f5f7f0 0%, #e8ede5 100%);
    color: #1a2e1a;
    line-height: 1.5;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, #1a4d1a 0%, #0d2e0d 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .logo i {
        font-size: 48px;
        color: #ffd700;
    }

    .logo h1 {
        font-size: 28px;
        font-weight: 700;
        letter-spacing: -0.5px;
    }

    .logo p {
        font-size: 14px;
        opacity: 0.9;
    }

.header-cert {
    background: rgba(255,215,0,0.2);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
}

    .header-cert i {
        margin-right: 8px;
        color: #ffd700;
    }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2d6a2d 0%, #1a4d1a 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.highlight {
    color: #ffd700;
    border-bottom: 3px solid #ffd700;
    display: inline-block;
}

.hero-content p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    background: rgba(255,255,255,0.15);
    padding: 12px 24px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

    .stat i {
        margin-right: 10px;
        font-size: 20px;
    }

/* Section Title */
.section-title {
    text-align: center;
    margin: 60px 0 40px;
}

    .section-title h2 {
        font-size: 36px;
        color: #1a4d1a;
        margin-bottom: 12px;
    }

        .section-title h2 i {
            color: #ff8c00;
            margin-right: 12px;
        }

    .section-title p {
        color: #555;
        font-size: 16px;
    }

/* Vegetables Grid */
.vegetables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.veg-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

    .veg-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    }

.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
    }

.veg-card:hover .card-image img {
    transform: scale(1.05);
}

.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.card-body {
    padding: 24px;
}

    .card-body h3 {
        font-size: 24px;
        color: #1a4d1a;
        margin-bottom: 8px;
    }

        .card-body h3 span {
            font-size: 14px;
            color: #888;
            font-weight: normal;
            font-style: italic;
        }

.varieties-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.variety-tag {
    background: #e8f5e8;
    color: #2d6a2d;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
}

.view-details-btn {
    width: 100%;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 100%);
    color: white;
    border: none;
    padding: 12px;
    margin-top: 8px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

    .view-details-btn i {
        margin-right: 8px;
    }

    .view-details-btn:hover {
        transform: translateX(5px);
        box-shadow: 0 5px 15px rgba(255,107,0,0.3);
    }

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    border-radius: 24px;
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, #1a4d1a 0%, #0d2e0d 100%);
    color: white;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 24px 24px 0 0;
}

    .modal-header h3 {
        font-size: 24px;
        font-weight: 700;
    }

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    transition: transform 0.2s;
}

    .modal-close:hover {
        transform: scale(1.1);
    }

.modal-body {
    padding: 24px;
}

.company-badge {
    background: linear-gradient(135deg, #ff8c00, #ff6b00);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
}

.variety-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: #1a4d1a;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid #ff8c00;
}

.table-wrapper {
    overflow-x: auto;
}

.morph-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

    .morph-table thead {
        background: linear-gradient(135deg, #2d6a2d, #1a4d1a);
        color: white;
    }

    .morph-table th,
    .morph-table td {
        padding: 14px 16px;
        text-align: left;
        border-bottom: 1px solid #e0e0e0;
    }

    .morph-table tbody tr:hover {
        background: #f5f9f5;
    }

    .morph-table td:first-child,
    .morph-table th:first-child {
        font-weight: 600;
        width: 70px;
    }

.modal-footer {
    padding: 20px 24px;
    background: #f8faf8;
    border-radius: 0 0 24px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.close-btn {
    background: #ccc;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

    .close-btn:hover {
        background: #bbb;
    }

.inquiry-btn {
    background: linear-gradient(135deg, #ff8c00, #ff6b00);
    color: white;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.2s;
}

    .inquiry-btn:hover {
        transform: translateX(5px);
        box-shadow: 0 3px 10px rgba(255,107,0,0.3);
    }

/* Responsive */
@media (max-width: 768px) {
    .vegetables-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .modal-content {
        width: 95%;
    }

    .morph-table th,
    .morph-table td {
        padding: 10px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-stats {
        gap: 15px;
    }

    .stat {
        padding: 8px 16px;
        font-size: 12px;
    }
}
