/* ===== Deaner's Diner — site stylesheet ===== */
:root{
  --green:#4A0E12;       /* dark red band color (was deep green) */
  --sand:#E8DCC4;
  --coral:#E85C41;
  --cream:#FCF6E9;       /* lightened home-page background */
  --red:#C0392B;
  --walnut:#5C3A21;
  --ink:#2b2620;
  --white:#fffdf8;
  --black:#160B09;       /* near-black for header/footer/dark cards */
  --menu-red:#5C1119;    /* dark red for menu page background */
  --offwhite:#F3E7D8;    /* light text color for dark backgrounds */
  --radius:12px;
  --shadow:0 8px 24px rgba(0,0,0,.12);
}
*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  font-family:'Inter',system-ui,sans-serif;
  color:var(--ink);
  background:var(--cream);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.brand-name{font-family:'Roboto Slab',Georgia,serif;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
.container{max-width:1180px;margin:0 auto;padding:0 24px;}

/* ---- page background variants ---- */
body.page-home{background:var(--black); color:var(--offwhite);}
body.page-home .info-block,body.page-home .house-favs,body.page-home .gallery-grid figure{background:var(--menu-red); color:var(--offwhite);}
body.page-home .info-block h3,body.page-home .house-favs h3{color:#fff;}
body.page-home .info-block p,body.page-home .house-favs li,body.page-home .gallery-grid figcaption{color:var(--offwhite);}
body.page-home .testi{color:var(--offwhite);}
body.page-menu{background:var(--black); color:var(--offwhite);}
body.page-menu .menu-hero h1{color:#fff;}
body.page-order{background:var(--black); color:var(--offwhite);}
body.page-about{background:var(--black); color:var(--offwhite);}
body.page-about .testi-card{color:var(--ink);}
/* Hero band: full-bleed dark red/black, coral used only as an accent */
.about-hero-band{background:var(--green); color:var(--sand); padding:64px 0 60px; margin-bottom:10px;}
.about-hero-band .eyebrow{color:var(--coral);}
.about-hero-band h1{color:#fff; font-size:2.8rem; margin:6px 0 10px;}
.about-hero-band p{opacity:.92; max-width:520px;}
body.page-about .band{background:var(--green); color:var(--sand);}
body.page-about .band h2{color:#fff;}
body.page-about .band .eyebrow{color:var(--coral);}
body.page-about .trust-item{border-color:rgba(232,220,196,.3);}
body.page-about .trust-item .num{color:var(--coral);}
body.page-about .story-card .eyebrow{color:var(--coral);}
body.page-about .story-list .mark{color:var(--coral);}
body.page-about .testi-who{color:var(--coral);}
body.page-about .cta-band{background:var(--white); color:var(--ink);}
body.page-about .cta-band h2{color:var(--green);}

/* ---- header ---- */
.site-header{background:var(--black); box-shadow:0 2px 10px rgba(0,0,0,.35); position:sticky; top:0; z-index:50;}
.header-inner{display:flex; align-items:center; justify-content:space-between; padding:14px 24px; gap:20px;}
.brand{display:flex; align-items:center; gap:12px;}
.brand .logo{width:46px; height:46px;}
.brand-text{display:flex; flex-direction:column; line-height:1.2;}
.brand-name{color:#fff; font-size:1.35rem; font-weight:700;}
.brand-text small{color:var(--offwhite); font-size:.72rem; opacity:.85;}
.site-nav ul{display:flex; gap:28px; list-style:none; margin:0; padding:0;}
.site-nav a{font-weight:600; color:var(--offwhite); padding:6px 2px; border-bottom:2px solid transparent; transition:.2s;}
.site-nav a:hover,.site-nav a.active{color:var(--red); border-color:var(--red);}
.call-btn{background:var(--red); color:#fff !important; padding:10px 18px; border-radius:30px; font-weight:700; white-space:nowrap;}
.call-btn:hover{background:#a5301f;}
.mobile-nav-toggle{display:none; background:none; border:none; font-size:1.6rem; cursor:pointer; color:var(--offwhite);}

/* ---- hero (fixed overlap: proper stacking context + contained height) ---- */
.hero{position:relative; height:80vh; min-height:520px; max-height:760px; overflow:hidden; isolation:isolate;}
.hero-slides{position:absolute; inset:0;}
.hero-slide{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transform:scale(1.04); transition:opacity 1.2s ease-in-out;}
.hero-slide.active{opacity:1; animation:kenburns 3.5s ease-in-out forwards;}
@keyframes kenburns{from{transform:scale(1.04);} to{transform:scale(1.1);}}
@media (prefers-reduced-motion: reduce){
  .hero-slide{transition:none; animation:none !important; transform:none;}
}
.hero-overlay{position:absolute; inset:0; background:linear-gradient(180deg, rgba(20,12,8,.35) 0%, rgba(20,12,8,.55) 55%, rgba(20,12,8,.82) 100%); z-index:1;}
.hero-content{position:relative; z-index:2; height:100%; display:flex; flex-direction:column; justify-content:center; color:#fff; padding-top:40px;}
.hero-content h1{font-size:clamp(2.4rem,6vw,4rem); margin:0 0 6px;}
.hero-content .tagline{color:#f6c453; font-size:1.25rem; font-weight:700; margin:0 0 10px;}
.hero-content .lead{max-width:520px; opacity:.92; margin:0 0 26px;}
.hero-ctas{display:flex; gap:16px; flex-wrap:wrap;}
.btn{display:inline-block; padding:13px 26px; border-radius:30px; font-weight:700; transition:.2s; border:2px solid transparent;}
.btn.primary{background:var(--red); color:#fff;}
.btn.primary:hover{background:#a5301f;}
.btn.outline{border-color:#fff; color:#fff;}
.btn.outline:hover{background:#fff; color:var(--red);}
body.page-home .btn.outline,body.page-menu .btn.outline{border-color:var(--red); color:var(--red);}
body.page-home .btn.outline:hover,body.page-menu .btn.outline:hover{background:var(--red); color:#fff;}
/* Any outline button sitting on a light/white card must always use dark red text,
   regardless of which colored page background it's on — fixes invisible white-on-white text */
.story-card .btn.outline,.testi-card .btn.outline,.cta-band .btn.outline{
  border-color:var(--red); color:var(--red);
}
.story-card .btn.outline:hover,.testi-card .btn.outline:hover,.cta-band .btn.outline:hover{
  background:var(--red); color:#fff;
}
/* Order page cards are now dark red — red-on-red would camouflage, so use white outline buttons instead */
.card .btn.outline,.delivery-card .btn.outline{
  border-color:#fff; color:#fff;
}
.card .btn.outline:hover,.delivery-card .btn.outline:hover{
  background:#fff; color:var(--menu-red);
}

/* ---- info strip (sits BELOW hero in normal flow, no overlap) ---- */
.info-strip{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:-56px; position:relative; z-index:3; padding-bottom:10px;}
.info-block{background:var(--white); border-radius:var(--radius); box-shadow:var(--shadow); padding:22px 24px;}
.info-block h3{margin:0 0 6px; color:var(--red); font-size:1.02rem;}
.info-block p{margin:0; font-size:.94rem;}

/* ---- about teaser / gallery / testimonials (home) ---- */
.about-teaser{display:grid; grid-template-columns:1.3fr 1fr; gap:40px; align-items:start; padding:70px 24px 20px;}
.about-text h2{color:var(--red); font-size:2rem; margin-top:0;}
.house-favs{background:var(--white); border-radius:var(--radius); box-shadow:var(--shadow); padding:26px 28px;}
.house-favs h3{color:var(--red); margin-top:0;}
.house-favs ul{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px;}
.gallery{padding:30px 24px 10px;}
.gallery h2{text-align:center; color:var(--red);}
.gallery-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:20px;}
.gallery-grid figure{margin:0; background:var(--white); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);}
.gallery-grid img{width:100%; height:220px; object-fit:cover;}
.gallery-grid figcaption{padding:12px 16px; font-weight:700; color:var(--walnut);}
.testimonials{padding:50px 24px 80px; text-align:center;}
.testimonials h2{color:var(--red);}
.testi-wrap{max-width:640px; margin:0 auto; min-height:90px;}
.testi{display:none; font-size:1.15rem; font-style:italic; color:var(--walnut);}
.testi.active{display:block;}
.testi cite{display:block; margin-top:10px; font-style:normal; font-weight:700; font-size:.9rem; color:var(--red);}

/* ---- footer ---- */
.site-footer{background:var(--black); color:var(--offwhite); padding:34px 24px;}
.footer-inner{display:flex; justify-content:space-between; flex-wrap:wrap; gap:20px;}
.footer-nav a{margin:0 6px;}
.site-footer small{opacity:.85;}
.footer-social{display:flex; gap:14px; margin-top:12px;}
.footer-social a{display:flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:50%; background:rgba(243,231,216,.1); transition:.2s;}
.footer-social a:hover{background:var(--red);}
.footer-social svg{width:18px; height:18px; fill:var(--offwhite);}

/* ---- Menu page ---- */
.menu-hero{text-align:center; padding:60px 0 20px;}
.menu-hero h1{color:var(--red); font-size:2.6rem; margin-bottom:6px;}
.fav-strip{margin-top:18px; background:var(--white); display:inline-block; padding:12px 22px; border-radius:30px; box-shadow:var(--shadow); font-size:.92rem;}
.menu-list{max-width:820px; margin:30px auto; display:flex; flex-direction:column; gap:14px;}
.menu-category{background:var(--menu-red); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; color:var(--offwhite);}
.cat-head{display:flex; justify-content:space-between; align-items:center; padding:18px 24px; cursor:pointer; background:var(--menu-red);}
.cat-head h2{margin:0; font-size:1.2rem; color:var(--offwhite);}
.chev{background:none; border:none; font-size:1rem; cursor:pointer; color:var(--offwhite);}
.cat-body{max-height:0; overflow:hidden; padding:0 24px; transition:max-height .35s ease, padding .35s ease;}
.cat-body.open{max-height:1200px; padding:4px 24px 20px;}
.menu-item{padding:14px 0; border-top:1px solid rgba(243,231,216,.2);}
.menu-item:first-child{border-top:none;}
.menu-item h3{margin:0 0 4px; font-size:1.02rem; display:flex; justify-content:space-between; color:var(--offwhite);}
.price{color:#fff; font-weight:700;}
.menu-item p{margin:0; font-size:.92rem; color:var(--sand);}
.menu-note{text-align:center; font-size:.85rem; opacity:.8; margin:20px 0 50px;}
.fav-strip{background:var(--menu-red); color:var(--offwhite);}
.fav-strip *{color:var(--offwhite);}

/* ---- Order page ---- */
.order-page{padding:56px 0 70px;}
.order-page h1{text-align:center;}
.order-page > p{text-align:center; max-width:560px; margin:0 auto 30px;}
.card{background:var(--menu-red); border-radius:var(--radius); box-shadow:var(--shadow); padding:26px 28px; margin-bottom:26px; color:var(--offwhite);}
.delivery-grid h2{color:#fff;}
body.page-order .delivery-grid h2{color:#fff;}
.muted{opacity:.85; margin-top:-6px;}
.delivery-cards{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin:20px 0;}
.delivery-card{background:var(--menu-red); color:var(--offwhite); border-radius:var(--radius); box-shadow:var(--shadow); padding:20px; display:flex; align-items:center; gap:14px;}
.delivery-card img{width:52px; height:52px; flex-shrink:0;}
.delivery-card h3{margin:0 0 8px;}
.note{display:block; background:rgba(255,255,255,.12); border-radius:var(--radius); padding:14px 18px; font-size:.85rem; margin-top:6px;}
.map-embed{margin-top:14px; border-radius:var(--radius); overflow:hidden;}
.map-embed iframe{width:100%; height:320px; border:0; display:block;}

/* ---- About page ---- */
.two-col{display:grid; grid-template-columns:1fr 1.3fr; gap:44px; align-items:center; padding:20px 0 50px;}
.two-col img{border-radius:var(--radius); box-shadow:var(--shadow);}
.story-card h2{font-size:1.9rem; margin-top:0;}
.story-list{list-style:none; margin:20px 0 0; padding:0; display:flex; flex-direction:column; gap:10px;}
.story-list .mark{color:var(--coral); font-weight:700; margin-right:8px;}
.band{background:rgba(255,255,255,.12); padding:50px 40px; margin:20px 0; border-radius:var(--radius);}
.eyebrow{text-transform:uppercase; letter-spacing:.08em; font-size:.75rem; font-weight:700; opacity:.85;}
.trust-strip{display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:24px;}
.trust-item{border:1px solid rgba(255,255,255,.3); border-radius:var(--radius); padding:20px; text-align:center;}
.trust-item .num{font-family:'Roboto Slab',serif; font-size:1.15rem; font-weight:700; margin-bottom:6px;}
.trust-item .label{font-size:.85rem; opacity:.9;}
.testi-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:24px;}
.testi-card{background:var(--white); border-radius:var(--radius); box-shadow:var(--shadow); padding:22px; color:var(--ink);}
.testi-quote{font-style:italic; margin-bottom:12px;}
.testi-who{font-weight:700; font-size:.85rem; color:var(--coral);}
.cta-band{text-align:center; background:var(--white); color:var(--ink); border-radius:var(--radius); padding:56px 28px; margin:20px 0 60px;}
.cta-band h2{color:var(--coral);}

/* ---- Our Locations (About page) ---- */
.locations{padding:50px 0 20px;}
.locations h2{color:var(--red); text-align:center;}
.locations > .eyebrow{display:block; text-align:center;}
.locations-grid{display:grid; grid-template-columns:1fr; gap:24px; margin-top:26px; max-width:720px; margin-left:auto; margin-right:auto;}
.location-card{background:var(--white); color:var(--ink); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden;}
.location-card .location-map iframe{width:100%; height:260px; border:0; display:block;}
.location-card .location-info{padding:22px 26px;}
.location-card h3{margin:0 0 6px; color:var(--red);}
.location-card p{margin:0 0 4px;}
.location-card .btn{margin-top:12px;}

/* ---- responsive ---- */
@media (max-width:860px){
  .site-nav{position:fixed; top:74px; left:0; right:0; background:var(--black); flex-direction:column; padding:10px 24px; box-shadow:var(--shadow); display:none;}
  .site-nav.open{display:block;}
  .site-nav ul{flex-direction:column; gap:14px;}
  .mobile-nav-toggle{display:block;}
  .info-strip,.about-teaser,.gallery-grid,.delivery-cards,.two-col,.trust-strip,.testi-grid{grid-template-columns:1fr;}
  .about-teaser{padding-top:40px;}
  .footer-inner{flex-direction:column;}
}
