/**
 * Featured Services Carousel - Premium Styles
 * DAINIK PROYOJON - Service Marketplace
 * ============================================ */

/* ============================================
   BASE SECTION
   ============================================ */
.featured-carousel-section {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    position: relative;
    overflow: hidden;
}

.featured-carousel-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(11, 78, 162, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.featured-carousel-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(98, 187, 46, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.fc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.fc-header {
    text-align: center;
    margin-bottom: 40px;
}

.fc-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(11, 78, 162, 0.08);
    color: #0B4EA2;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid rgba(11, 78, 162, 0.1);
}

.fc-badge svg {
    width: 16px;
    height: 16px;
}

.fc-title {
    font-size: 38px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.fc-title span {
    background: linear-gradient(135deg, #0B4EA2, #1D73D6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fc-subtitle {
    font-size: 17px;
    color: #6c757d;
    max-width: 550px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.fc-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.fc-divider .divider-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0B4EA2, transparent);
    border-radius: 2px;
}

.fc-divider .divider-diamond {
    width: 8px;
    height: 8px;
    background: #0B4EA2;
    transform: rotate(45deg);
    animation: pulseDiamond 2s ease-in-out infinite;
}

@keyframes pulseDiamond {
    0%, 100% { transform: rotate(45deg) scale(1); opacity: 1; }
    50% { transform: rotate(45deg) scale(1.5); opacity: 0.5; }
}

/* ============================================
   CAROUSEL WRAPPER
   ============================================ */
.fc-carousel-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 -10px;
    padding: 10px 0 20px;
}

.fc-track {
    display: flex;
    gap: 20px;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.fc-slide {
    flex: 0 0 calc(25% - 15px);
    min-width: 0;
    transition: all 0.3s ease;
}

/* ============================================
   SERVICE CARD
   ============================================ */
.fc-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fc-card:hover {
    transform: translateY(-8px);
    border-color: rgba(11, 78, 162, 0.15);
    box-shadow: 0 15px 50px rgba(11, 78, 162, 0.1);
}

/* ============================================
   CARD IMAGE
   ============================================ */
.fc-image-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 65%;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.fc-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fc-card:hover .fc-image {
    transform: scale(1.08);
}

/* ============================================
   BADGES
   ============================================ */
.fc-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    z-index: 2;
}

.fc-badge {
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.fc-badge.category-badge {
    background: rgba(11, 78, 162, 0.9);
    color: #ffffff;
}

.fc-badge.emergency-badge {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: #ffffff;
}

.fc-badge.discount-badge {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    color: #ffffff;
}

/* ============================================
   QUICK ACTIONS
   ============================================ */
.fc-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    transform: translateX(15px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 3;
}

.fc-card:hover .fc-actions {
    opacity: 1;
    transform: translateX(0);
}

.fc-action-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: #1a1a2e;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.fc-action-btn:hover {
    background: #0B4EA2;
    color: #ffffff;
    transform: scale(1.1);
}

.fc-action-btn svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   CARD CONTENT
   ============================================ */
.fc-content {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Provider */
.fc-provider {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fc-provider-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e9ecef;
    flex-shrink: 0;
}

.fc-provider-placeholder {
    background: linear-gradient(135deg, #0B4EA2, #1D73D6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.fc-provider-info {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.fc-provider-name {
    font-size: 12px;
    font-weight: 500;
    color: #1a1a2e;
}

.fc-verified {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 10px;
    color: #62BB2E;
    font-weight: 500;
}

.fc-verified svg {
    width: 12px;
    height: 12px;
}

/* Title */
.fc-service-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.3;
}

.fc-service-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fc-service-title a:hover {
    color: #0B4EA2;
}

/* Description */
.fc-service-desc {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Rating */
.fc-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.fc-stars {
    display: flex;
    gap: 1px;
}

.fc-stars svg {
    width: 14px;
    height: 14px;
}

.fc-rating-value {
    font-weight: 600;
    color: #1a1a2e;
    font-size: 13px;
}

.fc-rating-count {
    font-size: 12px;
    color: #6c757d;
}

/* Pricing */
.fc-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

.fc-price {
    font-size: 17px;
    font-weight: 700;
    color: #0B4EA2;
}

.fc-old-price {
    font-size: 13px;
    color: #9aa0a6;
    text-decoration: line-through;
}

.fc-discount {
    font-size: 11px;
    font-weight: 600;
    color: #FF6B6B;
}

/* Book Button */
.fc-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #0B4EA2, #1D73D6);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 100%;
    justify-content: center;
    cursor: pointer;
}

.fc-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 78, 162, 0.3);
    color: #ffffff;
    text-decoration: none;
}

.fc-book-btn svg {
    transition: transform 0.3s ease;
}

.fc-book-btn:hover svg {
    transform: translateX(3px);
}

/* ============================================
   NAVIGATION BUTTONS
   ============================================ */
.fc-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: #0B4EA2;
}

.fc-nav-btn:hover {
    background: #0B4EA2;
    color: #ffffff;
    box-shadow: 0 8px 30px rgba(11, 78, 162, 0.2);
    transform: translateY(-50%) scale(1.05);
}

.fc-prev {
    left: 5px;
}

.fc-next {
    right: 5px;
}

.fc-nav-btn svg {
    width: 22px;
    height: 22px;
}

/* ============================================
   DOTS
   ============================================ */
.fc-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.fc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d4d4d4;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 0;
}

.fc-dot.active {
    background: #0B4EA2;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(11, 78, 162, 0.2);
}

.fc-dot:hover {
    transform: scale(1.2);
}

/* ============================================
   FOOTER / VIEW ALL
   ============================================ */
.fc-footer {
    text-align: center;
    margin-top: 30px;
}

.fc-explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: #ffffff;
    border: 2px solid #0B4EA2;
    border-radius: 50px;
    color: #0B4EA2;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
}

.fc-explore-btn:hover {
    background: #0B4EA2;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(11, 78, 162, 0.15);
    text-decoration: none;
}

.fc-explore-btn svg {
    transition: transform 0.3s ease;
}

.fc-explore-btn:hover svg {
    transform: translateX(4px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .fc-slide {
        flex: 0 0 calc(33.33% - 14px);
    }
}

@media (max-width: 992px) {
    .fc-slide {
        flex: 0 0 calc(50% - 10px);
    }
    .fc-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .featured-carousel-section {
        padding: 60px 0 80px;
    }
    .fc-nav-btn {
        width: 36px;
        height: 36px;
    }
    .fc-nav-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 576px) {
    .fc-slide {
        flex: 0 0 100%;
    }
    .fc-title {
        font-size: 24px;
    }
    .fc-subtitle {
        font-size: 15px;
        padding: 0 10px;
    }
    .fc-badge {
        font-size: 11px;
        padding: 4px 14px;
    }
    .fc-divider .divider-line {
        width: 30px;
    }
    .fc-content {
        padding: 14px 16px 16px;
    }
    .fc-service-title {
        font-size: 14px;
    }
    .fc-price {
        font-size: 16px;
    }
    .fc-book-btn {
        font-size: 12px;
        padding: 6px 14px;
    }
    .fc-explore-btn {
        padding: 12px 28px;
        font-size: 14px;
    }
    .fc-nav-btn {
        display: none !important;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fc-slide {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.fc-slide:nth-child(1) { animation-delay: 0.05s; }
.fc-slide:nth-child(2) { animation-delay: 0.10s; }
.fc-slide:nth-child(3) { animation-delay: 0.15s; }
.fc-slide:nth-child(4) { animation-delay: 0.20s; }