/* Reset y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('../img/venta 1.png');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    text-align: left;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0 2rem;
    text-align: center;
}

/* Cards de propiedades */
.property-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 2rem;
    border: none;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.property-image {
    height: 250px;
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.property-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .property-img {
    transform: scale(1.05);
}

.property-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-align: center;
    padding: 1rem;
}

.property-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
}

.property-content {
    padding: 1.5rem;
}

.property-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.property-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.property-location {
    color: #007bff;
    font-weight: 500;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.feature-item {
    text-align: center;
    flex: 1;
}

.feature-icon {
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.feature-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.property-policies {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.policy-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.policy-allowed {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.policy-not-allowed {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Botones personalizados */
.btn-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Navbar personalizada */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #667eea !important;
}

/* Estilos para el buscador en la navegación */
.navbar .form-select {
    border: 1px solid #6c757d;
    background-color: #495057;
    color: white;
    border-radius: 4px;
}

.navbar .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    background-color: #495057;
    color: white;
}

.navbar .form-select option {
    background-color: #495057;
    color: white;
}

.navbar .btn-primary {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        height: 50vh;
        text-align: center;
    }
    
    .property-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .property-policies {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

@media (max-width: 991.98px) {
    .navbar .d-flex {
        margin-top: 1rem;
        justify-content: center;
    }
    
    .navbar .form-select {
        width: 140px !important;
        margin-bottom: 0.5rem;
    }
}

/* Efectos adicionales */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-divider {
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    margin: 2rem 0;
}
