/* 
 css/styles.css 
 Student Name: Adam Ashraf Rosol Ghanem
 Student Id: 12326691
*/

:root {
  --bg: #faf7f2;
  --text: hwb(0 12% 88%);
  --muted: #6b6b6b;
  --brand: #216869;
  --brand-2: #49a078;
  --card: #ffffff;
  --border: #e9e3db;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: "Rubik", sans-serif, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img{
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

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

.site-header {
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.logo {
  font-weight: 700;
  font-size: 24px;
  color: var(--brand);
  text-decoration: none;
}

.nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}

.nav a:hover {
  color: var(--brand);
}

.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

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

.tag {
  background: var(--brand-2);
  color: var(--brand);
  padding: 5.6px 16px;
  border-radius: 50px;
  font-size: 13.6px;
  font-weight: 500;
  margin-bottom: 16px;
  display: inline-block;
}

.hero-content h1 {
  font-size: 56px;
  margin: 8px 0;
  font-weight: 700;
}

.subtitle {
  font-size: 17.6px;
  margin-bottom: 24px;
}

.btn {
  background: var(--brand-2);
  color: white;
  padding: 12px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.btn:hover {
  background: var(--brand);
}

.section {
  padding: 64px 0;
}

.section-title {
  font-size: 35.2px;
  color: var(--text);
  margin-bottom: 16px;
}

.card {
  background: var(--card);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.about-card h2, .chef-card h2 {
  font-size: 22.4px;
  font-weight: 600;
  margin-bottom: 12px;
}

.note-text {
  color: var(--muted);
  font-size: 14.4px;
  margin-top: 12px;
  padding-top: 10px
}

.badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.badge {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  padding: 5.6px 13.6px;
  border-radius: 50px;
  font-size: 12.8px;
  font-weight: 600;
}

.menu-card h3 {
  font-size: 20.8px;
  font-weight: 600;
  margin-bottom: 16px;
}

.menu-list {
  list-style: none;
  flex: 1;
}
.menu-list li {
  padding: 13.6px 0;
  border-bottom: 1px dashed var(--border);
}

.menu-list li:last-child {
  border-bottom: none;
}

.item-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.item-name {
  font-weight: 500;
  font-size: 16px;
  flex: 1;
}

.item-price {
  font-weight: 600;
  color: var(--brand);
  font-size: 16px;
}

.item-desc {
  color: var(--muted);
  font-size: 13.6px;
  margin-top: 5.6px;
}

.menu-section .note {
  color: var(--muted);
  font-size: 13.6px;
  margin-top: 24px;
  padding-left: 16px;
  font-style: italic;
}

.hours-card h2, .reserve-card h2 {
  font-size: 22.4px;
  margin-bottom: 16px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 10.4px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 16px;
}

.day {
  font-weight: 500;
}

.time {
  color: var(--muted);
}

.highlight {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.highlight:hover {
  text-decoration: underline;
}

.reserve-sub {
  font-size: 14.4px;
  color: var(--muted);
  padding-top: 20px;
}

.card.find-us-map {
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--card);
}

.find-us-map img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.site-footer {
  background: var(--bg);
  color: var(--muted);
  text-align: center;
  padding: 32px 0;
  margin-top: 64px;
  font-size: 14.4px;
  border-top: 1px solid var(--border);
}

.student-link {
  color: var(--brand-2);
  text-decoration: none;
  font-weight: 500;
}

.student-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    padding: 8px;
  }

  .nav ul {
    flex-direction: column;
    width: 100%;
  }

  .nav a {
    padding: 11.2px 0;
    text-align: center;
    font-size: 17.6px;
    color: var(--brand);
  }

  .hero {
    height: 60vh;
  }

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

  .btn {
    padding: 9.6px 24px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    padding: 19.2px;
  }

  .find-us-map img {
    height: 180px;
  }

  h2,h3 {
    font-size: 20.8px;
  }

  p,li {
    font-size: 15.2px;
  }

  .site-footer {
    padding: 16px 0;
    font-size: 12.8px;
  }

  .logo{
    margin-bottom: 8px;
  }
}