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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #d63384;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s;
}

nav a:hover,
nav a.active {
    background-color: #d63384;
    color: white;
}

/* Buttons */
.btn-primary {
    background-color: #d63384;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #b02a5b;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    display: inline-block;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: #545b62;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #d63384 0%, #b02a5b 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero h2 {
    font-size: 1.3em;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero p {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Box */
.search-box {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
}

.search-box h3 {
    margin-bottom: 20px;
    font-size: 1.3em;
}

.search-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.search-form select {
    padding: 12px;
    border: none;
    border-radius: 5px;
    background: white;
    min-width: 150px;
}

/* Categories */
.categories {
    padding: 60px 0;
    background: white;
}

.categories h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    color: #333;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.category-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card h3 {
    color: #d63384;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.category-card p {
    margin-bottom: 20px;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

.content-section h3 {
    font-size: 1.4em;
    margin: 30px 0 15px 0;
    color: #d63384;
}

.content-section ul {
    margin: 20px 0;
    padding-left: 20px;
}

.content-section li {
    margin-bottom: 10px;
}

.cta-section {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
}

.cta-section h3 {
    margin-bottom: 15px;
    color: #333;
}

/* Search Page */
.search-page {
    padding: 40px 0;
}

.search-filters {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.search-filters h2 {
    margin-bottom: 20px;
}

.advanced-search {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.filter-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Results */
.results-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
}

.sort-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.view-toggle button {
    padding: 8px 15px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
}

.view-toggle button.active {
    background: #d63384;
    color: white;
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.annonce-card {
    display: flex;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.annonce-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.annonce-photo {
    width: 150px;
    height: 120px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.photo-placeholder {
    text-align: center;
    font-size: 14px;
}

.annonce-content {
    padding: 20px;
    flex: 1;
}

.annonce-content h3 {
    margin-bottom: 10px;
    color: #d63384;
}

.annonce-meta {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    font-size: 0.9em;
    color: #666;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a {
    padding: 8px 12px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
}

.pagination a:hover {
    background: #d63384;
    color: white;
}

/* Form Styles */
.deposit-page,
.conseils-page,
.ville-page {
    padding: 40px 0;
}

.form-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.form-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #999;
}

.step.active {
    color: #d63384;
}

.step span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.step.active span {
    background: #d63384;
    color: white;
}

.deposit-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: normal;
}

.checkbox-item input {
    width: auto;
}

.help-text {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.terms-section {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

/* Info Section */
.info-section {
    margin-bottom: 30px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.info-card h3 {
    color: #d63384;
    margin-bottom: 10px;
}

/* Tips Section */
.tips-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
}

.tips-section h2 {
    margin-bottom: 20px;
}

.tips-section ul {
    list-style-position: inside;
}

.tips-section li {
    margin-bottom: 10px;
}

/* Conseils Page */
.conseils-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.conseil-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #d63384;
}

.conseil-card h2 {
    color: #d63384;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.conseil-card ul {
    margin: 15px 0;
    padding-left: 20px;
}

.faq-section {
    margin-top: 50px;
    background: white;
    padding: 40px;
    border-radius: 10px;
}

.faq-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    color: #d63384;
    margin-bottom: 10px;
}

/* Ville Page */
.ville-intro {
    background: white;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.ville-intro h2 {
    color: #d63384;
    margin-bottom: 20px;
}

.quartiers-section {
    margin-bottom: 40px;
}

.quartier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.quartier-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    border-top: 4px solid #d63384;
}

.quartier-card h3 {
    color: #d63384;
    margin-bottom: 15px;
}

.quartier-card ul {
    margin: 15px 0;
    padding-left: 20px;
}

.communes-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.communes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.commune-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.commune-item h3 {
    color: #d63384;
    margin-bottom: 10px;
}

.commune-item a {
    color: #d63384;
    text-decoration: none;
    font-weight: 500;
}

.culture-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.culture-section h3 {
    color: #d63384;
    margin: 25px 0 15px 0;
}

.stats-section {
    background: #d63384;
    color: white;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1em;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 40px 0 20px 0;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: #d63384;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 1.8em;
    }
    
    .search-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-row {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .annonce-card {
        flex-direction: column;
    }
    
    .annonce-photo {
        width: 100%;
        height: 150px;
    }
    
    .sort-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 30px 0;
    }
    
    .search-box {
        padding: 20px;
    }
    
    .category-grid,
    .quartier-grid,
    .conseils-grid {
        grid-template-columns: 1fr;
    }
}