/* Custom Responsive Styles for Nifty Foodz */

:root {
    --primary-color: #ff6b35;
    --secondary-color: #fff;
    --accent-color: #f8f9fa;
    --text-color: #2c3e50;
    --border-color: #e9ecef;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --gradient-primary: linear-gradient(135deg, #ff6b35, #f7931e);
    --gradient-secondary: linear-gradient(135deg, #667eea, #764ba2);
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 30px rgba(0,0,0,0.2);
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: 0; /* Will be adjusted by sticky header */
    font-display: swap; /* Improve font loading performance */
}

/* Font Loading Optimization */
@font-face {
    font-family: 'Segoe UI';
    font-display: swap;
}

/* Sticky Header Fix */
#header.sticky-top {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100% !important;
    z-index: 1030;
    margin: 0;
    padding: 0;
}

/* Remove any default margins/padding that might cause white space */
#header {
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure navbar has no margins */
#header .navbar {
    margin: 0 !important;
    padding: 0.5rem 1rem !important;
}

/* Add padding to body to account for fixed header */
body {
    padding-top: 100px !important;
    margin: 0 !important;
}

/* Ensure all main content has proper spacing from sticky header */
.container, .container-fluid {
    margin-top: 0 !important;
    padding-top: 30px !important;
}

/* Specific spacing for different page types */
.bg-warning, .bg-light, .bg-dark {
    margin-top: 0 !important;
    padding-top: 30px !important;
}

/* Hero sections need extra spacing */
.hero-section, .hero-overlay {
    margin-top: 0 !important;
    padding-top: 30px !important;
}

/* Card containers */
.card, .card-body {
    margin-top: 0 !important;
}

/* Ensure no content overlaps with sticky header */
main, .main-content, .content {
    margin-top: 0 !important;
    padding-top: 30px !important;
}

/* Specific fixes for common page elements */
.py-5, .py-4, .py-3 {
    margin-top: 0 !important;
}

/* Hero sections on all pages */
.bg-warning.py-5, .bg-light.py-5, .bg-dark.py-5 {
    margin-top: 0 !important;
    padding-top: 30px !important;
}

/* Page titles and headers */
h1, h2, h3, .display-4, .display-5 {
    margin-top: 0 !important;
}

/* Breadcrumb spacing */
.breadcrumb {
    margin-top: 0 !important;
    padding-top: 10px !important;
}

/* Card spacing */
.card:first-child {
    margin-top: 0 !important;
}

/* Form spacing */
.form-control, .form-select {
    margin-top: 0 !important;
}

/* Button spacing */
.btn {
    margin-top: 0 !important;
}

/* List spacing */
ul, ol {
    margin-top: 0 !important;
}

/* Table spacing */
.table {
    margin-top: 0 !important;
}

/* Image spacing */
img {
    margin-top: 0 !important;
}

/* Utility class for pages that need extra spacing from sticky header */
.sticky-header-spacing {
    margin-top: 0 !important;
    padding-top: 30px !important;
}

/* Ensure first element on any page has proper spacing */
body > div:first-child,
body > section:first-child,
body > main:first-child {
    margin-top: 0 !important;
    padding-top: 30px !important;
}

/* Fix for pages with immediate content after header */
.container:first-of-type,
.container-fluid:first-of-type {
    margin-top: 0 !important;
    padding-top: 30px !important;
}

/* Ensure wrapper doesn't cause white space */
#wrapper {
    margin-top: 90px !important;
    padding-top: 0 !important;
}

/* Remove any default margins from html and body */
html, body {
    margin: 0 !important;
    padding: 0 !important;
}

html {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Header Styles */
.navbar-brand img {
    max-height: 50px;
    width: auto;
}

/* Sticky Header Styles */
#header.sticky-top {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1030;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 164, 31, 0.95) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Scrolled Header State */
#header.scrolled {
    background-color: rgba(255, 164, 31, 0.98) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#header.scrolled .navbar-logo {
    transform: scale(0.95);
}

/* Logo Enhancement */
.navbar-logo {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.navbar-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(2px 2px 8px rgba(0,0,0,0.4));
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile Logo */
@media (max-width: 768px) {
    .navbar-logo {
        height: 45px;
        max-width: 150px;
    }
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    color: #333 !important;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

/* Dropdown Menu Enhancement */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin-top: 5px;
}

.dropdown-item {
    transition: all 0.3s ease;
}

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

/* Mobile Toggle Button */
.navbar-toggler {
    border: 2px solid #333;
    border-radius: 5px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 164, 31, 0.25);
}

/* Special Links Styling */
.navbar-nav .badge {
    font-size: 0.7rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Hero Section */
.hero-overlay {
    background: linear-gradient(45deg, rgba(0,0,0,0.4), rgba(0,0,0,0.2));
}

/* Ensure hero text is always visible */
.hero-text {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    color: white !important;
}

.hero-text h1 {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    font-weight: 700;
}

.hero-text p {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    font-weight: 500;
}

/* Fallback for hero section if image doesn't load */
.hero-fallback {
    background: linear-gradient(135deg, #ffa41f, #e6941a);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card-img-top {
    border-radius: 12px 12px 0 0;
}

/* Recipe Cards */
.recipe-card {
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.recipe-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.recipe-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    aspect-ratio: 16 / 9;
    background-color: var(--light-bg);
}

.recipe-card:hover .recipe-image {
    transform: scale(1.05);
}

/* CLS Prevention - Reserve space for images */
.recipe-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background-color: var(--light-bg);
}

.card-img-top {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background-color: var(--light-bg);
}

/* Image Loading Optimization */
img {
    content-visibility: auto;
}

/* Prevent layout shift for recipe images */
.recipe-img,
.card-img-top,
.recipe-image {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Badge Styles */
.badge {
    font-size: 0.75rem;
    padding: 0.5em 0.75em;
    border-radius: 20px;
}

/* Button Styles */
.btn-warning {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background-color: #e6941a;
    border-color: #e6941a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 164, 31, 0.3);
}

.btn-outline-warning {
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-warning:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Form Styles */
.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid var(--border-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 164, 31, 0.25);
}

/* Alert Styles */
.alert {
    border-radius: 8px;
    border: none;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, var(--primary-color), #e6941a);
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

/* Mobile-First Responsive Design */

/* Extra Large Devices (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .recipe-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .hero-section {
        min-height: 500px;
    }
}

/* Large Devices (992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
    .recipe-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .hero-section {
        min-height: 450px;
    }
}

/* Medium Devices (768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    .recipe-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .hero-section {
        min-height: 400px;
    }
    
    .display-5 {
        font-size: 2.5rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
}

/* Small Devices (576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
    .recipe-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .hero-section {
        min-height: 350px;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .hero-overlay h1 {
        font-size: 1.75rem;
    }
    
    .hero-overlay p {
        font-size: 1.1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .navbar-brand img {
        max-height: 45px;
    }
}

/* Extra Small Devices (less than 576px) */
@media (max-width: 575px) {
    .recipe-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-section {
        min-height: 300px;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .hero-overlay h1 {
        font-size: 1.5rem;
    }
    
    .hero-overlay p {
        font-size: 1rem;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .navbar-brand img {
        max-height: 40px;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .form-control, .form-select {
        margin-bottom: 1rem;
    }
    
    /* Mobile Navigation */
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        border-radius: 10px;
        margin-top: 10px;
        padding: 1rem;
        box-shadow: var(--shadow-medium);
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
}

/* Touch-Friendly Mobile Optimizations */
@media (max-width: 768px) {
    /* Larger touch targets */
    .btn {
        min-height: 44px;
        min-width: 44px;
        padding: 0.75rem 1.5rem;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Recipe cards mobile optimization */
    .recipe-card {
        margin-bottom: 1.5rem;
    }
    
    .recipe-image {
        height: 180px;
    }
    
    .recipe-card .card-title {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }
    
    .recipe-card .card-text {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Search form mobile optimization */
    .search-form {
        margin-bottom: 2rem;
    }
    
    .search-form .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.75rem 1rem;
    }
    
    /* Category navigation mobile */
    .category-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .category-nav .btn {
        flex: 1;
        min-width: calc(50% - 0.25rem);
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Mobile Recipe Grid Improvements */
@media (max-width: 991px) {
    .recipe-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .recipe-card {
        background: white;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: var(--shadow-light);
        transition: all 0.3s ease;
    }
    
    .recipe-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-medium);
    }
    
    .recipe-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }
    
    .recipe-card:hover .recipe-image {
        transform: scale(1.05);
    }
}

/* Mobile Typography Improvements */
@media (max-width: 768px) {
    body {
        font-size: 16px;
        line-height: 1.6;
    }
    
    h1, .h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    h2, .h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    h3, .h3 {
        font-size: 1.25rem;
        line-height: 1.4;
    }
    
    h4, .h4 {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
}

/* Mobile Form Improvements */
@media (max-width: 768px) {
    .form-control, .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.75rem 1rem;
        border-radius: 8px;
        border: 2px solid var(--border-color);
        transition: all 0.3s ease;
    }
    
    .form-control:focus, .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
        outline: none;
    }
    
    .form-label {
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: var(--text-color);
    }
}

/* Mobile Button Improvements */
@media (max-width: 768px) {
    .btn {
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .btn-warning {
        background: var(--gradient-primary);
        border: none;
        color: white;
    }
    
    .btn-warning:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-medium);
    }
    
    .btn-outline-warning {
        border: 2px solid var(--primary-color);
        color: var(--primary-color);
        background: transparent;
    }
    
    .btn-outline-warning:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Reduce animations on mobile for better performance */
    .card:hover {
        transform: none;
    }
    
    .recipe-card:hover {
        transform: none;
    }
    
    .recipe-card:hover .recipe-image {
        transform: none;
    }
    
    /* Optimize images for mobile */
    .recipe-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    /* Improve touch scrolling */
    .recipe-grid {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Mobile-specific spacing */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Mobile search form */
    .search-form .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
        -webkit-appearance: none;
        border-radius: 8px;
    }
    
    /* Mobile category navigation */
    .category-nav {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .category-nav .btn {
        font-size: 0.85rem;
        padding: 0.5rem 0.25rem;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Mobile LCP Optimization */
    .recipe-img {
        max-width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        will-change: auto;
    }
    
    /* Prevent CLS on mobile */
    .recipe-image {
        width: 100%;
        height: 180px;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        contain: layout;
    }
    
    /* Reserve space for images */
    .card-img-top {
        min-height: 180px;
        aspect-ratio: 16 / 9;
        background-color: var(--light-bg);
    }
    
    /* Mobile image container */
    .position-relative {
        position: relative;
        overflow: hidden;
    }
    
    /* Optimize iframe loading */
    iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        loading: lazy;
    }
}

/* Mobile Accessibility Improvements */
@media (max-width: 768px) {
    /* Better focus indicators for mobile */
    .btn:focus,
    .form-control:focus,
    .form-select:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
    
    /* Improve text contrast */
    .text-muted {
        color: #666 !important;
    }
    
    /* Better link visibility */
    a {
        text-decoration: underline;
    }
    
    a:hover {
        text-decoration: none;
    }
    
    /* Mobile-friendly badges */
    .badge {
        font-size: 0.7rem;
        padding: 0.4em 0.6em;
    }
}

/* Mobile Loading States */
@media (max-width: 768px) {
    .loading-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 200px;
        color: var(--primary-color);
    }
    
    .loading-mobile .spinner {
        width: 40px;
        height: 40px;
        border: 4px solid var(--border-color);
        border-top: 4px solid var(--primary-color);
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
}

/* Mobile Error States */
@media (max-width: 768px) {
    .error-mobile {
        text-align: center;
        padding: 2rem 1rem;
        color: var(--danger-color);
    }
    
    .error-mobile i {
        font-size: 3rem;
        margin-bottom: 1rem;
        opacity: 0.5;
    }
    
    .no-results-mobile {
        text-align: center;
        padding: 3rem 1rem;
        color: var(--text-color);
    }
    
    .no-results-mobile i {
        font-size: 4rem;
        margin-bottom: 1rem;
        color: var(--primary-color);
        opacity: 0.7;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 164, 31, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Utility Classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Override Bootstrap text-muted class */
.text-muted {
    color: #666 !important;
}

/* Additional color improvements */
.small, small {
    color: #666 !important;
}

/* Better contrast for secondary text */
.text-secondary {
    color: #666 !important;
}

/* Improve readability for muted elements */
.muted-text {
    color: #666 !important;
}

.bg-gradient-warning {
    background: linear-gradient(135deg, var(--primary-color), #e6941a);
}

.border-warning {
    border-color: var(--primary-color) !important;
}

/* Search Results */
.search-results {
    min-height: 400px;
}

.no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

.no-results i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-color);
    border-color: var(--border-color);
    border-radius: 8px;
    margin: 0 2px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Sidebar Widgets */
.widget {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.widget-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    font-weight: 600;
    margin: 0;
}

.widget-body {
    padding: 1.5rem;
}

/* Recipe Meta */
.recipe-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.recipe-meta small {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #666;
}

/* Category Links */
.category-link {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

.category-link:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
}

.category-link i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}
