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

:root {
  /* Colors */
  --color-tan: #D6C2A9; /* Warm tan */
  --color-tan-light: #EBE1D3;
  --color-brown: #3E2723; /* Dark brown */
  --color-brown-light: #5D4037;
  --color-rust: #D84315; /* Rust red / Orange for accents */
  --color-rust-hover: #BF360C;
  --color-cream: #FDFBF7; /* Off-white for background */
  --color-white: #FFFFFF;
  --color-black: #1A1A1A;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-cream);
  color: var(--color-brown);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-brown);
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

/* --- Typography Utilities --- */
.text-center { text-align: center; }
.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-brown-light);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.btn-primary {
  background-color: var(--color-rust);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(216, 67, 21, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-rust-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 67, 21, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-brown);
  border: 2px solid var(--color-brown);
}

.btn-secondary:hover {
  background-color: var(--color-brown);
  color: var(--color-white);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: 25px;
}

/* --- Top Bar --- */
.top-bar {
  background-color: var(--color-brown);
  color: var(--color-tan);
  padding: 0.6rem 0;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: var(--color-tan);
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar a:hover {
  color: var(--color-white);
}

.top-bar-info {
  display: flex;
  gap: 2rem;
}

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .top-bar-info {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* --- Header --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--color-tan-light);
  transition: all var(--transition-normal);
}

.main-header {
  height: var(--header-height);
}

header.scrolled {
  box-shadow: 0 4px 20px rgba(62, 39, 35, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo {
  height: 60px; /* Adjust based on actual logo proportions */
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-rust);
  transition: width var(--transition-fast);
}

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

.nav-links .btn {
  font-size: 1rem;
  padding: 0.6rem 1.5rem;
}
.nav-links .btn::after {
  display: none;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-brown);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  overflow: hidden;
  background-color: var(--color-brown);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

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

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  color: var(--color-tan);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

.hero-desc {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.hero-actions .btn-secondary {
  color: var(--color-white);
  border-color: var(--color-white);
}
.hero-actions .btn-secondary:hover {
  background-color: var(--color-white);
  color: var(--color-brown);
}

/* --- Features Section --- */
.features {
  background-color: var(--color-cream);
}

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

.feature-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background-color: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(62, 39, 35, 0.05);
  transition: transform var(--transition-normal);
  border: 1px solid var(--color-tan-light);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--color-rust);
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* --- Image & Text Section (Our Story / Quality) --- */
.img-text-section {
  background-color: var(--color-tan-light);
  overflow: hidden;
}

.img-text-container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.img-text-content, .img-text-image {
  flex: 1;
}

.img-text-image img {
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(62, 39, 35, 0.15);
}

.img-text-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.img-text-content p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

/* --- Favorites Section --- */
.favorites {
  background-color: var(--color-cream);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.menu-item {
  background-color: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(62, 39, 35, 0.05);
  transition: transform var(--transition-fast);
  border: 1px solid var(--color-tan-light);
  display: flex;
  flex-direction: column;
}

.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(62, 39, 35, 0.1);
}

.menu-item-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.menu-item-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.menu-item-title {
  font-size: 1.25rem;
  margin: 0;
}

.menu-item-desc {
  color: var(--color-brown-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.menu-item-action {
  margin-top: auto;
  padding-top: 1rem;
}

/* --- Page Header (for Menu / About pages) --- */
.page-header {
  background-color: var(--color-brown);
  color: var(--color-white);
  padding: 150px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-header h1 {
  color: var(--color-white);
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.25rem;
  color: var(--color-tan);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Menu Page Content --- */
.menu-section {
  margin-bottom: 4rem;
}

.menu-category-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--color-tan-light);
  padding-bottom: 0.5rem;
  color: var(--color-rust);
}

/* --- About Page Content --- */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--color-rust);
}

.about-content p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.about-content ul {
  list-style: disc;
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.about-content ul li {
  margin-bottom: 0.5rem;
}

/* --- Footer --- */
footer {
  background-color: var(--color-brown);
  color: var(--color-white);
  padding: 5rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  color: var(--color-tan);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-col p, .footer-col li {
  color: #ccc;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.footer-col a {
  color: #ccc;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--color-rust);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #888;
  font-size: 0.875rem;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .hero-title { font-size: 3rem; }
  .img-text-container {
    flex-direction: column;
    text-align: center;
  }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-cream);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left var(--transition-normal);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .hero-title { font-size: 2.5rem; }
  .hero-actions { flex-direction: column; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  
  .section-title { font-size: 2rem; }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

/* --- Modal Styles --- */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--color-cream);
  padding: 2.5rem;
  border-radius: 16px;
  max-width: 400px;
  width: 90%;
  position: relative;
  text-align: center;
  box-shadow: 0 15px 40px rgba(62, 39, 35, 0.2);
  border: 1px solid var(--color-tan-light);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-brown-light);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.close-modal:hover {
  color: var(--color-rust);
}

.modal-content h2 {
  color: var(--color-rust);
  margin-bottom: 1rem;
}

/* --- UI Enhancements --- */
body {
    background: linear-gradient(135deg, var(--color-cream) 0%, #f7f3ed 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(62,39,35,0.8) 0%, rgba(42,26,23,0.9) 100%);
    z-index: 1;
}

.hero-bg {
    opacity: 0.6;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-rust) 0%, #e64a19 100%);
    box-shadow: 0 4px 15px rgba(216, 67, 21, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e64a19 0%, var(--color-rust) 100%);
    box-shadow: 0 8px 25px rgba(216, 67, 21, 0.6);
    transform: translateY(-3px) scale(1.02);
}

.feature-card, .menu-item {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(214, 194, 169, 0.4);
    box-shadow: 0 10px 30px rgba(62, 39, 35, 0.08);
}

.feature-card:hover, .menu-item:hover {
    box-shadow: 0 15px 35px rgba(62, 39, 35, 0.15);
    border-color: var(--color-rust);
}

header {
    background-color: rgba(253, 251, 247, 0.85) !important;
    backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(214, 194, 169, 0.3) !important;
}

.menu-item-title {
    font-weight: 700;
}

