/* =========================================================
   Global Reset & Defaults
   ========================================================= */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root{
    /* brand & utility colors */
    --green:#0e5a2a;
    --orange:#ff7a00;
    --cream:#fff7e6; /* site-wide bg on legacy pages */
    --ink:#0f172a;
    --muted:#6b7280;
    --border:#e5e7eb;
  }
  
  body {
    font-family: 'Luckiest Guy', cursive;
    background-color: var(--cream);
    color: #111;
    line-height: 1.4;
  }
  
  /* =========================================================
     Legacy Navbar (red bar) – kept exactly as you had it
     ========================================================= */
  .navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #b22222;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    flex-wrap: wrap;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  }
  
  .navbar .logo {
    font-size: 28px;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
  }
  
  .nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #ffcc00;
    transition: width 0.3s ease;
  }
  
  .nav-links a:hover::after {
    width: 100%;
  }
  
  .order-btn {
    background-color: #ffcc00;
    padding: 6px 12px;
    border-radius: 4px;
    color: #111;
  }
  
  /* =========================================================
     NEW: Shared Container + Modern White Header (checkout/menu)
     (scoped to .site-header so legacy .navbar stays intact)
     ========================================================= */
  .container{
    max-width:1100px;
    margin:0 auto;
    padding:0 16px;
  }
  
  .site-header{
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 14px rgba(0,0,0,.04);
  }
  
  .site-header .nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:64px;
  }
  
  .site-header .brand{
    display:inline-flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
  }
  
  .site-header .brand-logo{
    width:56px; height:56px;
    object-fit:contain;
    border-radius:8px;
    background:#fff;
    box-shadow:0 2px 8px rgba(0,0,0,.06);
  }
  
  .site-header .brand-text{
    font-weight:800;
    font-size:1.25rem;
    color:var(--green);
  }
  
  /* scoped nav links for the white header */
  .site-header .nav-links{
    display:inline-flex;
    align-items:center;
    gap:18px;
  }
  
  .site-header .nav-links a{
    font-weight:700;
    color:var(--ink);
    text-decoration:none;
  }
  
  .site-header .nav-links a:hover{
    color:var(--green);
  }
  
  /* optional CTA style you can reuse anywhere */
  .btn.order{
    background:#ffcc00;
    color:#111;
    padding:8px 12px;
    border-radius:10px;
    font-weight:800;
    text-decoration:none;
  }
  
  /* =========================================================
     Generic Button Polish (safe; used across pages)
     ========================================================= */
  .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:10px 14px;
    border-radius:12px;
    font-weight:800;
    border:0;
    cursor:pointer;
    transition:transform .15s, box-shadow .15s, opacity .2s;
    box-shadow:0 8px 20px rgba(0,0,0,.06);
  }
  
  .btn:hover{ transform:translateY(-1px); }
  .btn:active{ transform:translateY(0); }
  .btn:disabled{ opacity:.55; cursor:not-allowed; }
  
  .btn-primary{
    background:#ff7a00;
    color:#111;
  }
  
  /* =========================================================
     Hero Section (legacy homepage)
     ========================================================= */
  .hero {
    position: relative;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    overflow: hidden;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
    z-index: 1;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-logo {
    width: 120px;
    max-width: 30vw;
    margin-bottom: 25px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    background-color: transparent;
    mix-blend-mode: multiply;
    opacity: 0.95;
  }
  
  .hero-content h1 {
    font-size: 48px;
    margin-bottom: 16px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
  }
  
  .hero-content p {
    font-size: 20px;
    margin-bottom: 28px;
  }
  
  .cta-button {
    padding: 14px 28px;
    background-color: #ffcc00;
    color: #111;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.3s ease;
    font-weight: bold;
  }
  
  .cta-button:hover {
    background-color: #f1b600;
  }
  
  /* Fade-in animations */
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
  }
  .fade-in.delay-1 { animation-delay: 0.2s; }
  .fade-in.delay-2 { animation-delay: 0.4s; }
  .fade-in.delay-3 { animation-delay: 0.6s; }
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* =========================================================
     Sections (legacy pages)
     ========================================================= */
  .about {
    padding: 60px 20px;
    text-align: center;
  }
  .about h2 { font-size: 36px; margin-bottom: 20px; }
  .about p  { font-size: 18px; max-width: 600px; margin: 0 auto; }
  
  .menu {
    padding: 60px 20px;
    text-align: center;
  }
  .menu h2 { font-size: 36px; margin-bottom: 40px; }
  
  .menu-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  .menu-items .item {
    width: 250px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fffaf0;
  }
  .menu-items .item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  .menu-items .item h3 {
    padding: 15px;
    font-size: 20px;
  }
  
  /* Menu Page (legacy simple list) */
  .menu-page {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
  }
  .menu-page h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 48px;
  }
  .menu-category { margin-bottom: 40px; }
  .menu-category h2 {
    font-size: 36px;
    margin-bottom: 20px;
    border-bottom: 2px solid #111;
    display: inline-block;
  }
  .menu-item {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    font-size: 20px;
  }
  
  /* =========================================================
     Contact Section (legacy)
     ========================================================= */
  .contact {
    padding: 60px 20px;
    text-align: center;
  }
  .contact h2 { font-size: 36px; margin-bottom: 20px; }
  .contact p   { font-size: 18px; margin-bottom: 20px; }
  .contact form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .contact input,
  .contact textarea {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  .contact button {
    padding: 10px;
    font-size: 16px;
    background-color: #ffcc00;
    color: #111;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  /* =========================================================
     Footer (legacy)
     ========================================================= */
  footer {
    background-color: #b22222;
    color: #fff;
    text-align: center;
    padding: 30px;
    font-size: 14px;
  }
  footer .socials { margin-top: 10px; }
  
  /* =========================================================
     Legacy order section block (kept)
     ========================================================= */
  .order-section {
    padding: 40px 20px;
    max-width: 600px;
    margin: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  .order-section h1 {
    margin-bottom: 20px;
    font-size: 32px;
    text-align: center;
  }
  .order-section form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .order-section select,
  .order-section input[type="checkbox"] {
    padding: 10px;
    font-size: 16px;
  }
  #pizzaPrice {
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
    text-align: right;
  }
  .order-section button {
    padding: 12px;
    font-size: 16px;
    background-color: #ffcc00;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }