:root{
  --brand:#da251d;
  --brand-dark:#a91c17;
  --bg:#fdd686;
  --white:#fff;
  --text:#222;
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family:'Poppins',sans-serif;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
}
body {
  padding-top:120px; /* desktop default header height */
}

@media (max-width:768px){
  body {
    padding-top:70px; /* adjust to your mobile header height */
  }
}
html {
  scroll-behavior: smooth;
}
/* HEADER */
header{
  position:fixed;
  top:0;
  width:100%;
  background:var(--brand);
  z-index:3000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  will-change: transform;
}
.header-inner{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:10px 18px;
  position:relative;
}
.header-inner.menu-open .logo,
.header-inner.menu-open nav.main-nav {display:none;}
.header-inner.menu-open{padding:0;}
.logo img{
  width:245px;
  height:93px;
  display:block;
  object-fit:contain;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
/* --- Anti-flicker: keep header/nav on a stable compositor layer --- */
header,
.header-inner,
nav.main-nav,
nav.main-nav a {
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform, opacity;
}
/* Applied for 200ms before navigation; avoids layout snap */
.header-inner.freeze {
  contain: paint;            /* isolate paint without changing layout */
  pointer-events: none;      /* prevents stray hover/active flashes during fade */
}

@media(max-width:768px){
  .logo img{
    width:140px;
    height:50px;
  }
}

nav.main-nav{display:flex;align-items:center;gap:14px;}
nav.main-nav a{color:var(--white);text-decoration:none;font-weight:600;font-size:1.28rem;padding:8px 8px;border-radius:6px;}
nav.main-nav a:hover{background:var(--brand-dark)}
.dropdown{position:relative;display:inline-block;}
.dropdown>a::after {
  content: ""; /* no text glyph */
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 8px;
  vertical-align: middle;    /* centers arrow with text */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Ctext x='0' y='8' font-size='10' fill='%23fff' transform='rotate(90 5 5)'%3E%E2%9D%AF%3C/text%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  position: relative;
  top: 4px; /* move down */
}
.dropdown-menu{position:absolute;top:calc(100% + 6px);right:0;left:auto;background:var(--brand);border-radius:6px;min-width:160px;
box-shadow:0 6px 18px rgba(0,0,0,0.12);padding:6px 0;opacity:0;transform:translateY(-6px);visibility:hidden;transition:opacity .18s ease,transform .18s ease;z-index:3100;}
.dropdown:hover .dropdown-menu{opacity:1;transform:translateY(0);visibility:visible;}
.dropdown-menu a{display:block;padding:10px 14px;color:var(--white);text-align:right;white-space:nowrap;}
.dropdown-menu a:hover{background:var(--brand-dark)}

/* HAMBURGER */
.hamburger-btn{display:none;background:transparent;border:0;padding:0;margin:0;cursor:pointer;-webkit-tap-highlight-color:transparent;z-index:3200;position:absolute;right:14px;top:50%;transform:translateY(-50%);}
.hamburger-svg{width:36px;height:36px;display:block;}
@media(max-width:768px){.hamburger-btn{display:block;right:12px;top:14px;transform:none;}
.hamburger-svg{width:44px;height:44px;}}
.hamburger-svg .line{fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;transition:transform .32s cubic-bezier(.2,.9,.2,1),opacity .22s ease;transform-origin:50% 50%;transform-box:fill-box;}
.hamburger-btn.open .line.l1{transform:translateY(8px)rotate(45deg);}
.hamburger-btn.open .line.l2{opacity:0;transform:scale(.9);}
.hamburger-btn.open .line.l3{transform:translateY(-8px)rotate(-45deg);}

/* MOBILE OVERLAY */
.mobile-overlay{position:fixed;inset:0;background:var(--brand);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26px;opacity:0;transform:translateY(-10%);pointer-events:none;transition:opacity .36s ease,transform .36s ease;z-index:2800;padding-top:calc(env(safe-area-inset-top,0px));padding-bottom:calc(env(safe-area-inset-bottom,0px));}
.mobile-overlay.show{opacity:1;transform:translateY(0);pointer-events:auto;}
.mobile-overlay a{color:var(--white);text-decoration:none;font-weight:700;font-size:1.9rem;padding:8px 6px;display:block;text-align:center;width:100%;max-width:420px;}
.mobile-overlay a:hover{color:var(--bg)}
body.no-scroll{overflow:hidden}

/* LANDING SECTION */
.section-landing{
  padding:50px 18px 22px;
  text-align:center;
}
.hero-img{
  width:100%;
  height:auto;
  aspect-ratio:4/3;
  border-radius:10px;
  display:block;
  margin:0 auto;
}
.btn{
  display:inline-block;
  padding:10px 18px;
  background:var(--brand);
  color:var(--white);
  text-decoration:none;
  border-radius:25px;
  font-weight:700;
  font-size: 1.25rem;
}
.btn.secondary{
  background:transparent;
  color:var(--brand);
  border:2px solid var(--brand);
}
/* Fade + grow animation for landing image */
@keyframes fadeGrowIn {
  0% {
    opacity: 0;
    transform: scale(0.75);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* hero idle: hidden until main fades in */
.hero-img { opacity: 0; }

/* start hero animation after main content has begun to show */
.main.fade-in .hero-img {
  animation: fadeGrowIn 0.75s ease-out forwards;
  animation-delay: 120ms; /* small delay after .main opacity transition */
}

/* DESKTOP two-row layout */
@media(min-width:876px){
  .section-landing{
    text-align:left;
    max-width:1200px;
    margin-inline:auto;
  }
  .landing-row1 h1{
    text-transform:uppercase;
    font-size:5rem;
    line-height:1.05;
    margin-bottom:30px;
    font-weight:800;
    color:var(--brand);
  }
  .landing-row1 .highlight{
    display:block;
    font-size:5.4rem;
    font-weight:800;
    color:var(--brand);
  }
  .landing-row2{
    display:grid;
    grid-template-columns:0.75fr 1fr;
    gap:75px;
    align-items:start;
  }
  .landing-left p{
    font-size:2rem;
    line-height:1.3;
    margin-bottom:14px;
    font-weight:600;
    color:var(--text);
  }
  .landing-left .btn.secondary{margin-top:8px;}
}

/* MOBILE proportional scaling */
@media(max-width:875px){
  .landing-row1 h1{
    text-transform:uppercase;
    font-size:2.5rem;
    line-height:1.1;
    font-weight:800;
    color:var(--brand);
    padding: 0px 0px 10px;
  }
  .landing-row1 .highlight{
    display:block;
    font-size:2.5rem;
    font-weight:800;
    color:var(--brand);
  }
  .landing-left p{
    font-size:1.4rem;
    font-weight:600;
    color:var(--text);
    padding: 0px 20px 10px;
  }
  .landing-right .hero-img {
    aspect-ratio:4/3;
    height:auto;
    width:100%;
    max-width:400px;
    margin: 25px auto;
  }
}

/* HIRING */
.section-hiring{background:var(--white);padding:36px 18px 44px;text-align:center;margin:20px 18px 0;border-radius:8px;box-shadow:0 6px 18px rgba(0,0,0,0.06);}
.section-hiring h2{
  color:var(--brand);
  font-size:2.5rem;
  font-weight:800;
  line-height: 1.1;
}
.section-hiring p{
  margin-bottom:8px;
  color:#333;
  font-size:1.5rem;
}
.hiring-grid{
  display:flex;
  gap:12px;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  margin:12px 0 18px;}

.hiring-card{
  width:280px;
  height:160px;
  background:#f3f3f3;
  border-radius:8px;
}

/* MENU */
.section-menu{
  background:var(--white);
  padding:36px 18px 56px;
  text-align:center;
  margin:22px 18px 40px;
  border-radius:8px;
  box-shadow:0 6px 18px rgba(0,0,0,0.06);
}
.section-menu h2{
  color:var(--brand);
  font-size:1.6rem;
  margin-bottom:8px;
  font-weight:800;
}
.section-menu p{
  color:#333;
  margin-bottom:16px;
}
.menu-preview{
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
  margin-bottom:18px;
}
.menu-card{
  max-width:400px;
  width:100%;
  border-radius:8px;
  object-fit:cover; /* ensure image fills card nicely */
}
@media (max-width:875px) {
  .menu-card {
    max-width:90%; /* shrink to fit screen width */
  }
}
.menu-buttons {
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:10px;
}
.menu-buttons .btn {
  min-width:160px;
}
.menu-buttons .btn.secondary {
  background:transparent;
  color:var(--brand);
  border:2px solid var(--brand);
}
/*MENU: SPECIALS SECTION*/
.section-specials {
  background: var(--white);
  padding: 36px 18px 56px;  /* same as section-menu */
  text-align: center;
  margin: 22px 18px 40px;   /* same as section-menu */
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.section-specials h2 {
  color: var(--brand);
  font-size: 1.6rem;
  margin-bottom: 8px;
  font-weight: 800;
}
.section-specials p {
  color: #333;
  margin-bottom: 16px;
}
.specials-preview {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.special-card {
  width: 100%;
  max-width: 500px;
  height: auto;
  background: none;
  border-radius: 8px;
}
.special-card img {
  width: 100%;
  height: auto;           /* scale proportionally */
  object-fit: contain;    /* show whole image, no cropping */
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}
/*LOCATIONS*/
.section-locations {
  background: var(--white);
  padding: 36px 18px 56px;
  text-align: center;
  margin: 22px 18px 40px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.section-locations h2 {
  color: var(--brand);
  font-size: 1.8rem;
  margin-bottom: 8px;
  font-weight: 800;
}
.section-locations p {
  color: #333;
  margin-bottom: 16px;
}
/* Optional: constrain card width and make grid responsive */
.locations-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.location-card {
  background: #f7f7f7;
  width: 300px;
  border-radius: 8px;
  padding: 18px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.location-card h3 {
  color: var(--brand);
  margin-bottom: 6px;
  font-size: 1.6rem;
}
.location-card p {
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: #333;
}
.location-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px 8px 0 0; /* rounded top corners */
  display: block;
  margin-bottom: 12px;
}
.hours-block {
  margin-top: 8px;
  color: #333;
}
.hours-block strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 1.1rem;
}
.hours-row {
  display: flex;
  justify-content: space-between; /* left & right align */
  margin-bottom: 4px;
  font-size: 1.05rem;
}
.hours-row .day {
  text-align: left;
}
.hours-row .time {
  text-align: right;
}
/*CONTACT*/
.section-contact {
  background: var(--white);
  padding: 36px 18px 56px;
  text-align: center;
  margin: 22px 18px 40px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.section-contact h2 {
  color: var(--brand);
  font-size: 1.8rem;
  margin-bottom: 8px;
  font-weight: 800;
}
.section-contact p {
  color: #333;
  margin-bottom: 20px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}
.form-group textarea {
  resize: vertical;
}
.contact-form .btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--brand);
  color: var(--white);
  border: none;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
}
/* Form rows */
.form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.form-row .form-group {
  flex: 1;
  min-width: 160px;
}
.form-section-title {
  text-align: left;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 12px;
}
.contact-form select,
.contact-form input[type="date"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}
/* Ensure form fonts match the site font */
.contact-form input,
.contact-form textarea,
.contact-form select {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
}

/* Style the placeholder text */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #666;
  font-style: italic; /* optional */
}
.contact-form select {
  width: 100%;
  padding: 10px 40px 10px 12px; /* extra space on right */
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  background-color: #fff;

  /* Hide the native arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* Add your own arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Ctext x='0' y='8' font-size='10' fill='%23333' transform='rotate(90 5 5)'%3E%E2%9D%AF%3C/text%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center; /* position arrow inward */
  background-size: 12px;
}
/*EMPLOYMENT*/
.section-employment {
  background: var(--white);
  padding: 36px 18px 56px;
  text-align: center;
  margin: 22px 18px 40px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.section-employment h2 {
  color: var(--brand);
  font-size: 1.8rem;
  margin-bottom: 8px;
  font-weight: 800;
}
.section-employment p {
  color: #333;
  margin-bottom: 20px;
}
.employment-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}
.form-step {
  display: none;
}
.form-step.active {
  display: block;
}
.form-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
}
.employment-form input,
.employment-form textarea,
.employment-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif; /* matches site font */
  font-size: 1rem;
}
.employment-form select {
  /* reuse your custom arrow if you’re using it on other selects */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  padding-right: 40px; /* arrow spacing */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Ctext x='0' y='8' font-size='10' fill='%23333' transform='rotate(90 5 5)'%3E%E2%9D%AF%3C/text%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px;
}
.employment-form textarea::placeholder {
  color: #666;
  font-style: italic;
}
.single-btn-nav {
  display: flex;
  justify-content: flex-end;
}
.contact-form,
.employment-form {
  margin-top: 40px; /* pushes forms down from section intro text */
}

/*MENU CAROUSEL*/
.menu-carousel {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  margin-top: 16px;
}
.carousel-track {
  display: flex;
  overflow-x: auto;             /* allow native swipe/scroll */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  transition: none;              /* no transform */
  scrollbar-width: none; /* Firefox */
}
.carousel-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}
.carousel-slide {
  flex-shrink: 0;
  scroll-snap-align: center;    /* snap each slide */
  padding: 0 10px;
  box-sizing: border-box;
  max-width: 300px;
}
.carousel-slide img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--brand);
  color: var(--white);
  border: none;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
}
.carousel-arrow.left {
  left: 10px;
}
.carousel-arrow.right {
  right: 10px;
}
/* Show fewer cards per view depending on screen size */
@media (max-width: 768px) {
  .carousel-slide {
    max-width: 90%;
  }
}

@media (min-width: 769px) {
  .carousel-slide {
    max-width: 300px; /* show 3 cards side by side */
  }
}
/* Apply a smooth fade to all buttons */
.btn,
.btn.secondary {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
/* Primary button hover */
.btn:hover {
  background: var(--brand-dark); /* darker red on hover */
}
/* Secondary button hover */
.btn.secondary:hover {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}
/* Page fade in only for main content */
.main {
  opacity: 0;
  transition: opacity 0.2s ease;
}
.main.fade-in {
  opacity: 1;
}


footer{
  padding:18px 8px;
  background:#222;
  color:#fff;
  text-align:center;
  font-size:0.95rem;
  margin-top:10px;
}

/* Hide desktop nav on mobile */
@media(max-width:768px){
  nav.main-nav{
    display:none!important;
  }
  .hamburger-btn{
    display:block!important;
  }
}

/* Desktop gutters */
@media(min-width:769px){
  .main{
    max-width:1200px;
    margin-inline:auto;
    padding-inline:clamp(24px,5vw,64px);
  }
  .header-inner{
    padding-left:clamp(24px,5vw,64px);
    padding-right:clamp(24px,5vw,64px);
  }
}
/* Highlight the field with a red outline */
input.error {
  border: 2px solid #da251d; /* same red as your site */
}

/* Error message styling */
input.error,
select.error,
textarea.error {
  border: 2px solid #da251d; /* site red */
}
.error-message {
  color: #da251d;
  font-size: 0.9rem;
  margin-top: 4px;
  display: none;
}
.form-error-global {
  display: none;
  color: #da251d;
  font-weight: 600;
  margin: 10px 0;
  text-align: center;
}
