body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #ffffff;
    color: #222;
}

/* HEADER */
.site-header {
    text-align: center;
    padding: 25px 10px;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

.site-header h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
}

.tagline {
    margin: 5px 0 0;
    font-size: 16px;
    color: #555;
}

/* HERO — UPDATED FOR WHITE KITCHEN BACKGROUND */
.hero {
    position: relative;
    background: url('../images/budget-home-chefs/hero.png') center/cover no-repeat;
    padding: 120px 20px;
    text-align: center;
    color: #fff;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

.hero * {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    color: #f2f2f2;
}

/* TOP LISTS */
.top-lists {
    padding: 40px 20px;
    text-align: center;
}

.list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.list-card {
    text-decoration: none;
    color: #000;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: 0.2s;
}

.list-card:hover {
    transform: scale(1.02);
}

.list-card img {
    width: 100%;
    height: auto;
}

.list-card h3 {
    padding: 15px;
    font-size: 18px;
}

/* CHEF GRID */
.chef-grid {
    padding: 40px 20px;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* HOMEPAGE CHEF CARDS */
.chef-card {
    text-decoration: none;
    color: #000;
    display: block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.chef-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.chef-card img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.chef-card:hover img {
    transform: scale(1.03);
}

.chef-card p {
    margin-top: 10px;
    font-weight: 600;
    text-align: center;
}

/* Smooth scrolling for anchor jumps */
html {
    scroll-behavior: smooth;
}

/* Fade-in animation for cards */
.card,
.chef-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.card.visible,
.chef-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Back to Top button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #d35400;
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 999;
}

#backToTop:hover {
    background: #b84300;
}

/* FOOTER */
.site-footer {
    text-align: center;
    padding: 20px;
    background: #fafafa;
    border-top: 1px solid #eee;
    margin-top: 40px;
}

/* ⭐ FIX FOR AMAZON BUTTON PREVIEW ISSUE ⭐ */
.buy-button {
    display: block;
    overflow: hidden;
}

/* ------------------------------ */
/* ⭐ MOBILE FIXES - FONT & SPACING ⭐ */
/* ------------------------------ */

@media (max-width: 600px) {

  body {
    font-size: 18px;
    line-height: 1.6;
  }

  .card, .content, section, p, li {
    padding-left: 16px;
    padding-right: 16px;
  }

  .card {
    margin: 16px 0;
  }

  h1, h2, h3 {
    font-size: 1.4em;
    line-height: 1.3;
    padding-left: 16px;
    padding-right: 16px;
  }
}
