body {
  font-family: "Signika", sans-serif;
  font-weight: 400;
  position: relative;
}

section {
  scroll-margin-top: 120px;
}

h1,
h2,
h3,
h4,
.navbar-default .navbar-nav li a,
.navbar-default .navbar-nav > li > a:focus {
  color: #0277BD;
  font-family: "Chewy", cursive;
  font-weight: 400;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: transparent;
}
a:hover {
  text-decoration: none;
}
hr {
  border: 1px solid #0277BD;
  width: 100px;
}

img {
  max-width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .container {
    width: 700px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 900px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1000px;
  }
}

/* start all section */
.templatemo-section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}
/* end all section */

/* start nagivation */
.navbar-default {
  background: #ffffff;
  border: none;
  -webkit-box-shadow: 0 2px 8px 0 rgba(50, 50, 50, 0.08);
  box-shadow: 0 2px 8px 0 rgba(50, 50, 50, 0.08);
  margin: 0;
  padding: 0;
}
.navbar-default .navbar-brand {
  color: #0277BD;
  font-size: 40px;
  line-height: 35px;
}
.navbar-default .navbar-nav li a {
  line-height: 35px;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover {
  color: #555;
  background-color: transparent;
}
.navbar-default .navbar-toggle {
  border: none;
  padding-top: 10px;
}
.navbar-default .navbar-toggle .icon-bar {
  background: #0277BD;
  border-color: transparent;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: transparent;
}

.navbar .container .collapse {
  min-height: fit-content;
}
/* end navigation */

/* start flexslider */
.flexslider {
  margin-top: 114px;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  overflow: hidden;
}

.flex-direction-nav a {
  color: #444444;
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 3px;
  margin: -20px 0 0 0;
  text-align: center;
  line-height: 40px;
}

.flex-caption {
  position: absolute;
  top: 39%;
  width: 100%;
  text-align: center;
  z-index: 999;
  color: white;
}
.slider-title {
  font-size: 50px;
}
.slider-subtitle {
  color: #01579B;
}
.slider-title,
.slider-subtitle {
  font-size: 25px;
  text-transform: uppercase;
}
.slider-description {
  color: #01579B;
  font-size: 18px;
  line-height: 28px;
  padding-left: 200px;
  padding-right: 200px;
}
.no-js .slides > li:first-child {
  display: block;
}
.flexslider ul li {
  height: 100vh;
}
.flexslider ul li img {
  max-width: 100%;
  height: auto;

}

.flexslider .slides li img {
  opacity: .45;
}
.flexslider {
  margin: 0;
  position: relative;
  zoom: 1;
}

.flexslider .slides {
  zoom: 1;
}

.carousel li {
  margin-right: 5px;
}

/* Direction Nav */
.flex-direction-nav {
  height: 0;
}

.flex-direction-nav a {
  text-decoration: none;
  display: block;
  position: absolute;
  top: 55%;
  z-index: 10;
  overflow: hidden;
  opacity: 0;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.flex-direction-nav .flex-prev {
  left: -50px;
}

.flex-direction-nav .flex-next {
  right: -50px;
}

.flexslider:hover .flex-prev {
  opacity: 1;
  left: 30px;
}

.flexslider:hover .flex-next {
  opacity: 1;
  right: 30px;
}

.flexslider:hover .flex-next:hover,
.flexslider:hover .flex-prev:hover {
  opacity: 1;
}

.flex-direction-nav .flex-disabled {
  opacity: 0;
  filter: alpha(opacity=0);
  cursor: default;
}

.flex-direction-nav a:before {
  font-family: "FontAwesome";
  font-size: 24px;
  display: inline-block;
  content: "\f104";
}

.flex-direction-nav a.flex-next:before {
  content: "\f105";
}

/* Pause/Play */
.flex-pauseplay a {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 5px;
  left: 10px;
  opacity: 0.8;
  z-index: 10;
  overflow: hidden;
  cursor: pointer;
  color: #000;
}

.flex-pauseplay a:before {
  font-family: "flexslider-icon";
  font-size: 20px;
  display: inline-block;
  content: "\f004";
}

.flex-pauseplay a:hover {
  opacity: 1;
}

.flex-pauseplay .flex-play:before {
  content: "\f003";
}

/* Control Nav */
.flex-control-nav {
  width: 100%;
  position: absolute;
  bottom: -40px;
  text-align: center;
}

.flex-control-nav li {
  display: inline-block;
  zoom: 1;
}

.flex-control-paging li a {
  width: 11px;
  height: 11px;
  display: block;
  background: #666;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  text-indent: -9999px;
  border-radius: 20px;
  -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
}

.flex-control-paging li a:hover {
  background: #333;
  background: rgba(0, 0, 0, 0.7);
}

.flex-control-paging li a.flex-active {
  background: #000;
  background: rgba(0, 0, 0, 0.9);
  cursor: default;
}

.flex-control-thumbs {
  margin: 5px 0 0;
  position: static;
  overflow: hidden;
}

.flex-control-thumbs li {
  width: 25%;
  float: left;
  margin: 0;
}

.flex-control-thumbs img {
  width: 100%;
  display: block;
  opacity: 0.7;
  cursor: pointer;
}

.flex-control-thumbs img:hover {
  opacity: 1;
}

.flex-control-thumbs .flex-active {
  opacity: 1;
  cursor: default;
}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {
    opacity: 1;
    left: 10px;
  }

  .flex-direction-nav .flex-next {
    opacity: 1;
    right: 10px;
  }
}
.flexslider {
  padding: 65px 0 0 0;
}

.flexslider .slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
}

/* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {
  width: 100%;
  display: block;
}

.flex-pauseplay span {
  text-transform: capitalize;
}

/* Clearfix for the .slides element */
.slides:after {
  content: "\0020";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

html[xmlns] .slides {
  display: block;
}

* html .slides {
  height: 1%;
}
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus {
  outline: none;
}

.slides,
.flex-control-nav,
.flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}
/* end flexslider */

/* start about */
.padding-bottom-10 {
  padding-bottom: 10px;
}
.img-bordered {
  border: 2px solid #f2f2f2;
  padding: 14px;
}
/* end about */


/* start contact */
.map {
  height: 200px;
}
.google_map {
  padding: 0 1rem;
}
.google_map iframe {
  max-width: 100%;
}
.contact-fa {
  color: #202020;
  font-size: 18px;
  padding-right: 10px;
}
.contact-link {
  color: #f0a00e;
}

/* end contact */

/* start footer */
footer {
  background: #202020;
  border-bottom: 10px solid #ffffff;
  color: #ffffff;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
}
/* end footer */


/* Menu section */
.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #ccc;
  padding: 8px 0;
  font-size: 16px;
}

.menu-list .item {
  font-weight: 600;
  color: #202020;
}

.price {
  color: #0277BD;
  font-weight: bold;
}

.price-maxi {
  color: #0e5f90;
  font-size: 16px;
  font-weight: bold;
}

/* Modern menu cards */
.menu-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  margin-bottom: 8px;
  padding-bottom: 5px;
}

.menu-header-panzerotto {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: none;
  margin-bottom: 8px;
  padding-bottom: 5px;
}

.pizza-name {
  font-family: "Chewy", cursive;
  font-size: 22px;
  color: #0277BD;
  margin: 0;
}

.price {
  font-weight: bold;
  color: #f57c00;
  font-size: 18px;
}

.ingredients {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.4em;
}

/* Menu cards */
.menu-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}
.menu-card:hover {
  transform: translateY(-3px);
}

.price {
  font-weight: bold;
  color: #0277BD;
}

/* Sezioni */
.menu-category {
  margin-top: 40px;
}
.menu-category h3 {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: bold;
  color: #0277BD;
}

/* Sticky side tabs */
.side-tabs {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 8px 0 0 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  z-index: 1000;
  display: none;
}
.side-tabs ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.side-tabs ul li {
  margin: 0;
}
.side-tabs ul li a {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  color: #0277BD;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 1px solid #eee;
  transition: all 0.3s;
}
.side-tabs ul li a:hover {
  background: #0277BD;
  color: #fff;
}

.top-tabs {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 15%;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 999;
  display: none;
}

.top-tabs ul {
  display: flex;
  gap: .5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 1rem 0;
  list-style: none;
}

.top-tabs ul li {
  margin: 0 .5rem;
}

.top-tabs ul li a {
  display: block;
  padding: 8px 16px;
  background: #0277BD;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.top-tabs ul li a:hover {
  background: #f57c00;
  color: #fff;
}

/* Reviews slider */
#reviews {
  max-height: 50vh;
}

.reviews-slider {
  position: relative;
}

.reviews-slider .flex-direction-nav {
  display: none !important;
}

.review-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 25px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  max-width: 700px;
}
.review-card .stars {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 15px;
}
.review-card p {
  font-size: 16px;
  color: #444;
  line-height: 1.6em;
}

@media only screen and (max-width: 360px) {
  .navbar-default .navbar-brand {
    padding-top: 6px;
  }
  .img-about {
    margin-top: 40px;
  }

  .top-tabs {
    height: 20vh;
  }

  #reviews {
    height: 80vh;
    max-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .flexslider {
    margin-top: 0;
    padding-top: 10vh;
    height: 100vh;
  }
}

@media only screen and (max-width: 420px) {

  #reviews {
    height: 100vh;
    max-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .flexslider {
    margin-top: 0;
    padding-top: 10vh;
    height: 100vh;
  }
}

@media only screen and (max-width: 960px) {
  .flex-caption {
    top: 20%;
  }
  .slider-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .slider-description {
    font-size: 16px;
    margin: 0 auto;
    padding-left: 100px;
    padding-right: 100px;
  }
}
@media only screen and (max-width: 768px) {
  .navbar-default .navbar-brand {
    font-size: 35px;
    padding-top: 10px;
  }
}
@media only screen and (max-width: 760px) {
  .flexslider {
    padding: 50px 0 0 0;
    height: 100vh;
  }
  .flexslider .slides {
    height: 100%;
  }
  .flexslider .slides li {
    height: 100%;
  }
  .flexslider .slides li img {
    height: 100%;
    opacity: .45;
  }
  .flex-caption {
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .flex-caption h2 {
    font-size: 5rem;
  }
  .flex-caption h3 {
    margin-bottom: 3rem;
  }
  .flex-caption p {
    font-size: 2.5rem;
  }

  .flex-direction-nav a {
    top: 60%;
  }
  .templatemo-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}
