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

:root {
  /* Fresh & Natural Theme Variables */
  --bg-deep: #F8FAFC; /* Light gray/white background */
  --bg-base: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --surface: rgba(255, 255, 255, 0.85); /* Light frost */
  --border: rgba(0, 150, 64, 0.15); /* Green tinted border */
  --foreground: #334155; /* Dark gray for text */
  --foreground-muted: #64748B;
  
  --accent: #FFC20E; /* Pineapple Yellow */
  --accent-glow: rgba(255, 194, 14, 0.4);
  --secondary: #009640; /* Leaf Green */
  --secondary-glow: rgba(0, 150, 64, 0.3);
  
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --radius: 16px;
  --morph-duration: 600ms;
  --blur-amount: 15px;
  
  --transition: all var(--morph-duration) cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background animated liquid blobs - Light Theme */
.liquid-bg {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -1;
  overflow: hidden;
  background: var(--bg-deep);
}
.blob {
  position: absolute;
  filter: blur(100px);
  border-radius: 50%;
  opacity: 0.4;
}
.blob-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: var(--accent); }
.blob-2 { bottom: -20%; right: -10%; width: 60vw; height: 60vw; background: #BFF0D4; }
.blob-3 { top: 30%; right: -10%; width: 40vw; height: 40vw; background: #FFF5CC; opacity: 0.5; }

/* Glassmorphism Classes */
.glass {
  background: var(--surface);
  backdrop-filter: blur(var(--blur-amount));
  -webkit-backdrop-filter: blur(var(--blur-amount));
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.05);
}

/* Typography */
h1, h2, h3, h4, .logo {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary);
}
h1 { font-size: 3.8rem; margin-bottom: 1rem; letter-spacing: -1px; }
h2 { font-size: 2.8rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.6rem; margin-bottom: 1rem; }
p { margin-bottom: 1rem; color: var(--foreground); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; }

/* Navbar */
header {
  position: fixed;
  top: 0; width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
}
header.scrolled {
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 2rem; color: var(--accent); text-decoration: none; }
.logo span { color: var(--secondary); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  font-size: 0.95rem;
}
.nav-links a::after {
  content: ''; position: absolute;
  width: 0; height: 2px;
  bottom: -4px; left: 0;
  background-color: var(--secondary);
  transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--secondary); }

.mobile-menu-btn { display: none; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--secondary);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--secondary-glow);
}
.btn-primary:hover {
  background: #007a33;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--secondary-glow);
}
.btn-outline {
  background: transparent;
  color: var(--secondary);
  border: 1px solid var(--secondary);
}
.btn-outline:hover {
  background: var(--secondary);
  color: #fff;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  padding-top: 5rem;
}
.hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2; opacity: 0.5;
}
.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 100%);
  z-index: -1;
}
.hero-content { max-width: 650px; }
.hero-content p { font-size: 1.1rem; color: #475569; }

/* Grid */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }

/* Card */
.card {
  padding: 2.5rem;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  background: #fff;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at top right, var(--accent-glow), transparent 60%);
  opacity: 0; transition: var(--transition);
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.card:hover::before { opacity: 1; }
.card img {
  width: 100%; height: 240px; object-fit: cover;
  border-radius: 12px; margin-bottom: 1.5rem;
  border: 1px solid rgba(0,0,0,0.05);
}
.card h3 { color: var(--secondary); }

.badge {
  display: inline-block; padding: 0.4rem 1rem; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
  background: var(--accent); color: #fff;
  margin-bottom: 1.5rem; border: 1px solid var(--accent);
}

.rounded-img, .process-img {
  width: 100%; border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0,0,0,0.05);
}
.process-img { margin-top: 2.5rem; }

.product-specs { list-style: none; margin: 1.5rem 0; }
.product-specs li { margin-bottom: 0.8rem; display: flex; align-items: flex-start; }
.product-specs li::before {
  content: "✿"; color: var(--secondary); margin-right: 12px; font-size: 1.1rem;
}

/* Contact floating widget */
.contact-widget {
  position: fixed; bottom: 2rem; right: 2rem;
  display: flex; flex-direction: column; gap: 1rem; z-index: 999;
}
.contact-btn {
  width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; text-decoration: none; font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15); transition: var(--transition); border: 2px solid transparent;
}
.contact-btn:hover { transform: scale(1.1) translateY(-5px); border-color: #fff; }
.btn-zalo { background: #0068FF; }
.btn-phone { background: var(--secondary); }
.btn-fb { background: #1877F2; }

footer {
  background: var(--bg-base); padding: 4rem 0 2rem 0; text-align: center;
  border-top: 1px solid var(--border);
}
.footer-info {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: var(--secondary);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-info i { color: var(--accent); margin-right: 8px; }

/* GSAP Elements */
.gsap-reveal { opacity: 0; visibility: hidden; }

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  h1 { font-size: 2.8rem; } h2 { font-size: 2.2rem; }
  .nav-links {
    position: absolute; top: 100%; left: 0; width: 100%; flex-direction: column;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(15px); padding: 2rem; gap: 1.5rem;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }
  .nav-links.show { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  .mobile-menu-btn { display: block; background: none; border: none; color: var(--secondary); font-size: 1.5rem; }
}
