/* CSS Variables & Theme */
:root {
  --background: #fdfbf7;
  --foreground: #8A9A76;
  --primary: #8A9A76;
  --primary-foreground: #fdfbf7;
  --secondary: #8a9a5b;
  --secondary-foreground: #ffffff;
  --muted: #e8e4d9;
  --muted-foreground: #786c61;
  --accent: #d4c5a9;
  --accent-foreground: #8A9A76;
  --card: #ffffff;
  --card-foreground: #8A9A76;
  --border: #d4c5a9;
  --input: #fdfbf7;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 24px;

  --font-family-body: "Georgia", serif;
  --font-family-sans: "Inter", sans-serif;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

ul {
  list-style: none;
}

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

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--primary);
}

.section-subtitle {
  font-size: 18px;
  text-align: center;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto 48px auto;
  line-height: 1.6;
}

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}

.btn:hover {
  opacity: 0.9;
}

.btn:active {
  transform: scale(0.98);
}

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

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

.card {
  background: var(--card);
  border: 1px solid var(--muted);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 4px 12px rgba(138, 154, 118, 0.05);
  transition: transform 0.2s;
}

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

/* Navigation */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid var(--muted);
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  border-radius: 50%;
  color: white;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: var(--foreground);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--secondary);
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
}

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



.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  padding: 0 20px;
}

.hero-title {
  font-size: 56px;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-text {
  font-size: 20px;
  margin-bottom: 32px;
  line-height: 1.5;
  opacity: 0.9;
}

.hero-btn {
  padding: 16px 32px;
  font-size: 18px;
}

/* Intro Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.feature-card {
  border: none;
  box-shadow: none;
  background: transparent;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: var(--muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  margin-bottom: 8px;
  font-size: 18px;
}

.feature-desc {
  color: var(--muted-foreground);
}

/* Menu Section */
.menu-section {
  background: var(--muted);
}

.menu-card {
  background: #fdfbf7;
  padding: 48px;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.menu-col-title {
  font-size: 24px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 12px;
  display: inline-block;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
}

.menu-item-details {
  flex: 1;
  margin-right: 16px;
}

.menu-item-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.menu-item-desc {
  font-size: 14px;
  color: var(--muted-foreground);
  font-style: italic;
}

.menu-item-price {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary);
}

.menu-cta {
  text-align: center;
  margin-top: 40px;
}

/* History Section */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--muted);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  width: 16px;
  height: 16px;
  background: var(--secondary);
  border-radius: 50%;
  transform: translateX(-50%);
  border: 4px solid var(--background);
  z-index: 1;
}

.timeline-content {
  width: 45%;
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.timeline-date {
  font-size: 14px;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.timeline-img {
  width: 45%;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.timeline-img img {
  width: 100%;
  height: auto;
  display: block;

}

/* Events Section */
.events-section {
  background: #f4f1ea;
}

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

.event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.event-body {
  padding: 24px;
  flex: 1;
  background: var(--card);
  border: 1px solid var(--muted);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.event-date {
  display: inline-block;
  background: var(--muted);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  align-self: flex-start;
}

.event-link {
  color: var(--secondary);
  font-weight: 600;
  font-size: 14px;
  margin-top: 16px;
  display: inline-block;
}

/* Footer */
.footer {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 60px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.footer-map {
  width: 100%;
  height: 300px;
  background: #e0e0e0;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.footer-info h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.info-icon {
  color: var(--secondary);
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 40px;
  padding-top: 24px;
  font-size: 14px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 30px;
  }

  /* Nav */
  .nav-links {
    display: none;
    /* In a real app, we'd implement a burger menu */
  }

  /* Hero */
  .hero {
    height: 500px;
  }

  .hero-title {
    font-size: 36px;
  }

  /* Features */
  .features-grid,
  .events-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* Menu */
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-card {
    padding: 24px;
  }

  /* Timeline */
  .timeline::before {
    left: 24px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 48px;
  }

  .timeline-dot {
    left: 24px;
  }

  .timeline-img,
  .timeline-content {
    width: 100%;
    margin-bottom: 24px;
  }
}