@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;500;600;700&family=Montserrat:wght@400;500;600&display=swap');

/* Brand Colors */
:root {
  --color-green-dark: #3d4a2c;
  --color-cream: #f5f0e8;
  --color-brown: #422b1c;
  --color-rose: #bf3c55;
  --color-green-primary: #99a670;

  --font-heading: 'Josefin Sans', sans-serif;
  --font-body: 'Montserrat', sans-serif;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

/* Header Styles */
.header {
  background-color: var(--color-green-dark);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  height: 60px;
  width: auto;
}

.header-logo img {
  height: 60px;
  width: auto;
}

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

.header-nav a,
.header-nav button {
  color: var(--color-cream);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
  background: none;
  border: none;
  cursor: pointer;
}

.header-nav a:hover,
.header-nav button:hover {
  opacity: 0.8;
}

/* Footer Styles */
.footer {
  background-color: var(--color-green-dark);
  color: var(--color-cream);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-contact {
  margin-bottom: 1.5rem;
}

.footer-contact p {
  margin: 0.5rem 0;
}

.footer-contact a {
  color: var(--color-cream);
  text-decoration: underline;
}

.footer-contact a:hover {
  opacity: 0.8;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  margin: 1.5rem 0;
  opacity: 0.9;
}

.footer-copyright {
  font-size: 0.875rem;
  opacity: 0.7;
  margin-top: 1.5rem;
}

/* Page Sections */
.section {
  padding: 4rem 2rem;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-dark {
  background-color: var(--color-green-dark);
  color: var(--color-cream);
}

/* Hero Section */
.hero {
  padding: 4rem 2rem;
}

.hero .section-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-brown);
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
}

.hero-image {
  border-radius: 12px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

/* About Section */
.about {
  text-align: center;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-description {
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* Menu Preview Section */
.menu-preview {
  text-align: center;
}

.menu-preview h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.menu-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.menu-item {
  padding: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.menu-item-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

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

.menu-item h3 {
  font-size: 1.25rem;
  margin: 1rem 1rem 0.5rem;
}

.menu-item p {
  font-size: 0.95rem;
  opacity: 0.8;
  margin: 0 1rem 1rem;
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  transition: all 0.2s;
}

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

.btn-primary:hover {
  background-color: #a3334a;
}

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

.btn-outline:hover {
  background: var(--color-cream);
  color: var(--color-green-dark);
}

/* Visit Section */
.visit .section-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.visit-content {
  text-align: left;
}

.visit h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.visit-info {
  margin-bottom: 2rem;
}

.visit-info p {
  margin: 0.75rem 0;
  font-size: 1.1rem;
}

.visit-map {
  width: 100%;
}

.visit-map iframe {
  width: 100%;
  min-height: 300px;
  border: 0;
  border-radius: 8px;
}

/* Menu Page */
.menu-page {
  min-height: 80vh;
  padding: 3rem 2rem;
}

.menu-page h1 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 2rem;
}

.pdf-container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.pdf-embed {
  width: 100%;
  height: 80vh;
  border: none;
}

.pdf-fallback {
  text-align: center;
  padding: 3rem;
}

.pdf-fallback p {
  margin-bottom: 1.5rem;
}

/* Contact Page */
.contact-page {
  min-height: 80vh;
  padding: 3rem 2rem;
}

.contact-page h1 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 2rem;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.contact-info {
  margin-bottom: 2rem;
  text-align: center;
}

.contact-info p {
  margin: 0.5rem 0;
}

.contact-info a {
  color: var(--color-green-primary);
  text-decoration: underline;
}

.contact-info a:hover {
  color: var(--color-green-dark);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-brown);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-brown);
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-green-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-error {
  color: var(--color-rose);
  font-size: 0.875rem;
  margin: 0;
}

.form-success {
  text-align: center;
  padding: 2rem 0;
}

.form-success p {
  color: var(--color-green-dark);
  font-weight: 500;
}

.contact-form .btn {
  margin-top: 0.5rem;
  border: none;
  cursor: pointer;
}

.contact-form .btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Form Plugin Overrides */
.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-brown);
  margin-bottom: 0.25rem;
}

.form-field input,
.form-field textarea {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-brown);
  transition: border-color 0.2s;
  width: 100%;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-green-primary);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-button-wrapper {
  margin-top: 0.5rem;
}

.form-button-wrapper button {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  transition: all 0.2s;
  background-color: var(--color-rose);
  color: white;
  border: none;
  cursor: pointer;
}

.form-button-wrapper button:hover {
  background-color: #a3334a;
}

.alert {
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
}

/* Contact Map */
.contact-map {
  margin: 1.5rem 0;
  border-radius: 8px;
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    padding: 0.75rem 1rem;
  }

  .header-logo,
  .header-logo img {
    height: 45px;
  }

  .header-nav {
    gap: 1rem;
  }

  .header-nav a,
  .header-nav button {
    font-size: 0.9rem;
  }

  .hero .section-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content {
    text-align: center;
    order: 1;
  }

  .hero-image {
    order: 2;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  .about h2,
  .menu-preview h2,
  .visit h2 {
    font-size: 2rem;
  }

  .visit .section-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .visit-content {
    text-align: center;
  }

  .menu-page h1,
  .contact-page h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .menu-items {
    grid-template-columns: 1fr;
  }
}
