:root {
  --primary-color: #2c1a12; /* Deep coffee brown */
  --secondary-color: #bfa182; /* Latte/Gold */
  --accent-color: #d4a373; /* Warmer accent */
  --text-color: #333333;
  --bg-color: #fcfbf9;
  --light-bg: #f4ewe6;
  --white: #ffffff;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
}

h1, h2, h3, h4, .brand {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.brand {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Button */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  border: 1px solid var(--primary-color);
  transition: all 0.3s ease;
  cursor: pointer;
}

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

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(44, 26, 18, 0.7), rgba(44, 26, 18, 0.7)), url('images/hero_bg.png') center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 5rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Sections */
section {
  padding: 6rem 5%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
  margin: 1rem auto 0;
}

/* About Section */
.about {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-img {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-img:hover img {
  transform: scale(1.05);
}

.about-content {
  flex: 1;
}

.about-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

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

/* Menu Section */
.menu {
  background-color: #f9f6f3;
}

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

.menu-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.menu-item:hover {
  transform: translateY(-10px);
}

.menu-item h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.menu-item .price {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.menu-image {
  margin-top: 3rem;
  text-align: center;
}
.menu-image img {
  max-width: 600px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Contact Section */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info strong {
  color: var(--primary-color);
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

/* Footer & Legal */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4rem 5% 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h4 {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col a {
  color: #ccc;
}

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

.footer-bottom {
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
}

/* Legal Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background-color: var(--white);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: 8px;
  padding: 3rem;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  cursor: pointer;
  color: var(--primary-color);
  line-height: 1;
}

.legal-text h2 {
  margin-bottom: 1.5rem;
}

.legal-text h3 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.legal-text p {
  margin-bottom: 1rem;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .about {
    flex-direction: column;
  }
  .contact {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 3.5rem;
  }
  nav {
    display: none; /* Add a hamburger menu later if needed for mobile */
  }
}
