/* -------------------------------------- */
/* Features Section - From homepage.css */
/* -------------------------------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--light);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(239, 35, 60, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(239, 35, 60, 0.2);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-card p {
    color: var(--gray);
}

/* -------------------------------------- */
/* Featured Properties - Common */
/* -------------------------------------- */
.properties-section {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--primary);
    margin: 0;
}

.results-count {
    color: var(--gray);
    font-size: 1.1rem;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.property-card {
    background-color: var(--light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.property-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--secondary);
    color: var(--light);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

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

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

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

.favorite-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 1;
}

.favorite-button:hover {
    background-color: var(--light);
    transform: scale(1.1);
}

.favorite-button i {
    color: var(--secondary);
    font-size: 1.25rem;
}

.favorite-button .fas {
    color: var(--accent);
}

.property-details {
    padding: 1.8rem;
}

.property-details h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
    white-space: nowrap;
    /* Από properties.css */
    overflow: hidden;
    /* Από properties.css */
    text-overflow: ellipsis;
    /* Από properties.css */
    width: 100%;
    /* Από properties.css */
}

.property-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.property-address {
    color: var(--gray);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-address i {
    color: var(--secondary);
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
}

.property-features i {
    color: var(--secondary);
}

.view-details {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary);
    color: var(--light);
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
    text-align: center;
}

.view-details:hover {
    background-color: var(--dark);
}
