/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .map-container {
        height: 450px;
    }
}

@media (max-width: 992px) {
    .map-search-container {
        flex-direction: column;
    }

    .map-container {
        order: 1;
    }

    .search-filters {
        order: 2;
        position: static;
        max-height: none;
    }

    .properties-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .top-bar-container {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }

    .contact-info {
        justify-content: center;
    }

    .mobile-menu-button {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background-color: var(--light);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .map-container {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 350px;
    }
}