* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

.header {
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '★';
    position: absolute;
    font-size: 200px;
    color: rgba(255, 215, 0, 0.1);
    top: -50px;
    left: -30px;
    transform: rotate(-15deg);
}

.header::after {
    content: '★';
    position: absolute;
    font-size: 150px;
    color: rgba(255, 215, 0, 0.1);
    bottom: -40px;
    right: -20px;
    transform: rotate(25deg);
}

.header h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: #FFD700;
}

.header p {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    opacity: 0.95;
}

.year-badge {
    display: inline-block;
    background: #FFD700;
    color: #c41e3a;
    padding: 10px 30px;
    border-radius: 50px;
    margin-top: 0px;
    margin-bottom: 20px;
    font-size: 1.3em;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Gallery 10 ảnh */
.header-gallery {
    max-width: 1500px;
    margin: 40px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 180px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.8) 0%, rgba(139, 0, 0, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 35px rgba(196, 30, 58, 0.5);
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-number {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.95);
    color: #c41e3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-number {
    transform: scale(1.2) rotate(360deg);
}

.gallery-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    font-size: 0.85em;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    z-index: 3;
    line-height: 1.3;
}

.gallery-item:hover .gallery-title {
    opacity: 1;
    transform: translateY(0);
}

.gallery-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5em;
    opacity: 0.4;
    z-index: 1;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px;
}

.event-content-text {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    background: white;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    margin-bottom: 25px;
    border-left: 5px solid #c41e3a;
}

.event {
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease forwards;
}

.event:nth-child(1) {
    animation-delay: 0.1s;
}
.event:nth-child(2) {
    animation-delay: 0.2s;
}
.event:nth-child(3) {
    animation-delay: 0.3s;
}
.event:nth-child(4) {
    animation-delay: 0.4s;
}
.event:nth-child(5) {
    animation-delay: 0.5s;
}
.event:nth-child(6) {
    animation-delay: 0.6s;
}
.event:nth-child(7) {
    animation-delay: 0.7s;
}
.event:nth-child(8) {
    animation-delay: 0.8s;
}
.event:nth-child(9) {
    animation-delay: 0.9s;
}
.event:nth-child(10) {
    animation-delay: 1s;
}

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

.event-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    width: 1000px;
    margin: 30px auto;
}

.event-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    color: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    margin-right: 25px;
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.4);
    border: 4px solid #FFD700;
    flex-shrink: 0;
}

.event-title h2 {
    color: #c41e3a;
    font-size: 2em;
    line-height: 1.3;
    margin: 0;
    text-align: center;
}

.event-content-text {
    background: white;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    margin-bottom: 25px;
    border-left: 5px solid #c41e3a;
}

.event-content-text p {
    color: #555;
    font-size: 1.1em;
    line-height: 1.9;
    text-align: justify;
}

.highlight {
    background: linear-gradient(120deg, #FFD700 0%, #FFA500 100%);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    color: #8b0000;
}

/* Layout ảnh cho sự kiện có 1 ảnh */
.event-images-single {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    gap: 20px;
}

.event-images-single .img-box {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: auto;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Layout ảnh cho sự kiện có 3 ảnh */
.event-images-three {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.event-images-three .img-box-main {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 580px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.event-images-three .img-box-side {
    display: grid;
    gap: 20px;
}

.event-images-three .img-box {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 280px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Layout ảnh cho sự kiện có 4 ảnh */
.event-images-four {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.event-images-four .img-box {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 350px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.img-box img,
.img-box-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.img-box:hover img,
.img-box-main:hover img {
    transform: scale(1.05);
}

.img-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #999;
    font-size: 1.2em;
    z-index: 1;
}

.img-placeholder-icon {
    font-size: 3em;
    margin-bottom: 10px;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #8b0000 0%, #c70101 100%);
    color: white;
    padding: 0px 20px 0px;
    margin-top: 40px;
}

.footer-info {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.footer-info .logo {
    width: 320px;
    height: 53px;
    background: url(https://cdn.baohatinh.vn/assets/web/styles/img/logo-default.svg?v=1.1) 0 0 / 320px no-repeat;
    display: block;
    text-indent: -999em;
    grid-column: 1 / 3;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer-info .left,
.footer-info .right {
    margin-bottom: 25px;
}

.footer-info p {
    margin-bottom: 12px;
    line-height: 1.7;
    font-size: 0.95em;
    opacity: 0.9;
}

.footer-info a {
    color: #FFD700;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-info a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Biểu đồ kinh tế */
.economic-dashboard {
    max-width: 1500px;
    margin: 30px auto;
    padding: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(196, 30, 58, 0.15);
    border: 2px solid #FFD700;
}

.dashboard-title {
    text-align: center;
    color: #c41e3a;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 35px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    color: white;
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.3);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-30%, -30%);
    }
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2em;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 0.95em;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.bar-chart {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.chart-title {
    color: #c41e3a;
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: center;
}

.bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 350px;
    border-bottom: 3px solid #ddd;
    padding: 0 20px;
    position: relative;
}

.bar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    margin: 0 10px;
    position: relative;
}

.bar {
    width: 100%;
    max-width: 80px;
    background: linear-gradient(to top, #c41e3a 0%, #ff4757 100%);
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: all 0.5s ease;
    animation: growBar 1.5s ease-out forwards;
    box-shadow: 0 -3px 10px rgba(196, 30, 58, 0.3);
    min-height: 20px;
}

@keyframes growBar {
    from {
        transform: scaleY(0);
        transform-origin: bottom;
    }
    to {
        transform: scaleY(1);
        transform-origin: bottom;
    }
}

.bar:hover {
    filter: brightness(1.2);
    transform: scaleY(1.05);
}

.bar-value {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFD700;
    color: #8b0000;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.bar-label {
    margin-top: 10px;
    font-size: 0.85em;
    font-weight: 600;
    color: #555;
    text-align: center;
}

.pie-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.pie-chart {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 20px auto;
    position: relative;
    background: conic-gradient(
        #c41e3a 0deg 153deg,
        #FFD700 153deg 282deg,
        #ff6b6b 282deg 360deg
        );
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.pie-chart::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
}

.pie-legend {
    margin-top: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.9em;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    margin-right: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.legend-label {
    color: #555;
    font-weight: 500;
}

.legend-value {
    margin-left: auto;
    font-weight: bold;
    color: #c41e3a;
}

@media (min-width: 768px) {

    .footer-info {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footer-info .logo {
        grid-column: 1 / -1;
    }

    .footer-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2em;
    }
    .event-header {
        width: auto!important;
    }
    .header p {
        font-size: 1em;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-item {
        height: 120px;
    }

    .gallery-number {
        width: 30px;
        height: 30px;
        font-size: 0.9em;
    }
    .event{
        margin-bottom: 0px;
    }
    .gallery-title {
        font-size: 0.75em;
        padding: 8px;
    }

    .event-header {
        flex-direction: column;
        text-align: center;
    }

    .event-number {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .event-title h2 {
        font-size: 1.5em;
    }

    .event-images-three {
        grid-template-columns: 1fr;
    }

    .event-images-three .img-box-main,
    .event-images-three .img-box {
        height: 300px;
    }

    .event-images-four {
        grid-template-columns: 1fr;
    }

    .event-images-four .img-box {
        height: 300px;
    }

    .event-images-single .img-box {
        height: auto;
    }

    .chart-container {
        grid-template-columns: 1fr;
    }

    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 1.5em;
    }

    .bars {
        height: 250px;
    }

    .bar-value {
        font-size: 0.75em;
        padding: 3px 8px;
    }

    .economic-dashboard {
        padding: 25px 15px;
    }
    .bar1 {
        height: 140px !important;
    }
    .bar2 {
        height: 20px !important;
    }
    .bar3 {
        height: 170px !important;
    }
    .bar4 {
        height: 160px !important;
    }
    .bar5 {
        height: 180px !important;
    }
    .bar2021{
        height: 140px !important;
    }
    .bar2022{
        height: 100px !important;
    }
    .bar2023{
        height: 180px !important;
    }
    .bar2024{
        height: 200px !important;
    }
    .bar2025{
        height: 225px !important;
    }
    .bars{
        padding: 0 0px!important;
    }
    .bar-chart{
        padding: 30px 10px!important;
    }
}