﻿/* Category Slider Section */
.category-slider-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fef7f0 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

    .category-slider-section::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(139, 69, 19, 0.1) 0%, transparent 70%);
        border-radius: 50%;
        z-index: 0;
    }

    .category-slider-section::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(210, 105, 30, 0.1) 0%, transparent 70%);
        border-radius: 50%;
        z-index: 0;
    }

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2a2a2a;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        right: 50%;
        transform: translateX(50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(to left, #8B4513, #D2691E);
        border-radius: 2px;
    }

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

/* Main Slider Container */
.category-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

/* Swiper Container */
.swiper {
    width: 100%;
    height: 500px;
    padding: 30px 0;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
}

/* Category Card Styles */
.category-card-slide {
    width: 90%;
    max-width: 350px;
    height: auto;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.15);
    position: relative;
    transition: all 0.5s ease;
    cursor: pointer;
}

.swiper-slide-active .category-card-slide {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(139, 69, 19, 0.25);
    z-index: 10;
}

.swiper-slide-next .category-card-slide,
.swiper-slide-prev .category-card-slide {
    transform: scale(0.95);
    opacity: 0.8;
}

.category-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

    .category-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.category-card-slide:hover .category-card-image img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.7) 100%);
}

.category-icon-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-size: 1.5rem;
    color: #8B4513;
    z-index: 2;
}

.category-card-content {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
    background: white;
}

.category-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #2a2a2a;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.category-card-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    height: 65px;
    overflow: hidden;
}

.category-card-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.product-count {
    color: #8B4513;
    background: #fef7f0;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-tag {
    color: #D4AF37;
    background: #fff8e1;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-card-action {
    text-align: center;
}

.explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #8B4513, #D2691E);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .explore-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
        color: white;
    }

/* Navigation Arrows */
.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: #8B4513;
    transition: all 0.3s ease;
}

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 1.2rem;
        font-weight: bold;
    }

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background: #8B4513;
        color: white;
        transform: scale(1.1);
    }

.swiper-button-prev {
    right: auto;
    left: 0;
}

.swiper-button-next {
    left: auto;
    right: 0;
}

/* Pagination */
.swiper-pagination {
    position: relative;
    margin-top: 2rem;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ddd;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #8B4513, #D2691E);
    transform: scale(1.2);
}

/* Featured Products Slider */
.featured-slider-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

    .featured-slider-section::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 100%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
        background-size: 30px 30px;
        opacity: 0.1;
        transform: rotate(15deg);
    }

.featured-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.featured-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: white;
    margin-bottom: 1rem;
}

.featured-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}

/* Featured Products Slider */
.featured-products-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.featured-swiper {
    width: 100%;
    height: 350px;
    padding: 20px 0;
}

.featured-slide {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 2rem;
    gap: 2rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.featured-swiper .swiper-slide-active .featured-slide {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.featured-content {
    flex: 1;
    color: white;
}

    .featured-content h3 {
        font-family: 'Playfair Display', serif;
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .featured-content p {
        opacity: 0.9;
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
    }

.featured-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: #D4AF37;
    margin-bottom: 1.5rem;
}

.featured-btn {
    background: white;
    color: #8B4513;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

    .featured-btn:hover {
        background: #f4f4f4;
        transform: translateY(-2px);
        color: #8B4513;
    }

.featured-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid rgba(255,255,255,0.2);
}

    .featured-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Featured Slider Navigation */
.featured-nav-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

    .featured-nav-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: translateY(-50%) scale(1.1);
    }

.featured-prev {
    right: 0;
}

.featured-next {
    left: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .swiper {
        height: 450px;
    }

    .category-card-slide {
        height: 380px;
    }

    .featured-slide {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .featured-image {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .category-slider-container,
    .featured-products-slider {
        padding: 0 40px;
    }

    .swiper-button-next,
    .swiper-button-prev,
    .featured-nav-btn {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .featured-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .category-slider-container,
    .featured-products-slider {
        padding: 0 20px;
    }

    .category-card-slide {
        height: 350px;
    }

    .category-card-content {
        padding: 1rem;
    }

    .category-card-title {
        font-size: 1.2rem;
    }

    .category-card-description {
        font-size: 0.85rem;
    }
}
