/* ============================================
   四墩子面馆 · 官网样式表
   品牌色：朱红 + 金色 + 暖白
   ============================================ */

/* 全局重置 & 基础 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red:       #8B1A1A;
  --red-light: #C41E3A;
  --gold:      #D4A017;
  --gold-light:#F0C040;
  --cream:     #FFF8F0;
  --dark:      #1A1A1A;
  --gray:      #555;
  --gray-light:#888;
  --white:     #FFFFFF;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: var(--dark);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   导航栏
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(212, 160, 23, 0.3);
}

.navbar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.navbar-brand .brand-logo {
  width: 36px;
  height: 36px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.navbar-brand .brand-name {
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.navbar-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.navbar-links a {
  color: var(--cream);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.navbar-links a:hover,
.navbar-links a.active {
  background: var(--red);
  color: var(--gold-light);
}

/* 汉堡菜单（小屏） */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.navbar-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  margin: 5px 0;
  transition: 0.3s;
}

/* ============================================
   通用容器
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* ============================================
   首页 Hero
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,26,26,0.3) 0%,
    rgba(139,26,26,0.6) 60%,
    rgba(26,26,26,0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  background: var(--red);
  color: var(--gold-light);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  letter-spacing: 3px;
  margin-bottom: 24px;
  border: 1px solid var(--gold);
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 8px;
  color: var(--gold-light);
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.9);
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.hero-tagline {
  font-size: 1rem;
  color: rgba(255,248,240,0.7);
  letter-spacing: 2px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 2px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--red);
  color: var(--gold-light);
  border: 2px solid var(--gold);
}

.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139,26,26,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

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

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-align: center;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   首页三板斧
   ============================================ */
.features {
  background: var(--white);
  padding: 80px 0 60px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  color: var(--red);
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: 8px;
  background: var(--cream);
  border: 1px solid rgba(212,160,23,0.15);
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(139,26,26,0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ============================================
   首页菜品展示
   ============================================ */
.dishes-section {
  background: var(--cream);
  padding: 80px 0;
}

.dishes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.dishes-img {
  overflow: hidden;
}

.dishes-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
  display: block;
}

.dishes-text {
  background: var(--dark);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dishes-text .section-label { color: var(--gold); }

.dishes-text .section-title {
  color: var(--cream);
  font-size: 2rem;
  margin-bottom: 20px;
}

.dishes-text p {
  color: rgba(255,248,240,0.75);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.dish-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.dish-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,248,240,0.85);
  font-size: 0.95rem;
}

.dish-list li::before {
  content: "◆";
  color: var(--gold);
  font-size: 0.6rem;
}

/* ============================================
   首页招商区块
   ============================================ */
.brand-poster-section {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.brand-poster-section img {
  width: 100%;
  display: block;
  min-height: 500px;
  object-fit: cover;
}

.brand-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   CTA 区块
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--red) 0%, #6B0F0F 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-desc {
  color: rgba(255,248,240,0.85);
  font-size: 1rem;
  margin-bottom: 32px;
}

.cta-wechat {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.1);
  border: 2px solid var(--gold);
  border-radius: 8px;
  padding: 16px 32px;
  color: var(--gold-light);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 24px;
}

.cta-wechat small {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.8;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(212,160,23,0.2);
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .brand-name {
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  line-height: 1.8;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul li,
.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

/* ============================================
   内页通用 Header Banner
   ============================================ */
.page-banner {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.page-banner .banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,26,0.4), rgba(139,26,26,0.7));
}

.page-banner .banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.page-banner .banner-label {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.page-banner .banner-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--gold-light);
}

.page-banner .banner-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-top: 8px;
  letter-spacing: 2px;
}

/* ============================================
   品牌故事页
   ============================================ */
.story-section {
  background: var(--white);
  padding: 80px 0;
}

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

.story-grid img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.story-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.story-content h2 span {
  color: var(--red);
}

.story-content p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.9;
}

.story-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.value-item {
  background: var(--cream);
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid var(--gold);
}

.value-item h4 {
  color: var(--red);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.value-item p {
  font-size: 0.85rem;
  color: var(--gray);
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   门店页
   ============================================ */
.store-section {
  background: var(--cream);
  padding: 80px 0;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.store-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}

.store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(139,26,26,0.12);
}

.store-card-img {
  height: 220px;
  overflow: hidden;
}

.store-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.store-card:hover .store-card-img img {
  transform: scale(1.05);
}

.store-card-body {
  padding: 24px;
}

.store-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.store-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.store-info-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--gray);
}

.store-info-item .icon {
  color: var(--red);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.store-card-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.store-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #2E7D32;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #4CAF50;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ============================================
   联系区块
   ============================================ */
.contact-section {
  background: var(--dark);
  padding: 80px 0;
}

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

.contact-info h2 {
  font-size: 2rem;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.contact-info > p {
  color: rgba(255,255,255,0.55);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 2px;
}

.contact-item-value {
  font-size: 1rem;
  color: var(--cream);
  font-weight: 600;
}

.contact-poster {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.contact-poster img {
  width: 100%;
  display: block;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 900px) {
  .navbar-links { display: none; }
  .navbar-toggle { display: block; }

  .features-grid { grid-template-columns: 1fr; }
  .dishes-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .store-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
}

@media (max-width: 600px) {
  .hero-title { letter-spacing: 4px; }
  .dishes-text { padding: 32px 24px; }
  .story-values { grid-template-columns: 1fr; }
}
