/* Serenity Café - Minimalist CSS */

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

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f5f0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  margin-bottom: 1rem;
  color: #5d4037;
}

h1 {
  font-size: 2.5rem;
  margin-top: 2rem;
}

h2 {
  font-size: 2rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: #795548;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #a1887f;
}

/* Layout Components */
header {
  padding: 2rem 0;
  text-align: center;
}

.logo {
  font-size: 2.8rem;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.tagline {
  font-style: italic;
  color: #795548;
  margin-bottom: 2rem;
}

nav {
  background-color: #fff;
  padding: 1rem 0;
  margin-bottom: 2rem;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
}

nav li {
  margin: 0 1rem;
}

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

.hero {
  height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 3rem;
  color: white;
  margin-bottom: 1rem;
}

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

main {
  padding: 2rem 0;
}

section {
  margin-bottom: 3rem;
}

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

.card {
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.menu-item {
  margin-bottom: 2rem;
}

.menu-item h3 {
  margin-bottom: 0.5rem;
}

.menu-item .price {
  color: #795548;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.03);
}

.testimonial {
  font-style: italic;
  padding: 1.5rem;
  background-color: #fff;
  border-left: 4px solid #795548;
  margin-bottom: 2rem;
}

.testimonial-author {
  text-align: right;
  font-weight: bold;
  font-style: normal;
  margin-top: 1rem;
}

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

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.contact-form button {
  background-color: #795548;
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #5d4037;
}

.faq-item {
  margin-bottom: 2rem;
}

.faq-item h3 {
  cursor: pointer;
}

footer {
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 1px solid #eee;
  color: #777;
}

/* Responsive Design */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav li {
    margin: 0.5rem 0;
  }
  
  .hero {
    height: 300px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
}