/* ===== Everest Cafe — rebuilt in clean HTML/CSS ===== */
:root{
  --black:#0c0c0c;
  --red:#f13223;         /* About section */
  --brick:#c43c1e;       /* Reserve section */
  --accent:#d03a06;      /* buttons / highlight strip */
  --cream:#fae5cd;       /* Special section + light text */
  --cream-soft:#f7ead6;
  --ink:#1a1a1a;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Poppins',system-ui,-apple-system,sans-serif;
  color:#fff;
  background:var(--black);
  line-height:1.55;
  overflow-x:hidden;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}

/* ---------- Header ---------- */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  background:var(--black);
  box-shadow:0 1px 0 rgba(255,255,255,.04);
  transition:top .3s ease;
}
/* When the live API status strip is present, drop the nav below it */
body.has-status-strip .site-header{top:var(--strip-height,36px)}
.nav{
  max-width:1280px;margin:0 auto;
  display:flex;justify-content:flex-end;align-items:center;
  padding:16px 34px;
}
.nav-links{
  list-style:none;display:flex;gap:34px;align-items:center;
}
.nav-links a{
  font-weight:400;font-size:15px;letter-spacing:.3px;color:#eee;
  padding:4px 2px;position:relative;transition:color .25s;
}
.nav-links a::after{
  content:"";position:absolute;left:0;bottom:-4px;height:2px;width:0;
  background:var(--accent);transition:width .3s ease;
}
.nav-links a:hover{color:#fff}
.nav-links a:hover::after,.nav-links a.active::after{width:100%}
.nav-links a.active{font-weight:600;color:#fff}

.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:6px}
.nav-toggle span{width:26px;height:2px;background:#fff;transition:.3s}

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;font-weight:400;font-size:15px;letter-spacing:2px;
  padding:14px 30px;cursor:pointer;transition:all .3s ease;
  text-align:center;
}
.btn-outline{border:1px solid rgba(255,255,255,.85);color:#fff;background:transparent}
.btn-outline:hover{background:#fff;color:var(--ink);transform:translateY(-2px)}
.btn-outline-light{border:1px solid var(--cream);color:var(--cream);background:transparent}
.btn-outline-light:hover{background:var(--cream);color:var(--brick);transform:translateY(-2px)}
.btn-dark{border:1px solid #1a1a1a;color:#1a1a1a;background:transparent}
.btn-dark:hover{background:#1a1a1a;color:var(--cream);transform:translateY(-2px)}

/* ---------- Hero ---------- */
.hero{
  position:relative;min-height:100vh;display:flex;align-items:center;justify-content:center;
  text-align:center;padding:120px 20px 60px;
  background:linear-gradient(180deg,rgba(0,0,0,.85) 0%,rgba(0,0,0,.15) 22%,rgba(0,0,0,.2) 70%,rgba(0,0,0,.45) 100%),
             url('images/8b6ff19d24147ca2285cf204e9af8220.jpg') center/cover no-repeat;
  background-attachment:scroll;
}
.hero-inner{display:flex;flex-direction:column;align-items:center;gap:6px}
.hero-logo{width:190px;filter:drop-shadow(0 2px 10px rgba(0,0,0,.4));animation:floaty 6s ease-in-out infinite}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.hero-title{
  font-weight:300;font-size:clamp(52px,11vw,120px);letter-spacing:.18em;
  margin:4px 0 2px;text-indent:.18em;line-height:1;
}
.hero-sub{font-weight:300;font-size:clamp(13px,2.4vw,19px);letter-spacing:.35em;margin-bottom:26px}
.hero-btns{display:flex;gap:22px;flex-wrap:wrap;justify-content:center;margin-bottom:18px}
.btn-menu{margin-top:2px}

.scroll-cue{position:absolute;bottom:26px;left:50%;transform:translateX(-50%);width:26px;height:42px;
  border:2px solid rgba(255,255,255,.7);border-radius:14px;display:flex;justify-content:center}
.scroll-cue span{width:4px;height:9px;background:#fff;border-radius:3px;margin-top:7px;animation:cue 1.6s infinite}
@keyframes cue{0%{opacity:0;transform:translateY(-4px)}50%{opacity:1}100%{opacity:0;transform:translateY(10px)}}

/* ---------- Shared coffee-icon pattern (mask = recolorable) ---------- */
.pattern-strip,.pattern-box{
  -webkit-mask:url('images/coffee-pattern.svg') repeat;
  mask:url('images/coffee-pattern.svg') repeat;
  -webkit-mask-size:220px;mask-size:220px;
}

/* ---------- Script headings ---------- */
.script-heading{
  font-family:'Dancing Script',cursive;font-weight:700;
  font-size:clamp(46px,8vw,86px);line-height:1;color:var(--cream);
}
.script-red{color:var(--brick)}

.eyebrow{font-weight:300;letter-spacing:.28em;font-size:14px;color:#1a1a1a;margin-bottom:2px}
.eyebrow-cream{color:var(--cream)}

/* ---------- About ---------- */
.about{position:relative;background:var(--red);padding:72px 20px 80px;overflow:hidden}
.about .pattern-strip{
  position:absolute;top:0;left:0;width:210px;height:100%;
  background:rgba(255,255,255,.5);opacity:.75;
}
.about-inner{
  max-width:1200px;margin:0 auto;position:relative;z-index:2;
  display:grid;grid-template-columns:1fr 1.08fr;gap:56px;align-items:center;text-align:left;
}
.about-photo{display:flex;justify-content:center}
.about-photo img{width:100%;max-width:470px;box-shadow:0 18px 40px rgba(0,0,0,.28)}
.about-content .script-heading{color:#fff;margin-bottom:20px;text-align:left}
/* thin, elegant signature style to match the original */
.script-thin{font-family:'Great Vibes',cursive;font-weight:400;font-size:clamp(50px,7vw,92px);line-height:1}
.about-text p{color:#fff;margin-bottom:14px;font-weight:300;letter-spacing:.3px;text-align:justify}
.readmore{margin-top:18px}

/* ---------- Special ---------- */
.special{background:var(--cream);color:#1a1a1a;padding:70px 20px}
.special-inner{
  max-width:1180px;margin:0 auto;position:relative;
  display:grid;grid-template-columns:1fr 1.1fr;gap:40px;align-items:center;
}
.special-text{padding-left:30px}
.special .script-heading{margin:-6px 0 18px}
.special-lead{font-weight:300;letter-spacing:.12em;font-size:17px;line-height:1.7;margin-bottom:26px}
.special-photo img{width:100%;border-radius:2px;box-shadow:0 22px 46px rgba(0,0,0,.22)}
.special .pattern-red{
  position:absolute;right:-20px;top:0;width:150px;height:100%;
  background:var(--brick);opacity:.5;
}

/* ---------- Reserve ---------- */
.reserve{background:var(--brick);padding:80px 20px;overflow:hidden}
.reserve-inner{
  max-width:1180px;margin:0 auto;
  display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;
}
.reserve-photo{position:relative;display:flex;justify-content:center;align-items:center}
.reserve-photo .pattern-box{
  position:absolute;left:4%;top:50%;transform:translateY(-50%);
  width:330px;height:330px;max-width:80%;
  background:rgba(255,255,255,.5);
}
.reserve-photo img{position:relative;width:360px;max-width:80%;
  filter:drop-shadow(0 24px 40px rgba(0,0,0,.35));animation:floaty 7s ease-in-out infinite}
.reserve-text{text-align:left}
.reserve .script-heading{margin:-4px 0 18px}
.reserve-lead{color:var(--cream);font-weight:300;letter-spacing:.1em;font-size:16px;line-height:1.7;margin-bottom:28px}

/* ---------- Footer ---------- */
.site-footer{background:var(--black);padding:56px 34px 30px}
.footer-cols{
  max-width:1200px;margin:0 auto;
  display:flex;flex-wrap:wrap;gap:34px;align-items:flex-start;justify-content:space-between;
}
.footer-col h3{font-weight:500;letter-spacing:.14em;font-size:15px;margin-bottom:12px;color:#fff}
.footer-col p{font-weight:300;font-size:13.5px;letter-spacing:.06em;line-height:1.9;color:#e7e7e7}
.footer-col .accent{color:var(--accent)}
/* API-driven opening hours list */
.footer-hours{list-style:none;margin:0;padding:0}
.footer-hours li{display:flex;justify-content:space-between;gap:16px;
  font-weight:300;font-size:13px;letter-spacing:.04em;line-height:1.95;color:#e7e7e7}
.footer-hours li.today{color:var(--accent);font-weight:500}
.footer-hours .day{min-width:42px}
.footer-hours .time{text-align:right;white-space:nowrap}
.footer-hours .closed-day{color:#8a8a8a}
.footer-col a:hover{color:var(--accent)}
.footer-brand{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:170px}
.footer-brand img{width:120px;opacity:.95}
.footer-brand p{font-weight:300;letter-spacing:.14em;font-size:13px;color:#cfcfcf}
.footer-brand span{color:var(--accent)}
.copyright{
  text-align:center;margin-top:40px;font-size:11px;letter-spacing:.1em;
  color:#8a8a8a;font-weight:300;
}

/* ---------- Scroll reveal ---------- */
.reveal{opacity:0;transform:translateY(32px);transition:opacity .8s ease,transform .8s ease}
.reveal.in{opacity:1;transform:none}

/* ---------- Responsive ---------- */
@media (max-width:860px){
  .nav{justify-content:space-between;padding:14px 20px}
  .nav-toggle{display:flex}
  .nav-links{
    position:absolute;top:100%;left:0;right:0;background:var(--black);
    flex-direction:column;gap:0;max-height:0;overflow:hidden;transition:max-height .35s ease;
  }
  .nav-links.open{max-height:360px}
  .nav-links li{width:100%;text-align:center;border-top:1px solid rgba(255,255,255,.06)}
  .nav-links a{display:block;padding:15px}
  .nav-links a::after{display:none}

  .about-inner{grid-template-columns:1fr;gap:28px;text-align:center}
  .about-photo img{max-width:360px}
  .about-content .script-heading{text-align:center}
  .about-text p{text-align:left}
  .readmore{display:inline-block}
  .special-inner,.reserve-inner{grid-template-columns:1fr;gap:28px}
  .special-text{padding-left:0;text-align:center;order:2}
  .special-photo{order:1}
  .special .pattern-red{display:none}
  .reserve-text{text-align:center;order:2}
  .reserve-photo{order:1}
  .about .pattern-strip{width:90px;opacity:.5}
  .footer-brand{align-items:center}
  .footer-cols{justify-content:center;text-align:center}
  .footer-col{min-width:45%}
}
@media (max-width:520px){
  .hero-btns{flex-direction:column;gap:14px;width:100%;max-width:280px}
  .btn{width:100%}
  .footer-col{min-width:100%}
}

/* ============================================================
   Sub-pages (Our Story, Catering, Contact) + Catering popup
   ============================================================ */

/* ---------- Page hero band ---------- */
.page-hero{
  position:relative;min-height:46vh;display:flex;flex-direction:column;
  align-items:center;justify-content:center;text-align:center;
  padding:150px 20px 70px;
  background:linear-gradient(180deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.4) 55%,rgba(0,0,0,.55) 100%),
             url('images/8b6ff19d24147ca2285cf204e9af8220.jpg') center/cover no-repeat;
}
.page-hero .script-heading{color:var(--cream)}
.page-hero h1{
  font-weight:300;font-size:clamp(34px,6vw,64px);letter-spacing:.14em;color:#fff;
  text-transform:uppercase;line-height:1.1;margin-top:4px;
}
.page-hero p{color:rgba(255,255,255,.88);font-weight:300;letter-spacing:.2em;
  text-transform:uppercase;font-size:clamp(11px,2.2vw,14px);margin-top:12px}

/* ---------- Generic content section ---------- */
.section{padding:72px 20px}
.section .wrap{max-width:1100px;margin:0 auto}
.section-red{background:var(--red);color:#fff}
.section-cream{background:var(--cream);color:#1a1a1a}
.section-brick{background:var(--brick);color:#fff}
.lead-center{text-align:center;max-width:760px;margin:0 auto 10px;font-weight:300;
  font-size:18px;line-height:1.7;letter-spacing:.2px}
.section .eyebrow{text-align:center}

/* ---------- Catering feature cards ---------- */
.feature-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:30px;margin:44px auto 36px;max-width:960px;
}
.feature-card{
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);
  border-radius:4px;padding:38px 32px;text-align:center;transition:transform .3s ease,background .3s ease;
}
.section-cream .feature-card{background:#fff;border-color:rgba(0,0,0,.08);box-shadow:0 14px 34px rgba(0,0,0,.08)}
.feature-card:hover{transform:translateY(-6px)}
.feature-card .emoji{font-size:40px;display:block;margin-bottom:14px}
.feature-card h3{font-weight:600;letter-spacing:.14em;text-transform:uppercase;font-size:18px;margin-bottom:12px}
.feature-card p{font-weight:300;line-height:1.7;font-size:15px}
.cta-row{display:flex;gap:18px;justify-content:center;flex-wrap:wrap;margin-top:30px}
.closing-line{text-align:center;font-family:'Great Vibes',cursive;font-size:clamp(30px,5vw,48px);
  margin-top:40px;line-height:1.2}

/* ---------- Contact page ---------- */
.contact-grid{display:grid;grid-template-columns:1fr 1.25fr;gap:44px;align-items:start}
.contact-info h3{font-weight:600;letter-spacing:.12em;text-transform:uppercase;font-size:15px;
  margin:22px 0 8px;color:var(--accent)}
.contact-info h3:first-child{margin-top:0}
.contact-info p,.contact-info a{font-weight:300;font-size:15px;line-height:1.8;color:#2a2a2a}
.contact-info a:hover{color:var(--accent)}
.contact-info .hours-table{margin-top:4px}
.hours-row{display:flex;justify-content:space-between;gap:20px;max-width:320px;
  font-weight:300;font-size:14px;line-height:2;border-bottom:1px solid rgba(0,0,0,.06)}
.hours-row.today{color:var(--accent);font-weight:500}
.contact-map{width:100%;height:420px;border:0;border-radius:4px;box-shadow:0 14px 34px rgba(0,0,0,.12)}
.contact-cta{display:flex;gap:16px;flex-wrap:wrap;margin-top:26px}

/* ---------- Catering popup ---------- */
.cat-popup-overlay{
  position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center;
  padding:20px;background:rgba(0,0,0,.62);backdrop-filter:blur(4px);
  opacity:0;visibility:hidden;transition:opacity .4s ease,visibility .4s ease;
}
.cat-popup-overlay.active{opacity:1;visibility:visible}
.cat-popup{
  position:relative;max-width:460px;width:100%;background:var(--red);color:#fff;
  border-radius:6px;padding:42px 34px 36px;text-align:center;
  box-shadow:0 30px 70px rgba(0,0,0,.45);transform:translateY(24px) scale(.97);
  transition:transform .45s cubic-bezier(.2,.8,.2,1);
  background-image:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.18));
}
.cat-popup-overlay.active .cat-popup{transform:none}
.cat-popup-close{position:absolute;top:12px;right:16px;background:none;border:0;color:#fff;
  font-size:30px;line-height:1;cursor:pointer;opacity:.85;transition:opacity .2s}
.cat-popup-close:hover{opacity:1}
.cat-popup .emoji{font-size:40px;display:block;margin-bottom:8px}
.cat-popup .script-heading{color:var(--cream);font-size:clamp(40px,8vw,58px);margin-bottom:6px}
.cat-popup h3{font-weight:600;letter-spacing:.08em;text-transform:uppercase;font-size:17px;margin-bottom:14px}
.cat-popup p{font-weight:300;line-height:1.7;font-size:15px;margin-bottom:22px;color:rgba(255,255,255,.95)}
.cat-popup .btn{display:inline-block}

@media (max-width:860px){
  .feature-grid{grid-template-columns:1fr;gap:22px}
  .contact-grid{grid-template-columns:1fr;gap:30px}
  .contact-map{height:320px}
  .page-hero{min-height:38vh;padding:130px 20px 56px}
}
