/* ===========================
   1. Biến CSS (Tùy chỉnh dễ dàng)
   =========================== */
   :root {
    --primary-color: #ffffff; /* Màu chữ chính */
    --secondary-color: #000000; /* Màu nền phụ */
    --overlay-color: rgba(0, 0, 0, 0.6); /* Màu overlay */
    --font-primary: 'Roboto', sans-serif; /* Font chữ chính */
    --font-size-large: 4rem; /* Kích thước chữ lớn */
    --font-size-medium: 1.5rem; /* Kích thước chữ trung bình */
    --button-bg: #ffffff; /* Nền nút */
    --button-color: #000000; /* Màu chữ nút */
    --button-hover-bg: #000000; /* Nền nút hover */
    --button-hover-color: #ffffff; /* Màu chữ nút hover */
}

/* Biến cho chế độ tối */
[data-theme="dark"] {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --overlay-color: rgba(255, 255, 255, 0.6);
    --button-bg: #000000;
    --button-color: #ffffff;
    --button-hover-bg: #ffffff;
    --button-hover-color: #000000;
}

/* ===========================
   2. Hero Section Styles
   =========================== */
.hero {
    position: relative;
    height: 100vh; /* Chiều cao toàn màn hình */
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-primary);
    color: var(--primary-color);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Đảm bảo video bao phủ toàn bộ khu vực */
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2; /* Đưa video ra sau tất cả */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-color); /* Overlay màu đen mờ */
    z-index: -1; /* Đặt overlay giữa video và nội dung */
}

.hero-content {
    text-align: center;
    z-index: 1; /* Đảm bảo nội dung nằm trên video */
    animation: fadeIn 2s ease-in-out; /* Hiệu ứng chữ xuất hiện */
}

.hero-title {
    font-size: var(--font-size-large);
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase; /* Chữ in hoa */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7); /* Tạo hiệu ứng chữ nổi bật */
}

.hero-tagline {
    font-size: var(--font-size-medium);
    font-style: italic;
    margin-bottom: 30px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7); /* Tạo hiệu ứng chữ nổi bật */
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    background: var(--button-bg);
    color: var(--button-color);
    border: none;
    border-radius: 50px; /* Bo góc nút */
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.cta-button:hover {
    background: var(--button-hover-bg);
    color: var(--button-hover-color);
}

/* ===========================
   3. Responsive Design
   =========================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ===========================
   4. Animations
   =========================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
