/* ===================================
   ESTILOS PARA PÁGINA PRINCIPAL - INDEX
   Diseño Moderno y Elegante para Inmobiliaria
   ===================================*/

/* Hero Section - Impactante y Profesional */
.hero-section {
    background: linear-gradient(135deg, #1a365d 0%, #2c5aa0 50%, #0891b2 100%);
    background-size: cover;
    background-position: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(8, 145, 178, 0.1) 0%, transparent 50%);
    animation: pulseGradient 8s ease-in-out infinite;
}

@keyframes pulseGradient {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-content h1 .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.5);
    color: var(--white);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-hero-secondary:hover {
    background: var(--white);
    color: var(--primary-navy);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* Search Form in Hero */
.search-form {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    margin-top: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-form .form-control {
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    padding: 14px 18px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.search-form .form-control:focus {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.15);
    outline: none;
}

.search-form .btn-search {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(44, 90, 160, 0.3);
}

.search-form .btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(44, 90, 160, 0.4);
}

/* Section Titles - Elegante */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 70px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--gray-medium);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Property Cards - Moderno y Atractivo */
.property-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    height: 100%;
    position: relative;
}

.property-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.property-card .image-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.property-card img {
    height: 100%;
    object-fit: cover;
    width: 100%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover img {
    transform: scale(1.15);
}

.property-card .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-card:hover .image-overlay {
    opacity: 1;
}

.property-card .card-body {
    padding: 1.8rem;
}

.property-card .price {
    color: var(--primary-teal);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.property-card .price i {
    font-size: 1.2rem;
    margin-right: 8px;
}

.property-card .type-badge {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.property-card .type-badge.alquiler {
    background: var(--gradient-accent);
}

.property-card .card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.property-card .features {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--gray-medium);
    flex-wrap: wrap;
}

.property-card .features span {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--gray-light);
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 500;
}

.property-card .features i {
    color: var(--primary-cyan);
    font-size: 1rem;
}

.property-card .btn-view {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
    width: 100%;
    text-align: center;
}

.property-card .btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.4);
    color: var(--white);
}

/* Stats Section - Impresionante */
.stats-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

.stat-card i {
    font-size: 3.5rem;
    color: var(--accent-amber);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.stat-card h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.stat-card p {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.95;
    font-weight: 500;
}

/* Services Section - Elegante */
.services-section {
    padding: 5rem 0;
    background: var(--gradient-soft);
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-top-color: var(--primary-cyan);
}

.service-card .icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(44, 90, 160, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .icon-wrapper {
    transform: rotateY(180deg);
    background: var(--gradient-accent);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--white);
}

.service-card h4 {
    color: var(--gray-dark);
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--gray-medium);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .search-form {
        padding: 1.5rem;
    }
    
    .property-card img {
        height: 200px;
    }
}

/* ===================================
   ESTILOS ESPECÍFICOS PARA LOTES EN INDEX
   ===================================*/

/* Lotes Section Styles */
.lotes-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.lote-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
    border-left: 4px solid #16a085;
}

.lote-card:hover {
    transform: translateY(-5px);
}

.lote-price {
    background-color: #16a085;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.lote-title {
    color: #16a085;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.lote-details {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.lote-dimensions {
    background-color: #e8f8f5;
    padding: 10px 15px;
    border-radius: 10px;
    margin: 10px 0;
    font-weight: 500;
    color: #138d75;
}

/* Sección de búsqueda */
.search-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.search-cards .card {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.search-cards .card:hover {
    transform: translateY(-5px);
}

.search-cards .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Sección de propiedades */
.properties-section {
    padding: 4rem 0;
}

.property-card {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.property-card:hover {
    transform: translateY(-10px);
}

.property-card .card-img-top {
    height: 250px;
    object-fit: cover;
}

.price-tag {
    background-color: #27ae60;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

/* Contacto section */
.contact-section {
    background: linear-gradient(135deg, #16a085 0%, #138d75 50%, #117a65 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    transform: translate(-50%, 50%);
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.contact-methods {
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.contact-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-details h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-details p {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.contact-details small {
    opacity: 0.8;
    font-size: 0.9rem;
}

.contact-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #52c5b8;
    text-decoration: underline;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-contact-primary {
    background: rgba(255, 255, 255, 0.95);
    color: #16a085;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-contact-primary:hover {
    background: white;
    color: #138d75;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-contact-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-contact-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

.contact-quote-card {
    background: rgba(255, 255, 255, 0.95);
    color: #2c3e50;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    backdrop-filter: blur(10px);
}

.quote-icon {
    background: linear-gradient(135deg, #16a085, #52c5b8);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.quote-icon i {
    font-size: 1.5rem;
    color: white;
}

.professional-quote p {
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 2rem;
    color: #34495e;
}

.quote-author {
    border-top: 2px solid #e9ecef;
    padding-top: 1.5rem;
    margin-bottom: 2rem;
}

.author-info h6 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #16a085;
}

.author-info span {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.trust-indicators {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(22, 160, 133, 0.1);
    border-radius: 10px;
    border-left: 3px solid #16a085;
}

.trust-item i {
    color: #16a085;
    font-size: 1.1rem;
}

.trust-item span {
    font-size: 0.95rem;
    font-weight: 500;
    color: #2c3e50;
}

@media (max-width: 768px) {
    .contact-main-title {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .contact-actions {
        justify-content: center;
    }
    
    .contact-quote-card {
        padding: 2rem;
        margin-top: 3rem;
    }
    
    .trust-indicators {
        flex-direction: column;
    }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: #16a085;
}

.no-properties {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}
