/* ===== Base / Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: #222; background:#fff; }
a { text-decoration: none; color: #555; }
p { color: #555; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }

/* ===== Layout Wrappers ===== */
.container,
.small-container {
  max-width: 1200px;        /* pehle 1300/1600 tha — mobile readability ke liye trim */
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
  margin: 24px 0;
}

/* ===== Header / Navbar ===== */
.header { background: radial-gradient(lightgoldenrodyellow, #fff); }
.navbar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
}
.logo img { width: 125px; }

nav { flex: 1; text-align: right; }
nav ul { list-style: none; display: inline-flex; gap: 20px; }
nav ul li { display: inline-block; }
nav ul li a { color: #333; font-weight: 500; }

/* ===== Columns ===== */
.col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9 {
  flex: 1 1 100%;          /* default: full width (mobile-first) */
  padding: 10px;
}

/* Headings styling (green as you used) */
.col-2 h1, .col-3 h2,
.col-4 h1, .col-5 h1, .col-6 h1,
.col-7 h1, .col-8 h1, .col-9 h1 {
  color: green;
  margin-bottom: 10px;
}

/* Special header row (About + breadcrumb) */
.col-2 h1 { text-align: center; margin-top: 16px; }
.col-3 h2 { text-align: center; font-size: 18px; }
.col-3 a { color: green; }

/* Section spacing */
.col-4 h1, .col-5 h1, .col-6 h1, .col-7 h1, .col-8 h1, .col-9 h1 {
  margin-top: 24px;
}
.col-4 p, .col-5 p, .col-6 p, .col-7 p, .col-8 p, .col-9 p {
  color: #222;
}

/* ===== Brands (HTML me "Brands" hai, isliye capital class) ===== */
.Brands { margin: 40px 0; }
.Brands .row { align-items: stretch; }
.Brands-col-1, .Brands-col-10, .Brands-col-11 {
  flex: 1 1 300px;
  background: #fafafa;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.Brands-col-1 h1,
.Brands-col-10 h1,
.Brands-col-11 h1 { color: green; margin-bottom: 10px; }
.Brands-col-1 p,
.Brands-col-10 p,
.Brands-col-11 p { color: #333; }

/* ===== Footer ===== */
.footer {
  background: lightgoldenrodyellow;
  font-size: 14px;
  padding: 40px 0 20px;
}
.footer h2 { color: green; margin-bottom: 12px; }
.footer p { color: #222; }
.footer .row { align-items: flex-start; }
.footer-col-1, .footer-col-2, .footer-col-3 {
  flex: 1 1 260px;
  min-width: 0;
}
.footer-col-2 ul { list-style: none; padding-left: 0; }
.footer-col-2 ul li { margin: 6px 0; }
.footer hr {
  border: none;
  height: 1px;
  background: #ff523b;
  margin: 16px 0;
}
.Thai-Choice-Bakeri-Products { text-align: center; }

/* ===== Menu icon (if you add later) ===== */
.menu-icon { width: 28px; margin-left: 20px; display: none; cursor: pointer; }

/* =========================
   Responsive Breakpoints
   ========================= */

/* Tablets (<= 1024px) */
@media (max-width: 1024px) {
  .logo img { width: 110px; }
  nav ul { gap: 14px; }
  .container, .small-container { padding: 0 16px; }

  .col-2 h1 { font-size: 28px; }
  .col-3 h2 { font-size: 16px; }
  .col-4 h1, .col-5 h1, .col-6 h1, .col-7 h1, .col-8 h1, .col-9 h1 { font-size: 24px; }
  p { font-size: 15px; }
}

/* Mobiles (<= 768px) */
@media (max-width: 768px) {
  /* Mobile nav dropdown (uses #MenuItem from your HTML) */
  nav ul {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #333;
    color: #fff;
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease; /* unit fixed */
    padding: 0;
  }
  nav ul li { display: block; margin: 12px 20px; }
  nav ul li a { color: #fff; }

  .menu-icon { display: block; }

  .row { gap: 16px; }
  .col-2 h1,
  .col-4 h1, .col-5 h1, .col-6 h1, .col-7 h1, .col-8 h1, .col-9 h1 {
    font-size: 22px;
    text-align: center;
    margin-top: 16px;
  }
  p { font-size: 14px; padding: 0 4px; }
}

/* Small Mobiles (<= 480px) */
@media (max-width: 480px) {
  .logo img { width: 90px; }
  .col-3 h2 { font-size: 15px; }
  .col-2 h1,
  .col-4 h1, .col-5 h1, .col-6 h1, .col-7 h1, .col-8 h1, .col-9 h1 { font-size: 20px; }
  p { font-size: 13.5px; }
}
