/* Property Listing Page Styles */
.property-filters {
    background-color: #F9F6F1;
    padding: 30px 0;
    margin-top: 60px;
}

.filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.filter-group {
    position: relative;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    color: #2E2E2E;
    font-weight: 500;
    font-size: 1.2em;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    font-family: 'Lato', sans-serif;
    font-size: 1em;
    appearance: none;
    cursor: pointer;
    padding-right: 40px;
}

.select-wrapper i.fas {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #D4AF37;
    pointer-events: none;
    font-size: 0.9em;
}

.filter-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    font-family: 'Lato', sans-serif;
    font-size: 1em;
}

.price-range {
    display: flex;
    gap: 10px;
}

.price-range input {
    width: calc(50% - 5px);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.property-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-price {
    position: relative;
    bottom: 15px;
    left: 15px;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 600;
}

.property-content {
    padding: 20px;
}

.property-title {
    color: #0B1D51;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.property-location {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.property-features {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: #2E2E2E;
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9em;
}

.property-features i {
    color: #D4AF37;
}

.btn-view-details {
    display: inline-block;
    background: #0B1D51;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-view-details:hover {
    background: #D4AF37;
}

/* Property Detail Page Styles */
.property-detail {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.property-gallery {
    margin-top: 80px;
}

.main-image {
    width: 100%;
    height: 500px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.thumbnail {
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

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

.thumbnail:hover img {
    transform: scale(1.1);
}

.property-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.property-description {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.property-description h1 {
    color: #0B1D51;
    margin-bottom: 20px;
}

.property-description p {
    color: #2E2E2E;
    line-height: 1.6;
    margin-bottom: 20px;
}

.property-meta {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: fit-content;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.meta-item:last-child {
    border-bottom: none;
}

.meta-label {
    color: #666;
}

.meta-value {
    color: #0B1D51;
    font-weight: 600;
}

.contact-agent {
    background: #F9F6F1;
    padding: 30px;
    border-radius: 8px;
    margin-top: 20px;
}

.contact-agent h3 {
    color: #0B1D51;
    margin-bottom: 20px;
}

.agent-form input,
.agent-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
}

.agent-form textarea {
    height: 120px;
    resize: vertical;
}

.agent-form button {
    background: #0B1D51;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.agent-form button:hover {
    background: #D4AF37;
}

@media (max-width: 768px) {
    .property-info {
        grid-template-columns: 1fr;
    }
    
    .main-image {
        height: 300px;
    }
    
    .filter-form {
        grid-template-columns: 1fr;
    }
} 