/* --- 1. Phần Top Bar (Chữ Gradient) --- */
.heritage-top-bar {
    width: 100%;
    background-color: #1a0505; /* Nền đỏ đen đậm */
    padding: 15px 0;
    text-align: center;
    border-bottom: 1px solid rgba(234, 192, 134, 0.1);
}

.heritage-gradient-text {
    font-weight: 100; /* Nét chữ mảnh */    
    font-size: 48px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
    color: #EBC58E
}

/* --- 2. Phần Main Section --- */
.heritage-main-section {
    position: relative;
    width: 100%;
    min-height: 60vh; /* Chiều cao lớn */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
}

/* Overlay tối bên phải để chữ dễ đọc hơn */
.heritage-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%; /* Phủ tối 60% màn hình bên phải */
    height: 100%;
    background: linear-gradient(to left, #4D1210 0%,#000000 100%);
    z-index: 1;
}

.heritage-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    padding: 0 20px;
}

.heritage-col-empty {
    flex: 1; /* Chiếm 50% bên trái (để trống) */
}

.heritage-col-content {
    flex: 1; /* Chiếm 50% bên phải (chứa chữ) */
    text-align: right; /* Căn lề phải như mẫu */
    padding-left: 40px;
    color: #ccc;
}

/* --- Typography --- */
.heritage-title {
    color: #eac086; /* Màu vàng kim */
    font-size: 25px;
    margin-bottom: 30px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.heritage-desc {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #b0b0b0;
}

/* --- Button --- */
.heritage-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 35px;
    background-color: #eac086;
    color: #1a0505;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px; /* Bo tròn */
    font-size: 13px;
    transition: all 0.3s;
}

.heritage-btn:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(234, 192, 134, 0.3);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .heritage-gradient-text {
        font-size: 20px; /* Giảm size chữ tiêu đề mobile */
    }

    .heritage-container {
        flex-direction: column;
    }
    
    .heritage-overlay {
        width: 100%; /* Phủ tối toàn bộ trên mobile */
        background: rgba(20, 0, 0, 0.85);
    }
    
    .heritage-col-empty { display: none; }
    
    .heritage-col-content {
        text-align: center; /* Mobile căn giữa cho đẹp */
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .heritage-title {
        color: #eac086; /* Màu vàng kim */
        font-size: 20px;
        margin-bottom: 30px;
        font-weight: 200;
        text-transform: uppercase;
        letter-spacing: 1px;
}
}

/* --- Animation Classes --- */
.animate-heritage {
    opacity: 0;
    will-change: transform, opacity;
    transition: all 1s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

.heritage-section-visible .animate-heritage {
    opacity: 1;
    transform: translate(0, 0);
}

.from-top { transform: translateY(-30px); }
.from-right { transform: translateX(50px); }
.from-bottom { transform: translateY(30px); }

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }