/* 全局样式重置与基础配置（现代化 + 橙色主色调） */
:root {
  --primary: #e65100;
  --secondary: #ffcc80;
  --dark: #212121;
  --light: #ffffff;
  --gray: #757575;
  --white: #ffffff;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  --transition: all 0.25s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  color: var(--dark);
  line-height: 1.6;
  background-color: #fff8f0;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  z-index: 2000;
}
.skip-link:focus {
  width: auto;
  height: auto;
  padding: 8px 16px;
  margin: 0;
  overflow: visible;
  clip-path: none;
  top: 10px;
  left: 10px;
  background: #000;
  color: #fff;
  border-radius: 4px;
  outline: 2px solid #fff;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: #bf360c;
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--dark);
}

.btn-secondary:hover {
  background: #ffb74d;
  transform: translateY(-2px);
}

.section {
  padding: 80px 0;
}

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

.section-title h2 {
  font-size: 2.7rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 2px;
  background: var(--primary);
}

.header {
  background: var(--white);
  border-bottom: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background: #fdfdfd;
  color: var(--dark);
  padding: 8px 0;
  font-size: 0.9rem;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info span {
  margin-right: 20px;
}

.contact-info i {
  color: var(--primary);
  margin-right: 6px;
}

.social-links a {
  margin-left: 15px;
  font-size: 1.1rem;
  color: var(--gray);
}

.social-links a:hover {
  color: var(--primary);
}

.header-main {
  padding: 20px 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 70px;
  margin-right: 15px;
}

.logo-text h1 {
  font-size: 2.2rem;
  color: var(--primary);
  font-weight: 700;
}

.logo-text p {
  font-size: 0.9rem;
  color: var(--gray);
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
}

.nav-item {
  margin-left: 30px;
  position: relative;
}

.nav-link {
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 14px;
  display: inline-block;
  border-radius: 999px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background-color: rgba(230, 81, 0, 0.08);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary);
}

@media (max-width: 992px) {
  .section-title h2 {
    font-size: 2.2rem;
  }
  
  .logo-text h1 {
    font-size: 1.8rem;
  }
  
  .nav-item {
    margin-left: 20px;
  }
}

@media (max-width: 768px) {
  .header-top .container {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-info {
    margin-bottom: 10px;
  }
  
  .header-main .container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  .nav-list {
    justify-content: center;
  }
  
  .nav-item {
    margin: 0 10px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    margin-bottom: 40px;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .mobile-menu-btn {
    display: block;
    position: absolute;
    top: 25px;
    right: 20px;
  }
  
  .nav {
    display: none;
    width: 100%;
    margin-top: 20px;
  }
  
  .nav.active {
    display: block;
  }
  
  .nav-list {
    flex-direction: column;
    text-align: center;
  }
  
  .nav-item {
    margin: 10px 0;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
}

.home-hours-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.home-section {
  flex: 1;
  background: var(--white);
  border-radius: 16px;
  padding: 40px 40px 32px;
  box-shadow: var(--shadow);
  border: none;
}

.business-hours-section {
  flex: 1;
  background: var(--white);
  border-radius: 16px;
  padding: 40px 40px 32px;
  box-shadow: var(--shadow);
  border: none;
}

@media (max-width: 768px) {
  .home-hours-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .home-section, .business-hours-section {
    width: 100%;
  }
}

.business-hours-section ul {
  list-style: none;
  padding: 0;
}

.business-hours-section ul li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 1.1rem;
}

.business-hours-section ul li:last-child {
  border-bottom: none;
}

.business-hours-section h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}

.logo img {
  height: 60px;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
}

.nav-menu a:hover {
  color: #e65100;
}

.carousel-container {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 620px;
  overflow: hidden;
  background-color: #ffffff;
}

.carousel-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.carousel-slide {
  height: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.7);
  cursor: pointer;
}

.indicator.active {
  background-color: #e65100;
}

@media (max-width: 768px) {
  .carousel-container {
    height: 400px;
  }
  .header-top {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }
  .nav-menu {
    gap: 15px;
  }
}

.footer {
  background: #111111;
  color: #f5f5f5;
  padding: 60px 0 20px;
  width: 100%;
}

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

.footer-hours {
  order: 1;
}
.footer-links {
  order: 2;
}
.footer-contact {
  order: 3;
}
.footer-social {
  order: 4;
}

.footer-column h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.footer-column a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-column a:hover {
  color: var(--primary);
}

.footer-hours ul li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 6px 0;
  border-bottom: none;
}

.hours-row,
.intro-hours ul li,
.contact-hours ul li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 6px 0;
  border-bottom: none;
}

.hours-label {
  font-weight: 600;
  line-height: 1.4;
}

.hours-time {
  line-height: 1.5;
}

.footer-hours .hours-label {
  color: #ffffff;
}

.footer-hours .hours-time {
  color: #e0e0e0;
}

.intro-hours .hours-label {
  color: #424242;
}

.intro-hours .hours-time {
  color: #616161;
}

.contact-hours .hours-label {
  color: var(--primary);
}

.contact-hours .hours-time {
  color: #424242;
}

.footer-hours ul li:last-child {
  border-bottom: none;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: #bdbdbd;
}

.footer-accessibility-link {
  color: #e0e0e0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-accessibility-link:hover,
.footer-accessibility-link:focus-visible {
  color: var(--primary);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
.nav-link:focus-visible,
.category-btn:focus-visible,
.indicator:focus-visible,
.dish-thumb:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.mobile-menu-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
}

.header-top .contact-info a {
  color: inherit;
  text-decoration: none;
}

.header-top .contact-info a:hover,
.header-top .contact-info a:focus-visible {
  color: var(--primary);
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
