/* Featured Categories Slider Styles */
/* Author: Think Digital Marketing */

.fcs-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* Header with title and navigation */
.fcs-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 24px;
}

.fcs-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.fcs-nav {
    display: flex;
    gap: 8px;
}

.fcs-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #333;
}

.fcs-nav-btn:hover {
    border-color: #e88202;
    background: #e88202;
    color: #fff;
    transform: scale(1.05);
}

.fcs-nav-btn:active {
    transform: scale(0.95);
}

.fcs-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.fcs-nav-btn:disabled:hover {
    border-color: #e0e0e0;
    background: #fff;
    color: #333;
}

/* Main Grid Layout */
.fcs-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    height: 420px;
}

/* Hero wrapper (left) */
.fcs-hero-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.fcs-hero-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fcs-hero-track .fcs-card-hero {
    flex: 0 0 100%;
    min-width: 0;
    height: 100%;
    border-radius: 0;
}

/* Stack (right) */
.fcs-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fcs-stack-slot {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.fcs-stack-track {
    position: relative;
    height: 100%;
}

.fcs-stack-track .fcs-card-small {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    opacity: 0;
}

/* Base Card Styles */
.fcs-card {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    
    /* Modern purple gradient based on #4b2773 */
    background: linear-gradient(
        135deg,
        #5e3a8a 0%,
        #4b2773 25%,
        #3d1f5c 50%,
        #4b2773 75%,
        #6b4d91 100%
    );
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    animation-play-state: paused;
    
    /* Subtle inner glow */
    box-shadow: 
        inset 0 0 60px rgba(107, 77, 145, 0.3),
        0 10px 40px rgba(75, 39, 115, 0.2);
    
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.fcs-card:hover {
    box-shadow: 
        inset 0 0 80px rgba(107, 77, 145, 0.4),
        0 20px 60px rgba(75, 39, 115, 0.35);
    animation-play-state: running;
}

/* Card Content */
.fcs-card-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
}

.fcs-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    max-width: 65%;
    line-height: 1.3;
}

/* Hero card has larger title */
.fcs-card-hero .fcs-card-title {
    font-size: 26px;
    max-width: 55%;
}

/* Let's Go Button */
.fcs-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #fff;
    color: #4b2773;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    
    /* Hidden by default */
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fcs-card-btn svg {
    transition: transform 0.3s ease;
}

.fcs-card:hover .fcs-card-btn {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.fcs-card:hover .fcs-card-btn:hover {
    background: #e88202;
    color: #fff;
}

.fcs-card:hover .fcs-card-btn:hover svg {
    transform: translateX(4px);
}

/* Small card button adjustments */
.fcs-card-small .fcs-card-btn {
    padding: 10px 16px;
    font-size: 12px;
}

/* Card Image - Decorative, bottom-right, bleeding off */
.fcs-card-image {
    position: absolute;
    bottom: -15%;
    right: -10%;
    width: 65%;
    height: auto;
    max-height: 120%;
    object-fit: contain;
    object-position: bottom right;
    z-index: 1;
    opacity: 0.95;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    pointer-events: none;
}

.fcs-card:hover .fcs-card-image {
    transform: scale(1.08) rotate(2deg);
    opacity: 1;
}

/* Hero image positioning */
.fcs-card-hero .fcs-card-image {
    width: 55%;
    bottom: -10%;
    right: -5%;
}

/* Small card image positioning */
.fcs-card-small .fcs-card-image {
    width: 50%;
    bottom: -20%;
    right: -8%;
}

/* Responsive */
@media (max-width: 992px) {
    .fcs-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .fcs-hero-wrapper {
        height: 280px;
    }
    
    .fcs-stack {
        flex-direction: row;
    }
    
    .fcs-stack-slot {
        height: 200px;
    }
    
    .fcs-card-hero .fcs-card-title {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .fcs-container {
        padding: 0;
    }
    
    .fcs-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .fcs-title {
        font-size: 24px;
    }
    
    .fcs-grid {
        gap: 15px;
    }
    
    .fcs-stack {
        flex-direction: column;
    }
    
    .fcs-hero-wrapper {
        height: 240px;
    }
    
    .fcs-stack-slot {
        height: 180px;
    }
    
    .fcs-card-content {
        padding: 20px;
    }
    
    .fcs-card-hero .fcs-card-title {
        font-size: 20px;
        max-width: 60%;
    }
    
    .fcs-card-title {
        font-size: 16px;
    }
    
    .fcs-card-image {
        width: 55%;
        bottom: -15%;
        right: -10%;
    }
}
