/* =========================
   IVAN'S BAKERY — Global Styles
   ========================= */

/* Optional: nice clean font */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap");

:root{
  --pink:#fde8ee;         /* soft brand pink background */
  --navy:#0e2a4a;         /* deep navy for text/buttons */
  --navy-2:#274666;       /* lighter navy for hovers */
  --white:#ffffff;
  --ink:#1a1a1a;          /* body text on white */
  --shadow:0 8px 24px rgba(0,0,0,.08);
  --radius:14px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: "Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  background: var(--pink);
  color: var(--navy);
  line-height: 1.6;
}

/* =========================
   Header
   ========================= */
header{
  position: sticky;
  top: 0;
  z-index: 50;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  padding: .9rem 1.25rem;
  background: var(--white);
  box-shadow: var(--shadow);
}

.logo{ height:54px; width:auto; display:block; }

nav{
  display:flex; gap:1rem; align-items:center;
}
nav a{
  text-decoration:none;
  color: var(--navy);
  font-weight:600;
  padding:.5rem .8rem;
  border-radius:10px;
}
nav a:hover{ background: rgba(14,42,74,.06); }

/* =========================
   Hero
   ========================= */
.hero{
  max-width: 1100px;
  margin: 2.5rem auto;
  padding: 2.5rem 1.25rem;
  text-align:center;
}
.hero h1{
  margin:0 0 .5rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing:.2px;
}
.hero p{
  margin: 0 auto 1.25rem;
  max-width: 720px;
  color: var(--navy);
  opacity:.85;
}
.btn{
  display:inline-block;
  background: var(--navy);
  color: var(--white);
  padding:.85rem 1.25rem;
  border-radius: 999px;
  text-decoration:none;
  font-weight:700;
  transition: transform .04s ease, background .2s ease;
}
.btn:hover{ background: var(--navy-2); transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

/* =========================
   Section base
   ========================= */
section{ padding: 1rem 1.25rem 2.25rem; }
section h2{
  text-align:center;
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin: 0 0 1.5rem;
  font-weight:800;
}

/* =========================
   Menu grid
   ========================= */
.menu{ max-width: 1200px; margin: 0 auto; }
.menu-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 1.25rem;
}
.item{
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: .9rem;
  display:flex; flex-direction:column; gap:.5rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.item:hover{ transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.10); }
.item img{
  width:100%; height: 180px; object-fit:cover;
  border-radius: calc(var(--radius) - 4px);
}
.item h3{ margin:.25rem 0 0; font-size:1.05rem; }
.item p{ margin:0; color:#2a3e5a; opacity:.85; }
.item span{
  margin-top:auto;
  font-weight:800;
  color: var(--navy);
}

/* =========================
   Contact
   ========================= */
.contact{
  max-width: 900px;
  margin: 0 auto;
  text-align:center;
  background: rgba(255,255,255,.5);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact p{ margin:.25rem 0; }

/* =========================
   Footer
   ========================= */
footer{
  background: var(--white);
  color: var(--ink);
  text-align:center;
  padding: 1rem;
  margin-top: 2rem;
  box-shadow: var(--shadow);
  font-size:.95rem;
}

/* =========================
   Utilities & Responsive
   ========================= */
img{ max-width:100%; display:block; }

@media (max-width: 700px){
  .logo{ height:46px; }
  header{ padding: .8rem 1rem; }
  nav a{ padding:.45rem .7rem; }
  .item img{ height:160px; }
}
