/* category.css - External CSS for enhanced UI */

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #090909;
    line-height: 1.6;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: #f7941d;
    bottom: -10px;
    left: 25%;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.section-gap {
    padding: 80px 0;
}

/* Category Hero Section */
.category-hero {
    background: url('img/banner/common-banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #4b4949;
    position: relative;
}

.category-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.category-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.category-hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(52, 51, 51, 0.721);
}

/* Category Cards */
.category-collections {
    margin-top: 50px;
}

.category-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    padding-bottom: 20px;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.category-img-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.category-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-img-container img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-btn {
    color: #fff;
    background: #f7941d;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid #f7941d;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: transparent;
    color: #f7941d;
}

.category-card h3 {
    font-size: 1.5rem;
    margin: 20px 0 10px;
    color: #222;
}

.category-card p {
    color: #666;
    padding: 0 20px;
    margin-bottom: 20px;
}


/* Buttons */
.primary-btn {
    display: inline-block;
    background: #f7941d;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid #f7941d;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    background: transparent;
    color: #f7941d;
    transform: translateY(-3px);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(247, 148, 29, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(247, 148, 29, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(247, 148, 29, 0);
    }
}

/* Featured Products */
.featured-products {
    margin-top: 50px;
}

.single-product {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.single-product:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.single-product img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.position-relative {
    position: relative;
}

.price-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f7941d;
    color: #fff;
    padding: 5px 15px;
    border-radius: 30px;
    font-weight: 600;
}

.type-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #222;
    color: #fff;
    padding: 5px 15px;
    border-radius: 30px;
    font-weight: 600;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.single-product:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn {
    color: #fff;
    background: #f7941d;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid #f7941d;
    transition: all 0.3s ease;
}

.quick-view-btn:hover {
    background: transparent;
    color: #f7941d;
}

.product-details {
    padding: 20px;
}

.product-details h6 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #222;
}

.price {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.price h6 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f7941d;
    margin-right: 15px;
}

.price .l-through {
    text-decoration: line-through;
    color: #999;
    font-weight: 500;
}

.prd-bottom {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.social-info {
    color: #666;
    font-size: 0.9rem;
}

.social-info:hover {
    color: #f7941d;
}

.social-info .hover-text {
    display: none;
}

.social-info:hover .hover-text {
    display: inline;
}

.social-info:hover .ti-bag,
.social-info:hover .lnr {
    display: none;
}

/* ===== Base Styles ===== */
:root {
    --primary: #4361ee;
    --secondary: #3f37c9;
    --accent: #4cc9f0;
    --dark: #2b2d42;
    --light: #f8f9fa;
    --gradient: linear-gradient(135deg, #4361ee 0%, #3f37c9 100%);
}

/* ===== Section Styles ===== */
.why-choose-section {
    padding: 6rem 0;
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    position: relative;
}

.section-badge {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.text-highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.divider-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.divider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(67, 97, 238, 0.5);
}

/* ===== Feature Cards ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(67, 97, 238, 0.15);
    color: white;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover h3,
.feature-card:hover p {
    color: white;
}

.feature-card:hover .learn-more-link {
    color: white;
}

.feature-card:hover .learn-more-link i {
    transform: translateX(5px);
}

.card-illustration {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.icon-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.15);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.feature-card:hover .icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.shape-overlay {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--gradient);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.feature-card:hover .shape-overlay {
    opacity: 0.2;
}

.pulse-animation {
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
    transition: color 0.3s ease;
}

.card-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.learn-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.learn-more-link i {
    transition: transform 0.3s ease;
}

.card-highlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent);
    transition: height 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.feature-card:hover .card-highlight {
    height: 100%;
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .why-choose-section {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .feature-card {
        padding: 1.5rem;
    }
    
    .card-illustration {
        width: 60px;
        height: 60px;
    }
    
    .icon-wrapper {
        font-size: 1.5rem;
    }
}
/* Responsive Styles */
@media (max-width: 991px) {
    .category-hero h1 {
        font-size: 2.8rem;
    }
    
    .category-hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .category-hero {
        height: 60vh;
    }
    
    .category-hero h1 {
        font-size: 2.2rem;
    }
    
    .section-gap {
        padding: 60px 0;
    }
    
    .category-card, .single-product, .feature-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 575px) {
    .category-hero {
        height: 50vh;
    }
    
    .category-hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .primary-btn {
        padding: 10px 20px;
    }
}