/* public/css/style.css */
:root {
    --bg-dark: #0a0a0a;
    --bg-card: #151515;
    --text-main: #f5f5f5;
    --text-muted: #a0a0a0;
    --primary: #00ff66; /* Neon Green for agriculture */
    --primary-dark: #00cc52;
    --secondary: #ff5500; /* Vibrant Orange for contrast */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.w-100 { width: 100%; }
.mt-4 { margin-top: 2rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 500;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}
.btn-primary {
    background-color: var(--primary);
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 255, 102, 0.3);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 102, 0.4);
}
.btn-secondary {
    background-color: var(--secondary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 85, 0, 0.3);
}
.btn-secondary:hover {
    background-color: #e64d00;
    color: #fff;
    transform: translateY(-2px);
}
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background-color: var(--primary);
    color: #000;
}
.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
}
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}
.brand-logo i {
    color: var(--primary);
    margin-right: 8px;
}
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links li {
    position: relative;
    margin-left: 2rem;
}
.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
}
.nav-links a.btn {
    color: #000;
}
.nav-links a:hover:not(.btn) {
    color: var(--primary);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 220px;
    padding: 10px 0;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown-menu li {
    margin: 0;
    display: block;
}
.dropdown-menu a {
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ddd;
}
.dropdown-menu a:hover {
    background: rgba(0, 255, 102, 0.1);
    color: var(--primary);
}
.dropdown-menu a i {
    width: 20px;
    text-align: center;
    color: var(--primary);
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1605000797499-95a51c5269ae?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(10,10,10,0.9), rgba(10,10,10,0.5));
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
}
.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-inline: auto;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

/* Sections */
.section {
    padding: 100px 0;
}
.dark-bg {
    background-color: #050505;
}
.section-header {
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.divider {
    height: 4px;
    width: 60px;
    background-color: var(--primary);
    border-radius: 2px;
}
.divider.center {
    margin: 0 auto;
}

/* Grid System */
.grid {
    display: grid;
    gap: 30px;
}
.categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.products-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Category Card */
.category-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 40px 20px;
    border-radius: 16px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.category-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(0,255,102,0.05));
    z-index: -1;
    transform: scale(0);
    transition: var(--transition);
    border-radius: 16px;
}
.category-card:hover::before {
    transform: scale(1);
}
.category-card:hover {
    border-color: rgba(0,255,102,0.3);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.cat-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}
.category-card:hover .cat-icon {
    transform: scale(1.1);
}
.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.view-more {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}
.category-card:hover .view-more {
    color: var(--primary);
}

/* Product Card */
.product-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    border-color: rgba(0,255,102,0.2);
}
.product-image {
    height: 250px;
    overflow: hidden;
}
.image-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}
.product-card:hover .image-placeholder {
    transform: scale(1.05);
}
.product-content {
    padding: 25px;
}
.badge {
    background: rgba(0, 255, 102, 0.1);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
}
.product-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}
.price {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

/* Page Header */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(rgba(10,10,10,0.8), rgba(10,10,10,1)), url('https://images.unsplash.com/photo-1592982537447-6f29ebdbf77c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

/* Filters */
.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    justify-content: center;
}

/* Product Detail */
.product-detail-section {
    padding-top: 120px;
}
.breadcrumb {
    margin-bottom: 30px;
    color: var(--text-muted);
}
.breadcrumb a {
    color: #fff;
}
.breadcrumb a:hover {
    color: var(--primary);
}
.product-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
}
.product-gallery .main-image {
    height: 500px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}
.product-info h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}
.price-large {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 30px;
}
.description, .features {
    margin-bottom: 30px;
}
.description h3, .features h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}
.feature-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.actions {
    margin-top: 40px;
}

/* Footer */
.footer {
    background-color: #050505;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 80px 0 20px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}
.footer-info h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}
.footer-contact i {
    color: var(--primary);
}
.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.2);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 { font-size: 3.5rem; }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .product-gallery .main-image { height: 350px; }
}
