/* =================================================================
   LIQUID GLASS STYLE - BLOG PAGE (DARK THEME)
   Style: Premium Dark Glassmorphism, Strong Blur, Fixed Background
   ================================================================= */

/* 
    HERO SECTION 
    Kept separate, but connects seamlessly to content
*/
.page-header-blog {
    position: relative;
    min-height: 550px;
    background-image: url('../img/hero-banner/aurora-hotel-bien-hoa-1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    padding-top: 180px;
    /* Avoid header overlap */
}

.page-header-blog::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Gradient Overlay to transition to content */
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(15, 23, 42, 0.9) 100%);
    backdrop-filter: blur(2px);
    z-index: 0;
}

.page-header-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 3rem;

    /* Strong Glass Box */
    background: rgba(255, 255, 255, 0.05);
    /* Very transparent */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);

    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-title {
    font-family: 'Inter', sans-serif;
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* 
   CONTENT WRAPPER 
   Provides the dark background for glass cards to shine
*/
.blog-content-wrapper {
    position: relative;
    /* Continue the fixed background effect */
    background-image: url('../img/hero-banner/aurora-hotel-bien-hoa-1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    padding-top: 4rem;
    padding-bottom: 8rem;
    min-height: 60vh;
}

.blog-content-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Strong Dark Overlay */
    background: rgba(15, 23, 42, 0.92);
    /* Very dark slate */
    z-index: 0;
}

.blog-content-wrapper .max-w-7xl {
    position: relative;
    z-index: 10;
}

/* 
   CATEGORY FILTERS 
*/
.blog-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.category-tag {
    /* Glass Button Dark */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.category-tag:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.category-tag.active {
    background: linear-gradient(135deg, #d4af37 0%, #c5a028 100%);
    border-color: #ffd700;
    color: white;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    font-weight: 700;
}

/* 
   BLOG CARD (Dark Glass)
*/
.blog-glass-card {
    height: 100%;
    display: flex;
    flex-direction: column;

    /* Dark Glass */
    background: rgba(30, 41, 59, 0.4);
    /* Semi-transparent dark */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    overflow: hidden;

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);

    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-glass-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Card Image */
.blog-card-image-wrapper {
    position: relative;
    padding-top: 60%;
    /* Aspect Ratio 5:3 */
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

.blog-glass-card:hover .blog-card-image {
    transform: scale(1.1);
}

.blog-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffd700;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

/* Content */
.blog-card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-meta-item .material-symbols-outlined {
    font-size: 1rem;
    color: #d4af37;
}

.blog-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    /* White text for accessibility on dark glass */
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: color 0.3s;
}

.blog-glass-card:hover .blog-title {
    color: #d4af37;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.blog-excerpt {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #d4af37;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    transition: gap 0.3s;
}

.blog-glass-card:hover .blog-read-more {
    gap: 0.75rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* 
   PAGINATION 
*/
.pagination-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 5rem;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);

    transition: all 0.3s;
    text-decoration: none;
    font-weight: 600;
}

.pagination-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #d4af37;
    color: #d4af37;
    transform: scale(1.1);
}

.pagination-btn.active {
    background: #d4af37;
    border-color: #d4af37;
    color: white;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Empty State */
.glass-empty-state {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 4rem;
    text-align: center;
    color: white;
}