/* ========= Root / Reset ========= */
:root{
    --primary: #0A192F;
    --accent: #E14D25;
    --ink: #111111;
    --bg: #f6f7f9;
    --white: #ffffff;
    --muted: #6b7280;
    --maxw: 1200px;
    --padX: clamp(16px, 4vw, 32px);
    --speed: .25s;
  }
  
  /* No rounded edges globally */
  * { box-sizing: border-box; }
  html, body { height: 100%; }
  body{
    margin: 0;
    font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
  }
  
  /* Utilities */
  .section{ padding: clamp(48px, 6vw, 80px) 0; }
  .container{
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--padX);
  }
  .grid{ display: grid; gap: clamp(16px, 2vw, 24px); }
  img{ display:block; max-width:100%; height:auto; }
  
  /* Buttons */
  .btn{
    display:inline-block;
    text-decoration:none;
    background: var(--accent);
    color: var(--white);
    padding: 14px 22px;
    border: 0;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: .2px;
    transition: transform var(--speed), background var(--speed);
  }
  .btn:hover{ background:#c94425; transform: translateY(-1px); }
  
  /* ========= HERO =========
     Robust overlay via LAYERED BACKGROUND + optional .overlay element
     (kept for robustness and maintainability)
  */
  .foods-hero{
    position: relative;
    min-height: clamp(280px, 35vw, 420px);
    display:flex;
    align-items:center;
    justify-content:center;
  
    /* Layered background: gradient overlay + image */
    background-image:
      linear-gradient(rgba(10,25,47,.72), rgba(10,25,47,.72)),
      url('../images/foods/fbackground.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  
  /* Optional extra overlay element (works even if background above gets changed) */
  .foods-hero .overlay{
    position:absolute;
    inset:0;
    background: rgba(10,25,47,.65);
    pointer-events:none;
    z-index: 0;
  }
  
  .foods-hero .hero-content{
    position: relative; /* above .overlay */
    z-index: 1;
    text-align:center;
    color: var(--white);
    padding: 0 var(--padX);
  }
  .foods-hero h1{
    margin:0 0 8px 0;
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .6px;
  }
  .foods-hero p{
    margin:0;
    font-size: clamp(14px, 2.2vw, 18px);
    opacity:.95;
  }
  
  /* ========= INTRO ========= */
  .foods-intro{
    background: var(--white);
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
  }
  .intro-grid{
    display:grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(20px, 3.5vw, 40px);
    align-items:center;
  }
  .intro-image img{
    width:100%;
    height:auto;
    /* keep sharp corners */
  }
  .intro-text h2{
    margin:0 0 10px 0;
    font-size: clamp(22px, 3.2vw, 34px);
    color: var(--primary);
    font-weight: 600;
  }
  .intro-text p{
    margin: 0 0 16px 0;
    color: #2b2f36;
  }
  .checklist{
    list-style:none;
    padding:0;
    margin:0;
    display:grid;
    gap: 10px;
  }
  .checklist li{
    display:flex;
    align-items:flex-start;
    gap:10px;
    color:#24272c;
  }
  .checklist i{ color: var(--accent); margin-top: 2px; }
  
  /* ========= CATEGORIES ========= */
  .food-categories{
    background: #f2f4f7;
  }
  .section-head{
    text-align:center;
    margin-bottom: clamp(20px, 3vw, 32px);
  }
  .section-head h2{
    margin:0 0 6px 0;
    font-size: clamp(22px, 3.2vw, 34px);
    font-weight:600;
    color: var(--primary);
  }
  .section-head p{
    margin:0;
    color: var(--muted);
    font-size: clamp(14px, 2vw, 16px);
  }
  .categories-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(16px, 2.2vw, 22px);
  }
  .card{
    background: var(--white);
    border: 1px solid #e5e7eb;
    transition: box-shadow var(--speed), transform var(--speed);
  }
  .card:hover{
    box-shadow: 0 10px 28px rgba(16,24,40,.06);
    transform: translateY(-2px);
  }
  .category-card .thumb{
    width:100%;
    aspect-ratio: 16 / 10; /* keeps consistent card height */
    display:flex;
    align-items:center;
    justify-content:center;
    border-bottom:1px solid #e5e7eb;
    overflow:hidden;
  }
  .category-card .thumb img{
    width: 86%;
    height: 86%;
    object-fit: contain;
  }
  .category-card .card-body{
    padding: 16px 16px 18px;
  }
  .category-card h3{
    margin:0 0 6px 0;
    font-size: clamp(16px, 2.2vw, 18px);
    font-weight:600;
    color:#1f2937;
  }
  .category-card p{
    margin:0;
    color:#374151;
    font-size: 14.5px;
  }
  
  /* ========= CTA ========= */
  .foods-cta{
    background: var(--primary);
    color: var(--white);
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .cta-wrap{
    display:grid;
    grid-template-columns: 1.6fr auto;
    align-items:center;
    gap: clamp(16px, 3vw, 28px);
  }
  .cta-text h2{
    margin:0 0 6px 0;
    font-size: clamp(22px, 3.2vw, 34px);
    font-weight:600;
  }
  .cta-text p{
    margin:0;
    color: rgba(255,255,255,.9);
  }
  .cta-action{ text-align:right; }
  .cta-action .btn{ background: var(--accent); }
  .cta-action .btn:hover{ background:#c94425; }
  
  /* ========= RESPONSIVE BREAKPOINTS ========= */
  
  /* Large tablets / small desktops */
  @media (max-width: 1100px){
    .intro-grid{
      grid-template-columns: 1fr 1fr;
    }
  }
  
  /* Tablets */
  @media (max-width: 900px){
    .cta-wrap{
      grid-template-columns: 1fr;
      text-align: left;
    }
    .cta-action{ text-align: left; }
  }
  
  /* Phones */
  @media (max-width: 768px){
    .intro-grid{
      grid-template-columns: 1fr;
    }
    .intro-image{ order: -1; } /* put the image on top on mobile */
    .category-card .thumb img{
      width: 92%;
      height: 92%;
    }
  }
  
  /* Small phones */
  @media (max-width: 420px){
    .foods-hero{
      min-height: 260px;
    }
  }
  