/* CSS Stylesheet for biatuoichatluong.com */

:root {
  --bg-light: #fffdf9;
  --bg-card: #ffffff;
  --bg-cream: #faf5ea;
  --gold-primary: #d97706;
  --gold-deep: #b45309;
  --gold-light: #fef3c7;
  --amber-accent: #f59e0b;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #f1e5cf;
  --accent-red: #dc2626;
  --shadow-sm: 0 4px 20px rgba(180, 83, 9, 0.06);
  --shadow-md: 0 10px 30px rgba(180, 83, 9, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  padding-bottom: 80px; /* Space for mobile floating dock */
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
header {
  background: rgba(255, 253, 249, 0.95);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--gold-deep);
  white-space: nowrap;
}

.logo-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: #475569;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s;
  border: none;
  text-align: center;
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.25);
}

.btn-gold:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
}

.btn-outline {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: var(--gold-light);
}

/* MOBILE MENU HAMBURGER */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 5px;
  z-index: 110;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 80px 30px 40px;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-drawer.open {
  right: 0;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.4rem;
  color: #334155;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-list a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-list a:hover {
  color: var(--gold-primary);
}

.mobile-drawer-contact {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* BANNER SLIDER / CAROUSEL */
.slider-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 25px auto 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #1e293b;
  touch-action: pan-y;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 500px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.85);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(26, 17, 4, 0.85) 0%, rgba(26, 17, 4, 0.5) 60%, rgba(0,0,0,0.15) 100%);
  z-index: 2;
}

.slide-content {
  position: relative;
  z-index: 3;
  padding: 0 60px;
  max-width: 680px;
  color: #ffffff;
}

.slide-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.3);
  border: 1px solid rgba(254, 243, 199, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #fef08a;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.slide-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  color: #fff;
}

.slide-content h2 span {
  color: #fde047;
}

.slide-content p {
  font-size: 1.05rem;
  color: #f1f5f9;
  margin-bottom: 25px;
  line-height: 1.55;
}

/* SLIDER ARROWS & DOTS */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.2s;
}

.slider-btn:hover {
  background: var(--gold-primary);
  color: #fff;
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  width: 32px;
  border-radius: 8px;
  background: #fbbf24;
}

/* STATS / TRUST BADGES */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 35px;
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.stat-item {
  text-align: center;
  border-right: 1px dashed #e2e8f0;
  padding: 10px 15px;
}

.stat-item:last-child {
  border-right: none;
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--gold-deep);
  margin-bottom: 4px;
  font-weight: 800;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

/* SECTION GENERAL */
section {
  padding: 75px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
}

/* STORY SECTION (LÚA MẠCH & BIA MEN SỐNG) */
.story-section {
  background: var(--bg-cream);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.story-img-wrap {
  position: relative;
}

.story-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.story-floating-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #ffffff;
  padding: 18px 24px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
}

.story-badge-icon {
  background: var(--gold-light);
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}

.story-content h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-deep);
  margin-bottom: 16px;
  line-height: 1.3;
}

.story-content p {
  color: #475569;
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.highlight-list {
  list-style: none;
  margin-top: 20px;
}

.highlight-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
}

.highlight-list span {
  color: var(--gold-primary);
  font-size: 1.2rem;
}

/* PRODUCTS */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.product-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-tag {
  display: inline-block;
  background: var(--gold-light);
  color: var(--gold-deep);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.specs {
  display: flex;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 12px 16px;
  border-radius: 10px;
  margin: 18px 0 24px;
  font-size: 0.88rem;
  justify-content: space-between;
}

.specs div span {
  color: var(--text-muted);
  display: block;
  font-size: 0.78rem;
}

.specs div strong {
  color: var(--gold-deep);
  font-size: 0.95rem;
}

/* B2B BENEFITS */
.b2b-section {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.benefit-box {
  background: var(--bg-cream);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: transform 0.2s;
}

.benefit-box:hover {
  transform: translateY(-4px);
}

.benefit-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.benefit-box h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--gold-deep);
  font-weight: 700;
}

.benefit-box p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
}

/* CALCULATOR */
.calc-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  max-width: 640px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.calc-group {
  margin-bottom: 25px;
}

.calc-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 1rem;
}

.calc-group input[type="range"] {
  width: 100%;
  accent-color: var(--gold-primary);
  height: 8px;
  cursor: pointer;
}

.calc-result {
  background: var(--gold-light);
  border: 1px dashed var(--gold-primary);
  padding: 24px;
  border-radius: 14px;
  text-align: center;
  margin-top: 24px;
}

.calc-result h4 {
  font-size: 0.9rem;
  color: #78350f;
  text-transform: uppercase;
  font-weight: 700;
}

.calc-result .liters {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold-deep);
  margin: 6px 0;
}

/* FOOTER */
footer {
  background: #1e293b;
  padding: 60px 0 25px;
  color: #94a3b8;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-col p {
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-col a {
  color: #f1f5f9;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fde047;
}

/* MOBILE FLOATING CTA DOCK */
.mobile-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 10px 14px;
  display: flex;
  gap: 10px;
  z-index: 1000;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
}

.dock-btn {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.dock-call {
  background: var(--accent-red);
  color: #fff !important;
}

.dock-zalo {
  background: #0068ff;
  color: #fff !important;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 992px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .story-floating-card {
    position: static;
    margin-top: 15px;
  }
}

@media (max-width: 868px) {
  .nav-links {
    display: none;
  }
  .header-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .slider-wrapper {
    margin-top: 15px;
    border-radius: 14px;
  }
  .slider-container {
    height: 440px;
  }
  .slide-content {
    padding: 0 25px;
  }
  .slide-content h2 {
    font-size: 1.85rem;
  }
  .slide-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .slider-btn {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  .slider-prev { left: 10px; }
  .slider-next { right: 10px; }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 20px;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px dashed #e2e8f0;
  }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: none;
  }
}

@media (max-width: 576px) {
  .container {
    width: 92%;
  }
  .navbar {
    height: 70px;
  }
  .logo {
    font-size: 1.1rem;
  }
  .logo-icon {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }
  .slider-container {
    height: 480px;
  }
  .slide-content h2 {
    font-size: 1.55rem;
    line-height: 1.3;
  }
  .slide-content p {
    font-size: 0.88rem;
    margin-bottom: 18px;
  }
  .slide-tag {
    font-size: 0.72rem;
    padding: 4px 10px;
    margin-bottom: 12px;
  }
  .section-title h2 {
    font-size: 1.7rem;
  }
  .story-content h3 {
    font-size: 1.55rem;
  }
  .story-img-wrap img {
    height: 280px;
  }
  .stats-bar {
    grid-template-columns: 1fr;
  }
  .stat-item {
    border-bottom: 1px dashed #e2e8f0;
  }
  .stat-item:last-child {
    border-bottom: none;
  }
  .calc-card {
    padding: 24px 18px;
  }
  .calc-result .liters {
    font-size: 2rem;
  }
  .product-card {
    padding: 22px;
  }
  .specs {
    flex-wrap: wrap;
    gap: 8px 15px;
  }
}
