/* Bếp Nhà Muội — Givral-inspired bakery theme */
:root {
  --cream: #FAF6F0;
  --cream-2: #F3EADB;
  --brown: #6B4423;
  --brown-dark: #3E2723;
  --caramel: #C68642;
  --gold: #D4A574;
  --accent: #8B4513;
  --rose: #C17767;
  --text: #2C1810;
  --muted: #7A6A5A;
  --shadow: 0 6px 24px rgba(62, 39, 35, 0.08);
  --shadow-lg: 0 12px 40px rgba(62, 39, 35, 0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, Segoe UI, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--brown-dark);
  font-weight: 600;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--brown-dark); }

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

/* ---------- NAVBAR ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(107, 68, 35, 0.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: 1200px; margin: 0 auto;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  color: var(--brown-dark);
}
.logo-mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--cream-2);
  flex-shrink: 0;
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav-links {
  display: flex; gap: 32px; list-style: none;
}
.nav-links a {
  color: var(--brown-dark); font-weight: 500; font-size: 15px;
  position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--caramel);
  transition: width .25s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--brown-dark); color: #fff !important;
  padding: 10px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  transition: transform .15s, background .2s;
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }
.burger { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--brown-dark); }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 90px 0 110px;
  background:
    radial-gradient(ellipse at top right, rgba(212, 165, 116, 0.25), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(193, 119, 103, 0.18), transparent 60%),
    var(--cream);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
}
.hero-kicker {
  display: inline-block;
  background: rgba(212, 165, 116, 0.2);
  color: var(--brown-dark);
  padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .5px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.1; margin-bottom: 20px;
}
.hero h1 em { color: var(--caramel); font-style: italic; }
.hero p {
  font-size: 18px; color: var(--muted); margin-bottom: 32px; max-width: 520px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
  border: 0;
}
.btn-primary {
  background: var(--brown-dark); color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-lg); color:#fff; }
.btn-outline {
  background: transparent; color: var(--brown-dark);
  border: 2px solid var(--brown-dark);
}
.btn-outline:hover { background: var(--brown-dark); color: #fff; }
.btn-zalo {
  background: #0068FF; color: #fff;
}
.btn-zalo:hover { background: #0052CC; color:#fff; transform: translateY(-2px); }

.hero-visual {
  position: relative; aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--gold), var(--rose));
  border-radius: 50% 40% 55% 45% / 45% 55% 40% 60%;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  animation: blob 12s ease-in-out infinite;
  overflow: hidden;
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: inherit;
}
.hero-visual::before {
  content: ''; position: absolute; inset: -20px;
  border: 2px dashed rgba(107, 68, 35, 0.25);
  border-radius: 50% 40% 55% 45% / 45% 55% 40% 60%;
  animation: spin 40s linear infinite;
}
.hero-visual-inner {
  font-family: 'Playfair Display', serif; text-align: center;
  color: #fff; padding: 40px;
}
.hero-visual-inner .big {
  font-size: clamp(40px, 6vw, 72px); font-weight: 700; line-height: 1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.hero-visual-inner .sub { font-size: 18px; margin-top: 12px; opacity: .95; letter-spacing: 2px; }

@keyframes blob {
  0%,100% { border-radius: 50% 40% 55% 45% / 45% 55% 40% 60%; }
  50%     { border-radius: 40% 55% 45% 50% / 55% 45% 60% 40%; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- SECTION ---------- */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head .kicker {
  color: var(--caramel); font-weight: 600; font-size: 14px;
  letter-spacing: 2px; text-transform: uppercase;
}
.section-head h2 { font-size: clamp(28px, 4vw, 44px); margin: 10px 0 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- ABOUT ---------- */
.about { background: var(--cream-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image {
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--rose), var(--caramel));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: 'Playfair Display', serif; font-size: 120px;
  box-shadow: var(--shadow-lg);
}
.about h2 { margin-bottom: 20px; }
.about p { color: var(--muted); margin-bottom: 16px; font-size: 16px; }
.about-stats { display: flex; gap: 32px; margin-top: 32px; }
.stat { }
.stat .num { font-family: 'Playfair Display', serif; font-size: 32px; color: var(--caramel); font-weight: 700; }
.stat .lbl { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* ---------- PRODUCT GRID ---------- */
.prod-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.prod-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prod-img {
  aspect-ratio: 4/3; background: var(--cream-2);
  display: block; overflow: hidden;
}
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.prod-card:hover .prod-img img { transform: scale(1.05); }
.prod-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.prod-cat {
  font-size: 11px; color: var(--caramel);
  font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
}
.prod-name { font-size: 18px; margin: 6px 0 8px; }
.prod-desc { color: var(--muted); font-size: 14px; margin-bottom: 16px; flex: 1; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prod-price { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--brown-dark); font-weight: 700; }
.prod-order {
  padding: 8px 16px; border-radius: 999px;
  background: var(--brown-dark); color: #fff;
  font-size: 13px; font-weight: 600; border: 0; cursor: pointer;
  transition: background .2s, transform .1s;
}
.prod-order:hover { background: var(--caramel); transform: translateY(-1px); }

/* ---------- FILTER BAR ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  justify-content: center; margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 18px; border-radius: 999px;
  background: #fff; color: var(--brown-dark);
  border: 1.5px solid transparent; cursor: pointer;
  font-size: 14px; font-weight: 600;
  transition: all .2s;
}
.filter-btn:hover { border-color: var(--caramel); }
.filter-btn.active { background: var(--brown-dark); color: #fff; }
.search-box {
  padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid rgba(107, 68, 35, 0.15);
  background: #fff; font-size: 14px; width: 240px;
  outline: none; transition: border-color .2s;
}
.search-box:focus { border-color: var(--caramel); }

/* ---------- FB / CONTACT ---------- */
.fb-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.fb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.fb-embed { background: #fff; border-radius: 16px; padding: 16px; box-shadow: var(--shadow); overflow: hidden; }
.fb-embed iframe { max-width: 100%; border: 0; }

.contact-card {
  background: #fff; border-radius: 16px; padding: 36px;
  box-shadow: var(--shadow);
}
.contact-row { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--cream-2); display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.contact-row h4 { font-size: 14px; margin-bottom: 2px; color: var(--muted); font-weight: 500; font-family: 'Inter', sans-serif; letter-spacing: .5px; text-transform: uppercase; }
.contact-row p, .contact-row a { font-size: 16px; color: var(--brown-dark); font-weight: 500; }
.contact-actions { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
footer {
  background: var(--brown-dark); color: #E8D5B7;
  padding: 60px 0 28px; margin-top: 0;
}
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.foot-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: .5px; }
.foot-col p, .foot-col a { color: #D4B59A; font-size: 14px; line-height: 1.9; }
[data-shop-phone] { white-space: nowrap; }
.foot-col a:hover { color: var(--gold); }
.foot-col ul { list-style: none; }
.foot-social { display: flex; gap: 10px; margin-top: 16px; }
.foot-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  color: #E8D5B7; font-size: 16px; transition: background .2s;
}
.foot-social a:hover { background: var(--caramel); color: #fff; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px; text-align: center; font-size: 13px; color: #A89078;
}

/* ---------- FLOATING ACTION BUTTONS ---------- */
.fab-stack { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.fab {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px; font-weight: 700;
  box-shadow: var(--shadow-lg); cursor: pointer;
  transition: transform .15s;
  text-decoration: none;
}
.fab:hover { transform: scale(1.08); }
.fab-zalo { background: #0068FF; }
.fab-fb   { background: #1877F2; }
.fab-call { background: #25D366; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 20px; gap: 16px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .burger { display: block; }
  .hero-grid, .about-grid, .fb-grid, .foot-grid { grid-template-columns: 1fr; gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 56px 0; }
  .hero { padding: 50px 0 70px; }
  .hero-visual { max-width: 320px; margin: 0 auto; }
  .about-image { max-width: 360px; margin: 0 auto; }
  .search-box { width: 100%; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
  .about-stats { gap: 20px; flex-wrap: wrap; }
}
