/**
 * Divine Mart - Main Stylesheet
 * Professional E-commerce Design
 */

/* Root Variables */
:root {
    --primary-color: #ff6b35;
    --orange-color: #ff6b35;
    --orange-light: #fff4f0;
    --orange-dark: #e55a2b;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white-color: #ffffff;
    --border-radius: 12px;
    --box-shadow: 0 4px 20px rgba(255,107,53,0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
}

.top-bar {
    font-size: 0.875rem;
}

.main-header {
    border-bottom: 1px solid #e9ecef;
}

.navbar-brand {
    font-weight: bold;
    color: var(--primary-color) !important;
}

.search-form {
    position: relative;
}

.search-form .form-control {
    border: 2px solid var(--primary-color);
    border-right: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.search-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.search-form .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    border: 2px solid var(--primary-color);
    border-left: none;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
}

.search-suggestion-item:hover {
    background-color: var(--light-color);
}

/* Navigation */
.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* Sticky Navigation */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1030 !important;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98) !important;
}

/* Hero Section */
.hero-section {
    margin-bottom: 0;
}

.hero-default {
    background: linear-gradient(135deg, var(--orange-color) 0%, var(--orange-dark) 100%);
}

.bg-gradient-orange {
    background: linear-gradient(135deg, var(--orange-color) 0%, var(--orange-dark) 100%) !important;
}

.bg-orange-light {
    background-color: var(--orange-light) !important;
}

.text-orange {
    color: var(--orange-color) !important;
}

.text-orange-dark {
    color: var(--orange-dark) !important;
}

.carousel-item {
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 1.25rem;
    left: 15%;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    color: #fff;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

/* Fix carousel overlap issue */
.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
}

.carousel-item.active {
    display: block;
}

.carousel-item-next,
.carousel-item-prev {
    display: block;
}

.carousel-item-next:not(.carousel-item-start),
.active.carousel-item-end {
    transform: translateX(100%);
}

.carousel-item-prev:not(.carousel-item-end),
.active.carousel-item-start {
    transform: translateX(-100%);
}

/* Category Cards */
.category-card {
    transition: var(--transition);
    padding: 1rem;
    border-radius: var(--border-radius);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.category-icon {
    transition: var(--transition);
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

/* Product Cards */
.product-card {
    transition: var(--transition);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.product-image {
    overflow: hidden;
}

.product-image img {
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.price {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--orange-color);
}

.compare-price {
    font-size: 1rem;
    text-decoration: line-through;
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    border: none;
}

/* Orange Theme Buttons */
.btn-orange {
    background: linear-gradient(135deg, var(--orange-color) 0%, var(--orange-dark) 100%);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-orange:hover {
    background: linear-gradient(135deg, var(--orange-dark) 0%, #d14d1f 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    color: white;
}

.btn-outline-orange {
    border: 2px solid var(--orange-color);
    color: var(--orange-color);
    background: transparent;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-outline-orange:hover {
    background: var(--orange-color);
    border-color: var(--orange-color);
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, var(--primary-color) 0%, #20c997 100%);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-outline-success {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-success:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    background: var(--light-color);
    margin-top: 80px;
}

.feature-item {
    padding: 2rem 1rem;
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon i {
    transition: var(--transition);
}

.feature-item:hover .feature-icon i {
    transform: scale(1.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a4d2e 0%, #ff6b35 30%, #2d5f3f 70%, #4a7c59 100%) !important;
    position: relative;
    overflow: hidden;
}

.footer h5,
.footer h6 {
    color: white;
}

.footer .text-muted {
    color: #adb5bd !important;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: var(--primary-color);
    transition: var(--transition);
}

.social-links a:hover {
    background: #218838;
    transform: translateY(-3px);
}

/* Cart Styles */
.cart-item {
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-controls button {
    width: 35px;
    height: 35px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-controls button:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.quantity-controls input {
    width: 60px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    padding: 5px;
}

/* Order Tracking */
.order-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    position: relative;
}

.order-status::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.status-step {
    background: white;
    border: 3px solid #e9ecef;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.status-step.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.status-step.completed {
    border-color: var(--success-color);
    background: var(--success-color);
    color: white;
}

/* Forms */
.form-control {
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Alerts */
.alert {
    border: none;
    border-radius: var(--border-radius);
    border-left: 4px solid;
}

.alert-success {
    border-left-color: var(--success-color);
    background: rgba(40, 167, 69, 0.1);
}

.alert-danger {
    border-left-color: var(--danger-color);
    background: rgba(220, 53, 69, 0.1);
}

.alert-warning {
    border-left-color: var(--warning-color);
    background: rgba(255, 193, 7, 0.1);
}

.alert-info {
    border-left-color: var(--info-color);
    background: rgba(23, 162, 184, 0.1);
}

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.step.completed .step-icon {
    background: #198754;
    color: white;
    border-color: #198754;
}

.step-title {
    font-weight: 600;
    color: #6c757d;
}

.step.active .step-title,
.step.completed .step-title {
    color: #198754;
}

.address-option,
.delivery-slot-option,
.payment-method-option {
    margin-bottom: 1rem;
}

.address-card,
.delivery-slot-card,
.payment-method-card {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.form-check-input:checked + .form-check-label .address-card,
.form-check-input:checked + .form-check-label .delivery-slot-card,
.form-check-input:checked + .form-check-label .payment-method-card {
    border-color: #198754;
    background-color: #f8fff9;
}

.payment-logo {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Order Status Styles */
.order-status {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: #f8f9fa;
    opacity: 0.6;
}

.status-item.active {
    background: #d4edda;
    opacity: 1;
}

.status-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #6c757d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.status-item.active .status-icon {
    background: #198754;
}

.status-content h6 {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

/* Auth Pages */
.auth-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.auth-page .card {
    border: none;
    border-radius: 15px;
}

.divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #dee2e6;
}

.divider-text {
    background: white;
    padding: 0 1rem;
    color: #6c757d;
    font-size: 0.875rem;
}

.profile-placeholder {
    font-size: 2rem;
    font-weight: bold;
}

/* Account Dashboard */
.profile-image img,
.profile-placeholder {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.list-group-item.active {
    background-color: #198754;
    border-color: #198754;
}

.success-icon {
    color: #198754;
}

/* Free Delivery Progress */
.free-delivery-progress .progress {
    height: 8px;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .category-card {
        margin-bottom: 1rem;
    }
    
    .product-card {
        margin-bottom: 1rem;
    }
    
    .search-suggestions {
        left: 0;
        right: 0;
        margin: 0 15px;
    }
    
    .cart-item .row {
        text-align: center;
    }
    
    .cart-item .col-md-2,
    .cart-item .col-md-4 {
        margin-bottom: 1rem;
    }
    
    .checkout-steps .col-md-3 {
        margin-bottom: 1rem;
    }
    
    .order-status {
        gap: 0.5rem;
    }
    
    .status-item {
        padding: 0.75rem;
    }
    
    .auth-page .card-body {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hero-section .carousel-item img {
        height: 200px;
    }
    
    .carousel-caption h1 {
        font-size: 1.25rem;
    }
    
    .carousel-caption p {
        font-size: 0.875rem;
    }
    
    .product-card {
        margin-bottom: 1rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn,
    .navbar {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        width: 100% !important;
        max-width: none !important;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #218838;
}

/* Advanced Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Footer Styles */
.bg-orange-gradient {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%) !important;
    color: white;
}

.bg-gradient-orange {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%) !important;
    color: white;
}

.footer {
    position: relative;
    z-index: 1;
}

.footer h5, .footer h6 {
    color: #ff6b35 !important;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer h6::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background: white;
}

.footer p {
    color: #f4e4bc !important;
    margin-bottom: 1.5rem;
}

.social-links {
    margin-top: 1.5rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #28a745 !important;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: white;
    color: #ff6b35 !important;
    transform: translateY(-3px);
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-logo {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding: 12px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
}

/* Logo Container */
.footer-logo-container {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-logo {
    display: inline-block;
    padding: 15px 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

/* Logo Image */
.footer-logo-img {
    height: 50px !important;
    width: auto;
    max-width: 200px;
    display: block;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.footer-logo::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    z-index: 0;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.05);
    filter: brightness(1.1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.footer-logo:hover::before {
    opacity: 1;
    transform: scale(1.02);
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul li a {
    color: #f4e4bc !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer ul li a:hover {
    color: white !important;
    transform: translateX(5px);
}

.payment-methods {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.payment-methods img {
    transition: all 0.3s ease;
    filter: brightness(0) invert(1) sepia(1) hue-rotate(15deg) saturate(2);
    opacity: 0.8;
    height: 24px;
}

.payment-methods img:hover {
    filter: brightness(0) invert(1) sepia(1) hue-rotate(15deg) saturate(3) brightness(1.2);
    opacity: 1;
    transform: translateY(-3px) scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .payment-methods {
        justify-content: flex-start;
        margin-top: 1rem;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer h6::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer ul {
        margin-bottom: 2rem;
    }
}

/* ===== RAMADAN THEME ANIMATIONS ===== */

/* Floating and Rotation Animation */
@keyframes floatAndRotate {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
    }
    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

/* Light Beam Animation */
@keyframes lightBeam {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Title Glow Animation */
@keyframes titleGlow {
    0%, 100% {
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3), 0 0 20px rgba(212, 175, 55, 0.5);
    }
    50% {
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3), 0 0 30px rgba(212, 175, 55, 0.8);
    }
}

/* Badge Pulse Animation */
@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(212, 175, 55, 0.5);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.8);
    }
}

/* Button Pulse Animation */
@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    }
    50% {
        box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
    }
}

/* Icon Pulse Animation */
@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
    }
}

/* Logo Glow Animation */
@keyframes logoGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    }
    50% {
        box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
    }
}

/* Delivery Pulse Animation */
@keyframes deliveryPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Truck Move Animation */
@keyframes truckMove {
    0%, 100% {
        transform: translateX(0px);
    }
    25% {
        transform: translateX(3px);
    }
    75% {
        transform: translateX(-3px);
    }
}

/* Float Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Bounce Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* ===== ORANGE THEME CLASSES ===== */
.text-orange {
    color: #ff6b35 !important;
}

.btn-orange {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-orange:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #d44820 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
    color: white;
}

.btn-outline-orange {
    border: 2px solid #ff6b35;
    color: #ff6b35;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-orange:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    border-color: #ff6b35;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* ===== CATEGORY PAGE ENHANCEMENTS ===== */

/* Category Header Styling */
.category-header {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.category-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100"><path d="M0,0 C150,100 350,0 500,50 C650,100 850,0 1000,50 L1000,0 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
    animation: wave 10s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-50px); }
}

.category-header .container {
    position: relative;
    z-index: 2;
}

.category-header h1 {
    animation: slideInUp 0.8s ease-out;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.category-header p {
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.category-header img {
    animation: bounceIn 1s ease-out 0.4s both;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.category-header img:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Filters Sidebar Enhancement */
.filters-sidebar .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    animation: slideInLeft 0.8s ease-out;
}

.filters-sidebar .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.filters-sidebar .card-header {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    color: white;
    border: none;
    padding: 1.2rem;
}

.filters-sidebar .card-header h5 {
    margin: 0;
    font-weight: 600;
}

.filters-sidebar .card-body {
    padding: 1.5rem;
}

.filters-sidebar .form-label {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.filters-sidebar .form-control,
.filters-sidebar .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.filters-sidebar .form-control:focus,
.filters-sidebar .form-select:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.filters-sidebar .btn-success {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    border: none;
    border-radius: 8px;
    padding: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filters-sidebar .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* Product Cards Enhancement */
.product-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease-out;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-card .product-image {
    overflow: hidden;
    position: relative;
}

.product-card .product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(255,107,53,0.1) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
}

.product-card:hover .product-image::before {
    transform: translateX(100%);
}

.product-card img {
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-card .badge {
    animation: pulse 2s infinite;
    font-weight: 600;
}

.product-card .card-body {
    padding: 1.5rem;
}

.product-card .card-title a {
    color: #333;
    transition: color 0.3s ease;
}

.product-card:hover .card-title a {
    color: #ff6b35;
}

.product-card .price {
    color: #ff6b35 !important;
    font-size: 1.3rem;
    font-weight: 700;
}

.product-card .add-to-cart {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    border: none;
    border-radius: 8px;
    padding: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card .add-to-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.product-card .add-to-cart:hover::before {
    left: 100%;
}

.product-card .add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

/* Pagination Enhancement */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 2px;
    border: 2px solid #e9ecef;
    color: #333;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: #ff6b35;
    border-color: #ff6b35;
    color: white;
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    border-color: #ff6b35;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Loading Animation for Product Cards */
.product-card.loading {
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

/* No Products Found Enhancement */
.text-center.py-5 {
    animation: fadeInUp 0.8s ease-out;
}

.text-center.py-5 i {
    color: #ff6b35 !important;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .category-header h1 {
        font-size: 2rem;
    }
    
    .product-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .filters-sidebar .card {
        margin-bottom: 2rem;
    }
}

/* Logo Animation */
.animated-logo {
    transition: var(--transition);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--orange-color) 0%, var(--orange-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
    animation: logoFloat 3s ease-in-out infinite;
}

.logo-text {
    background: linear-gradient(135deg, var(--orange-color) 0%, var(--orange-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

.animated-logo:hover .logo-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.animated-logo:hover .logo-text {
    transform: scale(1.05);
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* Pulse Animation */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Bounce Animation */
.bounce-animation {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Category Hover Effects */
.category-hover-effect {
    transition: var(--transition);
}

.category-hover-effect:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

/* Product Card Hover Effects */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.2);
}

/* Pulse Button */
.pulse-btn {
    animation: pulseBtn 2s infinite;
}

@keyframes pulseBtn {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 107, 53, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0); }
}

/* Animated Hero */
.animated-hero {
    position: relative;
    overflow: hidden;
}

.animated-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Gradient Text Animation */
.gradient-text {
    background: linear-gradient(45deg, var(--orange-color), var(--orange-dark), #ff8c42, var(--orange-color));
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Utility Classes */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.border-primary { border-color: var(--primary-color) !important; }

.shadow-custom {
    box-shadow: var(--box-shadow);
}

.rounded-custom {
    border-radius: var(--border-radius);
}

.transition-custom {
    transition: var(--transition);
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --dark-color: #f8f9fa;
        --light-color: #343a40;
    }
    
    body {
        background-color: #121212;
        color: #f8f9fa;
    }
    
    .card,
    .form-control,
    .navbar-light {
        background-color: #1e1e1e;
        border-color: #333;
        color: #f8f9fa;
    }
}
