﻿/* =====================================
   SLIDER
===================================== */

.carousel-item img {
    height: 320px;
    object-fit: cover;
    border-radius: 22px;
}

.slider-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
}

/* =====================================
   PREMIUM CARD
===================================== */

.card-custom {
    border: none;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    height: 100%;
    transition: .4s;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    position: relative;
}

    .card-custom::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 7px;
        background: linear-gradient( 90deg, #8b5cf6, #2563eb, #06b6d4, #14b8a6, #22c55e);
    }

    .card-custom:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 50px rgba(0,0,0,.16);
    }

.card-img {
    height: 240px;
    width: 100%;
    object-fit: cover;
}

/* =====================================
   CARD BODY
===================================== */

.card-body {
    background: linear-gradient( 135deg, #4338ca 0%, #2563eb 35%, #0891b2 70%, #14b8a6 100%);
    padding: 24px;
    color: white;
    position: relative;
}

    .card-body::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at top right, rgba(255,255,255,.15), transparent 40%);
        pointer-events: none;
    }

.badge-cat {
    display: inline-block;
    background: rgba(255,255,255,.20);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255,255,255,.25);
    padding: 7px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
}

.card-body h5 {
    margin-top: 15px;
    font-size: 22px;
    font-weight: 800;
    color: white;
}

.card-body p {
    color: rgba(255,255,255,.92);
    line-height: 1.7;
}

.card-body .btn-view {
    display: inline-block;
    width: auto;
    min-width: 140px;
    background: white;
    color: #2563eb !important;
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(255,255,255,.25);
}

    .card-body .btn-view:hover {
        background: #f8fafc;
    }

/* =====================================
   PREMIUM CATEGORY FILTER
===================================== */

/*.category-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    padding: 10px;
}

.cat-btn {
    border: none;
    outline: none;
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    transition: all .35s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
    overflow: hidden;
}*/

    /* Shine Effect */

    /*.cat-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient( 120deg, transparent, rgba(255,255,255,.35), transparent);
        transition: .6s;
    }

    .cat-btn:hover::before {
        left: 100%;
    }

    .cat-btn:hover {
        transform: translateY(-4px) scale(1.04);
        box-shadow: 0 15px 30px rgba(0,0,0,.25);
    }

.cat-all {
    background: linear-gradient(135deg,#475569,#1e293b);
}

.cat-product {
    background: linear-gradient(135deg,#2563eb,#06b6d4);
}

.cat-business {
    background: linear-gradient(135deg,#7c3aed,#4f46e5);
}

.cat-cloths {
    background: linear-gradient(135deg,#ec4899,#f43f5e);
}

.cat-service {
    background: linear-gradient(135deg,#f97316,#ef4444);
}

.cat-education {
    background: linear-gradient(135deg,#10b981,#14b8a6);
}

.cat-skills {
    background: linear-gradient(135deg,#22c55e,#16a34a);
}

.cat-restaurant {
    background: linear-gradient(135deg,#f59e0b,#f97316);
}

.cat-hotel {
    background: linear-gradient(135deg,#0ea5e9,#2563eb);
}

.cat-hospital {
    background: linear-gradient(135deg,#ef4444,#dc2626);
}

.cat-shop {
    background: linear-gradient(135deg,#8b5cf6,#6366f1);
}

.cat-tourist {
    background: linear-gradient(135deg,#14b8a6,#06b6d4);
}

.cat-software {
    background: linear-gradient(135deg,#111827,#2563eb);
}

.cat-other {
    background: linear-gradient(135deg,#64748b,#475569);
}*/

/* ACTIVE BUTTON */

/*.cat-btn.active {
    transform: scale(1.08);
    box-shadow: 0 0 0 4px rgba(255,255,255,.5), 0 15px 35px rgba(0,0,0,.25);
}

.cat-btn:hover {
    transform: translateY(-3px);
    background: #2563eb;
    color: white;
}

.cat-btn.active {
    background: linear-gradient( 135deg, #4f46e5, #2563eb, #06b6d4);
    color: white;
}*/
.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.cat-btn {
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
}

    .cat-btn:hover {
        background: #f3f4f6;
    }

    .cat-btn.active {
        background: #2563eb;
        color: #fff;
        border-color: #2563eb;
    }

@media(max-width:768px) {
    .cat-btn {
        font-size: 13px;
        padding: 7px 12px;
    }
}
/* =====================================
   RATINGS
===================================== */

.rating-box {
    margin-top: 12px;
}

.rating-stars {
    display: flex;
    gap: 4px;
}

.rate-star {
    font-size: 22px;
    color: #d1d5db;
    cursor: pointer;
    transition: .25s;
}

    .rate-star:hover {
        transform: scale(1.15);
    }

    .rate-star.full {
        color: #fbbf24;
    }

    .rate-star.half {
        position: relative;
        color: #d1d5db;
    }

        .rate-star.half::after {
            content: "\f005";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 0;
            width: 50%;
            overflow: hidden;
            color: #fbbf24;
        }

.rating-info {
    margin-top: 6px;
    font-weight: 600;
}

.rating-box.saved {
    animation: pop .5s ease;
}

@keyframes pop {
    0% {
        transform: scale(.9);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.rating-text {
    font-size: 13px;
    opacity: 0.85;
}

    .rating-text .avg {
        font-weight: 600;
        color: #facc15;
    }

/* =====================================
   MOBILE
===================================== */

@media(max-width:768px) {

    .carousel-item img {
        height: 190px;
    }

    .card-img {
        height: 190px;
    }

    .category-filter {
        gap: 8px;
    }

    .cat-btn {
        font-size: 12px;
        padding: 10px 14px;
    }
}

/* =====================================
   WHATSAPP BUTTON
===================================== */

.btn-wa {
    background: #25D366;
    color: white !important;
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    text-decoration: none;
    transition: .3s;
    box-shadow: 0 8px 20px rgba(37, 211, 102, .25);
}

    .btn-wa:hover {
        background: #1fb857;
        transform: translateY(-2px);
        color: white !important;
    }
