           /* Variables de Color Personalizadas */
:root {
    --primary-color: #007bff; /* Azul de ejemplo */
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --bg-hero: url('placeholder-hero-bg.jpg'); /* **IMPORTANTE**: Reemplaza con tu imagen de fondo real */
    
    /* Colores de las tarjetas de ayuda */
    --color-help-blue: #0056b3; 
    --color-help-purple: #8a2be2;
    --color-help-orange: #ff7f50;

    /* Colores de las tarjetas de categorías */
    --color-cat-restaurant: linear-gradient(135deg, rgba(230, 81, 0, 0.9), rgba(255, 140, 0, 0.9));
    --color-cat-gallery: linear-gradient(135deg, rgba(138, 43, 226, 0.9), rgba(255, 99, 71, 0.9));
    --color-cat-music: linear-gradient(135deg, rgba(46, 139, 87, 0.9), rgba(70, 130, 180, 0.9));
    --color-cat-bars: linear-gradient(135deg, rgba(255, 69, 0, 0.9), rgba(255, 165, 0, 0.9));
    --color-cat-kids: linear-gradient(135deg, rgba(0, 128, 128, 0.9), rgba(0, 191, 255, 0.9));
    --color-cat-events: linear-gradient(135deg, rgba(106, 90, 205, 0.9), rgba(147, 112, 219, 0.9));
}

/* ------------------------------------------- */
/* Estilos Generales y Tipografía */
/* ------------------------------------------- */
body {
    font-family: sans-serif; /* Puedes usar 'Montserrat', 'Poppins' o la que prefieras */
    color: var(--dark-color);
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-danger-custom {
    background-color: #e85d04 !important; /* Rojo/Naranja para "Próximamente" */
}

.bg-info-custom {
    background-color: #83c5be !important; /* Color para el tag 'market' */
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
}

.section-subtitle {
    color: var(--secondary-color);
    font-size: 1.1rem;
}


/* ------------------------------------------- */
/* 1. Navbar y Offcanvas (Menú Responsivo) */
/* ------------------------------------------- */
.custom-navbar {
    background-color: rgba(255, 255, 255, 0.75); /* Fondo blanco semi-transparente */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
    padding: 0.5rem 1rem;
}

.logo-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.logo-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark-color);
}

.logo-subtitle {
    font-size: 0.85rem;
    color: var(--secondary-color);
    display: none; /* Ocultar por defecto para mantener la navbar compacta */
}

@media (min-width: 992px) {
    .logo-subtitle {
        display: inline;
    }
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 50px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(0, 123, 255, 0.1);
}

.menu-icon {
    font-size: 1.5rem;
    color: var(--dark-color);
}

.search-btn {
    border: none;
    color: var(--dark-color);
}

/* Estilos para el Menú Offcanvas */
.offcanvas-end {
    width: 280px;
}
.offcanvas-body .nav-link {
    font-size: 1.1rem;
    padding: 0.75rem 0;
}

/* ------------------------------------------- */
/* 2. Hero Section */
/* ------------------------------------------- */
.hero-section {
    min-height: 100vh;
    background-image: url(../images/puerto_3.jpg);
    background-size: cover;
    padding-top: 56px; /* Ajuste para el navbar fijo */
}

.hero-location {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

.btn-dark-custom {
    background-color: var(--dark-color);
    color: white;
    border: 1px solid var(--dark-color);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-dark-custom:hover {
    background-color: transparent;
    border-color: white;
    color: white;
}

.btn-outline-light-custom {
    color: white;
    border: 1px solid white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-outline-light-custom:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-stats {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    padding: 1.5rem 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

.stat-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Media Queries para Hero */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .hero-stats {
        margin-top: 2rem !important;
    }
}


/* ------------------------------------------- */
/* 3. Categorías */
/* ------------------------------------------- */
.categories-section {
    background-color: var(--light-color);
}

.category-card {
    min-height: 250px;
    border-radius: 15px;
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.9;
    z-index: 1;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.category-card i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    z-index: 2;
    position: relative;
}

.card-title, .card-subtitle {
    z-index: 2;
    position: relative;
}

.card-title {
    font-size: 1.8rem;
    font-weight: 700;
}

.card-subtitle {
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.9;
}


/* Aplicación de gradientes */
.category-restaurant::before { background: var(--color-cat-restaurant); }
.category-gallery::before { background: var(--color-cat-gallery); }
.category-music::before { background: var(--color-cat-music); }
.category-bars::before { background: var(--color-cat-bars); }
.category-kids::before { background: var(--color-cat-kids); }
.category-events::before { background: var(--color-cat-events); }

/* **IMPORTANTE**: Agregar las imágenes de fondo para que se parezcan a tu diseño */
.category-restaurant { background-image: url('../images/comida.jpg'); }
.category-gallery { background-image: url('../images/restaurante.jpg'); }
.category-music { background-image: url('../images/musica.jpg'); }
.category-bars { background-image: url('../images/bares.jpg'); }
.category-kids { background-image: url('../images/eventos.jpg'); }
.category-events { background-image: url('../images/antros.jpg'); }


/* ------------------------------------------- */
/* 4. Contenido Destacado (Restaurantes/Eventos) */
/* ------------------------------------------- */
.featured-content-section {
    background-color: #f0f2f5;
}
        
             a{
            text-decoration: none!important;
        }

.featured-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.featured-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-image-wrapper {
    position: relative;
}

.card-image-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ffc107; /* Amarillo para destacado */
    color: var(--dark-color);
    font-weight: 700;
    padding: 0.4em 0.8em;
    border-radius: 50px;
}

.card-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 0.25em 0.75em;
    border-radius: 50px;
    font-size: 0.85rem;
}

.card-title-featured {
    font-size: 1.3rem;
    font-weight: 600;
}

.card-text-featured {
    font-size: 0.9rem;
    color: var(--secondary-color);
    min-height: 40px; /* Para mantener la altura de las tarjetas consistente */
}

.price-level {
    font-weight: 700;
    color: green;
}


/* Estilos de Eventos */
.event-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.event-image-wrapper {
    width: 35%;
    flex-shrink: 0;
}

.event-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.event-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.event-text {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.event-details {
    font-size: 0.85rem;
    color: var(--dark-color);
}

@media (max-width: 576px) {
    .event-card {
        flex-direction: column;
    }
    .event-image-wrapper {
        width: 100%;
        height: 150px;
    }
}


/* ------------------------------------------- */
/* 5. Sección de Ayuda */
/* ------------------------------------------- */
.help-section {
    background-color: white;
}

.help-card {
    color: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.bg-blue-custom { background-color: var(--color-help-blue); }
.bg-purple-custom { background-color: var(--color-help-purple); }
.bg-orange-custom { background-color: var(--color-help-orange); }


.icon-circle {
    background-color: rgba(255, 255, 255, 0.2);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.help-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.help-card-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Para que el texto empuje el botón hacia abajo */
}

.help-button {
    background-color: white;
    color: var(--dark-color); /* Se cambia por JS */
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: opacity 0.3s;
}

/* Ajuste de color del botón de ayuda con JS (ver script.js) */
.help-button-blue { color: var(--color-help-blue); }
.help-button-purple { color: var(--color-help-purple); }
.help-button-orange { color: var(--color-help-orange); }


/* ------------------------------------------- */
/* 6. Footer */
/* ------------------------------------------- */
.site-footer {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.footer-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}

.logo-icon-footer {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.footer-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-links li a, .footer-links li {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 2;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: white;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
}

.copyright-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}
        
        /* ------------------------------------------- */
/* 3. Explora el Puerto (Mapa) */
/* ------------------------------------------- */
.map-section {
    background-color: var(--light-color);
}

.map-container {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
}

#interactive-map {
    /* IMPORTANTE: Aquí simulamos el mapa usando la imagen que enviaste como fondo.
        Debes reemplazar 'placeholder-map.jpg' con tu imagen real.
    */
    background-image: url('../images/mapa.png'); 
    background-size: cover;
    background-position: center;
    min-height: 500px; /* Altura del mapa */
    width: 100%;
    position: relative; /* Necesario para posicionar los pines */
}

/* Estilos de los Pines */
.map-pin {
    position: absolute;
    transform: translate(-50%, -100%); /* Centra el pin en su posición */
    z-index: 10;
}

.pin-center {
    color: var(--primary-color);
    text-align: center;
}

.pin-icon-lg {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.4));
}

.pin-label {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    position: absolute;
    bottom: 100%; /* Coloca la etiqueta encima del pin */
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 5px;
}

/* Pines de negocios (Simulación de íconos) */
.pin-business {
    background-color: white;
    border: 3px solid #83c5be;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.pin-icon-sm {
    font-size: 1.2rem;
}

/* Colores de íconos de negocios */
.icon-music { color: #e91e63; }
.icon-gallery { color: #8a2be2; }
.icon-bar { color: #ff9800; }


/* Leyenda del Mapa */
.map-legend {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: white;
    padding: 1rem;
    border-radius: 10px;
    z-index: 20;
}

.legend-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}
    /* ------------------------------------------- */
/* 7. Estilos para Páginas de Categoría (e.g., Restaurantes) */
/* ------------------------------------------- */

/* Hero de Categoría */
.category-hero-section {
    min-height: 40vh; /* Más pequeño que el Hero principal */
    /* IMPORTANTE: Reemplaza con una imagen de fondo relevante para Restaurantes */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), 
                url('../images/banner_restaurantes.jpg') no-repeat center center; 
    background-size: cover;
    padding-top: 56px; 
    align-items: flex-end !important; /* Alinea el contenido abajo */
}

.category-hero-icon {
    font-size: 2rem;
    color: white;
    margin-bottom: 0.5rem;
    display: block;
}

.category-hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.category-hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    opacity: 0.9;
}


/* Filtros (Chips) */
.btn-filter {
    background-color: #e9ecef; /* Color de fondo gris claro */
    color: var(--dark-color);
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

.btn-filter:hover {
    background-color: #dee2e6;
    color: var(--dark-color);
}

.btn-filter.active {
    background-color: var(--primary-color);
    color: white;
}
.btn-filter.active:hover {
    background-color: #0056b3;
    color: white;
}


/* Tarjetas de Negocios (Listado) */
.business-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.business-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.business-image {
    width: 100%;
    height: 220px; /* Altura de imagen ligeramente mayor */
    object-fit: cover;
}

.business-tag-sm {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    padding: 0.3em 0.7em;
    border-radius: 50px;
}

.featured-badge-sm {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ffc107; /* Amarillo para destacado */
    color: var(--dark-color);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.3em 0.7em;
    border-radius: 50px;
}

/* Etiquetas de categoría específicas (puedes añadir más si es necesario) */
.tag-fusion { background-color: #9c27b0; }
.tag-mexicana { background-color: #4caf50; }
.tag-italiana { background-color: #f44336; }


.business-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.business-location {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.business-description {
    font-size: 0.9rem;
    color: #495057;
    min-height: 40px; 
}

.btn-ver-mas {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.btn-ver-mas:hover {
    color: #0056b3;
}

/* Niveles de precio específicos (para mejorar el contraste) */
.price-level-1 { color: #28a745; }
.price-level-2 { color: #ffc107; }
.price-level-3 { color: #fd7e14; }
.price-level-4 { color: #dc3545; } 
        
        /* ------------------------------------------- */
/* 8. Estilos para Páginas de Detalle de Empresa */
/* ------------------------------------------- */

/* Hero de Detalle */
.business-hero-section {
    min-height: 40vh; 
    padding-top: 56px; 
    /* IMPORTANTE: Reemplaza con una imagen de fondo específica para 'El Marinero' */
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), 
                url('../images/empresa.jpg') no-repeat; 
    background-size: cover;
    background-position: center bottom 20%;
}

.business-hero-tag-sm {
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.5em 1em;
    border-radius: 50px;
}

.business-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.business-hero-location {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Contenido Principal */
.business-section-title {
    font-size: 1.75rem;
    font-weight: 700;
}

.lead-description {
    font-size: 1.1rem;
    color: var(--dark-color);
}

.feature-badge {
    background-color: #f0f0f0;
    color: var(--dark-color);
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
}

/* Lista de Contacto */
.contact-list li {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-list li span {
    font-weight: 600;
    color: var(--dark-color);
}

.contact-list li a {
    color: var(--secondary-color);
    text-decoration: none;
}
.contact-list li a:hover {
    color: var(--primary-color);
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    transition: background-color 0.3s;
}
.btn-primary-custom:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}


/* Oferta Especial */
.bg-danger-subtle {
    /* Fondo ligeramente más claro que el naranja de "Próximamente" */
    background-color: #ffedec !important; 
}
.text-danger {
    color: #dc3545 !important;
}
.text-danger-emphasis {
    color: #842029 !important;
}
.btn-danger-custom {
    background-color: #dc3545;
    border-color: #dc3545;
}
.btn-danger-custom:hover {
    background-color: #c82333;
    border-color: #c82333;
}

/* Mapa de Cómo llegar */
.map-llegar-container {
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.map-llegar-container iframe {
    border-radius: 8px;
}

.btn-outline-dark-custom {
    color: var(--dark-color);
    border: 1px solid var(--dark-color);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
}
.btn-outline-dark-custom:hover {
    background-color: var(--dark-color);
    color: white;
}
.logo-img {
    max-width: 10rem;
    height: auto;
}
