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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: #faf9f7;
}

.gradient-bg {
    background: linear-gradient(135deg, #fea018 0%, #b21318 100%);
}


/* Barre d'informations */

.info-bar {
    background: linear-gradient(135deg, #fea018 0%, #b21318 100%);
    color: white;
    padding: 12px 0;
    text-align: center;
    position: relative;
}

.info-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.info-item i {
    color: white;
}

.cta-discover {
    background: white;
    color: #b21318;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.cta-discover:hover {
    transform: translateY(-2px);
}


/* Navigation */

.navbar {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 80px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.logo-section {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    height: 120px;
    display: flex;
    align-items: center;
}

.logo-section img {
    height: 120px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #fea018;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #fea018 0%, #b21318 100%);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}


/* HAMBURGER MENU */

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: #333;
    border-radius: 2px;
}


/* RESPONSIVE */

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 80px;
        right: 0;
        width: 200px;
        background-color: #fff;
        flex-direction: column;
        padding: 10px;
        gap: 10px;
        border: 1px solid #ddd;
        display: none;
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: flex;
    }
}


/* Container */

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


/* Hero Section */

.hero-section {
    background: linear-gradient(135deg, #fea018 0%, #b21318 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

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

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb span {
    color: white;
}


/* Filters and Controls */

.filters-section {
    background: white;
    padding: 30px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.filters-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.results-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.results-count {
    font-weight: 600;
    color: #333;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sort-label {
    color: #666;
    font-weight: 500;
}

.sort-select {
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.sort-select:focus {
    outline: none;
    border-color: #fea018;
}


/* Properties Grid */

.properties-section {
    padding: 0 20px 80px;
}

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

.property-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(254, 160, 24, 0.2);
}

.property-image {
    height: 280px;
    background: #ddd;
    position: relative;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #fea018 0%, #b21318 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.property-price {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 700;
}

.property-content {
    padding: 25px;
}

.property-title {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.property-location {
    color: #666;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-features {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 14px;
}

.feature i {
    color: #fea018;
}

.property-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-actions {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, #fea018 0%, #b21318 100%);
    color: white;
    flex: 1;
    justify-content: center;
}

.btn-secondary {
    background: transparent;
    color: #666;
    border: 2px solid #e9ecef;
    padding: 10px 15px;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-secondary:hover {
    border-color: #fea018;
    color: #fea018;
}


/* Pagination */

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px 0;
}

.pagination {
    display: flex;
    gap: 10px;
    align-items: center;
}

.page-link {
    padding: 12px 18px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    color: #666;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-link:hover {
    border-color: #fea018;
    color: #fea018;
    transform: translateY(-2px);
}

.page-link.active {
    background: linear-gradient(135deg, #fea018 0%, #b21318 100%);
    color: white;
    border-color: transparent;
}

.page-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-link.disabled:hover {
    transform: none;
    border-color: #e9ecef;
    color: #666;
}


/* Empty State */

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.empty-state i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.empty-state p {
    margin-bottom: 30px;
}


/* Loading State */

.loading {
    text-align: center;
    padding: 60px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #fea018;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* Footer */

footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 2rem 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #fea018;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 2;
}

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


/* Contact flottant */

.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    gap: 15px;
}

.contact-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.contact-btn:hover {
    transform: scale(1.1);
}

.phone-btn {
    background: #25d366;
}

.chat-btn {
    background: linear-gradient(135deg, #fea018 0%, #b21318 100%);
}


/* Animations */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Responsive */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .filters-container {
        flex-direction: column;
        align-items: stretch;
    }
    .results-info,
    .sort-controls {
        justify-content: center;
    }
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .property-card {
        margin: 0;
    }
    .property-features {
        flex-wrap: wrap;
        gap: 15px;
    }
    .property-actions {
        flex-direction: column;
        gap: 10px;
    }
    .floating-contact {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    .contact-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }
    .page-link {
        padding: 10px 14px;
        font-size: 14px;
    }
}
