:root {
  --white: #ffffff;
  --cream: #f6f1e7;
  --text-default: #333333;
  --bronze: #b3986e;
  --bronze-dark: #a0865f;
  --nav-hover: #fdf1dc;
  --footer-bg: #4c3a25;
  --footer-text: #f7f4ea;
  --card-bg: #fbf9f5;
  --border-light: #e6dcc5;
  --text-secondary: #444444;
  --text-muted: #555555;
  --phone: #bc8648;
  --phone-hover: #d3b088;
  --divider: #4a453b;
}
body {
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  background-color: var(--cream);
  color: var(--text-default);
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

header {
  background-color: var(--cream);
  background-image:
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url("images/main/MazzisDinner.jpg");
  background-repeat: no-repeat, no-repeat;
  background-position: center center, center center;
  background-size: cover, cover;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  position: relative;
}
header::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
header h1, header p {
  position: relative;
  z-index: 2;
  letter-spacing: 1px;
}

@media only screen and (max-width: 750px) {
  header {
    background-image:
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url("images/main/MazzisDinnerPhone.jpg");
  }
}
@media (min-width: 1950px) {
  header {
    background-size: 1950px auto;
  }
}

/* ------------------- NAVIGATION ------------------- */
.navbar{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(188, 134, 72,.85);
  backdrop-filter: blur(4px); 
  z-index: 1000;
  font-family: 'Playfair Display',serif;
}
.nav-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: .5em 1em;
  display: flex;
  align-items: center;
}
.logo-link{display:inline-block;}
.nav-logo{
  max-width: 190px;
  height: auto;
}
.hamburger{
  display: none;
  flex-direction: column;
  gap:5px;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger .bar{
  width: 28px;
  height: 3px;
  background: var(--white);
  transition: .3s;
}
.nav-links{
  list-style: none;
  display: flex;
  gap: 2em;
  margin-left: auto;
}
.nav-links a{
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  letter-spacing: .5px;
  color: var(--white);
  text-decoration: none;
  font-size: 1.15em;
  transition: opacity .2s;
}
.nav-links a:hover{
  opacity: .7;
  color: var(--nav-hover);
}
.nav-link.active {
  font-weight: bold;
  border-bottom: 2px solid var(--white);
}
/* ------------------- HAMBURGER MENU ------------------- */
@media (max-width: 767px) {
  .hamburger {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 100vw;
    height: auto;
    max-height: 90vh;
    background: rgba(188, 134, 72, 0.95);
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 1100;
    border-bottom-left-radius: 12px;
    gap: 1rem;
    overflow-y: auto;
    margin: 0;
    box-sizing: border-box;
    padding: 2rem 0 1.5rem 1.5rem;
  }
  .nav-links.open {
    right: 0;
  }
  .nav-links a {
    color: var(--white);
    font-size: 1.5rem;
    padding: .2rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    font-family: 'Lato', sans-serif;
  }
  .nav-links a:hover {
    color: var(--nav-hover);
  }
  .desktop-only {
    display: none;
  }
}

@media (min-width:1024px){
  .hamburger{
    display:none;
  }
  .nav-links{
    position:static;
    flex-direction:row;
  }
  .desktop-only{
    display:block;
  }
}

/* ------------------- LANDING PAGE ------------------- */
header{
  padding-top:80px;
}
h1 {
  font-size: 3.5em;
  margin: 0;
  font-weight: 700;
}
p {
  font-size: 1.2em;
  margin-top: 0.8em;
  max-width: 600px;
}
.mazzis-logo {
  max-width: 300px;
  height: auto;
  margin-bottom: 0.5em;
  z-index: 2;
  position: relative;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.cta-button {
  font-family: 'Josefin Sans', sans-serif;
  font-weight:400;
  letter-spacing:.8px;
  text-decoration: none;
  margin-top: 2em;
  padding: 1em 2em;
  background-color: var(--bronze);
  border: none;
  color: var(--white);
  font-size: 1.25em;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 2;
  position: relative;
}
.cta-button:hover {
  background-color: var(--bronze-dark);
}

@media only screen and (max-width: 625px) {
  header .mazzis-logo {
    max-width: 75%;
    margin-bottom: 0.8em;
  }
  header p {
    font-size: 1.6em;
    line-height: 1.3;
    max-width: 90%;
    margin: 0.5em auto;
  }
  header .cta-button {
    font-size: 1.45em;
    padding: 1.2em 1.8em;
  }
}

@media (min-width: 626px) and (max-width: 1023px) {
  .mazzis-logo {
    max-width: 360px;
  }
  header p {
    font-size: 1.7em;
    line-height: 1.4;
  }
}

@media (min-width:1024px){ 
  .mazzis-logo{
    max-width:420px;
  }
  header p{
    font-size:1.5em;
  }
  .cta-button{
    font-size:1.35em;
  }
}

@media (min-width:1440px){
  .mazzis-logo{
    max-width: 500px;
  }
  header p{
    font-size: 1.7em;
  }
  .cta-button{
    font-size: 1.45em;
  }
}

/* ------------------- KIDS EAT FREE MONDAYS ------------------- */
/* Promo Banner — single white overlay over background */
.promo-banner{
  --radius: 16px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  margin: 2rem auto;
  max-width: 750px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  padding-top: 3rem;
  padding-bottom: 3rem;
  text-align: center;
  background-blend-mode: overlay;
  background-color: rgba(255,255,255,0.7);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

/* Title font */
.promo-title{
  margin: 0 0 .75rem;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color:#2d2a26;
}

/* Sub text with centered dots */
.promo-sub{
  margin: 0;
  display: inline-flex;
  gap: .9rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-family: "Josefin Sans", sans-serif;
  font-size: clamp(.95rem, 1.1vw, 1.05rem);
  color:#6d655b;
}
.promo-sub span{
  position: relative;
  white-space: nowrap;
}
.promo-sub span:not(:last-child)::after{
  content: "•";
  margin-left: .9rem;
  opacity: .65;
}

/* ------------------- DISH GALLERY ------------------- */
.dish-gallery{
  background: var(--cream);
  padding: 3em 0;
  flex-wrap: nowrap;
  overflow: hidden;
}
.gallery-row{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 2800px;
  margin: 0 auto;
}
.gallery-row img{
  width: 100%;
  height: 280px;
  object-fit: cover;
  flex: 1 0 50%;
}

/* ≥768 px → 3 across */
@media (min-width:768px){
  .gallery-row img{ flex:1 0 33.333%; }
}

/* ≥1024 px → 4 across */
@media (min-width:1024px){
  .gallery-row img{ flex:1 0 25%; }
}

/* ≥1440 px → 5 across */
@media (min-width:1440px){
  .gallery-row img{ flex:1 0 20%; }
}

/* ≥1800 px → 6 across; stop expanding further */
@media (min-width:1800px){
  .gallery-row img{ flex:1 0 16.666%; }
}
/* 1 row */
.gallery-row{
  flex-wrap: nowrap;
  overflow: hidden;
}
/* 2 across */
.gallery-row img{ 
  flex:0 0 50%; 
}

/* 3 across */
@media (min-width:768px){
  .gallery-row img{ flex:0 0 33.333%; }
}

/* 4 across */
@media (min-width:1024px){
  .gallery-row img{ flex:0 0 25%; }
}

/*  5 across */
@media (min-width:1440px){
  .gallery-row img{ flex:0 0 20%; }
}

/*  6 across */
@media (min-width:1800px){
  .gallery-row img{ flex:0 0 16.666%; }
}


/* ------------------- HOURS AND LOCATION -------------------*/
.hours-location {
  background-color: var(--cream);
  padding: 4em 0;
}
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}
.image-side {
  background-size: cover;
  background-position: center;
  min-height: 500px;
}
.hours-content {
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center; 
  padding: 2em;
  background-color: var(--card-bg);
  line-height: 2.2em;
}
.hours-content h2 {
  font-size: 2.5em;
  margin-bottom: 0.2em;
}
.subtitle {
  font-style: italic;
  margin-bottom: 1em;
  font-size: 1.1em;
  color: var(--text-secondary);
}
.divider {
  width: 60px;
  height: 2px;
  background-color: var(--bronze);
  margin: 1em auto;
}
.hours-content p {
  font-size: 1.2em;
  margin: 0.6em 0;
}
.location {
  margin-top: 1.5em;
  font-size: 1.1em;
  color: var(--text-muted);
}
.phone {
  color: var(--phone);
  font-size: 1.2em;
  text-decoration: none;
  font-weight: inherit;
}
.phone:hover {
  color: var(--phone-hover);
  cursor: pointer;
}

@media only screen and (max-width: 625px) {
  .hours-content p {
    font-size: 1.5em;
    line-height: 1.6;
    margin: 0.8em 0;
  }

  .hours-content .location {
    font-size: 1.5em;
    margin-top: 1em;
  }

  .hours-content .phone {
    font-size: 1.4em;
    margin-top: 0.6em;
  }
}

@media (max-width: 625px) {
  .mobile-br {
    display: block;
  }
}
@media (min-width: 626px) {
  .mobile-br {
    display: none;
  }
}

@media (min-width:1200px){
  .hours-grid{
    max-width:1400px;
    grid-template-columns:1fr 2.5fr 1fr;
  }
}

@media (min-width:768px) and (max-width:1199px){
  .hours-grid{
    grid-template-columns: 1fr 1.6fr;
  }
  
  .hours-grid .image-side:last-child{ display:none; }
}

/* Phones: no photos */
@media (max-width:767px){
  .hours-grid{
    display:flex;
    flex-direction:column;
  }
  .hours-grid .image-side{ display:none; }
  .hours-content{
    padding: 2.5em 1.2em;
    text-align: center;
  }
}

/* ------------------- PRIVATE EVENTS ------------------- */
.events-section{
  background: var(--cream);
  padding: 5em 0;
}
.events-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}
.events-image{
  background-size: cover;
  background-position: center;
  min-height: 460px;
  border-right: 6px solid var(--border-light);
}
.events-content{
  padding: 3em 2em;
  text-align: left;
  background: rgba(255,255,255,.70);
}
.events-content h2{
  font-size: 2.6em;
  margin-top: 0;
  margin-bottom: .4em;
}
.events-content .lead{
  font-size: 1.3em;
  line-height: 1.7;
  margin-bottom: 1.6em;
  font-family: 'Josefin Sans',sans-serif;
  font-weight: 300;
}
.events-content p{
  font-size: 1.15em;
  line-height: 1.75;
  margin-bottom: 1.5em;
  color: var(--text-secondary);
  font-family: 'Josefin Sans',sans-serif;
  font-weight: 300;
}
.events-button{
  display: inline-block;
  padding: 1em 2.4em;
  background: var(--bronze);
  color: var(--white);
  text-decoration: none;
  font-size: 1.2em;
  border-radius: 4px;
  transition: background .3s;
  letter-spacing: .5px;
}
.events-button:hover{ 
  background: var(--bronze-dark); 
}

@media only screen and (max-width: 625px) {
.events-content h2 {
    font-size: 2.2em;
    margin-bottom: 0.7em;
  }
  .events-content .lead {
    font-size: 1.6em;
    line-height: 1.7;
    margin-bottom: 1.5em;
  }
  .events-content p {
    font-size: 1.4em;
    line-height: 1.7;
    margin-bottom: 1.2em;
  }
  .events-button {
    font-size: 1.4em;
    padding: 1.4em 2.2em;
  }
}

@media (max-width: 825px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
  .events-image {
    border-right: none;
    border-bottom: 6px solid var(--border-light);
    min-height: 400px;
  }
  .events-content {
    max-width: 825px;
    margin: 0 auto;
    padding: 3em 2em;
    text-align: left;
    background: rgba(255,255,255,0.7);
  }
}

/* ------------------- PARALLAX SLICE ------------------- */
.parallax-slice{
  background: url('images/main/mazzis-farm-fresh-heirloom-tomatoes.jpg') center/cover fixed;
  min-height: 340px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}
.parallax-slice::before{
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}
.parallax-slice h2{
  position: relative;
  z-index: 1;
  font-family: 'Playfair Display',serif;
  font-size: 2.2em;
  font-weight: 700;
  color: var(--footer-text);
  letter-spacing: 1.2px;
  padding: 0 .6em;
  line-height: 1.35;
}

@media (min-width:1024px){
  .parallax-slice{ 
    min-height: 420px;
  }
  .parallax-slice h2{ 
    font-size: 2.8em;
  }
}

@media (max-width:767px){
  .parallax-slice{ 
    background-attachment: scroll; 
  }
  .parallax-slice h2{ 
    font-size: 2.4em;
  }
}

@media (min-width: 1800px) {
  .parallax-slice {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    background-size: cover;
    background-position: center 40%;
  }
}

@supports (-webkit-overflow-scrolling: touch) {
  .parallax-slice {
    background-attachment: scroll !important;
    background-size: cover;
    background-position: center 40%;
  }
}

/* ------------------- REVIEWS ------------------- */
.reviews {
  background: var(--cream);
  padding: 5em 1em 6em;
}
.reviews-grid {
  display: grid;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(345px, 1fr));
}
.review-card {
  padding: 3rem 2rem;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  text-align: center;
  display: flex;
  flex-direction: column;
}
.review-card .quote {
  margin: 0 auto 1.5rem;
}
.review-card .meta {
  margin-top: 1.25rem;
}
.stars {
  color: var(--bronze);
  margin-left: .5rem;
}

@media only screen and (max-width: 625px) {
  .reviews {
    padding-bottom: 2em;
  }
  .review-card {
    padding: 2rem 1.5rem;
  }
  .review-card .quote {
    font-size: 1.35em;
    line-height: 1.5;
  }
  .review-card .meta {
    font-size: 1.35em;
    margin-top: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem; 
  }
  .review-card .meta .stars {
    display: block;
    font-size: 1.6em;
    font-size: 1.6em;
    margin-left: 0.75rem;
  }
}

/* force single column until 724px */
@media (max-width: 724px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* jump straight to three columns at 725px+ */
@media (min-width: 725px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .review-card {
    padding: 1.5rem 1rem;
    max-width: 345px;
    margin: 0 auto;
  }
  .review-card .quote {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 1rem;
  }
  .review-card .meta {
    font-size: 1rem;
    margin-top: 0.8rem;
  }
}

@media (min-width: 1024px) {
  .review-card {
    height: auto;
  }
}

/* ------------------- ONLINE ORDERING ------------------- */
.online-ordering {
  background-color: var(--cream);
  padding: 5em 0;
}
.ordering-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  column-gap: 3rem; 
}
.order-text {
  padding: 2em;
  text-align: center;
}
.order-text h2 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
}
.order-text p {
  font-size: 1.2em;
  line-height: 1.7;
  margin: 0.75em 0 2em;
  width: 100%;
  color: var(--text-secondary);
}
.order-button {
  display: inline-block;
  padding: 1em 2em;
  background-color: var(--bronze);
  color: var(--white);
  text-decoration: none;
  font-size: 1.2em;
  border-radius: 4px;
  letter-spacing: .5px;
  transition: background 0.3s;
}
.order-button:hover {
  background-color: var(--bronze-dark);
}
.order-image {
  background-size: cover;
  background-position: center;
  min-height: 400px;
}
@media only screen and (max-width: 940px) {
  .order-text p {
    width: 100%;
  }
}
@media only screen and (max-width: 625px) {
    .online-ordering {
    padding-top: 2em;
  }
  .ordering-grid {
    grid-template-columns: 1fr;
    gap: 2em;
  }
  .order-text {
  padding: 1em;
 }
  .order-text h2 {
    font-size: 2.05em;
    margin-bottom: 0.8em;
  }
  .order-text p {
    font-size: 1.3em;
    line-height: 1.7;
    margin-bottom: 2em;
    width: 100%;
  }
  .order-button {
    font-size: 1.4em;
    padding: 1.4em 2em;
  }
  .order-image {
    min-height: 300px;
    margin-top: 1.5em;
  }
}

/* ------------------- FOOTER ------------------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  font-family: 'Playfair Display', serif;
  padding: 3em 1em 2em;
}
.footer-main {
  display: flex;
  flex-direction: column;
  gap: 2.5em;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.footer-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 0.4em;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}
.tagline {
  margin: 0.3em 0 0;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 1.05em;
  color: var(--bronze);
  letter-spacing: 0.4px;
}
.footer-main h4 {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 1.15em;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 0.7em;
  color: var(--border-light);
}
.footer-quick ul,
.footer-contact ul,
.footer-bottom nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-quick li,
.footer-contact li {
  margin: 0.6em 0;
}
.footer-quick a,
.footer-contact a,
.footer-bottom a {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.1em;
  color: var(--footer-text);
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.7px;
}
.footer-quick a:hover,
.footer-contact a:hover,
.footer-bottom a:hover {
  color: var(--bronze);
}
.footer-contact i {
  margin-right: 0.4em;
  color: var(--footer-text);
}
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1em;
  margin-top: 1em;
}
.footer-socials a {
  color: var(--footer-text);
  font-size: 1.4em;
  margin: 0;
  transition: color 0.3s;
}
.footer-socials a:hover {
  transform: none;
  color: var(--bronze);
}
hr {
  border: none;
  border-top: 1px solid var(--bronze);
  margin: 2.5em auto 1.5em;
  max-width: 1200px;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  font-family: 'Lato', sans-serif;
  align-items: center;
  gap: 0.4em;
  text-align: center;
  font-size: 0.95em;
}
.footer-bottom .divider {
  color: var(--divider);
  margin: 0 0.5em;
}

@media only screen and (max-width: 625px) {
  .footer-logo {
    max-width: 250px;
  }
  .tagline {
    font-size: 1.35em;
  }
  .footer-main h4 {
    font-size: 1.6em;
  }
  .footer-quick a,
  .footer-contact a {
    font-size: 1.35em;
    line-height: 1.6em;
  }
  .footer-socials a {
    font-size: 1.8em;
  }
  .footer-bottom p,
  .footer-bottom a {
    font-size: 1.1em;
  }
}

@media (min-width: 626px) and (max-width: 767px) {
  .footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-main > * {
    flex: none;
    width: auto;
    max-width: 90%;
    margin: 1rem auto;
  }
}

@media (min-width: 768px) {
  .footer-main {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
  }
  .footer-main > * {
    flex: 1 1 45%;
  }
}

@media (min-width: 1024px) {
  .footer-main {
    flex-wrap: nowrap;
  }
  .footer-main > * {
    flex: 1;
  }
}

@media (min-width: 768px) and (max-width: 924px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-main > * {
    flex: none;
    max-width: none;
  }
}

@media (min-width: 925px) and (max-width: 1023px) {
  .footer-main {
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .footer-main > * {
    flex: 1;
    max-width: 30%;
  }
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding-top: env(safe-area-inset-top);
  overflow-x: hidden;
  scroll-behavior: smooth;
  position: relative;
  top: 0;
}
header {
  margin-top: 0 !important;
}
.navbar {
  padding-top: env(safe-area-inset-top);
}



