/* ============================================
   FUENTES Y RESET
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a2e;
    background: #ffffff;
}

a {
    text-decoration: none;
}

/* ============================================
   HERO SECTION (Index)
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 80px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

/* ============================================
   PROPERTY CARDS (Index y Properties)
   ============================================ */
.property-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.property-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.price-tag {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2a5298;
}

.property-features {
    padding: 10px 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.property-features i {
    color: #2a5298;
    width: 20px;
}

/* ============================================
   SEARCH BOX (Index y Properties)
   ============================================ */
.search-box {
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
}

/* ============================================
   BARRA SUPERIOR (Header)
   ============================================ */
.top-bar {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: white;
    padding: 6px 0;
    font-size: 0.85rem;
}

.top-bar a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: #ffffff;
}

.top-bar .contact-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 20px;
}

.top-bar .contact-item i {
    font-size: 0.9rem;
}

.top-bar .whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.top-bar .whatsapp-btn:hover {
    background: #128C7E;
    color: white;
    transform: scale(1.05);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 8px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white !important;
    font-weight: 700;
    font-size: 1.1rem;
}

.navbar-brand .logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s;
}

.navbar-brand:hover .logo-circle {
    border-color: rgba(255,255,255,0.8);
    transform: scale(1.05);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-top: 3px solid #0d6efd;
}

footer h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

footer h5 i {
    margin-right: 8px;
}

footer .text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer .text-white-50:hover {
    color: #ffffff !important;
    transition: color 0.3s ease;
}

footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #fff;
}

footer .social-links a:hover {
    background: #0d6efd;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

footer hr {
    opacity: 0.3;
}

footer address p {
    margin-bottom: 0.5rem;
}

footer address i {
    width: 20px;
    margin-right: 10px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablets y m贸viles grandes */
@media (max-width: 992px) {
    .hero-section {
        padding: 50px 0;
        min-height: auto;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
}

/* M贸viles */
@media (max-width: 768px) {
    /* Hero */
    .hero-section {
        padding: 40px 0;
        min-height: auto;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section .search-box {
        border-radius: 12px;
    }
    
    /* Top Bar */
    .top-bar {
        font-size: 0.75rem;
        padding: 4px 0;
    }
    
    .top-bar .contact-item {
        margin-right: 12px;
    }
    
    .top-bar .whatsapp-btn {
        font-size: 0.7rem;
        padding: 2px 10px;
    }
    
    .top-bar .contact-item span {
        display: none;
    }
    
    /* Navbar */
    .navbar-brand .logo-circle {
        width: 32px;
        height: 32px;
    }
    
    .navbar-brand {
        font-size: 0.95rem;
    }
    
    /* Footer */
    footer .col-md-4 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    footer .social-links {
        display: flex;
        justify-content: center;
        gap: 10px;
    }
}

/* M贸viles peque帽os */
@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .hero-section .search-box .row {
        flex-direction: column;
    }
    
    .hero-section .search-box .col-md-5,
    .hero-section .search-box .col-md-2 {
        width: 100%;
    }
    
    .top-bar .contact-item {
        margin-right: 8px;
    }
    
    .navbar-brand {
        gap: 8px;
        font-size: 0.85rem;
    }
    
    .navbar-brand .logo-circle {
        width: 28px;
        height: 28px;
    }
    
    .property-card .card-img-top {
        height: 160px;
    }
    
    .price-tag {
        font-size: 1.2rem;
    }
    
    footer .social-links a {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 0.9rem;
    }
}
.thumbnail-more {
    width: 100%;
    height: 100px;
    background: rgba(13, 110, 253, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.3s;
    cursor: pointer;
}

.thumbnail-more:hover {
    background: rgba(13, 110, 253, 1);
    transform: scale(1.05);
}

.thumbnail-more span {
    font-size: 1.8rem;
}


/* ============================================
   FUENTES PRINCIPALES
   ============================================ */

/* Body - Fuente principal */
body {
    font-family: 'Roboto', 'Open Sans', 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    color: #1a1a2e;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Títulos - Roboto (más elegante para títulos) */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a1a2e;
}

h1 {
    font-weight: 900;
    letter-spacing: -0.03em;
}

h2 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

h3, h4 {
    font-weight: 600;
}

/* Texto de párrafos - Open Sans (más legible) */
p, .text-body, .description {
    font-family: 'Open Sans', 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    color: #4a4a4a;
}

/* Texto para precios y números - Lato (más limpio) */
.price, .price-tag, .number, .valor, .count {
    font-family: 'Lato', 'Roboto', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Subtítulos y textos destacados */
.subtitle, .lead, .text-highlight {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-weight: 300;
    letter-spacing: 0.01em;
}

/* Navbar - Roboto */
.navbar .navbar-brand,
.navbar .nav-link {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-weight: 500;
}

/* Botones - Roboto */
.btn {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Badges y etiquetas - Roboto */
.badge, .label {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

/* Tarjetas de propiedades */
.property-card .card-title {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-weight: 700;
}

.property-card .price {
    font-family: 'Lato', 'Roboto', sans-serif;
    font-weight: 700;
}

.property-card .card-text,
.property-card .features span {
    font-family: 'Open Sans', 'Roboto', sans-serif;
}

/* Footer */
footer {
    font-family: 'Open Sans', 'Roboto', sans-serif;
}

footer h5 {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-weight: 700;
}

/* Formularios - Open Sans */
.form-control,
.form-select,
.form-label {
    font-family: 'Open Sans', 'Roboto', sans-serif;
}

/* Breadcrumb - Open Sans */
.breadcrumb {
    font-family: 'Open Sans', 'Roboto', sans-serif;
}

/* ============================================
   RESPONSIVE - Ajustes de fuentes
   ============================================ */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .navbar .navbar-brand {
        font-size: 1.1rem;
    }
}

/* ============================================
   COMPONENTES CON FUENTES ESPECÍFICAS
   ============================================ */

/* Hero Section */
.hero-section h1 {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.hero-section .lead {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-weight: 300;
}

/* Search Box */
.search-box .form-control,
.search-box .form-select {
    font-family: 'Open Sans', 'Roboto', sans-serif;
}

/* Property Detail */
.property-title {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.property-price {
    font-family: 'Lato', 'Roboto', sans-serif;
    font-weight: 900;
}

.feature-item .value {
    font-family: 'Lato', 'Roboto', sans-serif;
    font-weight: 700;
}

.feature-item .label {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.7rem;
}

/* Filter Sidebar */
.filter-sidebar label {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Results Header */
.results-count {
    font-family: 'Open Sans', 'Roboto', sans-serif;
}

.results-count strong {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-weight: 700;
}

/* Pagination */
.pagination-custom .page-link {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-weight: 500;
}

/* Similar Properties */
.similar-property-card .price {
    font-family: 'Lato', 'Roboto', sans-serif;
    font-weight: 700;
}

.similar-property-card .card-title {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-weight: 600;
}

