:root {
  --cream: #f2e7cb;
  --sage: #94b38a;
  --muted-green: #93a29d;
  --terracotta: #d56748;
  --mustard: #efc757;
  --text-dark: #1f1f1f;
  --white: #ffffff;
}

/* this makes sizing easier — padding won’t mess up widths */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* I used the font from my prototype across the page so the final coded version stays visually consistent. */
body {
  margin: 0;
  font-family: "Merienda", cursive;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-dark);
  background-color: var(--white);
}

/* makes images flexible so they don’t overflow their containers */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

/* this wraps my content and stops it from getting too wide on big screens*/
.page-wrapper {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* skip link is hidden off screen until someone tabs to it */
.skip-link {
  position: absolute;
  top: -40px;
  left: 1rem;
  background-color: var(--text-dark);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 1000;
}

/* when focused, bring it into view so it’s usable */
.skip-link:focus {
  top: 1rem;
}

/* HEADER */
/* background for top section */
.site-header {
  background-color: var(--cream);
}

/* using flex to push logo left and menu button right */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 1.5rem 0;
}

.logo-img {
  width: 165px;
  height: auto;
}

/* setting up hamburger menu layout (stacked lines) */
.menu-button {
  width: 42px;
  height: 34px;
  padding: 0;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.menu-bar {
  width: 34px;
  height: 3px;
  margin-left: auto;
  background-color: var(--text-dark);
}

/* this is the dark overlay that covers the screen */
.mobile-nav-links {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background-color: rgba(0, 0, 0, 0.25);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 1000;
}

/* when JS adds this class, the menu becomes visible */
.mobile-nav-links.show-menu {
  display: flex;
}

/* styling links inside mobile menu */
.mobile-nav-link {
  color: var(--text-dark);
  font-size: 0.95rem;
}

.mobile-nav-link.active {
  color: var(--terracotta);
}

/* styling links inside mobile menu */
.mobile-nav-links.show-menu {
  display: flex;
}

/* white box inside overlay */
.mobile-menu-box {
  background-color: white;
  width: 80%;
  max-width: 320px;

  padding: 2.5rem 2rem;
  text-align: center;

  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* highlighting the current page */
.close-menu {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;

  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* HERO */

.hero-section {
  background-color: var(--cream);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.hero-title {
  margin: 0 0 2.25rem;
  text-align: center;
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1.2;
}

/* stacking everything vertically first */
.hero-section .page-wrapper {
  display: flex;
  flex-direction: column;
}

/* I turned the hero content into a two-column grid without changing the HTML structure.
   This lets the paragraph sit on the left while the image and button stay on the right. */
.hero-text {
  position: absolute;
  left: 2rem;
  top: 55%;
  transform: translateY(150%);

  max-width: 13rem;
  font-size: 1.15rem;
  line-height: 1.45;
  text-align: left;
}


.hero-image {
  width: 100%;
  max-width: 38rem;
  border-radius: 1.75rem;
  margin: 0 0 1.25rem auto;
}

/* This moves the paragraph to the left side of the hero row. */
.hero-text {
  align-self: start;
  width: 34%;
}

.hero-image {
  width: 58%;
}

/* pulling image up so it lines up with text */
.hero-image {
  margin-top: -8.5rem;
}

/* aligning button under image */
.button-wrap {
  text-align: right;
  width: 58%;
  margin-left: auto;
}

/* special section button alignment */
.specials-button-wrap {
  width: 100%;
  margin-left: 0;
  text-align: right;
  margin-top: 0.5rem;
}

/* this is my base button style used across the site */
.primary-button {
  position: relative;
  display: inline-block;

  padding: 0.55rem 1.5rem;
  border-radius: 999px;

  background-color: #e2a07c;
  color: var(--text-dark);

  font-size: 0.95rem;
  font-weight: 500;

  overflow: hidden;
  z-index: 1;
}

/* i created a hidden layer that slides up on hover to give the button interaction */
.book-button::before {
  content: "Book A Table";

  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #d58f69;
  color: white;

  border-radius: 999px;
  transition: top 0.3s ease;
}

/* on hover, the layer slides up to create the effect */
.book-button:hover::before {
  top: 0;
}

.hero-text,
.hero-image,
.button-wrap {
  position: relative;
}

/* SHARED SECTIONS  */

/* I applied consistent spacing to all sections to keep the layout balanced */
.values-section,
.specials-section,
.testimonials-section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.section-title {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
}

/* VALUES */

.values-section {
  background-color: var(--white);
}

/* I used very rounded cards for softer feel */
.value-card {
  margin-bottom: 1rem;
  padding: 1.5rem 1rem;
  text-align: center;
  background-color: #e3e8df;
  border-radius: 999px;
}

.value-card:last-child {
  margin-bottom: 0;
}

/* i centered and sized the icons to keep everything aligned */
.value-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
}

.value-heading {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
}

.value-text {
  margin: 0;
  font-size: 0.85rem;
}

/* SPECIALS  */

.specials-section {
  background-color: var(--white);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
/* each card is positioned relative so I can place elements inside it acuratly */
.special-card {
  position: relative;
  background-color: var(--cream);
  min-height: 27rem;
  margin-bottom: 3rem;
  padding: 2rem 1rem 1.5rem;
}

.special-card:last-of-type {
  margin-bottom: 1.5rem;
}

.special-heading {
  position: absolute;
  left: 1.75rem;
  top: 10.5rem;
  width: 45%;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.special-image {
  display: block;
  width: 38%;
  max-width: 12rem;
  margin-left: auto;
  margin-right: 1.25rem;
  border-radius: 2rem;
}

.special-text {
  width: 88%;
  margin: 1rem 0 0 auto;
  padding-right: 2.75rem;
  font-size: 0.85rem;
  line-height: 1.35;
  text-align: center;
}

/* i created a circular price badge to make it stand out visually */
.special-price {
  position: absolute;
  right: 0.75rem;
  bottom: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background-color: var(--muted-green);
  color: var(--text-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.menu-button-style {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* sliding layer */
.menu-button-style::before {
  content: "Our Menu";

  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #d58f69;
  color: white;

  border-radius: 999px;
  transition: top 0.3s ease;
}

/* hover effect */
.menu-button-style:hover::before {
  top: 0;
}

/* TESTIMONIALS  */

.testimonials-section {
  background-color: var(--white);
}

/* i styled each testimonial as a card to separate them clearly */
.testimonial-card {
  margin-bottom: 1rem;
  padding: 1rem 1rem 1.25rem;
  background-color: #dfe3d9;
  border-radius: 1.5rem;
}

/* i used flexbox to align the image, name, and rating in one row */
.testimonial-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.testimonial-image {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

/* i styled the rating as a pill to make it stand out */
.rating-pill {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background-color: #f2e7cb;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.star {
  color: #efc757;
  font-size: 0.9rem;
}

.rating-number {
  color: var(--text-dark);
}

.testimonial-text {
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.4;
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;

  background-color: #f2e7cb;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;

  font-size: 0.8rem;
  font-weight: 600;
}

/* I used a gold color for the star so it visually stands out from the text */
.star {
  color: #efc757;
  font-size: 0.9rem;
}

.rating-number {
  color: var(--text-dark);
}

/*  FOOTER  */

.site-footer {
  background-color: var(--cream);
  padding: 1.25rem 0 1rem;
}

/* TOP ROW */
/* I used flexbox to space out navigation and logo */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
}

/* I added spacing between links for readability */
.footer-link {
  color: var(--text-dark);
  font-size: 1rem;
}

.footer-link.active {
  color: var(--terracotta);
}

.footer-logo {
  width: 160px;
  height: auto;
}

/* I added a divider to separate sections visually */
.footer-divider {
  width: 100%;
  height: 1px;
  background-color: var(--text-dark);
  margin: 0.75rem 0;
}

/* BOTTOM ROW */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.95rem;
  margin: 0;
}

/* SOCIALS */
.social-icons {
  display: flex;
  gap: 0.6rem;
}

.social-icons img {
  width: 22px;
  height: 22px;
  display: block;
}

/* MENU PAGE */
/* Defining all my main brand colours in one place so I can reuse them easily and keep consistency across the whole site */
:root {
  --cream: #f2e7cb;
  --sage: #cfd4d1;
  --muted-green: #93a29d;
  --terracotta: #d56748;
  --mustard: #efc757;
  --text-dark: #1f1f1f;
  --white: #ffffff;
  --soft-yellow: #f4e2a8;
}

/* Resetting default spacing behaviour so padding and borders don’t break my layout */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Base styling for the whole page */
body {
  margin: 0;
  
  /* Using my imported font to keep the brand look consistent */
  font-family: "Merienda", cursive;
  font-weight: 400;
  line-height: 1.4;
  
  /* Setting default text and background colours */
  color: var(--text-dark);
  background-color: var(--white);
}

/* Mking sure all images scale properly and dont overflow their containers */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Removing underline from links because I’m styling them manually elsewhere */
a {
  text-decoration: none;
}

/* Main wrapper that keeps content centered and prevents it from stretching too wide on large screens */
.page-wrapper {
  width: min(1200px, 100%);
  margin: 0 auto;
  
  /* ading side padding so content doesnt touch scren edges on mobile */
  padding-left: 1rem;
  padding-right: 1rem;
}

/* skip link for accsibility so kkeyboard users can jump straight to main content */
.skip-link {
  position: absolute;
  top: -40px;
  left: 1rem;
  
  /* High contrast so it’s visible when focused */
  background-color: var(--text-dark);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 2000;
}

.skip-link:focus {
  top: 1rem;
}
/* HERO HEADER */
/* this whole setion control the herro ara at the top of the page image, overlay, nav, text */

.menu-header {
  position: relative;
  min-height: 560px;
  /* Preventing anything from spilling outside the hero area */
  overflow: hidden;
}

.menu-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  
  /* Light overlay so text stays readable over the image */
  background-color: rgba(255, 255, 255, 0.62);
  
  /* Placing it above the image but below the content */
  z-index: 1;
}

.menu-header-content {
  position: relative;
  z-index: 2;
  
  /* Keepig content insde the hero spaced nicely */
  min-height: 560px;
  padding: 1rem 1rem 2rem;
}

.menu-top-nav {
  display: flex;
  
  /* Spacing logo on one side and menu button on the other */
  justify-content: space-between;
  align-items: flex-start;
}

.logo-img {
  width: 120px;
  height: auto;
}

.menu-button {
  width: 42px;
  height: 34px;
  padding: 0;
  border: none;
  background: transparent;
  
  /* Stacng the hamburger lines vertically */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  
  cursor: pointer;
  /* Making sure it sits above other elements if needed */
  z-index: 3;
}

.menu-bar {
  width: 34px;
  height: 3px;
  margin-left: auto;
  
  /* Each line of the hamburger icon */
  background-color: var(--text-dark);
}

.mobile-nav-links {
  position: fixed;
  top: 0;
  left: 0;
  
  /* fullscreen overlay menu for mobile */
  width: 100%;
  height: 100%;
  
  /* Dark transparent background behind the menu box */
  background-color: rgba(0, 0, 0, 0.25);
  
  /* Hidden by default until activated by JS */
  display: none;
  
  align-items: center;
  justify-content: center;
  
  z-index: 1000;
}

.mobile-nav-links.show-menu {
  /* This class gets added by JavaScript to show the menu */
  display: flex;
}

.mobile-menu-box {
  background-color: white;
  width: 80%;
  max-width: 320px;
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  
  /* Adding depth so it feels like a popup panel */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.close-menu {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  
  /* mking the close button bigger so it's easy to tap on mobile */
  font-size: 1.5rem;
  
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-nav-link {
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  color: var(--terracotta);
}

.hero-text-wrap {
  max-width: 320px;
  margin: 8rem auto 0;
  text-align: center;
}

.menu-title {
  margin: 0 0 1rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

.menu-subtitle {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}

/* CATEGORY */

.category-section {
  background-color: #f3f3f3;
  padding: 2.5rem 0 1.5rem;
}

.category-title {
  margin: 0 0 1rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.category-row {
  background-color: var(--sage);
  
  /* Padding gives breathing room inside each row */
  padding: 0.5rem 1rem;
  
  /* llarge bottom margin to create spadfcing between category rows */
  margin-bottom: 7.5rem;
  
  /* Using flexbox to line up category items side by side */
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}

.category-item {
  width: 42%;
  
  /* Centering text and image inside each category block */
  text-align: center;
}

.category-name {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.category-image {
  width: 105px;
  height: 130px;
  object-fit: cover;
  
  /* Centering image inside the category item */
  margin: 0 auto;
  
  /* Pushing the image downward to create that overlapping visual effect */
  transform: translateY(75px);
}

.menu-items-heading {
  margin: 2rem 0 0;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
}

/* MENU LISTS */

.menu-list-section {
  /* bcasic spacing around each menu block so sections dot feel stck together */
  padding: 1rem 0 1.25rem;
}

.starters-section {
  background-color: #f0dfaa;
}

.mains-section {
  background-color: #cfd4d1;
  
  /* ading separation from the pevious section so each category feels distnct */
  margin-top: 3.5rem;
}

.desserts-section {
  background-color: var(--soft-yellow);
  /* ssame spacing logic as mains so layout stays consistent */
  margin-top: 3.5rem;
  padding-bottom: 2rem;
}

.menu-section-title {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.starters-title {
  color: var(--terracotta);
}

.mains-title {
  color: var(--terracotta);
}

.desserts-title {
  color: var(--terracotta);
}

.menu-item {
  /* ysing flex so the text is on the left and price stays aligned on the right */
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

/* removing bottom spacing from last irtem so the section ends cleanly */
.menu-item:last-child {
  margin-bottom: 0;
}

.menu-item-text {
  flex: 1;
}

.item-name {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.item-description {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.35;
}

.item-price {
  /* Prevents price circle from shrinking when space gets tight */
  flex-shrink: 0;
  min-width: 32px;
  height: 32px;
  /* Making the price look like a badge/circle */
  border-radius: 50%;
  background-color: rgba(147, 162, 157, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

/* FOOTER */

.site-footer {
  background-color: var(--cream);
  /* Adding spacing so the footer doesn’t feel cramped and has breathing room from the content above */
  padding: 1.25rem 0 1rem;
  margin-top: 6.5rem;
}

.footer-top {
  /* Placing nav links on one side and logo on the other */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-nav {
  /* lining footer link in a row with spacing between them */
  display: flex;
  gap: 1.25rem;
}

.footer-link {
  color: var(--text-dark);
  font-size: 1rem;
}

.footer-link.active {
  /* highlitghiting the curent page link so useerrs know where they are */
  color: var(--terracotta);
}

.footer-logo {
  width: 160px;
  height: auto;
}

.footer-divider {
  /* simple line to visually separate top and bottom footer sections */
  width: 100%;
  height: 1px;
  background-color: var(--text-dark);
  margin: 0.75rem 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.95rem;
  margin: 0;
}

.social-icons {
  display: flex;
  gap: 0.6rem;
}

.social-icons img {
  width: 22px;
  height: 22px;
  display: block;
}

/* Contact page */
.contact-header {
  background-color: #c7d0bf;
  /* small top pading so content doesntt stuck to the top edge */
  padding: 1rem 0 0;
}

.contact-top-nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 1rem;
}

.contact-form-section {
  background-color: #c7d0bf;
  padding: 1.25rem 0 1.5rem;
}

.contact-page-title {
  margin: 0 0 1.5rem;
  /* Centering the title so it feels balanced on the page */
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
}

.contact-form {
  /* tacking form elemets verticaly */
  display: flex;
  flex-direction: column;
}

.contact-label {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.contact-input,
.contact-textarea {
  width: 100%;
  border: 2px solid var(--terracotta);
  border-radius: 1rem;
  background-color: transparent;
  font-family: "Merienda", cursive;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 0.75rem 0.9rem;
  margin-bottom: 2rem;
  outline: none;
}

.contact-input {
  height: 42px;
}

.contact-textarea {
  min-height: 140px;
  /* Preventing users from resizing the textarea so layout stays consistent */
  resize: none;
}

.contact-button-wrap {
  display: flex;
  justify-content: flex-end;
}

.send-button {
  border: none;
  background-color: var(--cream);
  color: var(--terracotta);
  font-family: "Merienda", cursive;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.3rem 1rem;
  cursor: pointer;
}

.hours-section {
  background-color: #f3f3f3;
  /* Spacing so this section is clearly separated from the form above */
  padding: 2rem 0 1.5rem;
}

.hours-title {
  margin: 0 0 1.75rem;
  text-align: center;
  font-size: 1.9rem;
  font-weight: 700;
}

.hours-card {
  background-color: #d8ddda;
  /* Fully rounded shape to make it look like a pill/card */
  border-radius: 999px;
  padding: 1.5rem 1rem;
  text-align: center;
  margin-bottom: 2rem;
}

.hours-text {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
}

.directions-title {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 700;
}

.map-embed {
  width: 100%;
  max-width: 290px;
  height: 200px;
  border: 0;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}

.map-section {
  background-color: #c7d0bf;
  padding: 1.75rem 0 2rem;
}

.address-text {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: underline;
}

.map-image {
  width: 100%;
  max-width: 290px;
  margin: 0 auto;
}

/* Tablet verstion */
.tablet-nav {
  display: none;
}

.tablet-nav-link {
  color: var(--text-dark);
  font-size: 1rem;
  transition: color 0.2s ease;
}

.tablet-nav-link.active,
.tablet-nav-link:hover {
  color: var(--terracotta);
}

@media (min-width: 768px) {
  /* inceasing side pading so conent has more breathing rooom on lager screens */
  .page-wrapper {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* HEADER  */

  /* Aigning navigation elements poperly for tablet layout */
 .site-nav,
.menu-top-nav,
.contact-top-nav {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 1rem 1.5rem 0;
}

.menu-button {
  /* hiding hamburger menu on tablet since full nav is shown */
  display: none;
}

.tablet-nav {
  position: absolute;
  left: 50%;
  /* Centering navigation links in the header */
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.tablet-nav-link {
  font-size: 1.05rem;
}

.logo-img {
  width: 150px;
  height: auto;
}     

  /* HOME PAGE */

.hero-section {
  padding-top: 1.5rem;
  padding-bottom: 3.5rem;
}

.hero-section .page-wrapper {
  position: relative;
  min-height: 620px;
}

.hero-title {
  margin: 0 0 2rem;
  text-align: center;
  font-size: 4.25rem;
  font-weight: 700;
  line-height: 1.08;
  max-width: 58rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-text {
  position: absolute;
  left: 1.5rem;
  top: 20rem;
  width: 24%;
  max-width: 16rem;
  font-size: 16px;
  line-height: 1.35;
  text-align: left;
  transform: none;
}

.hero-image {
  width: 20rem;
  height: 32rem;
  object-fit: cover;
  border-radius: 1.75rem;
  /* Rotating image for the stylized layout design */
  transform: rotate(90deg) scale(1);
  transform-origin: center;
  margin: -4rem 12% 0 auto;
  display: block;
}

.button-wrap {
  width: 34rem;
  margin-left: auto;
  text-align: right;
  margin: -5rem 0 0 auto;
}

.primary-button {
  font-size: 0.9rem;
  padding: 0.35rem 0.95rem;
}

/* VALUES */

.values-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.section-title {
  margin: 0 0 2.5rem;
  text-align: center;
  font-size: 2.7rem;
  font-weight: 700;
}

.value-card {
  max-width: 52rem;
  margin: 0 auto 1.25rem;
  padding: 2rem 1.5rem;
  border-radius: 999px;
}

.value-card:last-child {
  margin-bottom: 0;
}

.value-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 0.85rem;
}

.value-heading {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.value-text {
  font-size: 0.9rem;
}

/*  SPECIALS TABLET */

.special-card {
  position: relative;
  min-height: 21rem;
  margin-bottom: 1.75rem;
  padding: 2rem 2rem 1.75rem;
}

.special-heading {
  position: absolute;
  left: 2rem;
  top: 8.25rem;
  width: 24%;
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
}

.special-image {
  width: 14rem;
  height: 18rem;
  object-fit: cover;
  /* Adjusting positioning so image sits nicely in tablet layout */
  margin-left: auto;
  border-radius: 1.5rem;
  transform: rotate(90deg)  scale(1.3);
  display: block;
  margin: 0% 60% auto;
}

.special-text {
  width: 82%;
  margin: 1.5rem auto 0;
  padding-right: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  text-align: center;
}

.special-price {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.specials-button-wrap {
  width: 52%;         
  margin-left: auto;   
  margin-top: 1rem;
  text-align: right;
}

/* TESTIMONIALS */

.testimonials-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.testimonial-card {
  max-width: 52rem;
  margin: 0 auto 1.25rem;
  padding: 1.25rem 1.25rem 1.35rem;
  border-radius: 1.25rem;
}

.testimonial-card:last-child {
  margin-bottom: 0;
}

.testimonial-top {
  gap: 0.9rem;
}

.testimonial-image {
  width: 64px;
  height: 64px;
}

.testimonial-name {
  font-size: 1rem;
}

.rating-pill {
  font-size: 0.82rem;
  padding: 0.3rem 0.65rem;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.45;
}

/* FOOTER */

.site-footer {
  padding-top: 1.4rem;
  padding-bottom: 1rem;
}

.footer-top {
  align-items: center;
}

.footer-nav {
  gap: 1.5rem;
}

.footer-link {
  font-size: 1rem;
}

.footer-logo {
  width: 155px;
}

.footer-bottom {
  align-items: center;
}

.footer-copy {
  font-size: 0.92rem;
}
/* Menu page */

.menu-title {
  font-size: 2.5rem;
}

.menu-subtitle {
  font-size: 1.1rem;
}
.category-row {
  display: flex;
  gap: 1.5rem;
}

.category-item {
  /* Allowing each category item to take equal space in the row */
  flex: 1;
}

.category-name {
  font-size: 1.1rem;
}

.category-image {
  /* Sight rounding to make images feel softer and more modern */
  border-radius: 1.5rem;
}

/* menu items spacing */
.menu-item {
  /* Adding spacing so eachmenu item feels separated and easir to scan */
  padding: 1rem 0;
}

.item-name {
  font-size: 1.1rem;
}

.item-description {
  font-size: 0.95rem;
}

.item-price {
  /* Mking price slightly bigger so it stands outmore on talet */
  font-size: 1rem;
}

  /* CONTACT PAGE */

.contact-page-title {
  font-size: 2.4rem;
}

.contact-form {
  /* Keeing the form at a readable width so it doesnt stretch too wide */
  max-width: 600px;
  
  /* Centering the form on the page */
  margin: 0 auto;
}

.contact-input,
.contact-textarea {
  font-size: 0.95rem;
  padding: 0.65rem;
}

.send-button {
  /* Slightly adjusting button size so it feelsalanced with the larger form */
  font-size: 0.95rem;
  padding: 0.6rem 1.5rem;
}

.hours-title,
.directions-title {
  font-size: 1.6rem;
}

.hours-text {
  font-size: 1rem;
}

/* MAp section  */

.map-section .page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.address-text {
  font-size: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.map-embed {
  /* Scaling map to be larger on tablet but still contained */
  width: 100%;
  max-width: 500px;  
  height: 400px;     
  
  /* Rounding corners to match the rest of the design style */
  border-radius: 1rem;
}

  /* FOOTER */

  .footer-top {
    align-items: center;
  }

  .footer-link {
    font-size: 1rem;
  }

  .footer-logo {
    width: 150px;
  }
}

@media (min-width: 768px) {

  /* GLOBAL WRAPPER */
  /* Increasing padding even more for larger tablet layouts */
  .page-wrapper {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  /* NAV */
  .menu-button {
    /* Making sure hamburger menu stays hidden on tablet */
    display: none;
  }

  .tablet-nav {
    /* Showing tablet navigation again here just to reinforce layout */
    display: flex;
    gap: 1.5rem;
  }

  .tablet-nav-link {
    font-size: 0.95rem;
  }

}
/* DESKTOP VERSION */
@media (min-width: 1024px) {

  /* GLOBAL */
  .page-wrapper {
    width: min(1400px, 100%);
    padding-left: 3rem;
    padding-right: 3rem;
  }

  /* NAV */
  .tablet-nav {
    /* Increasing spacing between nav links for better readability */
    gap: 2.5rem;
  }

  .tablet-nav-link {
    font-size: 1.05rem;
  }

  /* Home page */
  .hero-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero-title {
    font-size: 3.6rem;
  }

  .hero-text {
    font-size: 1.25rem;
    
    /* Alowing text to sit further in from the edgeon larger screens */
    max-width: 18rem;
    left: 4rem;
  }

  .hero-image {
    /* ensuring image scales properly withoutbreaking layout */
    max-width: 100%;
  }

  .primary-button {
    font-size: 1rem;
    padding: 0.7rem 1.8rem;
  }

  .section-title {
    font-size: 2.1rem;
    margin-bottom: 2.25rem;
  }

  /* VALUES */
  .value-card {
    padding: 2rem 1.75rem;
  }

  .value-heading {
    font-size: 1.15rem;
  }

  .value-text {
    font-size: 1rem;
  }

  /* SPECIALS */
  .special-card {
    min-height: 30rem;
    padding: 2.5rem 1.75rem 2rem;
  }

  .special-heading {
    font-size: 1.25rem;
    left: 2.25rem;
    top: 11.5rem;
  }

  .special-image {
    width: 42%;
    max-width: 15rem;
    margin-right: 2rem;
  }

  .special-text {
    font-size: 1rem;
    width: 82%;
    padding-right: 3.25rem;
  }

  .special-price {
    width: 2.6rem;
    height: 2.6rem;
    font-size: 0.95rem;
  }

  /* TESTIMONIALS */
  .testimonial-card {
    padding: 1.5rem 1.5rem 1.75rem;
  }

  .testimonial-image {
    width: 68px;
    height: 68px;
  }

  .testimonial-name {
    font-size: 1.05rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }

/* Menu page */
  .menu-title {
    font-size: 3rem;
  }

  .menu-subtitle {
    font-size: 1.2rem;
  }

  .category-name {
    font-size: 1.2rem;
  }

  .menu-section-title {
    font-size: 1.8rem;
  }

  .item-name {
    font-size: 1.2rem;
  }

  .item-description {
    font-size: 1rem;
  }

  .item-price {
    font-size: 1.1rem;
  }

  /* contact page */
  .contact-page-title {
    font-size: 2.8rem;
  }

  .contact-form {
    max-width: 650px;
  }

  .contact-input,
  .contact-textarea {
    font-size: 1rem;
    padding: 0.75rem;
  }

  .send-button {
    font-size: 1rem;
    padding: 0.7rem 1.75rem;
  }

  .hours-title,
  .directions-title {
    font-size: 1.8rem;
  }

  .hours-text {
    font-size: 1.05rem;
  }

  /* MAP (same style, just slightly bigger) */
  .map-embed {
    /* Expandingmap size for better visibilty on desktop */
    max-width: 600px;
    height: 450px;
  }

  .address-text {
    font-size: 1.05rem;
  }

  /* FOOTER */
  .footer-link,
  .footer-copy {
    font-size: 1rem;
  }

  .footer-logo {
    width: 190px;
  }

  .social-icons img {
    width: 26px;
    height: 26px;
  }

}