/* Base Styles */
:root {
    --coral-500: #43b8f3;
    --coral-600: #97deff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: #f4fcff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-coral {
    color: var(--coral-500);
}

.btn-primary {
    background-color: var(--coral-500);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--coral-600);
    transform: translateY(-2px);
}

/* Header Styles */
.header {
    padding: 20px 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link.active {
    color: var(--coral-500);
    font-weight: 600;
}

.nav-link:hover {
    color: var(--coral-500);
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--coral-500);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background-color: var(--coral-600);
    transform: scale(1.1);
}

/* Property Hero */
.property-hero {
    background-color: var(--gray-100);
    padding: 80px 0;
    text-align: center;
}

.property-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.property-hero p {
    font-size: 20px;
    color: var(--gray-600);
}

/* Property Filters */
.property-filters {
    padding: 40px 0;
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.filter-select {
    padding: 12px 20px;
    border-radius: 30px;
    border: 1px solid var(--gray-200);
    background-color: var(--white);
    min-width: 200px;
}

/* Property Listings */
.property-listings {
    padding: 60px 0;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.property-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: translateY(-10px);
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--coral-500);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 1;
}

.property-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-content {
    padding: 20px;
}

.property-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.property-address {
    color: var(--gray-600);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-details {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--gray-600);
}

.property-details i {
    color: var(--coral-500);
    margin-right: 5px;
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--coral-500);
}

/* Call to Action */
.cta {
    background-color: var(--coral-500);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: var(--gray-900);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: var(--gray-200);
    margin-top: 15px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray-200);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--coral-500);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--gray-200);
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-700);
    color: var(--gray-200);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav {
        gap: 15px;
    }

    .property-hero h1 {
        font-size: 36px;
    }

    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }

    .listing-grid {
        grid-template-columns: 1fr;
    }
}