:root {
    --light-green: #9dbfac;
    --green: #005927;
    --white: #EBEDEB;
    --gold: #A88A48;
    --black: #141414;
    --transition: 0.3s;
}

body {
    padding: 0 auto;
    margin: 0 auto;
    background-color: var(--black);
}

@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;
}

/* HEADER BASE */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(22, 24, 23, 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: 25px 25px;
    width: 152px;
}

/* 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(--white);
    transition: transform var(--transition);
}

/* MOBILE MENU PANEL */
.mobile-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    max-width: 320px;
    height: 100vh;
    background: var(--black);
    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;
}

.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;
    }
    
}

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3); /* scurisce leggermente il video */
  z-index: -1;
}

.hero-content {
  z-index: 2;
}

.hero-logo {
  padding-top: 20vh;
  padding-bottom: 27vh;
  padding-left: 6vw;
  width: 90%;
}


.carne-section {
  padding: 4rem 1rem;
  background-color: var(--black); /* scuro elegante */
  color: #EBEDEB;
  text-align: center;
  padding-bottom: 2rem;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: #A88A48; /* oro */
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-family: 'Jakarta';
  font-size: 1.2rem;
  padding: 0px 20px;
  color: #ccc;
  margin-bottom: 2rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step {
  background: rgba(30, 30, 30, 0.6);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.5);
}

.step-img {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem; 
  border-radius: 10px
}
.step-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.locale{
    color: var(--white);
}
.locale h1{
    font-family: "Playfair Display", serif;
    color: #A88A48;
    text-align: center;
    padding: 10px 25px;
}
.locale p{
  font-size: 1.2rem;
   font-family: 'Jakarta';
    text-align: center;
    padding: 10px 25px;
}
.locale-img{
    padding: 10px 20px ;
    height: auto;
    width: 90%;
    display: block;
    margin: 0 auto;
}

@media (min-width : 768px) {
 .locale-img{
    width: 80%;
    height: 400px;
    object-fit: cover;
    object-position: bottom;
 }

 .footer-links
    
}

.carousel {
  position: relative;
  overflow: hidden;
  width: 90%;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel img {
  width: 100%;
  height: 300px;
  flex: 0 0 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gold);
  color: white;
  border: none;
  width: 25px;
  height: 40px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 20%;
  transition: background 0.3s;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev { left: 15px; }
.carousel-btn.next { right: 15px; }

.menu-preview {
  width: 100%;
  height: 300px; /* puoi provare 300px o 350px se preferisci */
  background: url("file/images/menu-bg.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--white);
  text-align: center;
}

.menu-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4); /* overlay scuro per leggibilità */
}

.menu-content {
  position: relative;
  z-index: 1;
}

.menu-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--white); /* il tuo oro elegante */
}

.btn-menu {
  font-family: Arial, Helvetica, sans-serif;  
  display: inline-block;
  padding: 12px 28px;
  background: var(--white);
  color: var(--gold);
  border: 2px solid var(--gold);
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-menu:hover {
  background: var(--black);
  transform: scale(1.05);
}


/* SEZIONE CONTATTI */
.contatti {
  background: var(--white); /* verde elegante */
  color: #EBEDEB; 
  padding: 60px 20px;
  text-align: center;
}

.contatti-container {
  max-width: 800px;
}

.contatti-logo {

  max-width: 150px;
  margin-bottom: 20px;
}

.indirizzo {
  font-size: 1.2rem;
  padding-bottom: 20px;
  margin-bottom: 30px;
  color: var(--gold);
}

.orari-card {
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  background: #141414; /* nero attenuato */
  border: 1px solid #A88A48; /* bordo oro */
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  padding-bottom: 40px ;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.closed{
    color: var(--light-green);
}

.orari-card h3 {
  font-size: 1.5rem;
  color: #A88A48;
  margin-bottom: 24px;
}

.orari-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.orari-card li {
    margin-top: 14px;
  font-size: 1.1rem;
}

.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;
}


.map-section {
  text-align: center;
  padding: 60px 20px;
  background: var(--white);
}

.map-title {
  font-family: "Playfair Display", serif;
  color: var(--green);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;

}

.map-container {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
}


.site-footer {
  background-color: var(--black); /* verde principale */
  color: #EBEDEB; /* bianco principale */
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo img {
  width: 120px;
  margin-bottom: 10px;
}
.footer-logo p {
  font-size: 0.9rem;
  color: #9DBFAC;
}

.footer-links h3,
.footer-contacts h3 {
  color: #A88A48; /* oro */
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;

}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: #EBEDEB;
  text-decoration: none;
  transition: color 0.3s;
    margin-top: 10px;

}
.footer-links a:hover {
  color: #A88A48;
  transform: scale(1.05);
}

.footer-contacts p {
  margin: 5px 0;
  font-size: 0.9rem;
}

.footer-socials a img {
  
    margin-top: 20px;

  justify-content: flex-end;
  width: 24px;
  margin-right: 20px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s;
}
.footer-socials a:hover img {
  transform: scale(1.3);
  filter: invert(72%) sepia(47%) saturate(343%) hue-rotate(10deg) brightness(91%) contrast(92%);
}

.info-item{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
.icon{
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.footer-bottom {
  border-top: 1px solid #9DBFAC;
  margin-top: 30px;
  padding-top: 10px;
  text-align: center;
  font-size: 0.8rem;
  color: #9DBFAC;
}

/* Layout desktop */
@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
  }
  .footer-logo, .footer-links, .footer-contacts {
    flex: 1;
  }
}

.hero{
  margin: 0 auto;
  height: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-contacts a{
  padding-left: 5px;
  color: var(--white);
  text-decoration: none;
}