/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #1B4332;
  --primary-light: #2D6A4F;
  --secondary: #C8956C;
  --secondary-light: #D4A574;
  --accent: #B07D4B;
  --dark: #1a1a1a;
  --dark-2: #2a2a2a;
  --text: #333;
  --text-light: #666;
  --text-muted: #999;
  --bg: #ffffff;
  --bg-warm: #f8f6f3;
  --bg-section: #faf9f7;
  --border: rgba(0,0,0,0.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER/NAV ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  background: transparent;
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}
.header .container { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo img {
  height: 50px; width: 50px; object-fit: cover;
  border-radius: 50%; border: 2px solid var(--secondary);
  background: white;
}
.header:not(.scrolled) .logo img {
  border-color: rgba(255,255,255,0.4);
}
.logo-text { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--primary); }
.logo-text span { display: block; font-family: var(--font-main); font-size: 11px; font-weight: 400; color: var(--text-light); letter-spacing: 1px; }
.header:not(.scrolled) .logo-text { color: white; }
.header:not(.scrolled) .logo-text span { color: rgba(255,255,255,0.7); }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text);
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--secondary); transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.header:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.9); }

.nav-cta {
  background: var(--secondary); color: white !important; padding: 10px 24px;
  border-radius: 50px; font-weight: 600; font-size: 13px;
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

.menu-toggle { display: none; background: none; border: none; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle span { width: 24px; height: 2px; background: var(--text); transition: var(--transition); border-radius: 2px; }
.header:not(.scrolled) .menu-toggle span { background: white; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, rgba(27,67,50,0.92), rgba(27,67,50,0.75)), url('../images/hero-bg.jpg') center/cover no-repeat;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,149,108,0.15), transparent 70%);
}
.hero-content { max-width: 650px; color: white; position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(10px);
  padding: 8px 20px; border-radius: 50px; font-size: 13px;
  font-weight: 500; margin-bottom: 24px; border: 1px solid rgba(255,255,255,0.15);
}
.hero h1 { font-family: var(--font-heading); font-size: clamp(36px, 5vw, 56px); font-weight: 700; line-height: 1.15; margin-bottom: 20px; }
.hero h1 .highlight { color: var(--secondary-light); }
.hero p { font-size: 17px; line-height: 1.8; color: rgba(255,255,255,0.85); margin-bottom: 32px; max-width: 520px; }

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: white; padding: 16px 32px; border-radius: 50px;
  font-size: 15px; font-weight: 600; display: inline-flex;
  align-items: center; gap: 8px; box-shadow: 0 4px 15px rgba(200,149,108,0.4);
  transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(200,149,108,0.5); }

.btn-outline {
  border: 2px solid rgba(255,255,255,0.3); color: white;
  padding: 14px 28px; border-radius: 50px; font-size: 15px;
  font-weight: 500; display: inline-flex; align-items: center; gap: 8px;
  backdrop-filter: blur(5px); transition: var(--transition);
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--primary); padding: 40px 0;
  position: relative; z-index: 3;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; color: white; }
.stat-item h3 { font-family: var(--font-heading); font-size: 36px; font-weight: 700; color: var(--secondary-light); }
.stat-item p { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; opacity: 0.7; margin-top: 4px; }

/* ===== SECTION COMMON ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-section); }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 50px; }
.section-badge {
  display: inline-block; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; color: var(--secondary);
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-heading); font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700; color: var(--dark); line-height: 1.2; margin-bottom: 16px;
}
.section-header p { color: var(--text-light); font-size: 16px; }
.section-line {
  width: 60px; height: 3px; margin: 16px auto 0;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  border-radius: 2px;
}

/* ===== WHY CHOOSE US ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: white; padding: 32px 24px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--secondary); }
.feature-icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(27,67,50,0.08), rgba(200,149,108,0.08));
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.feature-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ===== PRODUCTS ===== */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  border-radius: var(--radius-lg); overflow: hidden; background: white;
  border: 1px solid var(--border); transition: var(--transition); position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.product-img {
  height: 220px; background: linear-gradient(135deg, var(--bg-section), #e8e0d8);
  display: flex; align-items: center; justify-content: center; font-size: 48px;
  position: relative; overflow: hidden;
}
.product-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  opacity: 0; transition: var(--transition);
}
.product-card:hover .product-img::after { opacity: 1; }
.product-info { padding: 20px; }
.product-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.product-price { font-size: 14px; color: var(--secondary); font-weight: 600; }
.product-info p { font-size: 13px; color: var(--text-muted); margin-top: 6px; }

/* ===== PROCESS ===== */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.process-step { text-align: center; position: relative; padding: 0 8px; }
.process-step::after {
  content: '→'; position: absolute; right: -14px; top: 28px;
  color: var(--secondary); font-size: 20px; font-weight: 700;
}
.process-step:last-child::after { display: none; }
.step-number {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white; font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(27,67,50,0.3);
}
.process-step h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.process-step p { font-size: 12px; color: var(--text-light); }

/* ===== PRICING ===== */
.pricing-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); background: white;
}
.pricing-table thead th {
  background: var(--primary); color: white; padding: 16px 12px;
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.pricing-table tbody td {
  padding: 14px 12px; border-bottom: 1px solid var(--border);
  font-size: 14px; text-align: center;
}
.pricing-table tbody td:first-child { text-align: left; font-weight: 600; }
.pricing-table tbody tr:hover { background: rgba(200,149,108,0.04); }
.pricing-table .price-highlight { color: var(--secondary); font-weight: 700; }
.pricing-note { text-align: center; margin-top: 20px; font-size: 13px; color: var(--text-light); }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: white; padding: 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-stars { color: #f59e0b; font-size: 14px; margin-bottom: 12px; }
.testimonial-text { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 16px; font-weight: 700;
}
.testimonial-name { font-size: 14px; font-weight: 600; }
.testimonial-loc { font-size: 12px; color: var(--text-muted); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 80px 0; text-align: center; color: white; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(200,149,108,0.1);
}
.cta-section h2 { font-family: var(--font-heading); font-size: clamp(28px, 3vw, 38px); margin-bottom: 16px; }
.cta-section p { font-size: 16px; opacity: 0.85; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ===== CONTACT FORM ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info h3 { font-family: var(--font-heading); font-size: 28px; margin-bottom: 16px; }
.contact-info p { color: var(--text-light); margin-bottom: 24px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm); flex-shrink: 0;
  background: rgba(27,67,50,0.06); display: flex; align-items: center;
  justify-content: center; font-size: 18px;
}
.contact-item strong { display: block; font-size: 14px; margin-bottom: 2px; }
.contact-item span { font-size: 14px; color: var(--text-light); }

.form-card {
  background: white; padding: 32px; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.form-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 20px; text-align: center; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid #e0e0e0;
  border-radius: var(--radius-sm); font-size: 14px; font-family: inherit;
  transition: var(--transition); background: var(--bg-warm);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(27,67,50,0.1); outline: none;
}
.btn-submit {
  width: 100%; padding: 16px; background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: white; border-radius: 50px; font-size: 16px; font-weight: 700;
  margin-top: 8px; transition: var(--transition);
  box-shadow: 0 4px 15px rgba(200,149,108,0.3);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(200,149,108,0.4); }
.form-trust { text-align: center; margin-top: 14px; font-size: 12px; color: var(--text-muted); }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: white; font-size: 16px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 12px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 14px; color: rgba(255,255,255,0.6); }
.footer ul a:hover { color: var(--secondary-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; text-align: center; font-size: 13px; }

/* ===== FLOATING BUTTONS ===== */
.floating-zalo {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #0068FF; color: white; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,104,255,0.4);
  animation: pulse-zalo 2s infinite; transition: var(--transition);
}
.floating-zalo:hover { transform: scale(1.1); }
@keyframes pulse-zalo {
  0%, 100% { box-shadow: 0 4px 20px rgba(0,104,255,0.4); }
  50% { box-shadow: 0 4px 20px rgba(0,104,255,0.4), 0 0 0 12px rgba(0,104,255,0.1); }
}

.floating-phone {
  position: fixed; bottom: 24px; left: 24px; z-index: 999;
  display: none; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: white; font-size: 24px;
  align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  animation: pulse-phone 2s infinite;
}
@keyframes pulse-phone {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0.1); }
}

/* ===== TOUR TABS ===== */
.tour-tab {
  padding: 10px 20px; border-radius: 50px; font-size: 13px; font-weight: 600;
  background: var(--bg-warm); color: var(--text); border: 1.5px solid var(--border);
  transition: var(--transition); font-family: inherit;
}
.tour-tab:hover { border-color: var(--secondary); color: var(--secondary); }
.tour-tab.active {
  background: var(--primary); color: white; border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(27,67,50,0.3);
}

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .process-step:nth-child(3)::after { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; flex-direction: column; padding: 20px; gap: 16px; box-shadow: var(--shadow-lg); }
  .nav-links.active { display: flex; }
  .nav-links a { color: var(--text) !important; }
  .menu-toggle { display: flex; }
  .hero { min-height: 90vh; }
  .hero h1 { font-size: 32px; }
  .hero-buttons { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 20px; }
  .process-step::after { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .floating-phone { display: flex; }
  .pricing-table { font-size: 12px; }
  .pricing-table thead th, .pricing-table tbody td { padding: 10px 6px; }
}
