/* Restaurant Menu Design System */

/* CSS Variables */
:root {
    /* Restaurant brand colors */
    --restaurant-dark-green: #005927;
    --restaurant-gold: #A88A48;
    --restaurant-white: #EBEDEB;
    --restaurant-light-green: #9DBFAC;
    --restaurant-dark: #141414;
    
    /* Font */
    --font-family: Arial, sans-serif;
    
    /* Spacing */
    --container-padding: 1rem;
    --section-spacing: 3rem;
    --border-radius: 0.75rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
  font-family: "Jakarta";
  src: url("fonts/miofont.woff2") format("woff2"),
       url("fonts/miofont.woff") format("woff"),
       url("file/font/Plus_Jakarta_Sans/PlusJakartaSans-VariableFont_wght.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Pica";
  src: url("fonts/miofont.woff2") format("woff2"),
       url("fonts/miofont.woff") format("woff"),
       url("file/font/IM_Fell_DW_Pica/IMFellDWPica-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}


body {
  font-family: "MioFont", sans-serif;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    background-color: var(--restaurant-dark-green);
    color: var(--restaurant-white);
    line-height: 1.6;
}
/* HEADER BASE */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(16, 87, 39, 0.8);
    /* verde con opacità */
    z-index: 1000;
}
.header-inner {
    max-width: 1200px;
    padding-right: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-small {
    padding: 10px 10px;
    height: 52px;
}

/* NAV DESKTOP */
.nav-desktop {
    display: flex;
}

.nav-desktop a {
    font-family: Arial, Helvetica, sans-serif;
    padding-right: 40px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
}

.nav-desktop a:hover {
    color: var(--gold);
}

/* BTN PRENOTA */
 .btn{
    padding: 10px 15px;
    color: #A88A48;
    background: #EBEDEB;
    border: 2px solid #A88A48;
}


/* HAMBURGER */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-line {
    z-index: 9999;
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px;
    background: var(--restaurant-white);
    transition: transform var(--transition);
}

/* MOBILE MENU PANEL */
.mobile-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    max-width: 320px;
    height: 100vh;
    transition: transform var(--transition) ease;
    z-index: 0;
    padding: 60px 20px;
    text-align: center;
    opacity: 0;
    transform: translateX(20%);
}

.menu-open .mobile-panel {
    opacity: 1;
    transform: translateX(0);
}

#pageContent {
    transition: transform 0.6s ease, scale 0.4s ease;
    position: relative;
    z-index: 900;
   
}

.menu-open #pageContent {
    transform: translateX(-78vw);
    
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 80px
}

.mobile-nav a {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    transition: 0.3s ease left;

}
.mobile-nav a:hover{
   transition: 0.3s ease left;
   text-decoration: underline;
   text-decoration-thickness:2px;
   text-decoration: ;
  }

.btn-prenota {
  font-family: Arial, Helvetica, sans-serif;
  display: inline-block;
  background: #A88A48; /* oro */
  color: #141414;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-prenota:hover {
  background: #EBEDEB;
  color: #005927;
}
.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: white;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.close-btn:hover {
  transform: rotate(90deg);
}
.socials {
   width: 10px;
    margin-top: 30px;
    display: flex;
    gap: 12px;
}

/* RESPONSIVE */
@media (max-width: 860px) {
    .nav-desktop {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

@media (min-width: 860px) {
    .nav-desktop {
        display: block;
    }

    .hamburger {
        display: none;
    }

    .mobile-panel {
        display: none;
    }
}

.menu-page {
  background: #005927;
  color: #EBEDEB;
  padding: 2rem 1rem;
}

.menu-intro h1 {
  font-family: 'Jakarta', serif;
  color: #A88A48;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.menu-intro p {
  font-family: "Jakarta";
  color: #9DBFAC;
  text-align: center;
  margin-bottom: 2rem;
}

.menu-category {
  margin-bottom: 3rem;
}

.menu-category h2 {
  font-family: 'Jakarta';
  color: #A88A48;
  font-size: 1.1rem;
  border-bottom: 1px solid #A88A48;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.menu-item {
  display: flex;
  flex-direction: column;
  
  padding: 1rem;
  border-bottom: 1px solid rgba(168, 138, 72, 0.2);
}

.menu-item.inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}

.menu-item.small {
  flex-direction: column;
  flex-basis: calc(33% - 1rem);
}


.item-title {
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: bold;
  color: #EBEDEB;
  max-width: 80%;
}

.item-price {
  font-weight: 600;
  font-size: 1.1rem;
  position: absolute;
  right: 35px;
  color: #EBEDEB;
  transform: translateY(15px);
}

.menu-item p {
  font-size: 1.2rem;
  font-family: 'Jakarta';
  width: 60vw;
  color: #9DBFAC;
  margin-top: 0.3rem;
}

@media (min-width: 768px) {
  .menu-items {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .menu-item {
    flex-direction: column;
    width: 48%;
  }
  .menu-item.inline.small {
    width: calc(33% - 1rem);
  }
}
