/* ========================================
   ESCORT CARDS - COMPONENT CSS
   ========================================
   
   Ce fichier contient tous les styles pour les cartes d'escort
   Utilisable sur toutes les pages du projet
   
   Usage: {% load static %} + <link rel="stylesheet" href="{% static 'css/escort-cards.css' %}">
*/

/* ========================================
   GRID LAYOUT
   ======================================== */
.escort-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem !important;
    padding: 2rem !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

/* Mobile responsive - 2 profils côte à côte */
@media (max-width: 768px) {
    .escort-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
        padding: 0.8rem !important;
    }
    
    .escort-card {
        height: 280px !important;
        width: 100% !important;
    }
    
    .escort-badge {
        width: 40px !important;
        height: 40px !important;
        font-size: 0.6rem !important;
    }
    
    .escort-name {
        font-size: 1rem !important;
    }
    
    .escort-location {
        font-size: 0.8rem !important;
    }
}

/* Très petit écran - 1 profil par ligne */
@media (max-width: 480px) {
    .escort-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 0.8rem !important;
        padding: 0.5rem !important;
    }
    
    .escort-card {
        height: 250px !important;
        width: 100% !important;
    }
    
    .escort-badge {
        width: 35px !important;
        height: 35px !important;
        font-size: 0.5rem !important;
    }
    
    .escort-name {
        font-size: 0.9rem !important;
    }
    
    .escort-location {
        font-size: 0.7rem !important;
    }
}

/* ========================================
   ESCORT CARD CONTAINER
   ======================================== */
.escort-card {
    width: 100% !important;
    height: 440px !important;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d) !important;
    border-radius: 20px !important;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    transform-style: preserve-3d !important;
}

.escort-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.escort-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 2;
}

.escort-card:hover::before {
    left: 100%;
}

/* ========================================
   PHOTO SECTION
   ======================================== */
.escort-photo-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.escort-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.escort-card:hover .escort-photo {
    transform: scale(1.05);
}

/* ========================================
   BADGES SECTION
   ======================================== */
.escort-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.escort-badge {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    padding: 4px;
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.8px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 
        0 0 15px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.escort-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.escort-badge:hover::before {
    opacity: 1;
}

.escort-badge:hover {
    transform: scale(1.05);
}

/* ========================================
   BADGE TYPES - LEFT SIDE
   ======================================== */
.escort-badge.verified {
    background: linear-gradient(135deg, #4eaaff, #0066cc);
    color: white;
}

.escort-badge.pornstar {
    background: linear-gradient(135deg, #FF1493, #DC143C);
    color: white;
}

/* ========================================
   BADGE TYPES - RIGHT SIDE (PLAN TYPES)
   ======================================== */
.escort-badge.basic {
    background: linear-gradient(135deg, #2E8B57, #228B22);
    color: white;
    position: absolute;
    top: 15px;
    right: 15px;
    left: auto;
    border: 2px solid #90EE90;
    box-shadow: 
        0 0 15px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 10px rgba(46, 139, 87, 0.3);
}

.escort-badge.premium {
    background: linear-gradient(135deg, #FF8C00, #FF4500);
    color: white;
    position: absolute;
    top: 15px;
    right: 15px;
    left: auto;
    border: 2px solid #FFD700;
    box-shadow: 
        0 0 15px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 10px rgba(255, 140, 0, 0.3);
    font-weight: 900;
}

.escort-badge.vip {
    background: linear-gradient(135deg, #9370DB, #8A2BE2);
    color: white;
    position: absolute;
    top: 15px;
    right: 15px;
    left: auto;
    border: 2px solid #E6E6FA;
    box-shadow: 
        0 0 15px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 10px rgba(147, 112, 219, 0.3);
    font-weight: 900;
}

/* ========================================
   BADGE HOVER EFFECTS
   ======================================== */
.escort-badge.premium:hover {
    box-shadow: 
        0 0 20px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(255, 255, 255, 0.5),
        0 0 15px rgba(255, 140, 0, 0.5);
}

.escort-badge.basic:hover {
    box-shadow: 
        0 0 20px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(255, 255, 255, 0.5),
        0 0 15px rgba(46, 139, 87, 0.5);
}

.escort-badge.vip:hover {
    box-shadow: 
        0 0 20px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(255, 255, 255, 0.5),
        0 0 15px rgba(147, 112, 219, 0.5);
}

.escort-badge.pornstar:hover {
    box-shadow: 
        0 0 20px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(255, 255, 255, 0.5),
        0 0 15px rgba(255, 20, 147, 0.5);
}

.escort-badge.verified:hover {
    box-shadow: 
        0 0 20px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(255, 255, 255, 0.5),
        0 0 15px rgba(78, 170, 255, 0.5);
}

/* ========================================
   CONTENT SECTION (TEXT OVERLAY)
   ======================================== */
.escort-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.1) 40%,
        rgba(0, 0, 0, 0.4) 70%,
        rgba(0, 0, 0, 0.8) 90%,
        rgba(0, 0, 0, 0.95) 100%
    );
    padding: 1.5rem 2rem 1.5rem 2rem;
    color: white;
    z-index: 3;
    backdrop-filter: blur(5px);
}

.escort-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 0.4rem 0;
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.8px;
    position: relative;
}

.escort-name::after {
    display: none;
}

.escort-location {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-family: 'Orbitron', sans-serif;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.escort-card {
    animation: cardEntrance 0.6s ease-out;
}

.escort-badge {
    animation: badgeFloat 3s ease-in-out infinite;
}

.escort-badge:nth-child(2) {
    animation-delay: 0.5s;
}

.escort-badge:nth-child(3) {
    animation-delay: 1s;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    .escort-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .escort-card {
        width: 280px;
        height: 380px;
    }
    
    .escort-photo-wrapper {
        width: 100%;
        height: 100%;
    }
    
    .escort-photo {
        width: 100%;
        height: 100%;
    }
    
    .escort-badge {
        width: 45px;
        height: 45px;
        font-size: 9px;
    }
    
    .escort-name {
        font-size: 1.3rem;
    }
    
    .escort-location {
        font-size: 1rem;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.escort-card-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.escort-cards-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    color: #ffffff;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
} 