/* General */
html {
  scroll-behavior: smooth; /* Enables smooth scrolling */
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fff23a;
  color: #3e2723;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #6f4e37;
  padding: 15px 30px;
  color: white;
  z-index: 1000;
}
nav h2 { margin: 0; }
nav ul {
  padding-right: 50px;
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
}
nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
nav ul li a:hover {
  text-decoration: underline;
}

/* Sections */
section {
  min-height: 100vh; 
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Hero */
.hero {
    text-align: center;
  background: url('img/Cappucino.jpg') center/cover no-repeat;
  color: rgb(112, 43, 3);  
}

.hero h1 { font-size: 3rem;
  position: relative; }
.hero p { font-size: 1.5rem;
}
.btn {
  background: rgb(112, 43, 3);
  color: #fae20d;
  padding: 10px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2rem
}

/* Menu */
.cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.card {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  width: 200px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}
.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover */
.card img:hover {
  transform: scale(1.05); /* zoom in */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); /* add shadow */
}

/* About*/
#about {
  padding: 60px 20px;

  text-align: center;
}
#about h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #6f4e37;
}

#about p {
  max-width: 700px;
  margin: 0 auto 15px;
  line-height: 1.6;
  font-size: 1.3rem;
  color: #333;
}


/* Contact */
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 300px;
  margin-top: 20px;
}
form input, form textarea, form button {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
form button {
  background: #6f4e37;
  color: white;
  border: none;
  cursor: pointer;
}

/* Footer */
footer {
  background: #6f4e37;
  color: white;
  text-align: center;
  padding: 20px;
}
