/* CSS Variables for Brand Colors */
:root {
  --primary-brown: #A6816E;
  --dark-brown: #6A4E3C;
  --green: #314E3E;
  --light-bg: #FBF1E5;
  --white: #ffffff;
  --text-dark: #2c2c2c;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-bg);
  font-display: swap;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: var(--white);
  padding: 2rem 0;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
  max-width: 150px;
  height: auto;
  margin-bottom: 1rem;
}

header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-brown);
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 1.2rem;
  color: var(--green);
  font-weight: 500;
  font-style: italic;
}

/* Hero Section */
.hero {
  background-color: var(--dark-brown);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.description {
  font-size: 1.3rem;
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Section Styles */
section {
  padding: 3rem 0;
}

h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--dark-brown);
  margin-bottom: 2rem;
  text-align: center;
}

/* Menu Section */
.menu-section {
  background-color: var(--white);
}

.menu-pdf {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.menu-pdf object,
.menu-pdf iframe {
  width: 100%;
  min-height: 800px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border: none;
  overflow: hidden;
}

.pdf-embed-container {
  position: relative;
  margin-bottom: 1rem;
}

.pdf-fallback {
  margin-top: 1rem;
  padding: 1.5rem;
  background-color: var(--light-bg);
  border-radius: 12px;
  border: 2px solid var(--primary-brown);
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.pdf-download-btn,
.pdf-view-btn {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  min-width: 160px;
  justify-content: center;
}

.pdf-download-btn {
  background-color: var(--green);
}

.pdf-download-btn:hover {
  background-color: #253A2C;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(49, 78, 62, 0.3);
}

.pdf-view-btn {
  background-color: var(--primary-brown);
}

.pdf-view-btn:hover {
  background-color: #956B5A;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(166, 129, 110, 0.3);
}

.pdf-fallback i {
  font-size: 1.1rem;
}

/* Mobile PDF handling */
@media (max-width: 768px) {
  .pdf-embed-container {
    display: none;
  }
  
  .pdf-fallback {
    margin-top: 0;
    flex-direction: column;
    align-items: center;
  }
  
  .pdf-download-btn,
  .pdf-view-btn {
    width: 100%;
    max-width: 250px;
  }
}

/* Photos Section */
.photos-section {
  background-color: var(--primary-brown);
  color: var(--white);
}

.photos-section h2 {
  color: var(--white);
}

.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.photo-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.photo-item:hover img {
  transform: scale(1.05);
}

/* Opening Hours Section */
.hours-section {
  background-color: var(--white);
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem;
  background-color: var(--light-bg);
  border-radius: 10px;
  border-left: 4px solid var(--green);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hours-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hours-item.closed {
  border-left-color: var(--primary-brown);
  background-color: #F5F0EA;
}

.hours-item .day {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--dark-brown);
}

.hours-item .time {
  font-weight: 500;
  color: var(--green);
  font-size: 1rem;
}

.hours-item.closed .time {
  color: var(--primary-brown);
  font-style: italic;
}

/* Location Section */
.location-section {
  background-color: var(--light-bg);
}

.location-content {
  max-width: 800px;
  margin: 0 auto;
}

.map-container {
  margin-bottom: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.address {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark-brown);
}

/* Reviews Section Enhanced Styling */
.reviews-section {
  background-color: var(--light-bg);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.review-item {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-left: 5px solid var(--green);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-item::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--green);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

.review-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.review-text {
  margin-bottom: 1.5rem;
}

.review-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
  font-style: italic;
  margin: 0;
  position: relative;
  z-index: 1;
}

.review-author {
  text-align: right;
  font-weight: 600;
  color: var(--green);
  font-size: 1rem;
  position: relative;
}

.review-author::before {
  content: '— ';
  color: var(--primary-brown);
}

/* Contact Section */
.contact-section {
  background-color: var(--green);
  color: var(--white);
}

.contact-section h2 {
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-item {
  display: block;
  text-align: center;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.contact-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--light-bg);
}

.contact-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--light-bg);
}

.contact-details {
  color: var(--white);
  font-weight: 500;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background-color: var(--dark-brown);
  color: var(--white);
  text-align: center;
  padding: 1.5rem 0;
}

footer p {
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  header h1 {
    font-size: 2rem;
  }
  
  .tagline {
    font-size: 1rem;
  }
  
  .description {
    font-size: 1.1rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .logo img {
    max-width: 120px;
  }
  
  section {
    padding: 2rem 0;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-item {
    padding: 1rem;
  }
  
  .map-container iframe {
    height: 250px;
  }
  
  .menu-pdf object,
  .menu-pdf iframe {
    min-height: 600px;
  }
  
  .hours-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .hours-item {
    padding: 1rem;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .review-item {
    padding: 1.5rem;
  }
  
  .photos-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
  }
  
  .photo-item img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 1.5rem 0;
  }
  
  header h1 {
    font-size: 1.7rem;
  }
  
  .tagline {
    font-size: 0.9rem;
  }
  
  .description {
    font-size: 1rem;
    padding: 0 10px;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .logo img {
    max-width: 100px;
  }
  
  section {
    padding: 1.5rem 0;
  }
  
  .hero {
    padding: 2rem 0;
  }
  
  .map-container iframe {
    height: 200px;
  }
  
  .menu-pdf object,
  .menu-pdf iframe {
    min-height: 500px;
  }
  
  .hours-item .day,
  .hours-item .time {
    font-size: 0.95rem;
  }
  
  .review-item {
    padding: 1.2rem;
  }
  
  .review-text p {
    font-size: 1rem;
  }
  
  .photos-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .photo-item img {
    height: 180px;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  .contact-item {
    transition: none;
  }
  
  .contact-item:hover {
    transform: none;
  }
  
  .photo-item {
    transition: none;
  }
  
  .photo-item:hover {
    transform: none;
  }
  
  .photo-item img {
    transition: none;
  }
  
  .photo-item:hover img {
    transform: none;
  }
}

/* Focus Styles for Better Accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--primary-brown);
  outline-offset: 2px;
}

/* Screen Reader Only Class */
.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;
}



/* Enhanced PDF Fallback */
.pdf-fallback h4 {
  font-size: 1.3rem;
  color: var(--dark-brown);
  margin-bottom: 1rem;
  text-align: center;
}

.pdf-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* PDF Not Supported Message */
.pdf-not-supported {
  background-color: var(--light-bg);
  border: 2px solid var(--primary-brown);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  margin: 2rem;
}

.pdf-not-supported h4 {
  color: var(--dark-brown);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.pdf-not-supported p {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.6;
}

/* Enhanced accessibility for PDF buttons on mobile */
@media (max-width: 768px) {
  .pdf-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .pdf-download-btn,
  .pdf-view-btn {
    width: 100%;
    max-width: 280px;
  }
}


