/* Carnivoras - Monochrome Gray/Black Palette */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --accent-dark: #2c2c2c;
    --accent-charcoal: #3d3d3d;
    --accent-light: #525252;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --background: #ffffff;
    --background-light: #f9fafb;

    /* Green accent colors for carnivorous plants theme */
    --green-primary: #16a34a;
    --green-dark: #15803d;
    --green-light: #22c55e;
    --green-pale: #dcfce7;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background-light);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Navbar - Clean Gray with Green Accent */
.navbar {
    background: white !important;
    padding: 0.75rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--green-primary);
}

.navbar-brand {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--gray-900) !important;
}

.navbar .navbar-nav .nav-link {
    color: #000000 !important;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.navbar .navbar-nav .nav-link:hover {
    color: #000000 !important;
    background-color: var(--gray-100) !important;
}

.navbar-toggler {
    border-color: #000000;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Buttons - Professional */
.btn {
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}

/* Button styles moved to green theme section below */

.btn-outline-light {
    border-color: var(--gray-400);
    color: #000000;
}

.btn-outline-light:hover {
    background-color: #000000;
    border-color: #000000;
    color: white;
}

.btn-light {
    background-color: white;
    color: #000000;
    border: 1px solid var(--gray-400);
}

.btn-light:hover {
    background-color: #000000;
    border-color: #000000;
    color: white;
}

/* Cards - Clean and Simple with Green Accents */
.card {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s ease;
    background: white;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
    border-color: var(--green-primary);
}

.card-img-top {
    border-radius: 0;
    height: 220px;
    object-fit: cover;
}

.card-header {
    background-color: var(--gray-50);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem;
    font-weight: 600;
}

.card-body {
    padding: 1.25rem;
    background: white;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Forms - Clean */
.form-control,
.form-select {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #000000;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

.form-control-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Alerts - Clean */
.alert {
    border-radius: 6px;
    border: none;
    padding: 1rem;
}

.alert-success {
    background-color: rgba(44, 44, 44, 0.08);
    color: #000000;
}

.alert-info {
    background-color: rgba(13, 110, 253, 0.1);
    color: #084298;
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: #997404;
}

/* Badges - Simple */
.badge {
    padding: 0.35rem 0.75rem;
    font-weight: 500;
    border-radius: 12px;
    font-size: 0.8rem;
}

/* Badge success styles moved to green theme section below */

.badge.bg-warning {
    background-color: #f59e0b !important;
    color: white !important;
}

.badge.bg-danger {
    background-color: #ef4444 !important;
    color: white !important;
}

.badge.bg-info {
    background-color: var(--gray-500) !important;
    color: white !important;
}

/* Hero Section */
.hero-section {
    background-color: var(--gray-100);
    color: var(--text-dark);
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hero-section h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero-section .lead {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* Dropdowns */
.dropdown-menu {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
}

.dropdown-item {
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: background-color 0.15s ease;
}

.dropdown-item:hover {
    background-color: var(--background-light);
}

.dropdown-item i {
    width: 20px;
    opacity: 0.7;
}

/* Tables */
.table {
    font-size: 0.9rem;
}

.table thead {
    background-color: var(--background-light);
    border-bottom: 2px solid var(--border-color);
}

.table tbody tr:hover {
    background-color: rgba(44, 44, 44, 0.03);
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 1rem 0;
    font-size: 0.85rem;
}

.breadcrumb-item a {
    color: #000000;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #404040;
}

/* Footer */
footer {
    background-color: var(--gray-100);
    color: var(--text-dark);
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
}

footer a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #404040;
}

/* Star Ratings */
.text-warning {
    color: #ffc107 !important;
}

.bi-star-fill,
.bi-star {
    font-size: 1rem;
}

/* Spacing */
.text-muted {
    color: var(--text-muted) !important;
}

/* Review Cards - styles moved to green theme section below */

/* Links - styles moved to green theme section below */

/* Product Cards - styles moved to green theme section below */

/* Focus States */
button:focus,
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
}

/* Transitions */
a, button, .btn, .card {
    transition: all 0.2s ease;
}

/* Background Colors - moved to green theme section below */

/* Ensure proper spacing */
main {
    min-height: calc(100vh - 200px);
}

/* Category Badges with Green Border */
.badge.bg-secondary {
    background-color: white !important;
    color: var(--green-primary) !important;
    border: 2px solid var(--green-primary) !important;
    font-weight: 600;
}

.badge.bg-secondary:hover {
    background-color: var(--green-pale) !important;
    border-color: var(--green-dark) !important;
}

/* Category Cards/Sections */
.list-group-item {
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.list-group-item:hover,
.list-group-item.active {
    border-left-color: var(--green-primary);
    background-color: var(--green-pale);
}

.list-group-item.active a {
    color: var(--green-dark) !important;
    font-weight: 600;
}

/* Price Text in Green */
.text-success,
.product-card .text-success {
    color: var(--green-primary) !important;
}

/* Green Buttons */
.btn-success {
    background-color: var(--green-primary);
    border-color: var(--green-primary);
    color: white;
}

.btn-success:hover {
    background-color: var(--green-dark);
    border-color: var(--green-dark);
    color: white;
}

.btn-outline-success {
    color: var(--green-primary);
    border-color: var(--green-primary);
}

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

/* Category Filter Buttons */
.btn-group .btn {
    border: 2px solid var(--border-color);
}

.btn-group .btn.active,
.btn-group .btn:hover {
    border-color: var(--green-primary);
    background-color: var(--green-pale);
    color: var(--green-dark);
}

/* Hero Section with Green Accent */
.hero-section {
    border-bottom: 3px solid var(--green-primary);
}

/* Newsletter with Green Border */
.newsletter-cta {
    background-color: var(--gray-50);
    border-left: 4px solid var(--green-primary);
    border-radius: 8px;
    padding: 2rem;
}

/* Product Cards - Green Price */
.product-card .h5,
.product-card .h4 {
    color: var(--green-primary);
    font-weight: 700;
}

/* Alert Success - Green Theme */
.alert-success {
    background-color: var(--green-pale);
    color: var(--green-dark);
    border-left: 4px solid var(--green-primary);
}

/* Badge Success - Green */
.badge.bg-success {
    background-color: var(--green-primary) !important;
    color: white !important;
}

/* Form Focus - Green */
.form-control:focus,
.form-select:focus {
    border-color: var(--green-primary);
    box-shadow: 0 0 0 0.2rem rgba(22, 163, 74, 0.25);
}

/* Links - Green Accent */
a {
    color: var(--text-dark);
    text-decoration: none;
}

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

/* Breadcrumb - Green Accent */
.breadcrumb-item a {
    color: var(--green-primary);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--green-dark);
}

/* Review Cards with Green Border */
.review-card {
    border-left: 3px solid var(--green-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .card-img-top {
        height: 180px;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }
}
