@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Pacifico&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f0f7f4;
    color: #2d3436;
}

header {
    background: linear-gradient(135deg, #d62828 0%, #1b4d3e 100%);
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
}

header h1 {
    font-family: 'Pacifico', cursive;
    font-size: 3.2rem;
    margin-bottom: 10px;
    color: #ffd700;
    text-shadow: 3px 3px 0px #d62828;
}

nav {
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid #d62828;
}

nav a {
    color: #1b4d3e;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 700;
    text-transform: uppercase;
}

nav a:hover {
    color: #d62828;
}

.container {
    max-width: 1000px; /* Tăng nhẹ độ rộng để chứa 3 card đẹp hơn */
    margin: 40px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 15px;
    border-top: 8px solid #1b4d3e;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    text-align: center;
}



.card-container {
    display: flex;
    flex-wrap: nowrap; 
    gap: 15px;   
    justify-content: space-between; 
    margin-top: 30px;
    width: 100%;          
}

.card {
    background-color: #2c1b10; /* Màu nền nâu tối sang trọng giống mẫu */
    color: #ffffff;
    width: 280px; /* Độ rộng phù hợp để dàn hàng ngang */
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.card:hover {
    transform: translateY(-10px); /* Hiệu ứng nổi lên khi di chuột */
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover; /* Giúp ảnh không bị méo */
    margin: 0; /* Ghi đè margin mặc định của img */
    border-radius: 0; /* Card image thường không bo góc riêng trên đầu */
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    color: #ffd700; /* Màu vàng nổi bật trên nền tối */
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}

.card-content p {
    font-size: 0.9rem;
    color: #e0e0e0;
    line-height: 1.4;
    text-align: center;
}

/* --- KẾT THÚC PHẦN BỔ SUNG --- */

h2 {
    color: #d62828;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

h2::before {
    content: "🧧";
    margin-right: 10px;
}

p {
    text-align: center;
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-home {
    display: inline-block;
    background: #1b4d3e;
    color: white;
    padding: 16px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    margin-top: 20px;
    transition: 0.3s;
}

.btn-home:hover {
    background: #d62828;
    transform: scale(1.05);
}

footer {
    text-align: center;
    padding: 40px;
    background: #1b4d3e;
    color: #ffffff;
    margin-top: 60px;
    border-top: 5px solid #d62828;
}