:root {
    --primary: #2E5D36; /* Màu xanh rêu Haven */
    --bg: #F9F7F2;      /* Màu nền kem nhẹ */
    --text: #333;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding-bottom: 90px; /* Chừa chỗ cho thanh Bottom Nav */
    line-height: 1.6;
}

/* Haven Guide Section */
.guide-section {
    padding: 60px 20px;
    background-color: #ffffff;
    border-radius: 40px 40px 0 0;
    margin-top: 40px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
}

.wifi-box {
    background: var(--primary);
    color: white;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.card {
    background: var(--bg);
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(46, 93, 54, 0.1);
    border-left: 4px solid var(--primary); /* Tạo vạch màu bên trái thẻ */
}
/* Update Banner */
#update-banner {
    position: fixed;
    bottom: 90px; /* Nằm trên Bottom Nav một chút */
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    display: none;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 75px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.05);
    z-index: 1001;
    padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
    text-decoration: none;
    color: var(--primary);
    font-size: 0.7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.6;
}

.nav-item.active { opacity: 1; font-weight: bold; }
/* Bổ sung khung bao quanh để nội dung không chạm mép màn hình */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

/* Định dạng cho ảnh Logo/Hero chính */
.logo-main {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 30px;
    margin-bottom: 25px;
    display: block;
    box-flex: 0 15px 35px rgba(46, 93, 54, 0.1);
}

/* Định dạng chữ */
h1 {
    font-family: serif;
    font-weight: 300;
    margin-bottom: 5px;
    color: var(--primary);
    margin: 10px 0;
}
.hero-text {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 30px;
}
.tagline {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    opacity: 0.6;
    margin-bottom: 20px;
}

/* Nút bấm đặt phòng */
.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    margin: 20px 0;
    font-weight: bold;
}

/* Hệ thống lưới cho các thẻ (Cards) */
.grid {
    display: grid;
    gap: 20px;
    text-align: left;
}
/* Để nội dung chữ trong footer không bị tràn hết chiều ngang laptop */
footer p {
    max-width: 600px;
    margin: 0 auto;
}
footer {
    text-align: center;
    color: var(--primary);
    border-top: 1px solid rgba(46, 93, 54, 0.05);
    margin-top: 40px;
    line-height: 2;
    padding: 40px 20px 110px 20px; /* Padding dưới lớn để né thanh điều hướng */
    font-size: 0.7rem;
    letter-spacing: 2px; /* Giãn chữ kiểu sang trọng */
    color: var(--primary);
    opacity: 0.4;
    text-transform: uppercase;
}

/* Đảm bảo Footer cũng có một lớp container bên trong để không bị tràn lề Laptop */
footer .container {
    max-width: 600px;
    margin: 0 auto;
}
/* Khi màn hình rộng hơn 1024px (Laptop/Desktop) */
@media (min-width: 1024px) {
    .logo-main {
        max-width: 800px; /* Giới hạn ảnh Hero lại một chút cho tinh tế */
        border-radius: 40px;
    }
    
    .grid {
        grid-template-columns: repeat(3, 1fr); /* Chia 3 cột thay vì xếp chồng */
        gap: 30px;
    }
}