/* =====================
   RESET
===================== */

section {
  padding-left: 12px;
  padding-right: 12px;
}

.container section {
  padding-left: 0;
  padding-right: 0;
}

footer,
footer section {
  padding-left: 0;
  padding-right: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Fredoka', sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #f0ffdd;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =====================
   CONTAINER
===================== */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

/* =====================
   HEADER / NAVBAR
===================== */
header {
  background: transparent;
  color: inherit;
}

.navbar {
     display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;                
  z-index: 1000;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  padding: 14px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between; 
  width: 100%;
}


.logo {
  max-width: 180px;
  width: 100%;
}

.logo img {
  width: 100%;
  height: auto;
}

/* NAV LINKS */

.nav-links {
  display: flex;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 24px;
}

.navbar li {
  white-space: nowrap;
}

/* ===== HAMBURGER BASE ===== */
.hamburger {
  display: none;              
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 9999;              
}

/* ORANGE LINES */
.hamburger span {
  width: 26px;
  height: 3px;
  background-color: #f36c21;   
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* =====================
   HERO
===================== */
/* =====================
   AVAILABLE BRANDS HEADING
===================== */
.brands-section {
  padding: 0 0 32px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.brand-card {
  background: #ffffff;
  border-radius: 28px;
  min-height: 220px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.brand-card.recipe-tailor {
  background-color: #b23927;
}
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}
.brand-card img {
  max-width: 90%;
  max-height: 220px;
  object-fit: contain;
}

.brand-card.coming-soon {
  color: #555;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.brands-heading {
  text-align: center;
  margin: 32px auto 24px;
}

.brands-heading h2 {
  font-size: 28px;
  font-weight: 600;
  color: #1f1f1f;
  margin: 0;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #f3ffe1;
}

.hero-text h1 {
  font-size: 42px;
  margin: 0 0 12px;
}

.hero-text p {
  font-size: 18px;
   margin: 0;
}

.hero-subtext {
  margin-top: 12px;
  font-size: 18px;
  color: #333;
}

.pdway-code {
  color: #0a6b2e;
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* HERO CARDS */
.hero-card {
  border-radius: 40px;
  min-height: 280px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 36px;
  font-weight: 700;
}

.hero-card.orange {
  background: #ff7a21;
  color: #fff;
}

.hero-card.white {
  background: #fff;
  border-radius: 40px;
  overflow: hidden; 
}

.hero-card.green {
  background: #0a6b2e;
  color: #fff;
}

.hero-card-link {
  display: block;
  text-decoration: none;
}

.hero-card-link .hero-card {
  height: 100%;
  cursor: pointer;
}


/* =====================
   BUTTON
===================== */
.btn {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 12px 28px;
  border-radius: 4px;
}

/* =====================
   CATEGORIES (IMPORTANT)
===================== */
.categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.category-card {
  border: 1px solid #ddd;
  padding: 20px;
  text-align: center;
  border-radius: 6px;
  width: 100%;
}

/* =====================
   FOOTER
===================== */
footer {
  background: #004d1a;
  width: 100%;
  color: #fff;  
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 16px;
}


.footer-column h4 {
  margin-bottom: 12px;
  font-size: 18px;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-bottom {
  text-align: center;
  padding: 16px;
  border-top: 1px solid #333;
  font-size: 14px;
}

/* ===== MODAL OVERLAY ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); 
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* ===== MODAL CONTAINER ===== */
.modal-content {
  background: #f0ffdd; 
  width: 100%;
  max-width: 1000px;
  padding: 36px;
  border-radius: 20px;
  position: relative;
  color: #003300;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* ===== CLOSE BUTTON ===== */
.close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 28px;
  cursor: pointer;
  color: #006400;
}

.close:hover {
  color: #003300;
}

/* ===== TOP SECTION ===== */
.modal-top {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

/*  LOGO & STORY  */
.modal-logo,
.brand-story-img {
  width: 240px;
  height: 240px;
  object-fit: contain;
  border-radius: 18px;
  background: #ffffff;
  padding: 22px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
