/* imokaya/style.css */
:root {
    --primary-color: #11683D;   /* Vert Imokaya */
    --secondary-color: #0D2D62; /* Bleu Nuit Imokaya */
    --accent-color: #4A90C2;    /* Bleu Confort */
    --text-dark: #2F2F2F;
    --bg-light: #F2F2F2;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* Header & Navigation */
header {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img { height: 50px; }

nav a, .lang-switcher {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(13, 45, 98, 0.8), rgba(13, 45, 98, 0.8)), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 5%;
    text-align: center;
}

.hero h1 { font-size: 2.5rem; margin-bottom: 20px; }
.pointing-hand { font-size: 3rem; display: block; margin-top: 20px; }

/* Formulaire de Recherche (Booking Style) */
.search-container {
    background: #febb02; /* Jaune rappel Booking pour le contraste ou Vert Imokaya */
    background-color: var(--primary-color);
    padding: 4px;
    border-radius: 8px;
    display: flex;
    max-width: 900px;
    margin: -40px auto 40px;
    box-shadow: var(--shadow);
    flex-wrap: wrap;
}

.search-group {
    flex: 1;
    background: white;
    margin: 4px;
    padding: 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.search-group select, .search-group input {
    border: none;
    width: 100%;
    outline: none;
    font-size: 1rem;
}

.btn-search {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 15px 40px;
    margin: 4px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Grille de Logements */
.section-title { padding: 0 5%; margin-top: 50px; }
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 5%;
}

.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.card:hover { transform: translateY(-5px); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-content { padding: 15px; }
.card-price { color: var(--primary-color); font-weight: bold; font-size: 1.2rem; }

/* Responsive Hamburger */
.menu-toggle { display: none; font-size: 24px; cursor: pointer; }

@media (max-width: 768px) {
    .search-container { flex-direction: column; margin-top: 20px; }
    nav { display: none; } /* À remplacer par menu hamburger JS */
    .menu-toggle { display: block; }
}

/* imokaya/style.css - Ajouts Modernes */

/* Animation de flottement pour l'emoji main */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(15px); }
    100% { transform: translateY(0px); }
}
.pointing-hand { 
    display: inline-block; 
    animation: floating 2s ease-in-out infinite; 
    font-size: 3.5rem;
}

/* Header Translucide au Scroll */
header {
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    background-color: rgba(13, 45, 98, 0.95);
}

/* Nouveau design des boutons avec effet de brillance */
.btn-search, .btn-pro {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-search:hover {
    transform: scale(1.05);
    background-color: var(--primary-color);
}

/* Style des Cards Swiper */
.swiper-slide {
    padding: 10px;
}

.card {
    border: none;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card img {
    border-radius: 15px 15px 0 0;
    transition: transform 0.5s ease;
}

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

/* Overlay sur l'image pour le statut "Vérifié" */
.verified-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 2;
}

/* Formulaire de recherche flottant et stylé */
.search-container {
    border-radius: 50px; /* Plus arrondi et moderne */
    padding: 10px 20px;
    background-color: var(--white);
    border: 4px solid var(--primary-color);
}

.search-group { border-right: 1px solid #eee; }
.search-group:last-child { border: none; }

/* --- NOUVEAU STYLE DES FORMULAIRES "SOFT & MODERN" --- */

/* Conteneur de groupe d'input */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

/* Labels stylisés */
label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
    margin-left: 5px;
    transition: all 0.3s ease;
}

/* Inputs, Selects et Textareas */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    border: 1.5px solid #e1e8ed; /* Bordure très douce */
    border-radius: 12px; /* Coins arrondis soft */
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02); /* Ombre quasi invisible */
}

/* Effet au survol (Hover) */
input:hover, select:hover, textarea:hover {
    border-color: #cbd5e0;
}

/* Effet au clic/focus (Le "Soft Glow") */
input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(17, 104, 61, 0.1); /* Halo vert transparent */
    transform: translateY(-1px); /* Léger soulèvement */
}

/* Style spécifique pour les Textareas */
textarea {
    resize: none;
    line-height: 1.6;
}

/* Style des Selects (pour enlever l'aspect vieux Windows) */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230D2D62' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 45px;
}

/* Boutons de formulaires */
.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), #0e5632);
    color: white;
    padding: 16px 30px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(17, 104, 61, 0.2);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(17, 104, 61, 0.3);
    filter: brightness(1.1);
}

/* File Upload stylisé */
input[type="file"] {
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    padding: 20px;
    cursor: pointer;
}