/* style.css - AVANTAR INMOBILIARIA TERRENO PREMIUM */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #000000;
    font-family: 'Montserrat', sans-serif;
    color: #e2e8f0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

/* Contenedor móvil central */
.app-container {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    background-color: #080F1A; /* Azul Marino Profundo */
    position: relative;
    display: flex;
    flex-direction: column;
    padding-top: 95px;    /* Espacio para la cabecera fija */
    padding-bottom: 75px; /* Espacio para el menú inferior fijo */
    overflow-x: hidden;
}

/* Ocultar scrollbar lateral en navegadores */
.app-container {
    -ms-overflow-style: none;  /* IE y Edge */
    scrollbar-width: none;  /* Firefox */
}
.app-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Cabecera Fija (Top Bar) */
.top-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 95px;
    background: rgba(8, 15, 26, 0.85); /* Azul Marino con transparencia */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15); /* Borde dorado sutil */
    z-index: 100;
}

.logo-header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-header {
    height: 52px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: screen; /* Mezcla el fondo negro del logo haciéndolo transparente */
}

.logo-subtitle {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    color: #D4AF37; /* Dorado */
    letter-spacing: 0.25em;
    margin-top: 2px;
}

/* Barra de Navegación Inferior Móvil Fija */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 75px;
    background: rgba(5, 9, 16, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 150;
    padding: 0 10px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #8A99AD;
    transition: all 0.3s ease;
    flex: 1;
    height: 100%;
}

.nav-icon {
    font-size: 24px;
    margin-bottom: 4px;
    transition: transform 0.2s ease;
}

.nav-label {
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Elemento Activo en la Navegación */
.nav-item.active {
    color: #D4AF37; /* Oro */
}

.nav-item.active .nav-icon {
    transform: translateY(-2px);
}

/* Botones y Elementos Premium */
.text-gold-gradient {
    background: linear-gradient(135deg, #FFE088 0%, #D4AF37 50%, #B48A26 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-serif {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Tarjetas de Cristal (Glassmorphic Cards) */
.glass-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(212, 175, 55, 0.75);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 28px rgba(212, 175, 55, 0.18);
    transition: all 0.3s ease;
    color: #ffffff;
}

.glass-card p, 
.glass-card span:not(.material-symbols-outlined):not(#txt-btn-maps), 
.glass-card div {
    color: #ffffff;
}

.glass-card:active, .glass-card:hover {
    border-color: #FFE088;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 36px rgba(212, 175, 55, 0.38), 0 0 15px rgba(255, 224, 136, 0.3);
    transform: translateY(-2px);
}

/* Efecto Blueprint para planos */
.blueprint-effect {
    background-image: radial-gradient(rgba(212, 175, 55, 0.04) 1px, transparent 1px);
    background-size: 16px 16px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    border-radius: 12px;
    padding: 16px;
    background-color: rgba(10, 20, 35, 0.5);
}

/* Decoraciones Técnicas Blueprint */
.blueprint-decor {
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1px solid #D4AF37;
}
.blueprint-decor-tl { top: -1px; left: -1px; border-bottom: none; border-right: none; }
.blueprint-decor-tr { top: -1px; right: -1px; border-bottom: none; border-left: none; }
.blueprint-decor-bl { bottom: -1px; left: -1px; border-top: none; border-right: none; }
.blueprint-decor-br { bottom: -1px; right: -1px; border-top: none; border-left: none; }

/* Placeholders de Imágenes Premium */
.placeholder-img {
    width: 100%;
    background: linear-gradient(135deg, rgba(8, 15, 26, 0.8) 0%, rgba(13, 27, 49, 0.85) 100%);
    border: 1px dashed rgba(212, 175, 55, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(212, 175, 55, 0.7);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-align: center;
    padding: 24px;
    box-sizing: border-box;
}
.placeholder-img span {
    font-size: 32px;
    margin-bottom: 6px;
    color: #D4AF37;
}

/* Botón 3D de WhatsApp Flotante */
.whatsapp-btn-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px 0;
    margin-top: 10px;
}

.whatsapp-3d-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    transition: all 0.3s ease;
    gap: 10px;
    cursor: pointer;
}

.whatsapp-3d-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 5px rgba(37, 211, 102, 0.2);
}

/* Transiciones y utilidades */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.2) 50%, transparent 100%);
    margin: 32px 0;
}
