/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #f5e6d3, #d4a373, #6f4e37);
  color: #333;
  scroll-behavior: smooth; /* smooth scrolling */
}

/* ===== Header ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #d4a373; /* subtle border */
}

/* Logo */
#header-img {
  width: 80px;
  height: auto;
  border-radius: 50%;
}

/* Navigation */
#nav-bar {
  display: flex;
  gap: 20px;
}
#nav-bar a {
  text-decoration: none;
  font-weight: bold;
  color: #6f4e37;
  transition: color 0.3s, transform 0.2s;
}
#nav-bar a:hover {
  color: #d4a373;
  transform: scale(1.05);
}

/* ===== Sections ===== */
section {
  padding: 60px 20px;
  text-align: center;
  scroll-margin-top: 90px; /* avoids header hiding text when linking */
  margin: 20px auto;
}

/* Home */
#Home {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #f5deb3, #fff8dc);
  color: #4b2e2e;
}
#Home h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #6f4e37;
}
#Home p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 30px;
}

/* About */
#About {
  background: linear-gradient(135deg, #fffaf5, #f5e6d3);
  border-radius: 12px;
  max-width: 1000px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
#About h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #6f4e37;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}
#About h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #d4a373;
  margin: 10px auto 0;
  border-radius: 2px;
}
#About p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4b2e2e;
  max-width: 800px;
  margin: 0 auto 20px;
}

/* Menu */
.menu-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.menu-item {
  width: 220px;
  text-align: center;
  background: #fff8f0;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.menu-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}
.menu-item h3 {
  margin: 10px 0 5px;
  color: #5c3d2e;
}
.menu-item p {
  font-size: 14px;
  color: #333;
}
.price {
  margin-top: 10px;
  padding: 8px 15px;
  background-color: #5c3d2e;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}
.price:hover {
  background-color: #7a523a;
}

/* Features */
#features {
  background-color: #fdfdfd;
}
.features-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: 300px;
  padding: 20px;
  transition: transform 0.3s ease;
}
.feature:hover { transform: translateY(-5px); }
.feature img { width: 60px; margin-bottom: 10px; }
.feature h3 { color: #6b4226; font-size: 1.4rem; margin-bottom: 10px; }
.feature p { font-size: 1rem; color: #555; }

/* Video Section */
#Watch-Our-Coffee-Making {
  text-align: center;
  background-color: #fdf6f0;
}
#Watch-Our-Coffee-Making h2 { color: #6f4e37; margin-bottom: 20px; }
#video {
  width: 80%;
  max-width: 800px;
  height: 450px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Contact Section */
#contacts {
  background: linear-gradient(135deg, #f7f3ef, #fff);
  border-radius: 12px;
  max-width: 1000px;
  margin: 40px auto;
  padding: 40px 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
#contacts h2 { font-size: 28px; color: #4b2e2e; margin-bottom: 25px; }

/* Layout: info left, form right */
.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.contact-info { flex: 1; min-width: 300px; display: flex; flex-direction: column; gap: 30px; margin-top:100px; }
#form { flex: 1; min-width: 250px; display: flex; flex-direction: column; gap: 15px; align-items: flex-start; margin-top:30px; }

/* Inputs */
#form input[type="text"],
#form input[type="email"] { width: 100%; padding: 10px; border: 1px solid #d1b7a1; border-radius: 6px; font-size: 15px; }
#form input[type="submit"] { padding: 12px; background: #6b4226; color: white; border: none; border-radius: 6px; cursor: pointer; transition: 0.3s ease; }
#form input[type="submit"]:hover { background: #8c5a3c; transform: translateY(-2px); }

/* Contact icons */
.contact-info p::before { font-size: 18px; margin-right: 8px; }
.contact-info p:nth-child(1)::before { content: "📧"; }
.contact-info p:nth-child(2)::before { content: "📍"; }
.contact-info p:nth-child(3)::before { content: "☎️"; }


/* Footer */
#footer {
  background-color: #6f4e37;
  color: #f5f5f5;
  text-align: center;
  padding: 20px;
  font-family: Arial, sans-serif;
}

/* ===== Responsive ===== */
@media only screen and (max-width: 720px) {
  #nav-bar { flex-direction: column; gap: 10px; }
  iframe { width: 100%; height: auto; }
  .contact-container { flex-direction: column; gap: 20px; }
  #form input[type="submit"] { align-self: center; }
}
