/* Properties Section */
.properties {
    background-color: white;
    padding: 80px 30px;
}

.properties h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.properties h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.properties-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 10px 25px;
    border: none;
    background-color: #eee;
    cursor: pointer;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: var(--btn-transition);
    position: relative;
    overflow: hidden;
}

.tab-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

.tab-btn:hover::after {
    width: 300px;
    height: 300px;
}

.tab-btn.active, .tab-btn:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.properties-content {
    max-width: 1200px;
    margin: 0 auto;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.properties-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    font-style: italic;
    padding: 15px 20px;
    background-color: var(--beige-color);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.properties-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.properties-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.property-card {
    background-color: var(--beige-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.property-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0%;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
    transition: var(--transition);
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
    border-bottom: 3px solid var(--accent-color);
}

.property-card:hover::before {
    height: 100%;
}

.property-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.property-location, .property-keys {
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-location i, .property-keys i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.property-desc {
    margin-top: 15px;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    padding-top: 12px;
    border-top: 1px dashed rgba(0,0,0,0.1);
}