:root {
--primary-color: #0F172A; /* Xanh Navy đậm */
--accent-color: #C5A059; /* Vàng Gold sang trọng */
--bg-color: #F9FAFB;      /* Trắng xám nhẹ */
--text-color: #333333;
--white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- BACKGROUND PATTERN --- */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#C5A059 1px, transparent 1px), radial-gradient(#C5A059 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.05; /* Họa tiết chấm bi mờ rất tinh tế */
    z-index: -1;
    pointer-events: none;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

/* --- HEADER & NAV --- */
header {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
    padding: 5px 15px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
    text-transform: uppercase;
}

nav ul li a:hover {
    color: var(--accent-color);
}

/* --- HERO SECTION (Trang 1) --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    margin-top: 60px;
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(240,240,240,0.8) 100%);
    position: relative;
}

/* Trang trí nền Hero */
.hero::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    top: 20%;
    right: 10%;
    z-index: -1;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--accent-color), #E8C881);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.4);
    animation: pulse-btn 2s infinite;
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.6);
    color: #fff;
    background: linear-gradient(135deg, #E8C881, var(--accent-color));
}

@keyframes pulse-btn {
    0% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(197, 160, 89, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
    }
}

/* --- ABOUT SECTION (Trang 2) --- */
.about {
    padding: 80px 10%;
    background: var(--white);
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.profile-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 4px solid var(--accent-color);
    transition: transform 0.3s;
}

.profile-card:hover {
    transform: translateY(-5px);
}

.profile-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.profile-card ul {
    list-style: none;
}

.profile-card ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.profile-card ul li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* --- PORTFOLIO SECTIONS (Trang 3-31) --- */
.portfolio-section {
    padding: 80px 5%;
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 10px 20px;
    border: 1px solid var(--primary-color);
    background: transparent;
    cursor: pointer;
    border-radius: 20px;
    font-weight: 600;
    transition: 0.3s;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: #fff;
    aspect-ratio: 16/10; /* Tỉ lệ ảnh chữ nhật */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    padding: 20px;
    color: #fff;
    opacity: 0;
    transition: 0.3s;
    transform: translateY(20px);
}

.overlay h3 {
    color: var(--white);
}

.gallery-item:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}

.tag {
    background: var(--accent-color);
    padding: 3px 10px;
    font-size: 0.7rem;
    border-radius: 10px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 5px;
}

/* --- MEDIA LINKS (Trang 32) --- */
.media-links {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 10%;
    text-align: center;
}

.media-links h2 {
    color: var(--white);
}

.video-swiper {
    width: 100%;
    padding: 20px 0 80px 0; /* Space for pagination and arrows at the bottom */
    position: relative;
    margin-top: 30px;
}

.video-swiper .swiper-slide {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    background: #000;
    cursor: pointer;
    aspect-ratio: 16 / 9;
}

.video-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s, opacity 0.3s;
    opacity: 0.8;
}

.video-swiper .swiper-slide:hover img {
    transform: scale(1.05);
    opacity: 0.5;
}

.video-swiper .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: var(--white);
    opacity: 0.8;
    transition: 0.3s;
    z-index: 2;
}

.video-swiper .swiper-slide:hover .play-btn {
    color: var(--accent-color);
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

/* Định dạng 2 nút Prev/Next xuống dưới góc trái */
.video-swiper .swiper-button-next,
.video-swiper .swiper-button-prev {
    top: auto;
    bottom: 10px;
    width: 40px;
    height: 40px;
    background-color: #eee;
    border-radius: 50%;
    color: var(--primary-color);
    margin: 0;
    transition: 0.3s;
}

.video-swiper .swiper-button-next:hover,
.video-swiper .swiper-button-prev:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.video-swiper .swiper-button-next::after,
.video-swiper .swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: bold;
}

.video-swiper .swiper-button-prev {
    left: 10px;
}

.video-swiper .swiper-button-next {
    left: 60px;
    right: auto;
}

.video-swiper .swiper-pagination {
    bottom: 20px;
}

.video-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.video-swiper .swiper-pagination-bullet-active {
    background: var(--accent-color);
    opacity: 1;
}

.video-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
    transition: 0.3s;
}

.video-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

/* --- PARTNERS (Trang 33) --- */
.partners {
    padding: 60px 5%;
    background: var(--white);
    text-align: center;
}

.partner-swiper {
    width: 100%;
    padding: 20px 0;
}

.partner-logo-box {
    font-weight: bold;
    font-size: 1.2rem;
    color: #888;
    border: 2px dashed #ddd;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 100px;
}

.logo-img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

/* --- FOOTER (Trang 34) --- */
footer {
    background: #0a0f1c;
    color: #fff;
    text-align: center;
    padding: 50px 20px;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png'); /* Pattern nhẹ */
}

.footer-content h2 {
    color: var(--accent-color);
    font-size: 3rem;
    margin-bottom: 20px;
}

.info-contact {
    display: flex;
    justify-content: center;
    align-items: center;
}
.info-contact p {
    margin: 0 15px;
    
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    nav { display: none; } /* Ẩn menu trên mobile cho đơn giản */
    .hero {
        height: 400px;
    }
    .hero-content h1 { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .info-contact {
        flex-direction: column;
    }
    .video-swiper {
        padding: 20px 0 80px 0;
    }
    .video-swiper .play-btn {
        font-size: 1.5rem;
    }
}