/* ------------------ CSS RESET ------------------ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #432e24;
    background: #fff8f3;
  }
  
  /* ------------------ THEME VARIABLES ------------------ */
  :root {
    --clr-primary: #9846c6;
    /* acai purple */
    --clr-secondary: #ff8ba7;
    /* strawberry pink */
    --clr-accent: #ffea00;
    /* honey yellow */
    --clr-bg-light: #fff8f3;
    /* paper-like */
    --clr-text-dark: #432e24;
    /* cocoa */
    --rounded: 1.5rem;
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }
  
  /* ------------------ UTILITIES ------------------ */
  .container {
    width: min(90%, 1200px);
    margin-inline: auto;
  }
  
  .btn {
    display: inline-block;
    background: var(--clr-primary);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
  }
  
  .btn:hover {
    transform: translateY(-3px);
  }
  
  h1,
  h2,
  h3,
  .logo {
    font-family: 'Baloo 2', cursive;
    color: var(--clr-primary);
  }
  
  section {
    padding-block: 4rem;
    position: relative;
    z-index: 1;
  }
  
  /* ------------------ HEADER ------------------ */
  header {
    background-color: #FFFAF7;
    /* Set the background color to a light grey */
    min-height: 70vh;
    position: relative;
    isolation: isolate;
    color: #432e24;
    /* change text color to darker */
    text-align: center;
    /* center align everything inside */
    padding-top: 2rem;
    z-index: 2; /* Added: Create stacking context for the header */
  }
  
  header::after {
    /* overlay */
    content: '';
    position: absolute;
    inset: 0;
    /* Remove the background image */
    background: none;
    z-index: -1;
  }
  
  nav {
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .logo img {
    width: 120px;
  }
  
  ul.menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin-left: auto;
  }
  
  ul.menu a {
    color: #432e24;
    font-weight: 500;
    text-decoration: none;
  }
  
  .hero {
    /* color: #fff; */
    /* remove color as it's set in the header now */
    text-align: center;
    padding-top: 6rem;
    /* reduce the top padding for closer to the image */
  }
  
  .hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
    color: #9846c6;
  }
  
  .hero p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  
  /* reduce spacing */
  
  /* ------------------ MENU SECTION ------------------ */
  .menu-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
  
  .card {
    background: #fff;
    border-radius: var(--rounded);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s;
    margin-top: 1rem;
  }
  
  .card:hover {
    transform: translateY(-5px);
  }
  
  .card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .card-body h3 {
    margin-bottom: 0.5rem;
  }
  
  .price {
    font-weight: 600;
    color: var(--clr-secondary);
  }
  
  /* ------------------ ABOUT SECTION ------------------ */
  .founders {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    text-align: center;
    margin-top: 1em;
  }
  
  .founder {
    background: #fff;
    border-radius: var(--rounded);
    padding: 2rem 1rem;
    box-shadow: var(--shadow);
  }
  
  .founder img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
  }
  
  /* ------------------ FOOTER ------------------ */
  footer {
    background: var(--clr-primary);
    color: #fff;
    text-align: center;
    padding: 2rem 0;
  }
  
  .socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .socials a {
    color: #fff;
    font-size: 1.4rem;
  }
  
  /* Mobile Menu */
  .hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #432e24;
    /* or any other suitable color */
  }
  
  @media (max-width: 700px) {
    .hamburger {
      display: block;
    }
  
    nav {
      position: fixed;
      /* Stick to the top */
      top: 0;
      left: 0;
      width: 100%;
      background-color: #FFFAF7;
      /* Match header background */
      z-index: 11;
      /* Ensure it's above the overlay */
      padding: 2rem 1rem;
      /* Adjust padding */
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  
    .logo img {
      width: 80px;
    }
  
    ul.menu {
      display: none;
      flex-direction: column;
      position: fixed;
      /* Changed to fixed for overlay */
      top: 0;
      /* Cover the entire screen */
      left: 0;
      width: 100%;
      background-color: #FFFAF7;
      /* Match header background */
      text-align: center;
      padding: 2rem 2rem;   /* Reduced from 4rem to 2rem */
      /* Increased padding */
      box-shadow: none;
      /* Removed box shadow */
      z-index: 9999 !important;
      /*Changed to 12 to supercede, !important added */
      /*justify-content: center;    Remove to allow padding to take effect */
      /*align-items: center;   Remove to allow padding to take effect */
      margin-top: 4rem;
      /* Account for sticky nav height + padding */
      transform: translateZ(0);
      /* Force a new stacking context */
    }
  
    ul.menu.show {
      display: flex;
    }
  
    ul.menu li {
      margin: 2rem 0;       /* Increased from 1rem */
      /* Increased margin */
      font-size: 1.5rem;
      /* Increased font size for better readability */
    }
  
    header {
      padding-top: 8rem;
      /* Push the header down to account for sticky nav */
    }

    .hero {
        margin-bottom: 10rem; /* add more spacing */
    }
  }