/* Retail Template - Orange/Gold Commerce Theme with Sidebar Layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #fef7ed;
    color: #333;
    overflow-x: hidden;
}

/* Sidebar Navigation */
.sidebar-nav {
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 100vh;
    background: linear-gradient(180deg, #ea580c 0%, #f97316 100%);
    color: white;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.sidebar-header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.sidebar-header .tagline {
    font-size: 0.9rem;
    opacity: 0.8;
}

.sidebar-menu {
    list-style: none;
    padding: 1rem 0;
}

.sidebar-menu li {
    margin: 0.5rem 0;
}

.sidebar-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(255,255,255,0.1);
    border-left-color: #fed7aa;
    transform: translateX(5px);
}

.sidebar-footer {
    position: absolute;
    bottom: 2rem;
    left: 1.5rem;
    right: 1.5rem;
}

.quick-contact {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}

/* Main Content */
.main-content {
    margin-left: 250px;
    min-height: 100vh;
}

/* Hero Banner with Slider */
.hero-banner {
    position: relative;
    height: 60vh;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    z-index: 2;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: slideInLeft 1s ease-out;
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    animation: slideInLeft 1s ease-out 0.3s both;
}

.cta-btn {
    background: #ea580c;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: slideInLeft 1s ease-out 0.6s both;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.4);
}

.cta-btn:hover {
    background: #c2410c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.6);
}

.slider-controls {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 1rem;
}

.slider-controls button {
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-controls button:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

/* Stats Section */
.stats-section {
    padding: 3rem 2rem;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px) rotate(2deg);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #ea580c;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #9a3412;
    font-weight: 600;
}

/* Categories Section */
.categories-section {
    padding: 4rem 2rem;
    background: #fef7ed;
}

.categories-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #ea580c;
    margin-bottom: 3rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    position: relative;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(234, 88, 12, 0.2);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.2) rotate(10deg);
}

.category-card h3 {
    color: #ea580c;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ea580c, #f97316);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover .category-overlay {
    opacity: 0.95;
}

.explore-btn {
    background: white;
    color: #ea580c;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.category-card:hover .explore-btn {
    transform: translateY(0);
}

/* Services Section */
.services-section {
    padding: 4rem 2rem;
    background: white;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::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;
}

.service-card:hover::before {
    left: 100%;
}

.service-card.wholesale {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
    border: 2px solid #f97316;
}

.service-card.retail {
    background: linear-gradient(135deg, #fde68a 0%, #fbbf24 100%);
    border: 2px solid #f59e0b;
}

.service-card.delivery {
    background: linear-gradient(135deg, #fecaca 0%, #f87171 100%);
    border: 2px solid #ef4444;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card h3 {
    color: #7c2d12;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card ul {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.service-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: bold;
}

.service-btn {
    background: #ea580c;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background: #c2410c;
    transform: translateY(-2px);
}

/* Featured Products */
.featured-products {
    padding: 4rem 2rem;
    background: #fef7ed;
}

.featured-products h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #ea580c;
    margin-bottom: 3rem;
}

.products-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-info h4 {
    color: #ea580c;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #16a34a;
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.add-cart {
    flex: 1;
    background: #ea580c;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.add-cart:hover {
    background: #c2410c;
}

.quick-view {
    background: #f3f4f6;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.quick-view:hover {
    background: #e5e7eb;
    transform: scale(1.1);
}

/* Floating Cart */
.floating-cart {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #ea580c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(234, 88, 12, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-cart:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.6);
}

.cart-icon {
    font-size: 1.5rem;
    color: white;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Back to Portfolio */
.back-to-portfolio {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ea580c;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    z-index: 1001;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(234, 88, 12, 0.3);
}

.back-to-portfolio:hover {
    background: #c2410c;
    transform: translateY(-2px);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar-nav {
        transform: translateX(-250px);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-container {
        grid-template-columns: 1fr;
    }
    
    .products-carousel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .slide-content {
        left: 5%;
        right: 5%;
    }
    
    .slide-content h1 {
        font-size: 1.5rem;
    }
}