
:root{
  --gold:#ff9b00;
  --bg:#0a0a0a;
  --ink:#ffffff;
}

/* Register the Cheese Pizza font used for paragraph text. The file resides
   in fonts/cheese/CHEESEPIZZA.ttf. By defining a custom @font-face here we
   can reference it across the site. */
@font-face{
  font-family:'CheesePizza';
  src:url('fonts/cheese/CHEESEPIZZA.ttf') format('truetype');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'CaramelPizza';
  src:url('fonts/caramel/CaramelPizzaDemoRegular.ttf') format('truetype');
  font-weight:400; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'PizzariaDemo';
  src:url('fonts/pizzaria/Pizzaria demo/PIZZARIA demo.ttf') format('truetype');
  font-weight:400; font-style:normal; font-display:swap;
}
*{box-sizing:border-box}
/*
  Apply a textured background across the entire site. We keep the original dark
  background colour as a base and overlay a custom texture inspired by a
  wood‑fired oven. The image `oven-texture.png` was generated to evoke
  charred wood and embers. Using `background-attachment: fixed` makes the
  texture stay in place as the user scrolls, adding depth without being
  distracting. */
html,body{
  margin:0;
  padding:0;
  background:var(--bg); /* solid black */
  color:var(--ink);
}


/* Keep the system font stack for the body text baseline. Paragraphs
   themselves will override the font family below. */
body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  line-height:1.5;
}

/*
  Increase the default paragraph size and use our newly added CheesePizza
  font. The line-height is bumped slightly to preserve readability at
  larger sizes. Specific components (like the hero or cards) that set
  their own font size will override this as needed.
*/
p{
  font-family:'CheesePizza',serif;
  font-size: 2.2rem;
  line-height:1.6;
}
h1,h2,h3,.display{font-family:'CaramelPizza',serif; letter-spacing:.02em}
a{color:inherit;text-decoration:none}
.navbar{
  position:fixed; inset:0 0 auto 0; height:60px; display:flex; align-items:center; justify-content:space-between;
  padding:0 16px; background:rgba(0,0,0,.8); backdrop-filter: blur(6px); z-index:1000;
}
.logo{font-family:'PizzariaDemo',serif; font-size:26px; color:var(--gold); text-decoration:none; cursor:pointer; display:inline-block;}
/* Provide a subtle hover effect on the logo so users know it can be clicked */
.logo:hover{color:#ffd27a;}
.nav-links{display:flex; gap:18px; font-family:'PizzariaDemo',serif;}
.nav-links a{opacity:.85;}
.nav-links a.active, .nav-links a:hover{opacity:1; color:var(--gold);}
.hamburger{display:none; flex-direction:column; gap:5px; cursor:pointer}
.hamburger span{width:26px; height:2px; background:#fff; display:block; transition:.25s ease}
.hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.hero{min-height:91vh; display:grid; place-items:center; position:relative; padding-top:60px;
background:url('images/hero.jpg') center/cover no-repeat;}
.hero::after{content:''; position:absolute; inset:0; background:#000; opacity:0}
.hero::after{content:''; position:absolute; inset:0; background:#000; opacity:0; pointer-events:none;}
.hero-content{
  position:relative;
  text-align:center;
  max-width:900px;
  padding:32px;
  /* Lift the hero content upwards slightly so it sits higher on the hero
     background image. This gives more breathing room below the text and
     draws the eye to the call to action. */
  transform:translateY(-30px);
}
/* Increase the hero heading and subheading sizes and ensure they stack vertically
   rather than running together on one line. Use clamp() to scale with viewport width. */
.hero-content h1{font-size:clamp(3rem, 8vw, 5rem); line-height:1.1; margin:0;}
.hero-content p{
  font-size:clamp(1.625rem, 3vw, 2.15rem);
  margin-top:0.75rem;
  display:block; /* ensure the subhead occupies its own line */
}
.hero-content .btn{
  margin-top:1.5rem;
  display:block; /* put the button on its own line below the subhead */
}
.shimmer{
  display:inline-block;
  background: linear-gradient(90deg,#fff 0%, var(--gold) 40%, #fff 80%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  animation:shine 3s linear infinite;
  background-size:200% 100%;
}
@keyframes shine{0%{background-position:200% 0} 100%{background-position:-200% 0}}
.btn{display:inline-block; margin-top:16px; background:var(--gold); color:#000; padding:10px 18px; border-radius:8px; font-weight:700; cursor:pointer; transition:background .2s ease, transform .15s ease;}
/* Button hover state: slightly darken the gold and lift the button to indicate interactivity */
.btn:hover{background:#e48a00; transform:translateY(-2px);}
.container{max-width:1100px; margin:0 auto; padding:40px 16px;}
.page{display:none;}
.page.active{display:block}
.center{text-align:left}
.grid{display:grid; gap:20px}
.about-container{display:grid; grid-template-columns:1.1fr .9fr; gap:24px; align-items:center}
.about-image img{width:100%; border-radius:8px}
.menu-grid{grid-template-columns:repeat(4,1fr)}
.card{background:#111; border:1px solid #222; border-radius:10px; overflow:hidden; display:flex; flex-direction:column}
.card img{width:100%; height:200px; object-fit:cover}
.card h3{margin:12px 12px 0;font-size: 2.0rem;}
.card p{
  opacity:.8;
  margin:6px 12px 12px;
  /* Increase the description text slightly to align better with the larger
     paragraph font elsewhere while keeping it compact for the card layout. */
  font-size: 1.5rem;
}
.card .price{margin:0 12px 12px; color:var(--gold); font-weight:800}
.card .add{margin:0 12px 18px 12px; align-self:flex-start}
.order-box{background:#111; border:1px solid #222; border-radius:10px; padding:16px}
.order-box h3{margin-top:0}
input,button,select,textarea{font:inherit}
input,select,textarea{width:100%; background:#0f0f0f; border:1px solid #333; color:#fff; padding:10px 12px; border-radius:8px}
label{display:block; margin:12px 0 6px 0; font-weight:700}
form .row{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.catering-hero{max-width:980px; margin:16px auto 24px; border-radius:10px; overflow:hidden; border:1px solid #222}
.catering-hero img{display:block; width:100%; height:360px; object-fit:cover}
footer{padding:40px 16px; text-align:center; opacity:.8}
@media(max-width:980px){
  .menu-grid{grid-template-columns:repeat(2,1fr)}
  .about-container{grid-template-columns:1fr}
}
@media(max-width:720px){
  .nav-links{position:fixed; top:60px; right:0; width:70%; height:calc(100vh - 60px); background:#0b0b0b; transform:translateX(100%); transition:.25s ease; padding:20px; flex-direction:column}
  .nav-links.open{transform:translateX(0)}
  .hamburger{display:flex}
  .menu-grid{grid-template-columns:1fr}
  /* .hero{min-height:72vh} */
}
