:root {
    --bleu-primary: #1E3A8A;
    --bleu-light: #3B82F6;
    --jaune-primary: #FBBF24;
    --jaune-bright: #F59E0B;
    --gris-clair: #F3F4F6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--gris-clair);
    padding-bottom: 70px;
}

/* Header */
.app-header {
    background: var(--bleu-primary);
    color: white;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--jaune-primary);
}

/* Hero search */
.hero-search {
    padding: 30px 16px;
    margin-bottom: 20px;
}

.search-card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.btn-recherche {
    background: var(--jaune-primary);
    color: var(--bleu-primary);
    border: none;
    padding: 14px;
    width: 100%;
    border-radius: 40px;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-recherche:active {
    transform: scale(0.98);
    background: var(--jaune-bright);
}

/* Destinations scroll */
.destinations-scroll {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 8px 0;
    scrollbar-width: thin;
}

.destination-item {
    flex: 0 0 auto;
    text-align: center;
}

.destination-item img {
    width: 80px;
    height: 80px;
    border-radius: 40px;
    object-fit: cover;
    border: 3px solid var(--jaune-primary);
}

.destination-item span {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Cartes hébergement */
.card-hotel {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s;
    margin-bottom: 16px;
}

.card-hotel:active {
    transform: scale(0.98);
}

.card-hotel img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-hotel .content {
    padding: 12px;
}

.card-hotel .prix {
    color: var(--bleu-primary);
    font-size: 1.4rem;
    font-weight: bold;
}

/* Bottom navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 8px 20px;
    border-top: 1px solid #E5E7EB;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 999;
}

.nav-item {
    text-align: center;
    color: #6B7280;
    text-decoration: none;
    font-size: 0.7rem;
    transition: color 0.2s;
}

.nav-item i {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 4px;
}

.nav-item.active {
    color: var(--bleu-primary);
    font-weight: bold;
}

.nav-item span {
    font-size: 0.7rem;
}

/* Stat cards */
.stat-card {
    transition: transform 0.2s;
}

.stat-card:active {
    transform: scale(0.96);
}

/* Form styles */
.form-control, .form-select {
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    padding: 12px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--jaune-primary);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

/* Alertes */
.alert {
    border-radius: 16px;
    border: none;
}

/* Bouton retour */
.btn-back {
    background: rgba(255,255,255,0.2);
    border-radius: 30px;
    padding: 8px 16px;
    color: white;
    text-decoration: none;
}

/* Section title */
.section-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 16px;
    padding-left: 8px;
    border-left: 4px solid var(--jaune-primary);
}

/* Animation loading */
@keyframes pulse {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.loading {
    animation: pulse 1s infinite;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .container {
        max-width: 500px;
        margin: 0 auto;
    }
    
    body {
        background: #E5E7EB;
    }
    
    .app-header, .bottom-nav {
        max-width: 500px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .app-header {
        width: 100%;
    }
    
    .bottom-nav {
        width: 100%;
    }
}