/* ===== ESTILOS PARA LA BITÁCORA DE VIAJES - VERSIÓN FINAL ===== */

/* Hero minimalista con texto blanco nítido */
.blog-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('/Assets/Image/Playa25032023/IMG_9389.JPG') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    margin-bottom: 3rem;
}

.blog-hero-content {
    max-width: 800px;
    padding: 0 1rem;
}

.blog-hero-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.2rem;
    line-height: 1.3;
    color: #ffffff;
    text-shadow: 
        0 2px 4px rgba(0,0,0,0.5),
        0 0 10px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out forwards;
}

.blog-hero-content p {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 0;
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
        color: #ffffff !important;
    }
}

/* Contenedor principal */
.blog-container {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

/* Grid de entradas compacto */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

/* Tarjetas más pequeñas y compactas */
.blog-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    height: 200px; /* Altura reducida */
    position: relative;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-date {
    display: block;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.blog-card h3 {
    font-size: 1.3rem; /* Tamaño reducido */
    color: var(--dark-color);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.blog-card p {
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.blog-tags span {
    background: rgba(255, 174, 0, 0.1);
    color: var(--primary-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* CTA final */
.blog-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 174, 0, 0.05);
    border-radius: 10px;
    border: 1px dashed var(--primary-color);
}

.blog-cta p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-hero {
        height: 45vh;
        min-height: 350px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card-image {
        height: 180px;
    }
    
    .blog-card-content {
        padding: 1.2rem;
    }
}

@media (max-width: 576px) {
    .blog-hero {
        height: 40vh;
        min-height: 300px;
    }
    
    .blog-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .blog-hero-content p {
        font-size: 1rem;
    }
}