/* Reset et base */
* {
    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: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.main-nav a:hover {
    opacity: 0.8;
}

.btn-primary {
    background: #ff6b6b;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255,107,107,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,107,0.4);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Search Box */
.search-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.search-box form {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-box select {
    flex: 1;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    min-width: 150px;
}

.btn-search {
    background: #28a745;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-search:hover {
    background: #218838;
}

/* Sections */
section {
    padding: 4rem 0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #2c3e50;
}

/* Profile Cards */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.profile-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.profile-photo {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.profile-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.profile-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.btn-contact {
    background: #667eea;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-contact:hover {
    background: #5a6fd8;
}

/* Content Section */
.content-section {
    background: white;
    padding: 4rem 0;
}

.content-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

.content-text p {
    margin-bottom: 1.5rem;
}

.cta-section {
    text-align: center;
    margin-top: 3rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 15px;
    color: white;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.btn-large {
    background: white;
    color: #f5576c;
    padding: 15px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: inline-block;
    margin-top: 1rem;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Search Page */
.search-filters {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.filter-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

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

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.filter-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
}

/* Results */
.results-grid {
    display: grid;
    gap: 2rem;
}

.result-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.result-card .profile-photo {
    font-size: 3rem;
    opacity: 0.7;
    flex-shrink: 0;
}

.profile-info {
    flex: 1;
}

.profile-info h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.profile-tags {
    margin-top: 1rem;
}

.tag {
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    color: #666;
}

/* Annonces Page */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-card {
    background: white;
    padding: 2rem;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.category-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #666;
    margin-bottom: 1rem;
}

.btn-category {
    background: #17a2b8;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.annonces-list {
    display: grid;
    gap: 2rem;
}

.annonce-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    gap: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.annonce-photo {
    font-size: 3rem;
    opacity: 0.7;
    flex-shrink: 0;
}

.annonce-content {
    flex: 1;
}

.annonce-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.annonce-meta {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.publish-annonce {
    background: linear-gradient(135deg, #43cea2 0%, #185a9d 100%);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 3rem;
}

.publish-benefits ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.publish-benefits li {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 8px;
}

/* Conseils Page */
.conseil-section {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.conseil-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.conseil-content li {
    margin-bottom: 0.5rem;
}

.cta-conseils {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #2c3e50;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
}

/* Rencontres Gand Page */
.guide-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.quartiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.quartier-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.quartier-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.lieux-content,
.conseils-content,
.evenements-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.lieux-content h3,
.conseils-content h3 {
    color: #2c3e50;
    margin: 2rem 0 1rem 0;
    font-size: 1.3rem;
}

.cta-rencontres {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #2c3e50;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem 0;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav ul {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .search-box form {
        flex-direction: column;
    }

    .filter-row {
        flex-direction: column;
    }

    .result-card,
    .annonce-item {
        flex-direction: column;
        text-align: center;
    }

    .profiles-grid,
    .categories-grid,
    .quartiers-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 2rem 0;
    }

    .search-box,
    .conseil-section,
    .guide-content,
    .lieux-content,
    .conseils-content,
    .evenements-content {
        padding: 1.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero {
        padding: 2rem 0;
    }
}