/* --- APB Properties of Florida: Rentals Stylesheet (rent-page.css) --- */

/* 1. Rental Search Hero Section */
.rent-hero-section {
    background-color: #0077b6; /* Aqua Blue background */
    color: #ffffff;
    padding: 60px 5%;
    text-align: center;
}

.hero-content-rent {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content-rent h2 {
    font-size: 2.5em;
    color: #ffffff;
    margin-bottom: 5px;
}

.tagline {
    font-size: 1.1em;
    margin-bottom: 25px;
}

.rental-search-form {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.rental-search-form input {
    width: 100%;
    padding: 12px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
}

.search-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.search-filters select {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    background-color: #f9f9f9;
}

.cta-button-rent {
    width: 100%;
    padding: 15px;
    background-color: #ff6f61; /* Coral for search CTA */
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: 700;
    transition: background-color 0.3s;
}

.cta-button-rent:hover {
    background-color: #e55a4e;
}

/* 2. Featured Rentals Grid */
.featured-rentals {
    padding: 60px 5%;
    text-align: center;
    background-color: #f4f4f9;
}

.featured-rentals h3 {
    color: #001f3f;
    margin-bottom: 40px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.rental-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: box-shadow 0.3s;
}

.rental-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.rental-photo-placeholder {
    height: 200px;
    background-color: #ccc;
    background-size: cover;
    background-position: center;
}

.rental-details {
    padding: 15px;
}

.rental-details h4 {
    font-size: 1.5em;
    color: #001f3f;
    margin-bottom: 5px;
}

.beds-baths {
    font-size: 0.8em;
    font-weight: 500;
    color: #555;
    margin-left: 10px;
}

.location-text {
    font-size: 0.9em;
    color: #0077b6;
    font-weight: bold;
    margin-bottom: 5px;
}

.features-text {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 15px;
    min-height: 30px;
}

.view-details-rent {
    display: block;
    padding: 10px;
    text-align: center;
    background-color: #ff6f61; /* Coral */
    color: #ffffff;
    border-radius: 4px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.view-details-rent:hover {
    background-color: #e55a4e;
    text-decoration: none;
}

.cta-all-listings {
    margin-top: 40px;
}

.cta-button-all {
    display: inline-block;
    padding: 12px 25px;
    background-color: #001f3f; /* Navy */
    color: #ffffff;
    border-radius: 4px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.cta-button-all:hover {
    background-color: #0077b6;
    text-decoration: none;
}

/* 3. Renter/Owner Action Boxes */
.action-boxes {
    padding: 60px 5%;
    display: flex;
    justify-content: center;
    gap: 40px;
    background-color: #ffffff;
}

.action-box {
    flex-basis: 45%;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.renter-box {
    border: 3px solid #0077b6;
}

.owner-box {
    border: 3px solid #ff6f61;
}

.action-box i {
    font-size: 3em;
    margin-bottom: 15px;
}

.renter-box i { color: #0077b6; }
.owner-box i { color: #ff6f61; }

.action-box h3 {
    color: #001f3f;
    font-size: 1.5em;
}

.action-box p {
    color: #555;
    margin-bottom: 20px;
}

.action-cta-resident, .action-cta-owner {
    display: block;
    padding: 10px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.3s;
}

.action-cta-resident {
    background-color: #0077b6;
    color: #ffffff;
}

.action-cta-owner {
    background-color: #ff6f61;
    color: #ffffff;
}

.action-cta-resident:hover, .action-cta-owner:hover {
    opacity: 0.8;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .search-filters {
        flex-direction: column;
    }
    
    .search-filters select {
        margin-bottom: 10px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .action-boxes {
        flex-direction: column;
        gap: 20px;
    }
    
    .action-box {
        flex-basis: 100%;
    }
}
