/* --- Reseteo Básico --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #14202E;
    color: #FFFFFF;
}

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.logo {
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(9, 18, 53, 0.8);
}

/* Botones Auth Header */
.auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-login-nav {
    background-color: rgba(9, 18, 53, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-login-nav:hover {
    background-color: #091235;
}

.btn-signup-nav {
    background-color: #14202E;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-signup-nav:hover {
    background-color: #2B4257;
    transform: scale(1.05);
}

.user-profile-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #091235;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 5px 15px;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero-section {
    height: 80vh;
    min-height: 500px;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), url('https://images.unsplash.com/photo-1585747860715-2ba37e788b70?q=80&w=2074&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(9, 18, 53, 0.8);
    color: #FFFFFF;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 1;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(9, 18, 53, 0.8);
    color: #FFFFFF;
}

/* Buscador Estilo Google */
.search-container {
    background-color: white;
    padding: 8px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(9, 18, 53, 0.15);
    position: relative;
    border: 1px solid #8BA9C3;
}

.input-wrapper {
    flex-grow: 1;
    margin-right: 10px;
}

.input-group {
    display: flex;
    align-items: center;
    width: 100%;
    padding-left: 15px;
}

.icon-location {
    color: #2B4257;
    margin-right: 10px;
    flex-shrink: 0;
}

.search-container input {
    border: none;
    outline: none;
    font-size: 1rem;
    width: 100%;
    padding: 10px;
    color: #14202E;
    background: transparent;
}

.search-container button {
    background-color: #091235;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    flex-shrink: 0;
    white-space: nowrap;
}

.search-container button:hover {
    background-color: #14202E;
}

/* ESTILOS DE LA LISTA DE GOOGLE (Automática) */
.pac-container {
    font-family: 'Segoe UI', sans-serif;
    border-top: 1px solid #eee;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    margin-top: 5px;
}

.pac-item {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    border-top: 1px solid #f9f9f9;
}

.pac-item:hover {
    background-color: #f0f0f0;
}

/* Mensaje Estado */
#mensajeEstado {
    text-align: center;
    color: white;
    margin-top: 15px;
    font-weight: bold;
    text-shadow: 1px 1px 2px black;
    background-color: rgba(9, 18, 53, 0.8);
    padding: 10px;
    border-radius: 8px;
    display: none;
}

/* Islas Informativas */
.info-section {
    background-color: white;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.cards-container {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    width: 100%;
}

.info-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.info-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #091235;
    font-weight: 700;
}

.card-content a {
    color: #091235;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s;
}

.card-content a:hover {
    border-bottom: 2px solid #091235;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .search-container {
        flex-direction: column;
        border-radius: 20px;
        padding: 15px;
    }

    .search-container button {
        width: 100%;
        margin-top: 10px;
    }

    .cards-container {
        flex-direction: column;
    }
}/* Mejora de contraste: texto más visible sobre fondos oscuros */
.text-gray-500 {
    color: rgba(255, 255, 255, 0.85) !important;
}

.text-gray-400 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.text-gray-300 {
    color: rgba(255, 255, 255, 0.9) !important;
}

.placeholder-gray-500::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Mensaje de comentarios (Mayor tamaño + contraste) */
#blog-loading {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}
