/*

Eatery Cafe Template 

http://www.templatemo.com/tm-515-eatery

*/

  @import url('https://fonts.googleapis.com/css?family=Montserrat:400,700');

  body {
    background: #ffffff;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
  }



  /*---------------------------------------
     TYPOGRAPHY              
  -----------------------------------------*/

  h1,h2,h3,h4,h5,h6 {
    font-weight: bold;
    line-height: inherit;
  }

  h1 {
    color: #252525;
    font-size: 3em;
    line-height: 50px;
  }

  h2 {
    color: #353535;
    font-size: 2em;
    padding-bottom: 10px;
  }

  h3 {
    font-size: 1.5em;
    margin-bottom: 0;
  }

  h3,
  h3 a {
    color: #454545;
  }

  p {
    color: #ffffff;
    font-size: 14px;
    font-weight: normal;
    line-height: 24px;
  }



  /*---------------------------------------
     GENERAL               
  -----------------------------------------*/

  html{
    -webkit-font-smoothing: antialiased;
  }

  a {
    color: #252525;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    text-decoration: none !important;
  }

  a:hover, a:active, a:focus {
    color: #ce3232;
    outline: none;
  }

  ::-webkit-scrollbar{
    width: 8px;
    height: 8px;
  }

  ::-webkit-scrollbar-thumb {
    cursor: pointer;
    background: #000000;
  }

  .section-title {
    padding-bottom: 40px;
    margin-top: 20px;
  }

  .section-title h2 {
    margin: 0;
  }

  .section-title h4 {
    color: #bfbdbd;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0;
  }

  .overlay {
    background: rgba(0,0,0,0.5);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  section {
    position: relative;
    padding: 0 101px 0 101px;
  }

  #team, 
  #menu,
  #testimonial {
    text-align: center;
  }

  .about-image img,
  .team-thumb img {
    width: 100%;
  }
  
  #google-map iframe {
    border: 0;
    width: 100%;
    height: 390px;
  }



  /*---------------------------------------
     BUTTONS               
  -----------------------------------------*/

  .section-btn {
    background: #ce3232;
    border-radius: 0;
    border: 0;
    color: #f9f9f9;
    font-size: inherit;
    font-weight: normal;
    padding: 10px 25px;
    transition: 0.5s 0.2s;
  }



  /*---------------------------------------
       PRE LOADER              
  -----------------------------------------*/

  .preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background: none repeat scroll 0 0 #ffffff;
  }

  .spinner {
    border: 1px solid transparent;
    border-radius: 3px;
    position: relative;
  }

  .spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 45px;
    height: 45px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 1px solid #575757;
    border-top-color: #ffffff;
    animation: spinner .9s linear infinite;
  }

  @-webkit-@keyframes spinner {
    to {transform: rotate(360deg);}
  }

  @keyframes spinner {
    to {transform: rotate(360deg);}
  }



  /*---------------------------------------
      MENU              
  -----------------------------------------*/

  .custom-navbar {
    border: none;
    margin-bottom: 0;
    padding: 12px 0;
  }

  .custom-navbar .navbar-brand {
    color: #a34a4a;
    font-size: 18px;
    font-weight: bold;
  }

  .custom-navbar .navbar-brand span {
    color: #ce3232;
  }

  .top-nav-collapse {
    background: #ffffff;
  }

  .custom-navbar .navbar-nav.navbar-nav-first {
    margin-left: 8em;
  }

  .custom-navbar .navbar-nav.navbar-right li a {
    padding-right: 12px;
    padding-left: 12px;
  }

  .custom-navbar .navbar-nav.navbar-right .section-btn {
    display: inline-block;
    margin: 0.2em 0 0 1em;
  }

  .custom-navbar .navbar-nav.navbar-right .section-btn:hover {
    background: #292929;
    color: #ffffff;
  }

  .custom-navbar .navbar-nav.navbar-right .section-btn:focus {
    color: #ffffff;
  }

  .custom-navbar .navbar-nav.navbar-right .section-btn a {
    padding: 10px 25px;
  }

  .custom-navbar .nav .section-btn a:hover {
    color: #ffffff;
  }

  .custom-navbar .nav li a {
    font-size: 12px;
    font-weight: bold;
    color: #5a5555;
    padding-right: 22px;
    padding-left: 22px;
    text-transform: uppercase;
  }

  .custom-navbar .nav li a:hover {
    background: transparent;
    color: #ce3232;
  }

  .custom-navbar .navbar-nav > li > a:hover,
  .custom-navbar .navbar-nav > li > a:focus {
    background-color: transparent;
  }

  .custom-navbar .nav li.active > a {
    background-color: transparent;
    color: #ce3232;
  }

  .custom-navbar .navbar-toggle {
    border: none;
    padding-top: 10px;
  }

  .custom-navbar .navbar-toggle {
    background-color: transparent;
  }

  .custom-navbar .navbar-toggle .icon-bar {
    background: #252525;
    border-color: transparent;
  }

  @media(min-width:768px) {
    .custom-navbar {
      border-bottom: 0;
      background: 0 0; 
    }

    .custom-navbar.top-nav-collapse {
      
      -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      padding: 12px 0;
    }

    .top-nav-collapse .navbar-brand {
      color: #454545;
    }

    .top-nav-collapse .nav li a {
      color: #575757;
    }

    .top-nav-collapse .nav .section-btn a {
      color: #ffffff;
    }
  }


  /*---------------------------------------
      HOME              
  -----------------------------------------*/

  #home {
    
    width: 100vw;
    margin: 0;
  }

  #home h1 {
    color: #ffffff;
    padding-bottom: 30px;
  }

  #home h3 {
    color: #ffffff;
    font-size: 14px;
    line-height: inherit;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
  }

  @media (min-width: 768px) {
    .slider .col-md-8 {
      padding-left: 0;
    }
  }

  .slider .owl-dots {
    position: absolute;
    top: 50%;
    right: 2em;
    justify-content: center;
  }

  .owl-theme .owl-dots .owl-dot {
    display: block;
  }

  .owl-theme .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 7px 10px;
    border: 2px solid #d9d9d9;
    background: transparent;
    display: block;
    -webkit-backface-visibility: visible;
    transition: opacity 200ms ease;
    border-radius: 30px;
  }

  .owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background-color: #ffffff;
    border-color: transparent;
  }

  .slider .caption {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: left;
    background-color: rgba(20,20,20,0.2);
    height: 100%;
    color: #fff;
    cursor: e-resize;
    padding: 4em 0 0 2em;
  }

  .slider .item {
    background-position: inherit;
    background-repeat: no-repeat;
    background-attachment: local;
    background-size: cover;
    height: 650px;
  }

  .slider .item-first {
    background-image: url(../images/reisetipp_oberammergau.png);
  }

  .slider .item-second {
    background-image: url(../images/slider-image2.jpg);
  }

  .slider .item-third {
    background-image: url(../images/slider-image3.jpg);
  }

  .slider .item-second .section-btn {
    background: #292929;
  }

  .slider .item-second .section-btn:hover {
    background: #ffffff;
  }

  .slider .item-third .section-btn {
    background: transparent;
    border: 1px solid #ffffff;
  }

  .slider .item-third .section-btn:hover,
  .slider .item-third .section-btn:focus {
    background: #ce3232;
    border-color: transparent;
    color: #ffffff;
  }



  /*---------------------------------------
      ABOUT              
  -----------------------------------------*/

  

  /*---------------------------------------
      TEAM              
  -----------------------------------------*/

  #team {
    background: #f9f9f9;
  }

  .team-thumb {
    position: relative;
    overflow: hidden;
    cursor: pointer;
  }

  .team-info {
    padding: 10px 30px 20px 30px;
  }

  .team-thumb .team-hover {
    position: absolute;
    background: #1c1c1c;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: 0.5s 0.2s;
  }

  .team-thumb:hover .team-hover {
    opacity: 0.95;
    transition-delay: 0.3s;
    transform: translateY(0);
  }

  .team-thumb img {
    transition: 0.5s 0.2s;
  }

  .team-thumb:hover img {
    transform: scale(1.2);
  }

  .team-thumb .social-icon li a {
    background: #292929;
    border-radius: 100%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    color: #d9d9d9;
    font-size: 20px;
    margin: 15px 5px 0 5px;
  }

  .team-thumb .team-item {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
  }

  .team-item h4 {
    color: #ffffff;
  }

  .team-info p {
    color: #bfbdbd;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 5px;
  }



  /*---------------------------------------
MENU              
  -----------------------------------------*/

  #menu {
    padding-bottom: 100px;
  }

  #menu .container {
    width: 100%;
  }

  #menu .col-md-4 {
    margin: 0;
    padding: 0;
  }

  .menu-thumb img {
    width: 100%;
    transition: 0.5s;
  }

  .menu-thumb:hover img {
    transform: scale(1.15);
  }

  #menu .menu-thumb {
    overflow: hidden;
    position: relative;
    cursor: pointer;
    width: 102%;
  }

  .menu-thumb .menu-info {
    position: absolute;
    top: 60%;
    left: 0px;
    right: 0px;
    bottom: 0px;
    text-align: left;
    padding: 25px 30px;
    transition: 0.5s 0.2s;
  }

  .menu-info .menu-item {
    float: left;
  }

  .menu-info .menu-price {
    float: right;
    margin-top: 74px;
  }

  .menu-info .menu-price span {
    font-size: 20px;
    font-weight: bold;
    line-height: normal;
    display: block;
    margin-top: 10px;
  }

  .menu-thumb .menu-info h3,
  .menu-thumb .menu-info p,
  .menu-thumb .menu-info span {
    opacity: 1;
    display: block;
    transition: 0.5s 0.2s;
    color: #ffffff;
    z-index: 2;
    position: relative;
    font-size: 18px;
  }

  .menu-thumb .menu-info h3 {
    margin-top: 0;
    margin-bottom: 20px;
  }

  .menu-thumb .menu-info p {
    color: #d9d9d9;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
  }




  /*---------------------------------------
      TESTIMONIAL             
  -----------------------------------------*/

  #testimonial {
    background: url('../images/testimonial-bg.jpg') center center no-repeat;
    background-size: cover;
  }

  #testimonial .owl-dots {
    position: relative;
    top: 0;
    right: 0;
    justify-content: center;
  }

  #testimonial .owl-theme .owl-dots .owl-dot,
  #testimonial .owl-theme .owl-dots .owl-dot span {
    display: inline-block;
  }

  #testimonial .owl-theme .owl-dots .owl-dot span {
    margin: 20px 5px;
  }

  #testimonial h2 {
    color: #ffffff;
  }

  #testimonial p,
  .tst-author h4,
  .tst-author span {
    display: inline;
  }

  #testimonial p {
    color: #d9d9d9;
    font-size: 20px;
    line-height: 35px;
  }

  .tst-author {
    margin-top: 20px;
  }

  .tst-author h4,
  .tst-author span {
    color: #b2b2b2;
  }

  .tst-author span {
    margin-left: 5px;
  }



  /*---------------------------------------
      CONTACT             
  -----------------------------------------*/

  #contact .section-title {
    padding-bottom: 0;
  }

  #contact .text-success,
  #contact .text-danger {
    display: none;
  }

  #contact .form-control {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #dddddd;
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 15px;
    transition: all ease-in-out 0.4s;
  }

  #contact .form-control:hover,
  #contact .form-control:focus {
    border-bottom-color: #c9c9c9;
  }

  #contact input {
    height: 55px;
  }

  #contact button#cf-submit {
    background: #ce3232;
    border-radius: 0;
    border: 0;
    color: #ffffff;
    font-weight: bold;
    height: 50px;
  }

  #contact button#cf-submit:hover {
    background: #292929;
    color: #ffffff;
  }



  /*---------------------------------------
     FOOTER              
  -----------------------------------------*/

  footer {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 120px 0;
    padding-bottom: 80px;
  }

  footer .section-title {
    padding-bottom: 10px;
  }

  footer h2 {
    font-size: 20px;
  }

  footer a,
  footer p {
    color: #909090;
  }

  footer strong {
    color: #d9d9d9;
  }

  footer address p {
    margin-bottom: 0;
  }

  .footer-info,
  footer .social-icon {
    margin-top: 20px;
  }

  .footer-open-hour {
    background: #ce3232;
    background: url('../images/footer-open-hour-bg.jpg') center center no-repeat;
    background-size: cover;
    border-radius: 20px;
    margin-top: 0;
    padding: 40px 0 40px 80px;
    overflow: hidden;
    position: relative;
    z-index: 22;
    right: 20px;
    bottom: 20px;
  }

  .footer-open-hour::after {
    background: rgba(29,29,29,0.85);
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2222;
  }

  .footer-open-hour h2 {
    color: #ffffff;
  }

  .footer-open-hour p {
    color: #d9d9d9;
  }

  .footer-open-hour strong {
    color: #f9f9f9;
  }



  /*---------------------------------------
     SOCIAL ICON              
  -----------------------------------------*/

  .social-icon {
    position: relative;
    padding: 0;
    margin: 0;
  }

  .social-icon li {
    display: inline-block;
    list-style: none;
    margin-bottom: 5px;
  }

  .social-icon li a {
    border-radius: 100px;
    color: #ce3232;
    font-size: 15px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-decoration: none;
    text-align: center;
    transition: all 0.4s ease-in-out;
    position: relative;
  }

  .social-icon li a:hover {
    background: #ce3232;
    color: #ffffff;
  }



  /*---------------------------------------
     RESPONSIVE STYLES              
  -----------------------------------------*/

  @media screen and (max-width: 1170px) {
    .custom-navbar .navbar-nav.navbar-nav-first {
      margin-left: inherit;
    }
  }


  @media only screen and (max-width: 1200px) {
    .about-info {
      padding-right: 0;
    }

    .about-image {
      position: relative;
    }
  }


  @media only screen and (max-width: 992px) {
    section {
      padding: 19px 0;
    }

    .custom-navbar .section-btn {
      margin-left: 1em;
    }

    .slider .item {
      background-position: center;
    }

    .about-info {
      padding: 0;
    }

    .team-info {
      margin-bottom: 50px;
    }

    #menu .menu-thumb {
      width: 103%;
    }

    #testimonial {
      background-position: 50% 0 !important;
    }

    #google-map,
    .footer-info {
      margin-bottom: 50px;
    }
  }


  @media only screen and (min-width: 768px) and (max-width: 991px) {
    .custom-navbar .nav li a {
      padding-right: 10px;
      padding-left: 10px;
    }
  }

  @media only screen and (max-width: 767px) {
    h1 {
      font-size: 2.5em;
    }

    h1,h2,h3 {
      line-height: normal;
    }

    .custom-navbar {
      background: #ffffff;
      -webkit-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      -moz-box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
      padding: 10px 0;
      text-align: center;
    }

    .custom-navbar .nav li a {
      line-height: normal;
      padding: 10px;
    }

    .custom-navbar .navbar-brand,
    .top-nav-collapse .navbar-brand {
      color: #252525;
      font-weight: 600;
    }

    .custom-navbar .nav li a,
    .top-nav-collapse .nav li a {
      color: #575757;
    }

    .custom-navbar .navbar-nav.navbar-right li {
      display: inline-block;
    }

    .custom-navbar .navbar-nav.navbar-right .section-btn {
      display: block !important;
      width: 50%;
      margin: 10px auto 10px auto;
      padding: 10px;
    }

    .custom-navbar .section-btn a {
      color: #ffffff !important;
    }

    .slider .caption {
      padding: 0;
    }

    .menu-thumb .menu-info {
      top: 80%;
    }

    footer {
      padding: 60px 0;
      padding-bottom: 60px;
    }

    .footer-open-hour {
      right: 0;
      bottom: 0;
      margin-top: 30px;
    }
  }


  @media only screen and (max-width: 580px) {
    h1 {
      font-size: 2.1em;
    }

    h2 {
      font-size: 1.8em;
    }

    .menu-thumb .menu-info {
      top: 60%;
    }
  }



.image-grid-wrapper {
  display: flex;
  width: 100%;
  height: 100vh; 
  gap: 20px;
  padding: 20px;
  box-sizing: border-box;
}

.left-images {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.top-small-pair {
  display: flex;
  gap: 20px;
  height: calc(100% / 2); 
}

.top-small-pair .small-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 50px;
}

.big-image {
  height: calc(100% * 3 / 3); 
  position: relative;
  overflow: hidden;
  border-radius: 50px;
}

.small-images {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.small-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 50px;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Подписи */
.caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 25px 25px;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
}

.caption h1,
.caption h3,
.caption p {
  margin: 0;
  line-height: 1.2;
}

.caption h1 {
  font-size: 20px;
  font-weight: 600;
}

.caption h3 {
  font-size: 16px;
  font-weight: 500;
}

.caption p {
  font-size: 14px;
  font-weight: 400;
}
@media (max-width: 768px) {
  .image-grid-wrapper {
    flex-direction: column;
    height: auto;
    padding: 10px;
    gap: 10px;
  }

  .left-images,
  .top-small-pair,
  .small-images {
    flex: unset;
    flex-direction: column;
    gap: 10px;
  }

  .top-small-pair {
    height: auto;
    flex-direction: column;
  }

  .top-small-pair .small-image,
  .big-image,
  .small-image {
    height: 200px; 
    border-radius: 20px;
  }

  .caption {
    padding: 10px 15px;
    font-size: 14px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  .caption h1 {
    font-size: 16px;
  }

  .caption h3 {
    font-size: 14px;
  }

  .caption p {
    font-size: 12px;
  }
}


.bg {
  background: linear-gradient(135deg, #A47149 0%, #6B8F71 50%, #A65F5F 100%);
  color: white;
}


section.navbar.custom-navbar {
  margin: 0 auto;     
  padding: 10px 20px;
  
}

section.navbar.custom-navbar a,
section.navbar.custom-navbar .navbar-brand {
  color: white !important;
}

section.navbar.custom-navbar a:hover,
section.navbar.custom-navbar a:focus {
  color: #f0c040 !important; 
}

section.navbar.custom-navbar .navbar-toggle .icon-bar {
  background-color: white;
}
.navbar-fixed-top {
  position: static !important;
}


.about-section {
  padding: 150px 20px;
  background-color: #fefefe;
}

.about-header {
  text-align: center;
  margin-bottom: 40px;
}

.about-header h2 {
  font-size: 42px;
  color: #8b0000;
  margin: 0;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-text {
  flex: 1 1 50%;
  min-width: 300px;
}

.about-text p {
  font-size: 18px;
  line-height: 1.7;
  color: #333;
}

.restaurant-name {
  font-size: 20px;
  color: #8b0000;
  font-weight: bold;
}

.about-image {
  flex: 1 1 40%;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-header h2 {
    font-size: 32px;
  }

  .about-text p {
    font-size: 16px;
  }

  .restaurant-name {
    font-size: 18px;
  }

  .about-image {
    margin-top: 20px;
  }
}

.row {
    margin-right: 0px;
    margin-left: 0px; }

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
  
}

.about-text {
  flex: 1 1 50%;
  min-width: 300px;
}

.about-gallery {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 320px;
  margin: 0 auto;
}

.gallery-photo {
  position: absolute;
  width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: transform 0.4s ease, z-index 0.2s;
  cursor: pointer;
}

.photo-1 {
  top: -23px;
  left: 0px;
  
}
.photo-2 {
  top: 30px;
  left: 74px;
  
}
.photo-3 {
  top: 60px;
  left: 150px;
  
}
.photo-4 {
  top: 90px;
  left: 230px;
  
}
.photo-5 {
  top: 120px;
  left: 336px;

}


.gallery-photo:hover {
  z-index: 10;
  transform: scale(1.5) rotate(0deg);
}

@media (max-width: 768px) {
  .about-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    height: 587px;
    position: static;
    padding: 20px 10px;
  }
  .about-text {
    flex: 1 1 50%;
    min-width: 282px;
}
  .about-section {
    padding: 15px 20px;
    background-color: #fefefe;
}
  .gallery-photo {
    position: static;
    width: 45%;
    height: auto;
    aspect-ratio: 3 / 2; 
    object-fit: cover;
    border-radius: 10px;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
  }

  .gallery-photo:hover {
    transform: scale(1.48);
    z-index: 10;
  }

  .photo-1, .photo-2, .photo-3, .photo-4, .photo-5 {
    top: auto;
    left: auto;
  }

  .photo-1, .photo-2, .photo-3 {
    order: 1;
  }

  .photo-4, .photo-5 {
    order: 2;
  }
}


.second-section {
  margin-top: 107px;
}
.third-section {
  margin-top: 107px;
}
.fourth-section {
  margin-top: 107px;
}
.small-gallery {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 320px;
  margin: 0 auto;
}

.photo-a1 {
  position: absolute;
  top: 0px;
  left: 0px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.photo-a2 {
  position: absolute;
  top: 50px;
  left: 119px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.photo-a3 {
  position: absolute;
  top: 100px;
  left: 262px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Hover эффект */
.photo-a1:hover,
.photo-a2:hover,
.photo-a3:hover {
  z-index: 10;
  transform: scale(1.5) rotate(0deg);
}

/* Стили для мобильных, планшетов и небольших ноутбуков */
@media (max-width: 1200px) {
  .second-section {
    flex-direction: column-reverse;
    align-items: center;
    margin-top: 10px;
  }

  .third-section {
    margin-top: 45px;
  }

  .fourth-section {
    margin-top: 45px;
  }

  .small-gallery {
    width: 100%;
    height: auto; /* подстраивается под контент */
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    position: static;
  }

  .photo-a1,
  .photo-a2,
  .photo-a3 {
    position: static;
    width: 94%;
    height: auto;
    aspect-ratio: 4 / 3;
    transform: none;
    transition: transform 0.3s ease; /* плавная анимация */
  }

  .photo-a1:hover,
  .photo-a2:hover,
  .photo-a3:hover {
    transform: scale(1.15);
  }
}

.beer-gallery {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 360px;
  margin: 0 auto;
}

.beer-gallery .gallery-photo {
  position: absolute;
    width: 257px;
    height: 342px;
    object-fit: cover;
    cursor: pointer;
    transform: scale(1);
}

.beer-photo-1 {
  top: 0px;
  left: -148px;
  transform: rotate(-2deg);
}

.beer-photo-2 {
  top: 0px;
  left: 20px;
  transform: rotate(1deg);
}

.beer-photo-3 {
  top: 0px;
  left: 159px;
  transform: rotate(-1.5deg);
}

.beer-photo-4 {
  top: 0px;
  left: 300px;
  transform: rotate(2deg);
}

.beer-photo-5 {
  top: 0px;
  left: 400px;
  transform: rotate(-1deg);
}

.beer-photo-6 {
  top: 0px;
  left: 500px;
  transform: rotate(1.5deg);
}

.beer-photo-7 {
  top: 0px;
  left: 600px;
  transform: rotate(-2deg);
}

.beer-photo-8 {
  top: 0px;
  left: 700px;
  transform: rotate(1deg);
}

.beer-photo-9 {
  top: 0px;
  left: 800px;
  transform: rotate(-1deg);
}

.beer-photo-10 {
  top: 0px;
  left: 900px;
  transform: rotate(2deg);
}



/* Hover эффект */
.beer-gallery .gallery-photo:hover {
  z-index: 10;
  transform: scale(1.15);
}
@media (max-width: 768px) {
  .beer-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    position: static;
    height: auto;
    padding: 20px 0;
    box-sizing: border-box;
  }

  .beer-gallery .gallery-photo {
    position: static;
    width: 45%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.3s ease;
  }

  .beer-gallery .gallery-photo:hover {
    transform: scale(1.05);
  }

  .img_h {
    height: 398px;
    object-fit: cover;
  }
}

.img_h{
  height: 760px;
}
.menu-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
  font-family: Arial, sans-serif;
  color: #333;
}

.menu-section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #222;
}

.menu-cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* Каждая карточка занимает примерно половину контейнера минус отступ */
.menu-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: calc(50% - 15px);
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 16px; /* Увеличенный шрифт */
}

/* Для последней карточки — сделать центрированной и шириной 50% */
.menu-card:nth-child(9) {
  margin-left: auto;
  margin-right: auto;
}

.menu-card h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111;
}

.menu-icon {
  width: 50px;
  height: auto;
  margin-bottom: 20px;
}

.menu-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: left;
}

.menu-card ul li {
  margin-bottom: 15px;
  line-height: 1.5;
  position: relative;
  padding-left: 40px;
}

.menu-card ul li span:first-child {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: #8b0000;
  font-size: 20px;
}

.menu-card ul li span:last-child {
  float: right;
  font-weight: 700;
  color:#8b0000;
  font-size: 20px;
}


@media (max-width: 768px) {
  .menu-card {
    width: calc(50% - 15px);
    font-size: 12px;
  }
  .menu-card ul li span:first-child {
    font-size: 14px;
}
.menu-card ul li span:last-child {
  font-size: 14px;
}

}

@media (max-width: 480px) {
  .menu-card {
    width: 100%;
  }
}

:root {
    --ella-header-h: 90px;               /* выше свернутый хедер */
    --ella-header-expanded-max: 450px;   /* max при раскрытии */
    --ella-gap: 26px;                    /* расстояние между элементами */
    --ella-padding-x: 40px;              /* боковые отступы */
  }
  html { scroll-behavior: smooth; }
  /* ====== Хедер ====== */
  .ella-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #A47149 0%, #6B8F71 50%, #A65F5F 100%);
    color: #fff;
    overflow: hidden;
    transition: max-height 320ms cubic-bezier(.2,.9,.3,1);
    max-height: var(--ella-header-h);
    box-sizing: border-box;
    z-index: 1000;
  }
  .ella-header.expanded {
    max-height: var(--ella-header-expanded-max);
  }

  /* Верхняя полоса */
  .ella-header-top {
    height: var(--ella-header-h);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--ella-gap);
    padding: 0 var(--ella-padding-x);
  }

  /* Логотип */
  .ella-logo {
    font-family: 'Georgia', serif;
    font-size: 2rem; /* крупнее */
    font-weight: bold;
    letter-spacing: 1px;
  }

  /* Desktop nav */
  .ella-nav.desktop-nav {
    display: flex;
    gap: 24px;
  }
  .ella-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 180ms;
  }
  .ella-nav a:hover {
    background: rgba(255,255,255,0.08);
  }

  /* ===== Бургер ===== */
  .ella-burger {
    display: none;
  }
  .ella-burger button {
    display: inline-flex
;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    flex-direction: column;
}
  .ella-burger .bar {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: transform 300ms ease, opacity 200ms ease;
  }
  .ella-burger .bar + .bar {
    margin-top: 6px;
  }

  /* Крестик при открытии */
  .ella-header.expanded .ella-burger .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .ella-header.expanded .ella-burger .bar:nth-child(2) {
    opacity: 0;
  }
  .ella-header.expanded .ella-burger .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* Мобильное меню внутри хедера */
  .ella-nav.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 20px var(--ella-padding-x) 30px;
  }
  .ella-header.expanded .ella-nav.mobile-nav {
    display: flex;
  }
  .ella-nav.mobile-nav a {
    padding: 14px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
  }


 
#flipbook {
      width: 100%;
      aspect-ratio: calc(2 / var(--ratio));
      background: #222;
      box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
      margin: 0 auto;
      overflow: hidden;
      border-radius: 12px;
    }


    #flipbook .page {
      background: #fff;
      overflow: hidden;
    }

    #flipbook .page img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      /* или 'contain', если важны поля/рамки */
      display: block;
    }

    /* Кнопки навигации */
    .controls {
      display: flex;
      gap: 8px;
      justify-content: center;
      align-items: center;
      margin-top: 12px;
      flex-wrap: wrap;
    }

    .btn {
      padding: 8px 14px;
      border: 0;
      border-radius: 10px;
      background: #fff;
      color: #111;
      cursor: pointer;
      font-weight: 600;
    }

    .btn[disabled] {
      opacity: .5;
      cursor: not-allowed;
    }

    /* Мобильная адаптация: single-page — уже в JS, но высоту сохраним */
    @media (max-width: 768px) {
      #flipbook {
        aspect-ratio: calc(1 / var(--ratio));
      }
    }
 /* ===== Адаптив для хедера ===== */
@media (max-width: 1200px) {
  .ella-nav.desktop-nav {
    display: none; /* скрываем десктопное меню */
  }
  .ella-burger {
    display: block; /* показываем бургер */
  }
}

@media (min-width: 1201px) {
  .ella-header {
    max-height: none; /* убираем ограничение высоты на десктопах */
  }
  .ella-header-spacer {
    height: calc(var(--ella-header-h) + 6px); /* запас для отступа под фиксированный хедер */
  }
}
@media (max-width: 480px) {
 .menu-thumb .menu-info h3, .menu-thumb .menu-info p, .menu-thumb .menu-info span {
    font-size: 14px;
}
.menu-thumb .menu-info {
    padding: 14px;
}

.menu-thumb .menu-info h3 {
    margin-bottom: 0;
    font-weight: normal;
}
    .menu-thumb .menu-info {
        top: 40%;
    }
    .menu-info .menu-price {
      margin-top: 0;
  }
  .menu-info .menu-price span {
    font-weight: 500;
}
  }
@media (max-width: 380px) {
 

      .about-gallery {
        padding: 20px 0;
    }
    .third-section .about-gallery, #ueber .ueber-gal.about-gallery{
      height: 320px;
  }
  .footer-open-hour {
    padding: 40px 0 40px 40px;
}
}
