﻿
/* Reset et styles de base */

.ef-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgb(229, 231, 235);
    z-index: 50;
}

.ef-header-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.ef-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.ef-logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ef-logo {
    height: 2rem;
    width: auto;
}

.ef-brand-name {
    font-size: 1.125rem;
    font-weight: 500;
    color: #9b87f5;
}

.ef-navigation {
    display: none;
}

.ef-nav-link {
    color: rgb(75, 85, 99);
    text-decoration: none;
    transition: color 0.2s;
}

    .ef-nav-link:hover {
        color: #9b87f5;
    }

.ef-hero {
    background: linear-gradient(to right, #9b87f5, #7E69AB);
    padding: 4rem 1rem;
    margin-top: 4rem;
}

.ef-hero-content {
    max-width: 80rem;
    margin: 0 auto;
    text-align: center;
    color: white !important;
}

.ef-hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: white !important;
}

.ef-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.ef-search-container {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    max-width: 56rem;
    margin: 0 auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.ef-search-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.ef-radio-group {
    display: flex;
    gap: 1rem;
}

.ef-radio-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.ef-radio-input {
    accent-color: #9b87f5;
}

.ef-radio-text {
    margin-left: 0.5rem;
    color: rgb(55, 65, 81);
}

.ef-button {
    background-color: #9b87f5;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50rem !important;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

    .ef-button:hover {
        background-color: #7E69AB;
        transform: translateY(-1px);
    }

.ef-button-outline {
    background-color: transparent;
    color: #9b87f5;
    border: 1px solid #9b87f5;
}

    .ef-button-outline:hover {
        background-color: #9b87f5;
        color: white;
    }

.ef-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.ef-category-select {
    width: 100%;
    max-width: 200px;
    padding: 0.75rem 1rem;
    border: 1px solid rgb(209, 213, 219);
    border-radius: 7rem !important;
    outline: none;
}

    .ef-category-select:focus {
        border-color: #9b87f5;
        ring: 2px solid #9b87f5;
    }

.ef-search-input-container {
    flex: 1;
    position: relative;
}

.ef-search-input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 1px solid rgb(209, 213, 219);
    border-radius: 7rem !important;
    outline: none;
}

    .ef-search-input:focus {
        border-color: #9b87f5;
        ring: 2px solid #9b87f5;
    }

.ef-search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgb(156, 163, 175);
    pointer-events: none;
}

.ef-announcements {
    max-width: 80rem;
    margin: 4rem auto;
    padding: 0 1rem;
}

.ef-section-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: rgb(17, 24, 39);
    margin-bottom: 2rem;
}

.ef-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
}

.ef-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

    .ef-card:hover {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }

.ef-card-image {
    position: relative;
    height: 12rem;
}

    .ef-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.ef-card-content {
    padding: 1rem;
}

.ef-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    color: rgb(107, 114, 128);
}

.ef-author {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

    .ef-author i {
        color: #9b87f5;
        font-size: 0.8rem;
    }

.ef-date {
    font-size: 0.75rem;
}

.ef-card-title {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.ef-card-description {
    font-size: 0.875rem;
    color: rgb(107, 114, 128);
    margin-bottom: 1rem;
}

.ef-card-footer {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgb(229, 231, 235);
}

.ef-card-buttons {
    display: flex;
    gap: 0.5rem;
}

.ef-card-distance {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgb(107, 114, 128);
    font-size: 0.875rem;
}

    .ef-card-distance i {
        color: #9b87f5;
    }

@media (min-width: 768px) {
    .ef-navigation {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    .ef-menu-button {
        display: none;
    }

    .ef-search-header {
        flex-wrap: nowrap;
    }

    .ef-search-form {
        flex-wrap: nowrap;
    }

    .ef-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ef-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .ef-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
