/* Propiedades Aravena - Estilos Principales */

:root {
    --color-primary: #C80000;
    --color-secondary: #004080;
    --color-dark: #1a1a1a;
    --color-light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand img {
    max-height: 50px;
}

.navbar-nav .nav-link {
    color: var(--color-dark) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: var(--color-primary) !important;
}

/* Hero Slider */
.hero-slider {
    height: 100vh;
    position: relative;
}

.hero-slider .carousel-item {
    height: 100vh;
}

.hero-slider .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
    bottom: 20%;
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Featured Properties */
.featured-section {
    padding: 60px 0;
    background-color: var(--color-light);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-dark);
}

.property-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 30px;
    position: relative;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.property-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Sold/Rented Overlay */
.sold-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(200, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

.sold-badge {
    background-color: rgba(200, 0, 0, 0.95);
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    padding: 20px 60px;
    transform: rotate(-15deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    border: 5px solid white;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.property-card-body {
    padding: 20px;
}

.property-card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.property-card-price {
    font-size: 1.8rem;
    color: var(--color-primary);
    font-weight: bold;
    margin-bottom: 10px;
}

.property-card-details {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #666;
}

.property-card-details i {
    color: var(--color-secondary);
}

.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #a00000;
    border-color: #a00000;
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: var(--color-dark);
    color: #fff;
    padding: 40px 0 20px;
}

footer h5 {
    color: var(--color-primary);
    margin-bottom: 20px;
}

footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--color-primary);
}

.social-icons a {
    font-size: 1.5rem;
    margin-right: 15px;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}