/*  Base Styles & Variables */
:root {
  --brand-brown: #6a422f;
  --brand-light: #f9f7f4;
  --brand-dark: #2d2d2d;
  --error-red: #810018;
  --accent: #503327;
}
* { box-sizing: border-box; }
body {
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  background-color: var(--brand-light);
  color: #333;
}
.sr-only { position: absolute; left: -9999px; }

/* SHARED COMPONENTS */

.section-content {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.btn {
  display: inline-block;
  background: var(--brand-brown);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  margin-top: 1rem;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}
.btn:hover,
.btn:focus {
  background: var(--accent);
  transform: translateY(-2px);
}
.btn-light {
  background: #fff;
  color: var(--brand-brown);
}
.btn-light:hover {
  background: #f1e8e2;
}
.site-footer {
  background: var(--brand-dark);
  color: #fff;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}
.site-footer a {
  color: #fff;
  text-decoration: underline;
}
.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.8s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation */
.site-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--brand-brown);
  text-decoration: none;
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--brand-brown);
}
.nav-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Index */

/* Hero Section */
.hero {
  color: #fff;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 0 1.5rem;
  background-size: cover;
  background-position: center;
  transition: background-image 1.5s ease-out;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 1.2s ease-out forwards;
}
.hero-content h1 { animation-delay: 0.3s; }
.hero-content p { animation-delay: 0.6s; }
.hero-content .btn { animation-delay: 0.9s; }
@keyframes fadeSlideIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Brand Story & Newsletter Section */
.brand-newsletter {
  background: var(--brand-brown);
  padding: 3rem 1rem;
  color: #fff;
  font-size: 1rem;
  overflow: hidden;
  text-align: center;
}
.brand-newsletter > div {
  display: inline-block;
  vertical-align: top;
  width: 48%;
  min-width: 260px;
  max-width: 500px;
  margin: 2rem 3rem;
  background: transparent;
  box-sizing: border-box;
  text-align: center;
}
.newsletter-form {
  white-space: nowrap;
  text-align: center;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.newsletter-form input[type="email"] {
  display: inline-block;
  width: 60%;
  min-width: 140px;
  max-width: 220px;
  margin-right: 0.5rem;
  vertical-align: middle;
  text-align: left;
  padding: 0.75rem 1rem;
  border: 1px solid #d1c7bc;
  border-radius: 4px;
  font-size: 1rem;
  background: #fff;
  color: #333;
  box-sizing: border-box;
}
.newsletter-form .btn {
  display: inline-block;
  width: auto;
  vertical-align: middle;
  text-align: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 4px;
  margin-top: 0;
  font-weight: 600;
}
.newsletter-form label {
  position: absolute;
  left: -9999px;
}

/* Features Section */
.features {
  padding: 4rem 1.5rem;
  text-align: center;
}
.features h2 {
  margin-bottom: 2rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.feature img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}
.feature h3 {
  margin-top: 1rem;
  color: var(--brand-brown);
}

/* Map & CTA split section */
.map-cta {
  background: var(--brand-brown);
  color: #fff;
  padding: 3rem 0;
}
.map-cta .section-content {
  display: flex;
  gap: 2rem;
  align-items: stretch;
  justify-content: center;
}
.map-split, .cta-split {
  flex: 1 1 0;
  max-width: 700px;
  background: transparent;
  box-sizing: border-box;
  align-items: center;
}
.map-split iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 8px;
}
.cta-split {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding: 2rem;
}
.cta-split h2 {
  margin-bottom: 1rem;
  color: #fff;
}
.cta-split p {
  margin-bottom: 1.5rem;
  color: #f9f7f4;
}
.hours-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 1rem 0;
  font-size: 1.05rem;
}
.hours-list li {
  margin-bottom: 0.5rem;
}
.hours-list strong {
  color: #fff;
}
.cta-split .btn {
  background: #fff;
  color: var(--brand-brown);
  font-weight: 600;
  border-radius: 4px;
  padding: 0.75rem 1.5rem;
  width: fit-content;
}

/* Responsive */
@media (max-width: 900px) {
  .map-cta .section-content {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  .map-split, .cta-split {
    max-width: 100%;
    width: 100%;
    text-align: center;
    padding: 0;
  }
  .cta-split {
    padding: 1rem 0;
  }
}

/* Menu */
.menu-page {
  max-width: 1100px;
  margin: 0 auto;
}
.menu-intro {
  text-align: center;
  padding: 5rem 1.5rem;
}
.menu-intro h2 {
  color: var(--brand-brown);
  margin-bottom: 0.5rem;
}
.menu-grid {
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(325px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.menu-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-card:hover,
.menu-card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.menu-info {
  padding: 1.25rem;
  text-align: left;
}
.menu-info h3 {
  margin-top: 0;
  color: var(--brand-brown);
}
.menu-info p {
  margin: 0.5rem 0 1rem;
}
.price {
  font-weight: bold;
  color: #333;
}
.price-oos {
  font-weight: bold;
  color: #a30000;
}
.menu-cta {
  text-align: center;
  margin-top: 4rem;
  background: var(--brand-brown);
  color: #fff;
  padding: 3rem 1.5rem;
}
.menu-cta h2 {
  margin-bottom: 0.5rem;
}
@media (max-width: 600px) {
  .menu-card img {
    height: 180px;
  }
}

/*  Contact */
.contact-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-info {
  font-size: 1rem;
  line-height: 1.6;
  justify-self: center;
}
.contact-info h2 {
  margin-bottom: 1rem;
  color: var(--brand-brown);
}
.contact-info a {
  color: var(--brand-brown);
  text-decoration: underline;
}
.contact-info strong {
  color: var(--brand-brown);
}
.contact-form-section h2 {
  margin-bottom: 1rem;
  color: var(--brand-brown);
}
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
}
label {
  font-weight: 600;
  margin-bottom: 0.3rem;
}
input,
textarea {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.75rem;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand-brown);
  box-shadow: 0 0 4px rgba(106, 66, 47, 0.4);
}
.error-message {
  color: var(--error-red);
  font-size: 0.85rem;
  height: 1rem;
}
.form-status {
  margin-top: 0.75rem;
  font-weight: bold;
}
.form-status.success {
  color: #2e7d32;
}
.form-status.error {
  color: var(--error-red);
}
@media (max-width: 700px) {
  .contact-page {
    grid-template-columns: 1fr;
  }
}

/* About */
.about-hero {
  background: url('images/about-hero.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 10rem 1.5rem 8rem;
  position: relative;
}
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.sub-hero-content {
  position: relative;
  z-index: 1;
}
.sub-hero {
  background: url('images/about-hero.jpg') center/cover no-repeat;
  background-attachment: fixed;
  color: #fff;
  text-align: center;
  padding: 6rem 1.5rem;
  position: relative;
}
.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.sub-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.sub-hero p {
  font-size: 1.1rem;
}
.about-section {
  padding: 5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.about-text {
  flex: 1 1 450px;
}
.about-image {
  flex: 1 1 400px;
}
.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.mission-section {
  background-color: #faf3e0;
  text-align: center;
  padding: 5rem 1.5rem;
}
.mission-section .btn {
  margin-top: 1.5rem;
}
.timeline {
  padding: 5rem 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.timeline h2 {
  text-align: center;
  color: var(--brand-brown);
  margin-bottom: 2rem;
}
.timeline-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
}
.timeline-card {
  border-left: 4px solid var(--brand-brown);
  padding-left: 1rem;
}
.timeline-card .year {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--brand-brown);
  margin-bottom: 0.3rem;
}
.values {
  background-color: #fff;
  padding: 5rem 1.5rem;
  text-align: center;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}
.value-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}
.value-item h3 {
  color: var(--brand-brown);
  margin-bottom: 0.5rem;
}
.cta-section {
  background: var(--brand-brown);
  color: #fff;
  text-align: center;
  padding: 4rem 1.5rem;
}
.cta-section .btn {
  background: #fff;
  color: var(--brand-brown);
  margin-top: 1rem;
}
.cta-section .btn:hover {
  background: #f5e7d8;
}

/* Blog */

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.blog-intro-section {
  max-width: 800px;
  margin: 2rem auto 2rem auto;
}

.blog-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.blog-intro-title {
  color: var(--brand-brown);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.blog-intro-desc {
  color: var(--brand-dark);
  font-size: 1.05rem;
}

.blog-card {
  background: var(--brand-light, #f9f7f4);
  border-radius: 1rem;
  box-shadow: 0 2px 16px rgba(106, 66, 47, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
  outline: none;
}

.blog-card:focus,
.blog-card:hover {
  box-shadow: 0 4px 24px rgba(106, 66, 47, 0.18);
}

.blog-img {
  width: 100%;
  max-width: 600px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  background: #e5d9c5;
  margin-bottom: 1.5rem;
}

.blog-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-info h2 {
  font-size: 1.35rem;
  color: var(--brand-brown, #6a422f);
  margin-bottom: 0.5rem;
}

.blog-meta {
  font-size: 0.95rem;
  color: var(--accent, #503327);
  margin-bottom: 1rem;
  font-style: italic;
}

.blog-excerpt {
  font-size: 1.05rem;
  color: var(--brand-dark, #2d2d2d);
  margin-bottom: 1rem;
}

details {
  margin-top: 0.5rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--accent, #503327);
  outline: none;
}

details[open] summary {
  color: var(--brand-brown, #6a422f);
}

.blog-content {
  margin-top: 0.5rem;
  color: var(--brand-dark, #2d2d2d);
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 700px) {
  .blog-post {
    padding: 1rem;
    max-width: 100%;
  }
  .blog-img {
    height: 160px;
    max-width: 100%;
  }
}

/* RESPONSIVE & ACCESSIBILITY */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 1rem;
    margin: 0;
  }
  .nav-menu.open {
    display: flex;
  }
}
@media (max-width: 900px) {
  .brand-newsletter {
    text-align: center;
    padding: 2rem 0.5rem;
  }
  .brand-newsletter > div {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 2rem 0;
    text-align: center;
  }
  .brand-newsletter > div:last-child {
    margin-bottom: 2rem;
  }
  .newsletter-form input[type="email"],
  .newsletter-form .btn {
    width: 100%;
    max-width: 60%;
    margin: 0 auto 0.75rem auto;
    display: block;
    text-align: center;
  }
}
@media (max-width: 700px) {
  .contact-page {
    grid-template-columns: 1fr;
  }
  .blog-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 600px) {
  .menu-card img {
    height: 180px;
  }
  .blog-img {
    height: 160px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-content > * {
    animation: none;
    opacity: 1;
    transform: none;
  }
}