/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

a {
    text-decoration: none;
    color: #d63384;
}

ul {
    list-style: none;
}

/* En-tête */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

header h1 {
    font-size: 1.8rem;
    color: #d63384;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-weight: bold;
    color: #333;
    padding: 5px 0;
    position: relative;
}

nav ul li a:hover, nav ul li a.active {
    color: #d63384;
}

nav ul li a.active:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #d63384;
}

/* Section Héro */
.hero {
    background: linear-gradient(to right, #d63384, #0d6efd);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Boutons CTA */
.cta-button {
    display: inline-block;
    background-color: #d63384;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #c21e70;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(214, 51, 132, 0.4);
}

.cta-button.large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Features */
.features {
    padding: 60px 0;
    background-color: #fff;
}

.features .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.feature-box {
    flex-basis: calc(33.333% - 30px);
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box h3 {
    color: #d63384;
    margin-bottom: 15px;
}

/* How it works */
.how-it-works {
    padding: 60px 0;
    background-color: #f8f8f8;
    text-align: center;
}

.how-it-works h2 {
    margin-bottom: 40px;
    font-size: 2rem;
    color: #333;
}

.steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.step {
    flex-basis: calc(33.333% - 30px);
    padding: 20px;
    margin-bottom: 30px;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: #d63384;
    color: white;
    border-radius: 50%;
    margin-bottom: 15px;
    font-weight: bold;
}

.step h3 {
    margin-bottom: 10px;
    color: #333;
}

/* Testimonials */
.testimonials {
    padding: 60px 0;
    background-color: #fff;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.testimonial {
    flex-basis: calc(33.333% - 30px);
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
}

.testimonial p {
    margin-bottom: 20px;
}

.testimonial .author {
    color: #d63384;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(to right, #d63384, #0d6efd);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-section p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer a {
    color: #f8f8f8;
    text-decoration: underline;
}

/* Page Rencontres */
.search-filters {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.search-filters h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 20px;
}

.filter-group {
    flex-basis: calc(25% - 20px);
    min-width: 200px;
}

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

.filter-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d63384' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}

.search-button {
    display: inline-block;
    background-color: #d63384;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.search-button:hover {
    background-color: #c21e70;
}

/* Profiles */
.profiles {
    padding: 60px 0;
    background-color: #fff;
}

.profiles h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.profile-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.profile-card {
    flex-basis: calc(33.333% - 20px);
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background-color: #f9f9f9;
}

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

.profile-info {
    padding: 20px;
}

.profile-info h3 {
    margin-bottom: 5px;
    color: #333;
}

.profile-info .location {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.profile-info p {
    margin-bottom: 20px;
}

.profile-button {
    display: inline-block;
    background-color: #d63384;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.profile-button:hover {
    background-color: #c21e70;
}

.view-more {
    text-align: center;
    margin-top: 20px;
}

/* Events Page */
.event-hero {
    background: linear-gradient(to right, #d63384, #0d6efd);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.event-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.event-hero p {
    font-size: 1.2rem;
}

.upcoming-events {
    padding: 60px 0;
    background-color: #fff;
}

.upcoming-events h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.event-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.event-card {
    flex-basis: calc(50% - 20px);
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background-color: #f9f9f9;
}

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

.event-details {
    padding: 25px;
}

.event-details h3 {
    margin-bottom: 10px;
    color: #d63384;
}

.event-date, .event-location {
    color: #666;
    margin-bottom: 10px;
    font-weight: bold;
}

.event-price {
    margin: 15px 0;
    font-weight: bold;
}

.event-button {
    display: inline-block;
    background-color: #d63384;
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.event-button:hover {
    background-color: #c21e70;
}

.event-categories {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.event-categories h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.category-box {
    flex-basis: calc(50% - 20px);
    padding: 25px;
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.category-box h3 {
    color: #d63384;
    margin-bottom: 15px;
}

.event-testimonials {
    padding: 60px 0;
    background-color: #fff;
}

.event-testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

/* Advice Page */
.advice-hero {
    background: linear-gradient(to right, #d63384, #0d6efd);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.advice-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.advice-hero p {
    font-size: 1.2rem;
}

.advice-content {
    padding: 60px 0;
    background-color: #fff;
}

.advice-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.advice-article {
    flex-basis: calc(50% - 20px);
    margin-bottom: 40px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.advice-article h3 {
    color: #d63384;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.advice-article p, .advice-article ul {
    margin-bottom: 20px;
}

.advice-article ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.advice-article ul li:before {
    content: '•';
    color: #d63384;
    position: absolute;
    left: 0;
}

.faq {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.faq h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.faq-item {
    margin-bottom: 30px;
    padding: 25px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: #d63384;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Responsive */
@media (max-width: 992px) {
    .feature-box, .step, .testimonial {
        flex-basis: calc(50% - 20px);
    }
    
    .profile-card, .event-card, .advice-article {
        flex-basis: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    header h1 {
        margin-bottom: 15px;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .feature-box, .step, .testimonial, .profile-card, .event-card, .advice-article, .category-box {
        flex-basis: 100%;
    }
    
    .filter-group {
        flex-basis: 100%;
    }
}

@media (max-width: 576px) {
    .hero-content h2, .event-hero h2, .advice-hero h2 {
        font-size: 2rem;
    }
    
    .cta-button.large {
        padding: 12px 30px;
    }
}