/* css/main.css - VERSIÓN MAESTRA PREMIUM */
:root {
    --primary: #5e3023;    /* Marrón tierra profundo */
    --primary-dark: #3d1f16;
    --accent: #d4a373;     /* Dorado cálido */
    --white: #ffffff;
    --bg-light: #fdf8f1;   /* Crema suave colonial */
    --text-dark: #2c1e14;
    --whatsapp: #25d366;   /* Verde oficial WhatsApp */
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* NAVEGACIÓN */
#header {
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

#navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.8rem 5%; max-width: 1400px; margin: 0 auto;
}

.logo-container img { height: 60px; width: auto; }

.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links li a {
    text-decoration: none; color: var(--text-dark);
    font-weight: 500; margin-left: 2rem;
    transition: var(--transition); font-size: 0.95rem;
}
.nav-links li a:hover, .nav-links li a.active { color: var(--accent); }

/* HERO SECTION */
.hero-premium {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)), 
                url('https://images.unsplash.com/photo-1518173946687-a4c8a9833786?auto=format&fit=crop&q=80') center/cover no-repeat;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: white; position: relative;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1; margin-bottom: 20px;
}
.hero-content h1 span { color: var(--accent); }

.btn-primary, .btn-secondary {
    padding: 14px 35px; border-radius: 50px;
    text-decoration: none; font-weight: 600;
    margin: 10px; display: inline-block; transition: var(--transition);
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--accent); transform: translateY(-3px); }
.btn-secondary { background: white; color: var(--primary); }

/* SECCIONES */
.section { padding: 80px 5%; max-width: 1400px; margin: 0 auto; }
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem; color: var(--primary);
    text-align: center; margin-bottom: 50px;
}

/* FILTROS */
.filters-container {
    display: flex; justify-content: center; gap: 12px;
    margin-bottom: 50px; flex-wrap: wrap;
}
.filter-btn {
    padding: 10px 25px; border: 2px solid var(--accent);
    background: transparent; color: var(--primary);
    border-radius: 50px; cursor: pointer;
    font-weight: 600; transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover { background: var(--primary); border-color: var(--primary); color: white; }

/* CARDS */
.cards-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 35px;
}
.biz-card {
    background: white; border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow); transition: var(--transition);
}
.biz-card:hover { transform: translateY(-12px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

.biz-image { position: relative; height: 240px; }
.biz-image img { width: 100%; height: 100%; object-fit: cover; }

.badge {
    position: absolute; top: 15px; right: 15px;
    background: var(--accent); color: white;
    padding: 5px 18px; border-radius: 20px; font-size: 0.8rem; font-weight: 600;
}

.biz-info { padding: 25px; }
.biz-info h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--primary); margin-bottom: 10px; }

/* BOTÓN WHATSAPP */
.btn-whatsapp {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--whatsapp); color: white;
    text-decoration: none; padding: 12px; border-radius: 12px;
    font-weight: 600; transition: 0.3s; margin-top: 15px;
}
.btn-whatsapp:hover { background: #1eb954; transform: scale(1.02); }

/* MAPA Y CONTACTO */
.mapa-container {
    display: flex; align-items: center; gap: 50px;
    background: white; padding: 40px; border-radius: 30px; box-shadow: var(--shadow);
}
.mapa-visual { flex: 1.5; border-radius: 20px; overflow: hidden; height: 350px; }
.mapa-visual img { width: 100%; height: 100%; object-fit: cover; }

.footer-contact { background: var(--primary); color: white; padding: 80px 5%; text-align: center; }
.contact-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 30px; }
.contact-item i { color: var(--accent); margin-right: 10px; font-size: 1.2rem; }

/* MOBILE */
.menu-toggle { display: none; font-size: 1.8rem; cursor: pointer; color: var(--primary); }
@media (max-width: 992px) {
    .mapa-container { flex-direction: column; text-align: center; }
}
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links {
        position: fixed; top: 80px; left: -100%;
        flex-direction: column; background: white;
        width: 100%; height: calc(100vh - 80px); transition: 0.5s;
    }
    .nav-links.active { left: 0; }
    .nav-links li { margin: 15px 0; }
}


/* Estilos extra para look moderno */
.search-bar-container {
    background: white;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    max-width: 500px;
    margin: 30px auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.search-bar-container input {
    border: none;
    outline: none;
    width: 100%;
    margin-left: 15px;
    font-size: 1rem;
}

.quick-access {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.qa-item {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 15px;
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.7rem;
    cursor: pointer;
    transition: 0.3s;
}

.qa-item:hover { transform: translateY(-5px); background: var(--accent); }

/* Card de Negocio estilo VIP */
.biz-card.vip {
    border: 2px solid var(--accent);
    position: relative;
}

.biz-card.vip::before {
    content: "DESTACADO";
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--accent);
    color: white;
    font-size: 0.6rem;
    padding: 2px 10px;
    border-radius: 5px;
    z-index: 10;
}

/* Sección Mercado */
.btn-publish-item {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    float: right;
}