body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #8d5320;
  color: #333;
}

header {
  background: #4b2e2e;
  padding: 15px 30px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  margin: 0;
  font-size: 24px;
}

nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
}

nav ul li a:hover {
  color: #f2c94c;
}

/* Page Layout */
.container {
  padding: 50px;
  text-align: center;
}

.hero {
  background: url('images/cafe-bg.jpg') center/cover no-repeat;
  color: white;
  padding: 120px 20px;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 10px;
}

.btn {
  background: #f2c94c;
  color: #4b2e2e;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.btn:hover {
  background: #ffb703;
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.menu-item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

footer {
  background: #4b2e2e;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 30px;
}
/* Responsive Navbar */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px 0;
  border-radius: 2px;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #4b2e2e;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 15px;
  }

  nav ul.show {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  nav ul li {
    margin: 15px 0;
    text-align: right;
  }
}
/* Dark Mode */
body.dark {
  background: #1e1e1e;
  color: #f5f5f5;
}

body.dark header {
  background: #111;
}

body.dark footer {
  background: #111;
}

body.dark nav ul {
  background: #111;
}

.dark-toggle {
  cursor: pointer;
  background: #f2c94c;
  border: none;
  padding: 8px 12px;
  margin-left: 15px;
  border-radius: 5px;
  font-weight: bold;
}

/* Specials & Testimonials */
.specials, .testimonials {
  margin-top: 40px;
}

.testimonial-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  margin: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

body.dark .testimonial-card {
  background: #2b2b2b;
}
/* Hero Styling */
.hero {
  background: url('images/cafe-bg.jpg') center/cover no-repeat;
  color: white;
  padding: 150px 20px;
  text-align: center;
}
.hero h2 {
  font-size: 50px;
  margin-bottom: 10px;
}
.hero p {
  font-size: 20px;
  margin-bottom: 20px;
}
.hero .btn {
  font-size: 18px;
}

/* Newsletter */
.newsletter input {
  padding: 10px;
  width: 250px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 10px;
}

/* Testimonials Carousel */
.testimonial-container {
  position: relative;
  height: 80px;
  margin-top: 20px;
}
.testimonial {
  display: none;
  font-style: italic;
  font-size: 18px;
}
.testimonial.active {
  display: block;
}
/* Hero with overlay */
.hero {
  background: url('images/cafe-bg.jpg') center/cover no-repeat;
  color: white;
  padding: 160px 20px;
  text-align: center;
  position: relative;
}
.hero .overlay {
  background: rgba(0,0,0,0.6);
  padding: 50px;
  border-radius: 12px;
  display: inline-block;
  animation: fadeIn 1.5s ease-in;
}
.hero h2 {
  font-size: 50px;
  margin-bottom: 10px;
  animation: slideDown 1.2s ease;
}
.hero p {
  font-size: 20px;
  margin-bottom: 20px;
  animation: fadeIn 2s ease;
}
.hero .btn {
  font-size: 18px;
  transition: 0.3s;
}
.hero .btn:hover {
  background: #ff9f1c;
  transform: scale(1.05);
}

/* Card Hover Effect */
.card {
  transition: transform 0.3s, box-shadow 0.3s;
}
.card img {
  border-radius: 8px;
  margin-bottom: 10px;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* Testimonials Slider */
.testimonial-slider {
  position: relative;
  height: 80px;
  margin: 20px 0;
}
.testimonial {
  display: none;
  font-style: italic;
  font-size: 18px;
  transition: opacity 0.5s;
}
.testimonial.active {
  display: block;
  opacity: 1;
}
.dots {
  text-align: center;
}
.dot {
  height: 10px;
  width: 10px;
  background: #bbb;
  display: inline-block;
  border-radius: 50%;
  margin: 5px;
  cursor: pointer;
}
.dot.active {
  background: #f2c94c;
}

/* Newsletter */
.newsletter input {
  padding: 10px;
  width: 250px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 10px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; } 
  to { opacity: 1; }
}
@keyframes slideDown {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(60%);
}

.hero-content {
  z-index: 1;
  animation: fadeIn 2s ease-in;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #ff9f1c;
  color: white;
  font-size: 18px;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s ease;
}
.btn:hover {
  background: #e68900;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}
/* ---------- MENU PAGE STYLING ---------- */

/* Search Bar */
#menuSearch {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  margin: 15px auto 30px;
  display: block;
  border: 2px solid #ccc;
  border-radius: 25px;
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
}
#menuSearch:focus {
  border-color: #8B4513; /* coffee brown */
  box-shadow: 0 0 8px rgba(139, 69, 19, 0.4);
}

/* Menu Grid Layout */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

/* Menu Item Card */
.menu-item.card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.menu-item.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Menu Item Images */
.menu-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

/* Menu Item Text */
.menu-item h3 {
  font-size: 1.2rem;
  margin: 10px 0 5px;
  color: #333;
}
.menu-item p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
}

/* Add to Cart Button */
.menu-item button {
  background: #8B4513; /* coffee brown */
  color: #fff;
  padding: 8px 15px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.3s ease;
}
.menu-item button:hover {
  background: #A0522D;
}

/* Menu Category Headings */
.menu-category {
  grid-column: 1 / -1; /* full width across grid */
  font-size: 1.6rem;
  margin: 30px 0 15px;
  color: wheat; /* coffee brown */
  border-bottom: 2px solid #8B4513;
  padding-bottom: 5px;
}
/* ====== About Page Styling ====== */

/* Small Hero */
.small-hero {
  height: 50vh;
  background: url("images/cozy.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.small-hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.small-hero .hero-content {
  position: relative;
  z-index: 2;
}

.small-hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

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

/* About Sections */
.about-section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #4b2c20;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  max-width: 800px;
  margin: auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.feature-card {
  background: #fff8f0;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.feature-card h3 {
  margin: 10px 0;
  font-size: 1.3rem;
  color: #5c4033;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.team-card {
  background: #fff8f0;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: scale(1.05);
}

.team-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.team-card h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: #4b2c20;
}

.team-card p {
  font-size: 1rem;
  color: #555;
}

/* Footer */
footer {
  background: #2f2f2f;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

footer a {
  color: #ffcf87;
  margin: 0 8px;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
