/**
 * Styles pour le template minimaliste de grille des locations
 */

/* Wrapper principal */
.location-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Header */
.location-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 2px solid #f0f0f0;
}

.location-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.location-header h1 i {
    color: #007cba;
    margin-right: 10px;
}

.location-header p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

/* Grille des locations */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* Carte de location */
.location-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.location-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Image de la location */
.location-image {
    width: 100%;
    height: 180px;
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.location-image-placeholder i {
    font-size: 3rem;
    color: white;
    opacity: 0.8;
}

/* Contenu de la carte */
.location-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.location-content h3 {
    font-size: 1.3rem;
    color: #333;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.location-content p {
    margin: 8px 0;
    color: #666;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.location-content p i {
    margin-right: 8px;
    color: #007cba;
    width: 16px;
    text-align: center;
}

.location-address {
    color: #555 !important;
}

.location-capacity {
    color: #555 !important;
}

.location-price {
    font-weight: 500;
    color: #333 !important;
    margin-bottom: 20px !important;
}

.price-free {
    color: #28a745;
    font-weight: 600;
}

/* Bouton personnalisé */
.btn-tick8ing.btn-ticket {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    width: 100%;
    text-transform: capitalize;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.btn-tick8ing.btn-ticket:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Message aucune location */
.no-locations {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.no-locations i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 20px;
}

.no-locations h3 {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 10px;
}

.no-locations p {
    color: #999;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .location-header h1 {
        font-size: 2rem;
    }
    
    .location-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .location-content {
        padding: 15px;
    }
    
    .location-content h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .location-wrapper {
        padding: 15px;
    }
    
    .location-header {
        margin-bottom: 25px;
    }
    
    .location-header h1 {
        font-size: 1.7rem;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .btn-tick8ing.btn-ticket {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}