/* ============================================
   NHÃ NHẠC THEME - Kết hợp phong cách Tuồng Huế và Nhã Nhạc truyền thống
   ============================================ */

/* Global background override */
body {
    background: #212121 !important;
}

main {
    background: #212121 !important;
}

:root {
    --nhanhac-primary: #FFB800;
    --nhanhac-gold: #D4AF37;
    --nhanhac-red: #C41E3A;
    --nhanhac-dark: #212121;
    --nhanhac-darker: #212121;
    --nhanhac-light: #212121;
    --nhanhac-border: #2a2a2a;
    --nhanhac-text: #d0d0d0;
    --nhanhac-text-dim: #b0b0b0;
}

/* ============================================
   HERO SECTION - Phong cách hoàng gia
   ============================================ */
.nhanhac-hero {
    background: linear-gradient(135deg, var(--nhanhac-darker) 0%, var(--nhanhac-dark) 50%, var(--nhanhac-darker) 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.nhanhac-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 184, 0, 0.03) 2px, rgba(255, 184, 0, 0.03) 4px),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 184, 0, 0.03) 2px, rgba(255, 184, 0, 0.03) 4px);
    opacity: 0.5;
    pointer-events: none;
}

.nhanhac-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.nhanhac-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--nhanhac-primary);
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.nhanhac-hero-subtitle {
    font-size: 1.4rem;
    color: var(--nhanhac-text);
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-style: italic;
}

.nhanhac-hero-ornament {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
}

.nhanhac-hero-ornament::before,
.nhanhac-hero-ornament::after {
    content: '';
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--nhanhac-gold), transparent);
}

.nhanhac-hero-icon {
    font-size: 2rem;
    color: var(--nhanhac-gold);
}

/* ============================================
   STATISTICS CARDS - Thống kê với phong cách hoàng gia
   ============================================ */
.nhanhac-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.nhanhac-stat-card {
    text-align: center;
    padding: 30px;
    background: rgba(255, 184, 0, 0.05);
    border: 2px solid var(--nhanhac-border);
    border-radius: 12px;
    min-width: 180px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nhanhac-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--nhanhac-gold), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nhanhac-stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--nhanhac-gold);
    box-shadow: 0 8px 24px rgba(255, 184, 0, 0.2);
}

.nhanhac-stat-card:hover::before {
    opacity: 1;
}

.nhanhac-stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--nhanhac-primary);
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nhanhac-stat-label {
    color: var(--nhanhac-text-dim);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   INTRODUCTION SECTION - Giới thiệu 2 cột
   ============================================ */
.nhanhac-intro {
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 40px;
    background: #212121;
}

.nhanhac-intro-title {
    font-size: 2.2rem;
    color: var(--nhanhac-primary);
    margin-bottom: 30px;
    text-align: left;
    position: relative;
    padding-bottom: 15px;
}

.nhanhac-intro-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--nhanhac-gold), transparent);
}

.nhanhac-intro-grid {
    display: grid !important;
    grid-template-columns: 400px 1fr !important;
    gap: 40px !important;
    align-items: start !important;
}

.nhanhac-intro-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.nhanhac-intro-image-caption {
    margin-top: 15px;
    color: var(--nhanhac-text-dim);
    font-size: 0.95rem;
    font-style: italic;
    text-align: center;
    line-height: 1.5;
}

.nhanhac-intro-box {
    background: #212121;
    border: none;
    border-radius: 12px;
    padding: 40px;
    position: relative;
    box-shadow: none;
}

.nhanhac-intro-box::before,
.nhanhac-intro-box::after {
    display: none;
}

.nhanhac-intro-content {
    color: var(--nhanhac-text);
    font-size: 1.15rem;
    line-height: 2;
    text-align: justify;
}

.nhanhac-intro-content p {
    margin-bottom: 15px;
}

.nhanhac-intro-content strong {
    color: var(--nhanhac-primary);
    font-weight: 600;
}

/* ============================================
   CATEGORY CARDS - Layout ngang (mỗi card 1 hàng)
   ============================================ */
.nhanhac-categories {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 40px;
    background: #212121;
}

.nhanhac-category-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ============================================
   ARTISTS CAROUSEL - Slider nghệ nhân
   ============================================ */
.nhanhac-artists-section {
    background: #212121;
    border: none;
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 20px;
}

.nhanhac-artists-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.nhanhac-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.nhanhac-carousel-wrapper {
    flex: 1;
    overflow: hidden;
    padding: 10px 0;
}

.nhanhac-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nhanhac-carousel-item {
    flex: 0 0 calc(25% - 15px); /* 4 items per view */
    min-width: 0;
}

.nhanhac-artist-card {
    display: block;
    text-decoration: none;
    background: #212121;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.nhanhac-artist-image {
    position: relative;
    width: 100%;
    padding-top: 120%; /* 5:6 aspect ratio for portrait */
    overflow: hidden;
    background: rgba(255, 184, 0, 0.05);
}

.nhanhac-artist-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.nhanhac-artist-overlay {
    display: none;
}

.nhanhac-artist-info {
    padding: 15px;
    background: #212121;
}

.nhanhac-artist-name {
    color: var(--nhanhac-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

/* Carousel Navigation Buttons */
.nhanhac-carousel-btn {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--nhanhac-primary) 0%, var(--nhanhac-gold) 100%);
    border: none;
    border-radius: 50%;
    color: #000;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
}

.nhanhac-carousel-btn:hover:not(:disabled) {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(255, 184, 0, 0.4);
}

.nhanhac-carousel-btn:disabled {
    cursor: not-allowed;
    opacity: 0.3;
}

.nhanhac-carousel-btn i {
    pointer-events: none;
}

/* ============================================
   CATEGORY CARDS (continued)
   ============================================ */
.nhanhac-category-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #212121;
    border: none;
    border-radius: 12px;
    padding: 25px 30px;
    overflow: hidden;
    position: relative;
}

.nhanhac-category-content {
    flex: 1;
}

.nhanhac-category-title {
    font-size: 1.5rem;
    color: var(--nhanhac-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.nhanhac-category-desc {
    color: var(--nhanhac-text-dim);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.nhanhac-category-button {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--nhanhac-primary);
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nhanhac-category-button:hover {
    background: var(--nhanhac-gold);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
}

.nhanhac-category-button i {
    transition: transform 0.3s ease;
}

.nhanhac-category-button:hover i {
    transform: translateX(3px);
}

/* ============================================
   LIST PAGE - Danh sách với grid layout
   ============================================ */
.nhanhac-page-header {
    background: var(--nhanhac-dark);
    padding: 50px 0;
    margin-bottom: 50px;
    border-bottom: 2px solid var(--nhanhac-border);
}

.nhanhac-page-header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.nhanhac-page-title {
    font-size: 2.8rem;
    color: var(--nhanhac-primary);
    margin-bottom: 15px;
}

.nhanhac-page-subtitle {
    color: var(--nhanhac-text-dim);
    font-size: 1.15rem;
}

.nhanhac-page-subtitle strong {
    color: var(--nhanhac-primary);
}

/* ============================================
   SEARCH BAR - Thanh tìm kiếm
   ============================================ */
.nhanhac-search-section {
    max-width: 1400px;
    margin: 0 auto 50px;
    padding: 0 40px;
}

.nhanhac-search-form {
    display: flex;
    gap: 15px;
    max-width: 700px;
}

.nhanhac-search-input {
    flex: 1;
    padding: 15px 25px;
    background: var(--nhanhac-dark);
    border: 2px solid var(--nhanhac-border);
    border-radius: 10px;
    color: #fff;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.nhanhac-search-input:focus {
    outline: none;
    border-color: var(--nhanhac-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.nhanhac-search-btn {
    padding: 15px 35px;
    background: var(--nhanhac-primary);
    color: #000;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nhanhac-search-btn:hover {
    background: var(--nhanhac-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
}

/* ============================================
   ITEM GRID - Lưới hiển thị items
   ============================================ */
.nhanhac-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto 80px;
    padding: 0 40px;
}

.nhanhac-item-card {
    text-decoration: none;
    display: block;
    background: var(--nhanhac-dark);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--nhanhac-border);
    transition: all 0.3s ease;
}

.nhanhac-item-card:hover {
    transform: translateY(-8px);
    border-color: var(--nhanhac-gold);
    box-shadow: 0 12px 28px rgba(255, 184, 0, 0.2);
}

.nhanhac-item-image {
    height: 320px;
    overflow: hidden;
    background: var(--nhanhac-light);
    position: relative;
}

.nhanhac-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.nhanhac-item-card:hover .nhanhac-item-image img {
    transform: scale(1.08);
}

.nhanhac-item-content {
    padding: 25px;
}

.nhanhac-item-title {
    color: var(--nhanhac-primary);
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.nhanhac-item-meta {
    color: var(--nhanhac-text-dim);
    font-size: 1rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nhanhac-item-meta i {
    color: var(--nhanhac-primary);
}

/* ============================================
   PAGINATION - Phân trang
   ============================================ */
.nhanhac-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 60px 0;
}

.nhanhac-pagination-btn {
    padding: 12px 25px;
    background: var(--nhanhac-dark);
    color: var(--nhanhac-primary);
    border: 2px solid var(--nhanhac-border);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.nhanhac-pagination-btn:hover {
    background: var(--nhanhac-light);
    border-color: var(--nhanhac-gold);
}

.nhanhac-pagination-info {
    color: var(--nhanhac-text-dim);
    padding: 0 20px;
}

.nhanhac-pagination-info strong {
    color: var(--nhanhac-primary);
}

/* ============================================
   EMPTY STATE - Trạng thái rỗng
   ============================================ */
.nhanhac-empty {
    text-align: center;
    padding: 100px 20px;
    background: var(--nhanhac-dark);
    border-radius: 12px;
    border: 2px solid var(--nhanhac-border);
    max-width: 600px;
    margin: 0 auto;
}

.nhanhac-empty-icon {
    font-size: 5rem;
    color: #666;
    margin-bottom: 25px;
}

.nhanhac-empty-title {
    color: var(--nhanhac-text-dim);
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.nhanhac-empty-text {
    color: #888;
    font-size: 1.15rem;
    margin-bottom: 30px;
}

.nhanhac-empty-btn {
    display: inline-block;
    padding: 14px 35px;
    background: var(--nhanhac-primary);
    color: #000;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nhanhac-empty-btn:hover {
    background: var(--nhanhac-gold);
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nhanhac-hero-title {
        font-size: 2.5rem;
    }
    
    .nhanhac-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .nhanhac-stats {
        gap: 30px;
    }
    
    .nhanhac-stat-number {
        font-size: 2.5rem;
    }
    
    .nhanhac-intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .nhanhac-intro-image {
        position: static;
    }
    
    .nhanhac-intro-box {
        padding: 40px 30px;
    }
    
    /* Carousel responsive */
    .nhanhac-carousel-item {
        flex: 0 0 calc(50% - 10px); /* 2 items on mobile */
    }
    
    .nhanhac-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .nhanhac-artists-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .nhanhac-category-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .nhanhac-category-button {
        width: 100%;
        justify-content: center;
    }
    
    .nhanhac-items-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .nhanhac-carousel-item {
        flex: 0 0 calc(33.333% - 14px); /* 3 items on tablet */
    }
}

/* ============================================
   INSTRUMENTS SECTION - Layout 2 cột (4x4 grid + info)
   ============================================ */
.nhanhac-instruments-section {
    background: #212121;
    border: none;
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 20px;
}

.nhanhac-instruments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.nhanhac-instruments-content {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 40px;
    align-items: start;
}

/* Left Column: 4x4 Image Grid */
.nhanhac-instruments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.nhanhac-instrument-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 184, 0, 0.05);
    border: 2px solid var(--nhanhac-border);
    transition: all 0.3s ease;
    cursor: pointer;
}

.nhanhac-instrument-item:hover {
    border-color: var(--nhanhac-gold);
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.2);
}

.nhanhac-instrument-item.active {
    border-color: var(--nhanhac-primary);
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.3);
}

.nhanhac-instrument-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.nhanhac-instrument-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Right Column: Information */
.nhanhac-instruments-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.nhanhac-instruments-desc {
    color: var(--nhanhac-text);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.nhanhac-instruments-categories {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nhanhac-instrument-category {
    background: rgba(255, 184, 0, 0.05);
    border-left: 4px solid var(--nhanhac-primary);
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nhanhac-instrument-category:hover {
    background: rgba(255, 184, 0, 0.08);
    border-left-color: var(--nhanhac-gold);
    transform: translateX(5px);
}

.nhanhac-instrument-category h4 {
    color: var(--nhanhac-primary);
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nhanhac-instrument-category h4 i {
    font-size: 1.5rem;
}

.nhanhac-instrument-category p {
    color: var(--nhanhac-text-dim);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.nhanhac-instruments-stats {
    display: flex;
    gap: 30px;
    margin-top: 10px;
}

.nhanhac-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(255, 184, 0, 0.05);
    border-radius: 10px;
    flex: 1;
    border: 2px solid var(--nhanhac-border);
    transition: all 0.3s ease;
}

.nhanhac-stat-item:hover {
    border-color: var(--nhanhac-gold);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 184, 0, 0.15);
}

.nhanhac-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--nhanhac-primary);
    margin-bottom: 5px;
}

.nhanhac-stat-label {
    color: var(--nhanhac-text-dim);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive for Instruments Section */
@media (max-width: 1024px) {
    .nhanhac-instruments-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .nhanhac-instruments-grid {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nhanhac-instruments-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .nhanhac-instruments-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .nhanhac-instruments-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .nhanhac-stat-item {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }
    
    .nhanhac-stat-number {
        font-size: 2rem;
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .nhanhac-instruments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   TƯ LIỆU SECTION - Layout 2x2 Grid
   ============================================ */
.nhanhac-tulieu-section {
    background: #212121;
    border: none;
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 20px;
}

.nhanhac-tulieu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.nhanhac-tulieu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nhanhac-tulieu-subtitle {
    color: var(--nhanhac-primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Top Left: Ảnh 2x2 Grid */
.nhanhac-tulieu-images {
    background: transparent;
    border-radius: 10px;
    padding: 20px;
}

.nhanhac-tulieu-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.nhanhac-tulieu-image-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 184, 0, 0.05);
    border: 1px solid var(--nhanhac-border);
    transition: all 0.3s ease;
}

.nhanhac-tulieu-image-item:hover {
    border-color: var(--nhanhac-gold);
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.2);
}

.nhanhac-tulieu-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.nhanhac-tulieu-image-item:hover img {
    transform: scale(1.05);
}

/* Top Right: Video */
.nhanhac-tulieu-video {
    background: transparent;
    border-radius: 10px;
    padding: 20px;
}

.nhanhac-tulieu-video-container {
    aspect-ratio: 16/9;
    background: #1a1a1a;
    border-radius: 8px;
    border: 2px solid var(--nhanhac-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nhanhac-tulieu-video-container:hover {
    border-color: var(--nhanhac-gold);
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.2);
}

.nhanhac-tulieu-video-placeholder {
    text-align: center;
}

.nhanhac-tulieu-video-placeholder i {
    transition: all 0.3s ease;
}

.nhanhac-tulieu-video-container:hover .nhanhac-tulieu-video-placeholder i {
    transform: scale(1.1);
    color: var(--nhanhac-gold);
}

/* Bottom: Đại nhạc & Tiểu nhạc Info */
.nhanhac-tulieu-info {
    background: transparent;
    border-radius: 0;
    padding: 20px;
    border: none;
    transition: all 0.3s ease;
}

.nhanhac-tulieu-info:hover {
    background: transparent;
}

.nhanhac-tulieu-info-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Responsive for Tư liệu Section */
@media (max-width: 1024px) {
    .nhanhac-tulieu-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .nhanhac-tulieu-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .nhanhac-tulieu-image-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
}


/* ============================================
   Lightbox Modal for Image Zoom
   ============================================ */

.nhanhac-lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    animation: nhanhacFadeIn 0.3s ease;
}

@keyframes nhanhacFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.nhanhac-lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: nhanhacZoomIn 0.3s ease;
    box-shadow: 0 0 50px rgba(255, 184, 0, 0.4);
    border-radius: 8px;
}

@keyframes nhanhacZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.nhanhac-lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: var(--nhanhac-primary);
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    line-height: 1;
    user-select: none;
}

.nhanhac-lightbox-close:hover {
    color: #ffa500;
    transform: rotate(90deg);
}

/* Zoomable image styling */
.nhanhac-zoomable {
    cursor: zoom-in;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nhanhac-zoomable:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nhanhac-lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }
    
    .nhanhac-lightbox-content {
        max-width: 95%;
        max-height: 85%;
    }
}
