:root {
    --primary-color: #4a2c2a;     /* Nâu Cafe đậm đà, ấm áp, cổ điển */
    --secondary-color: #c5a880;   /* Vàng đồng thanh lịch, tinh tế */
    --gold-color: #d4af37;        /* Vàng kim điểm xuyết nổi bật */
    --dark-color: #2b1a19;        /* Chữ tiêu đề màu nâu đen tối sâu */
    --light-bg: #fdfbf7;          /* Màu nền kem sữa nhạt dịu mắt, sạch sẽ */
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--dark-color);
    line-height: 1.6;
}

/* --- TOPBAR & NAVIGATION --- */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 1.5rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}
.top-bar .info span { margin-right: 15px; }

header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 1.5rem;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
}

.logo span { color: var(--secondary-color); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-contact {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s, background 0.3s;
    border: 1px solid var(--primary-color);
}
.btn-contact:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* --- HERO BANNER --- */
.hero {
    background: linear-gradient(135deg, rgba(74, 44, 42, 0.08) 0%, rgba(197, 168, 128, 0.05) 100%);
    padding: 6rem 1.5rem;
    text-align: center;
}

.hero h2 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3.2rem;
    color: var(--primary-color);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.15rem;
    color: #5c4d4c;
    margin-bottom: 2rem;
}

/* --- SECTION GENERAL --- */
.section-padding {
    padding: 5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-size: 2.25rem;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 3px;
    background: var(--secondary-color);
}

.section-title p {
    color: #64748b;
    margin-top: 10px;
}

/* --- GRID CHUNG --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.process-card {
    background: var(--light-bg);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(74, 44, 42, 0.05);
    border-color: var(--primary-color);
}

.process-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.product-section { background: var(--light-bg); }

.tab-container { display: flex; justify-content: center; gap: 15px; margin-bottom: 3rem; flex-wrap: wrap; }

.tab-btn {
    padding: 10px 25px;
    border: 1px solid #cbd5e1;
    background: var(--white);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark-color);
    transition: all 0.3s;
}
.tab-btn.active, .tab-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(74, 44, 42, 0.2);
}

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem; }

.product-card { background: var(--white); border-radius: 16px; overflow: hidden; border: 1px solid #e2e8f0; transition: transform 0.3s, box-shadow 0.3s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

.product-img-container { width: 100%; height: 200px; overflow: hidden; background-color: #f1f5f9; }
.p-img-element { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .p-img-element { transform: scale(1.08); }

.product-info { padding: 1.5rem; }
.product-info h4 { font-size: 1.2rem; margin-bottom: 6px; color: var(--dark-color); }
.product-desc { font-size: 0.88rem; color: #64748b; margin-bottom: 12px; height: 40px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-price { color: var(--primary-color); font-weight: 700; font-size: 1.1rem; border-top: 1px dashed #e2e8f0; padding-top: 10px; }

/* Hiệu ứng tương tác cho nút đặt chọn món */
.btn-order-now:hover {
    background: var(--secondary-color) !important;
    color: var(--primary-color) !important;
    border-color: var(--secondary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(74, 44, 42, 0.15);
}

.farm-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.gallery-item { position: relative; border-radius: 16px; overflow: hidden; height: 250px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: #ffffff; padding: 15px; font-size: 0.95rem; font-weight: 600; text-align: center; }
.gallery-item:hover img { transform: scale(1.08); }

footer { background: #1a100f; color: #a49392; padding: 4rem 1.5rem 2rem; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-col h4 { color: var(--white); font-size: 1.2rem; margin-bottom: 1.5rem; }
.footer-col p { font-size: 0.9rem; margin-bottom: 12px; display: flex; align-items: flex-start; gap: 10px; }
.footer-col i { color: var(--secondary-color); margin-top: 3px; }
.footer-col a { color: #a49392; text-decoration: none; }
.footer-col a:hover { color: var(--white); }
.copyright { text-align: center; border-top: 1px solid #2b1a19; padding-top: 1.5rem; font-size: 0.85rem; }

@media (max-width: 992px) {
    .process-grid, .footer-grid, .farm-gallery-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .navbar { flex-direction: column; gap: 15px; }
}

@media (max-width: 768px) {
    header { padding: 6px 12px !important; }
    .navbar { gap: 8px !important; }
    .logo { font-size: 0.95rem !important; }
    .logo-img { max-height: 28px !important; }
    .btn-contact { padding: 6px 14px !important; font-size: 0.75rem !important; }
    .nav-links a { font-size: 0.8rem !important; }
}