/* ===== Fan Carousel Component Styles ===== */
.fan-carousel-section {
    padding: 6rem 0;
    background: var(--bg-white);
    overflow: hidden;
}

.fan-carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.fan-card {
    position: absolute;
    width: 350px;
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    z-index: 1;
}

.fan-card:hover {
    z-index: 10;
    transform: translateY(-20px) scale(1.05) !important;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
}

.fan-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.fan-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.fan-card:hover .fan-card-img {
    transform: scale(1.1);
}

.fan-card-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.fan-card-content {
    padding: 1.5rem;
    position: relative;
}

.fan-card-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.fan-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0.5rem 0;
}

.fan-card-address {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.fan-card-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.fan-card-details span {
    font-size: 0.85rem;
    color: var(--text-dark);
    background: var(--bg-light);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
}

.fan-card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.fan-card-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.fan-card-favorite {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fan-card-favorite:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Posicionamiento de las cards en abanico */
.fan-card.card-1 {
    left: 10%;
    transform: rotate(-15deg) translateY(0);
    z-index: 3;
}

.fan-card.card-2 {
    left: 50%;
    transform: translateX(-50%) rotate(0deg) translateY(0);
    z-index: 5;
}

.fan-card.card-3 {
    right: 10%;
    transform: rotate(15deg) translateY(0);
    z-index: 3;
}

/* Efecto de profundidad */
.fan-card.card-1,
.fan-card.card-3 {
    opacity: 0.85;
    filter: brightness(0.95);
}

.fan-card.card-1:hover,
.fan-card.card-3:hover {
    opacity: 1;
    filter: brightness(1);
}

/* Responsive */
@media (max-width: 768px) {
    .fan-carousel {
        height: auto;
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 0;
    }

    .fan-card {
        position: relative;
        width: 90%;
        max-width: 350px;
        transform: none !important;
        margin: 0 auto;
        opacity: 1 !important;
        filter: none !important;
    }

    .fan-card.card-1,
    .fan-card.card-2,
    .fan-card.card-3 {
        left: auto;
        right: auto;
        transform: none !important;
    }

    .fan-card:hover {
        transform: translateY(-10px) scale(1.02) !important;
    }
}

