/*TASTE HAVEN — style.css*/

/*RESET & BASE*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f9f9f9;
}

/*CONTAINER*/
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/*HEADER / NAVBAR*/

header {
  background-color: #333; 
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

header nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 24px;
  gap: 16px;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-placeholder {
  height: 50px;
  width: 140px;
  background-color: #e0e0e0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #888;
}

header nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

header nav ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

header nav ul li a:hover {
  color: #e67e22;
}


/* ─── HERO ─── */
#home {
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #333;
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url('background.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 16px;
  color: #fff;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 32px;
  color: #ddd;
}

/* ─── BUTTON ─── */
.btn {
  background-color: #e67e22;
  color: #fff;
  padding: 14px 32px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.btn:hover {
  background-color: #d35400;
}

/*SECTIONS SHARED*/
section {
  padding: 60px 0;
}

section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #222;
}

/*MENU*/
#menu {
  background-color: #f9f9f9;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/*CARD (shared by menu + testimonials)*/
.card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.img-placeholder {
  width: 100%;
  height: 200px;
  background-color: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #999;
}

.card-body {
  padding: 20px 16px;
}

.card-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #222;
}

.card-body p {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

.price {
  font-size: 16px;
  font-weight: bold;
  color: #e67e22;
}

/* ─── ABOUT ─── */
.about-card {
  max-width: 700px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 8px;
  padding: 36px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.about-card p {
  font-size: 16px;
  color: #555;
}
/* ─── TESTIMONIALS ─── */
#testimonials {
  background-color: #f9f9f9;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 24px;
}

.testimonial-card .stars {
  color: #f39c12;
  font-size: 20px;
  margin-bottom: 12px;
}

.testimonial-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}

.testimonial-card h4 {
  font-size: 14px;
  color: #333;
  font-weight: bold;
}

/* ─── OPENING HOURS ─── */
#hours {
  background-color: #fff;
}

#hours table {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  border-collapse: collapse;
}

#hours table th,
#hours table td {
  padding: 12px 20px;
  text-align: left;
  font-size: 15px;
}

#hours table thead tr {
  background-color: #e67e22;
  color: #fff;
}

#hours table tbody tr {
  background-color: #fff;
}

#hours table tbody tr.alt-row {
  background-color: #f2f2f2;
}

#hours table tbody tr:hover {
  background-color: #ddd;
}

/* ─── RESERVATION ─── */
#reservation {
  background-color: #f9f9f9;
}

.form-card {
  max-width: 600px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 8px;
  padding: 36px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-card input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin-bottom: 16px;
  display: block;
}

.form-row input {
  margin-bottom: 0;
}

.form-card input:focus {
  outline: none;
  border-color: #e67e22;
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.2);
}

.form-card .btn {
  width: 100%;
  text-align: center;
  margin-top: 4px;
}

/* ─── FOOTER ─── */
footer {
  background-color: #333;
  color: #ccc;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col h3 {
  color: #e67e22;
  margin-bottom: 12px;
  font-size: 16px;
}

.footer-col p {
  font-size: 14px;
  color: #bbb;
  line-height: 2;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  background-color: #444;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.2s;
}

.social-links a:hover {
  background-color: #e67e22;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #888;
}

/* ─── RESPONSIVE — max 768px ─── */
@media (max-width: 768px) {

  header nav {
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  header nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    flex-direction: column;
  }

  .about-img {
    width: 100%;
    height: 200px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}