/* ===========================
   ANIMAUX PERDUS - STYLE CSS
   =========================== */

/* Polices générales */
body {
    font-family: 'Nunito', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 50%, #FEC163 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '🐾';
    position: absolute;
    font-size: 200px;
    opacity: 0.1;
    top: -50px;
    right: -50px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(10deg); 
    }
}

/* Sélecteur de langue */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: white;
    border-radius: 25px;
    padding: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    color: #555;
}

.lang-btn:hover {
    color: #FF6B6B;
}

.lang-btn.active {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Cartes d'action */
.action-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.4s;
    height: 100%;
}

.action-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.2);
}

.action-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 25px;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

/* Boutons */
.btn-primary {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    border: none;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

.btn-outline-primary {
    border: 2px solid #FF6B6B;
    color: #FF6B6B;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
}

/* Cartes d'animaux */
.pet-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    height: 100%;
}

.pet-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.pet-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.pet-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FF6B6B;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.4);
}

.pet-status.found {
    background: #51CF66;
}

/* Modales */
.modal-content {
    border-radius: 20px;
    border: none;
}

/* Formulaires */
.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px;
    transition: all 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: #FF6B6B;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.15);
}

/* Statistiques */
.stats {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    margin: 80px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    display: block;
}

/* Footer */
footer {
    background: #2d3748;
    color: white;
    padding: 40px 0 20px;
}

/* Prévisualisation d'images */
.image-preview {
    width: 100%;
    height: 200px;
    border: 2px dashed #ddd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    background: #f8f9fa;
    overflow: hidden;
}

.image-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.upload-icon {
    font-size: 48px;
    color: #ccc;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .action-card {
        padding: 30px;
        margin-bottom: 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .lang-switcher {
        top: 10px;
        right: 10px;
    }
}