body {
    margin: 0;
    font-family: 'Be Vietnam Pro', sans-serif;
    background: #fff6f0;
    color: #333;
    overflow-x: hidden;
}

/* HEADER */
header {
    background: #b30000;
    color: white;
    padding: 15px;
    text-align: center;
}

nav {
    margin-top: 10px;
}

nav a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: #00ff66;
}

/* BANNER */
.banner {
    background: linear-gradient(rgb(255, 247, 1), rgba(179,0,0,0.7)),
                url('../images/banner.jpg') center/cover;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

/* CONTENT */
.container {
    padding: 40px;
    max-width: 1100px;
    margin: auto;
}

h2 {
    color: #b30000;
}

.card {
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* IMAGE */
img {
    width: 100%;
    border-radius: 10px;
}

/* BUTTON */
.btn {
    display: inline-block;
    background: #006400;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
}

.btn:hover {
    background: #00aa00;
}

/* FOOTER */
footer {
    background: #b30000;
    color: white;
    text-align: center;
    padding: 10px;
}

/* FADE IN */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: 1s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* COIN ANIMATION */
.coin {
    position: fixed;
    top: -50px;
    font-size: 24px;
    animation: fall linear infinite;
    color: gold;
    z-index: 9999;
}

@keyframes fall {
    to {
        transform: translateY(110vh) rotate(360deg);
    }
}

/* HIGHLIGHT GRID */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.highlight-item {
    text-align: center;
    transition: 0.3s;
}

.highlight-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.4s;
}

.highlight-item img:hover {
    transform: scale(1.08);
}

.highlight-item h3 {
    color: #b30000;
    margin: 10px 0 5px;
}

.highlight-item p {
    font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
    .highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .highlight-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== TRANG HÌNH ẢNH DẠNG 1 KHUNG / 1 ẢNH ===== */

.photo-section {
    margin-top: 40px;
}

.photo-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: 0.4s;
    cursor: pointer;
}

.photo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(179,0,0,0.3);
}

.photo-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: 0.4s;
}

.photo-card:hover img {
    transform: scale(1.05);
}

.photo-content {
    padding: 20px 30px;
}

.photo-content h3 {
    margin: 0;
    color: #b30000;
    font-size: 22px;
}

.photo-content p {
    margin-top: 10px;
    font-size: 15px;
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 85%;
    max-height: 85%;
    border-radius: 10px;
}

.lightbox span {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .photo-card img {
        height: 250px;
    }
}

video, iframe {
    border-radius: 0;
}

.photo-card video,
.photo-card iframe {
    border-radius: 0;
}

/* ===== ẢNH NẰM TRỌN TRONG KHUNG ===== */

.image-frame {
    background: #f5f5f5;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
}

.image-frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ===== RESPONSIVE CHO ĐIỆN THOẠI ===== */
@media (max-width: 768px) {

    body {
        padding: 10px;
    }

    .container {
        width: 100%;
    }

    .card {
        width: 100%;
        margin-bottom: 20px;
    }

    .features {
        flex-direction: column;
    }

    .image-frame {
        height: 220px;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    nav {
        flex-direction: column;
        gap: 10px;
    }
}