* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

.site-wrapper {
  position: relative;
  width: 100%;
  overflow: clip;
}

:root {
    --scrolling-banner-height: 0px;
    --header-height: 80px;
    --nav-height-base: 50px;
    --logo-base-height: 170px;
    --logo-calculated-height: var(--logo-base-height);
    --total-fixed-header-height: calc(var(--scrolling-banner-height) + var(--header-height) + var(--nav-height-base));
    --sticky-menu-nav-actual-height: 50px;
}

body {
  font-family: 'Ubuntu', sans-serif;
  padding-top: var(--total-fixed-header-height);
  background-color: #0d0d0d;
  color: #f0f0f0;
  line-height: 1.6;
}

header {
    background-color: #1a1a1a;
    padding: 0;
    border-bottom: 2px solid #3a3a3a;
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
}

.header-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 8px 15px;
    background-color: #1a1a1a;
    color: #d2ffb3;
    font-size: 14px;
    flex-wrap: wrap;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
}

nav {
    background-color: #2e2e2e;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 15px 10px;
    gap: 15px;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 999;
    margin-top: 0;
    height: var(--nav-height-base);
}

nav a {
    color: #b5d63b;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #b5d63b;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s, padding 0.3s;
    font-size: 0.9em;
    white-space: nowrap;
    flex-grow: 0;
    flex-shrink: 1;
}

nav a:hover {
    background-color: #b5d63b;
    color: #0d0d0d;
}

.floating-logo {
    position: fixed;
    left: clamp(4px, 1.5vw, 28px);
    z-index: 1001;
    width: auto;
    height: auto;
    top: calc(var(--header-height) / 2 + var(--nav-height-base) / 2 + 5px);
    transform: translateY(-50%);
    transition: top 0.3s ease;
}

.floating-logo img {
    height: var(--logo-calculated-height);
    max-height: 15vh;
    min-height: 40px;
    width: auto;
    transition: height 0.3s ease, max-height 0.3s ease;
}

h2{
    color:#b5d63b;
    text-align:center;
    margin:0 0 25px 0;
    font-size:1.9em;
}

p{margin-bottom:15px;color:#f0f0f0;}
ul{margin-bottom:15px;padding-left:20px;}
li{margin-bottom:8px;}
a{color:#b5d63b;text-decoration:none;}
a:hover{text-decoration:underline;}

section{
    padding:30px 25px;
    margin:0 auto 25px auto;
    max-width:75%;
    width:90%;
    border-radius:4px;
}



#info,#services,#prices,#menu,#gallery,#reviews,#booking,#contacts,#news{background-color:#0d1f14;}

#home{
    padding:0;
    background-color:transparent;
    box-shadow:none;
    max-width:none;
    width:100%;
    height:calc(100vh - var(--total-fixed-header-height));
    margin:0;
    border-radius:0;
}

.slideshow-container{
    width:100%;
    height:100%;
    position:relative;
    margin:0;
    overflow:hidden;
    background-color:#1a1a1a;
}

.slide{
    display:none;
    position:absolute;
    width:100%;
    height:100%;
    text-align:center;
    opacity:0;
    transition:opacity 1s ease-in-out;
}
.slide.active{display:block;opacity:1;}
.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    transform:scale(1);
    transition:transform 5s linear;
}
.slide.active.zoomed img{transform:scale(1.15);}

.slide .slide-caption{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    text-align:center;
    z-index:10;
    width:90%;
    max-width:900px;
    padding:10px;
}

.slide .slide-caption h1{
    margin:0;
    color:#b5d63b;
    font-size:4.5em;
    font-weight:bold;
    line-height:1.2;
    text-shadow:2px 2px 4px #000, 0 0 10px rgba(181,214,59,0.3);
    white-space:nowrap;
}

.slide .slide-caption .slide-button{
    display:inline-block;
    margin-top:30px;
    padding:12px 28px;
    color:#b5d63b;
    background:transparent;
    border:2px solid #b5d63b;
    border-radius:5px;
    text-decoration:none;
    font-size:1.1em;
    font-weight:bold;
    text-transform:uppercase;
    letter-spacing:1px;
    transition:background-color .3s,color .3s,transform .2s;
}
.slide .slide-caption .slide-button:hover,.slide .slide-caption .slide-button:focus{
    background:#b5d63b;
    color:#0d0d0d;
    transform:translateY(-2px);
}

form{max-width:600px;margin:0 auto;}
form label{display:block;margin-bottom:6px;font-weight:bold;color:#f0f0f0;}
form input,form textarea{
    width:100%;
    padding:12px;
    margin-top:5px;
    margin-bottom:18px;
    border:1px solid #3a3a3a;
    border-radius:5px;
    background:#1a1a1a;
    color:#f0f0f0;
    font-family:'Ubuntu',sans-serif;
    font-size:1em;
}
form input:focus,form textarea:focus{
    border-color:#b5d63b;
    outline:none;
    box-shadow:0 0 0 .2rem rgba(181,214,59,.25);
}
form textarea{resize:vertical;min-height:100px;}
form button{
    width:100%;
    padding:12px 20px;
    margin-top:5px;margin-bottom:15px;
    border:none;border-radius:5px;
    background:#b5d63b;color:#0d0d0d;font-weight:bold;cursor:pointer;
    transition:background-color .3s,color .3s;
    font-family:'Ubuntu',sans-serif;font-size:1.1em;
}

.map-container{margin-top:25px;position:relative;overflow:hidden;padding-top:45%;border-radius:10px;}
.map-container iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:none;}

html{scroll-behavior:smooth;}

.menu-nav-sticky {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background: #1a1a1a;
  padding: 10px 15px;
  z-index: 998;
  border-bottom: 2px solid #3a3a3a;
  height: auto;
  min-height: var(--sticky-menu-nav-actual-height);
  scrollbar-width: thin;
  scrollbar-color: #b5d63b #2e2e2e;
}

.menu-nav-fixed {
  position: fixed;
  left: 0;
  right: 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  z-index: 998;
}
.menu-nav-sticky::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}
.menu-nav-sticky::-webkit-scrollbar-track {
  background: #2e2e2e;
}
.menu-nav-sticky::-webkit-scrollbar-thumb {
  background-color: #b5d63b;
  border-radius: 4px;
}

.menu-nav-sticky a {
  padding: 8px 22px;
  color: #aaa;
  margin: 5px;
  background: #1a1a1a;
  border: 1px solid #4f4f4f;
  border-radius: 15px;
  text-decoration: none;
  font-size: .9em;
  transition: all 0.3s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.menu-nav-sticky a:hover {
  color: #f0f0f0;
  background: #2e2e2e;
  border-color: #b5d63b;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.menu-nav-sticky a.active {
  color: #0d0d0d;
  background: #b5d63b;
  border-color: #b5d63b;
  font-weight: bold;
  transform: translateY(0);
  box-shadow: none;
}

.menu-page-content {
  padding-top: 10px;
  max-width: 80%;
  width: 90%;
  margin: 0 auto;
}

.menu-category {
  margin-bottom: 40px;
  padding: 20px;
  background: #0d1f14;
  border-radius: 5px;
  scroll-margin-top: calc(var(--total-fixed-header-height) + var(--sticky-menu-nav-actual-height) + 20px);
}

.menu-category h2 {
  color: #b5d63b;
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.9em;
}

.menu-item-list {
  max-width: 800px;
  margin: 0 auto;
}

.menu-item {
  display: flex;
  align-items: baseline;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.menu-item-details {
  flex-shrink: 1;
}

.menu-item-name {
  color: #f0f0f0;
  word-break: break-word;
}

.menu-item-description {
  font-size: .85em;
  color: #aaa;
  font-style: italic;
  margin-top: 2px;
}

.menu-item-dots {
  display: block;
  flex-grow: 1;
  border-bottom: 2px dotted #3a3a3a;
  transform: translateY(-4px);
  margin: 0 10px;
}

.menu-item-price {
  color: #b5d63b;
  font-weight: bold;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: right;
}

.menu-subcategory-title{text-align:center;color:#f0f0f0;margin:50px 0 25px;font-size:1.6em;font-style:italic;font-weight:400;border-bottom:1px solid #3a3a3a;padding-bottom:10px;}

#services{padding:40px 20px;display:flex;flex-direction:column;align-items:center;}
#services h2{color:#EAEAEA;margin-bottom:30px;font-size:2.5rem;border-bottom:2px solid #4CAF50;padding-bottom:10px;}
.services-menu{list-style:none;padding:0;width:100%;max-width:800px;font-family:'Ubuntu',sans-serif;}
.service-item{background:#2E2E2E;margin-bottom:20px;padding:20px 25px;border-radius:8px;border-left:5px solid #4CAF50;transition:transform .3s,box-shadow .3s;}
.service-item:hover{transform:translateY(-5px);box-shadow:0 10px 20px rgba(0,0,0,.4);}
.service-title{font-size:1.5rem;color:#FFF;font-weight:bold;display:block;margin-bottom:15px;}
.service-link{font-size:1.5rem;color:#FFF;font-weight:bold;text-decoration:none;display:block;transition:color .3s;}
.service-link:hover{color:#4CAF50;}
.service-details{list-style:none;padding-left:10px;border-top:1px dashed #555;margin-top:15px;padding-top:15px;}
.service-details li{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;color:#CCC;font-size:1rem;flex-wrap:wrap;}
.detail-name{text-align:left;padding-right:15px;flex-basis:70%;word-break:break-word;}
.detail-price{text-align:right;font-weight:bold;color:#EAEAEA;white-space:nowrap;}

footer{text-align:center;padding:20px;background:#1a1a1a;border-top:2px solid #3a3a3a;color:#999;margin-top:40px;}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    padding: 15px;
    text-align: center;
    color: #f0f0f0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery-caption h3 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #b5d63b;
    font-size: 1.3em;
}

.gallery-caption p {
    font-size: 0.9em;
    color: #aaa;
    line-height: 1.5;
    margin-bottom: 0;
    min-height: 1em;
}

.review-action-container {
    text-align: center;
    margin-bottom: 40px;
}

.add-review-button {
    display: inline-block;
    padding: 12px 28px;
    background-color: #b5d63b;
    color: #0d0d0d;
    border: 2px solid #b5d63b;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color .3s, color .3s, transform .2s;
}

.add-review-button:hover {
    background-color: transparent;
    color: #b5d63b;
    text-decoration: none;
    transform: translateY(-2px);
}

#google-reviews-container {
    max-width: 800px;
    margin: 0 auto;
}

.loading-reviews {
    text-align: center;
    font-style: italic;
    color: #aaa;
    font-size: 1.1em;
    padding: 40px 0;
}

.review-card {
    background-color: #1a1a1a;
    border-left: 4px solid #b5d63b;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.review-card .review-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.review-author {
    font-weight: bold;
    color: #f0f0f0;
    font-size: 1.1em;
    margin-right: auto;
}

.review-rating .star {
    color: #b5d63b;
    font-size: 1.2em;
}

.review-rating .star.filled {
    color: #b5d63b;
}

.review-text {
    color: #dddddd;
    line-height: 1.7;
}

.gallery-item a {
  display: block;
  cursor: pointer;
}

main.menu-page-content .menu-category:last-child {
  margin-bottom: 10vh;
}

/* ======================================== */
/* === ОНОВЛЕНІ СТИЛІ ДЛЯ ПАНЕЛІ НОВИН === */
/* ======================================== */

.news-panel {
  position: fixed;
  z-index: 1002;
  top: calc(var(--total-fixed-header-height) + 40px);
  right: 25px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #0d1f14;
  border: 2px solid #b5d63b;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}

.news-panel.expanded {
  width: 340px; /* Трохи збільшено для комфорту на ПК */
  height: auto;
  border-radius: 8px;
  cursor: default;
  overflow: visible; /* Дозволяє тіні бути видимою */
}

.news-panel-close {
  display: none;
  position: absolute;
  top: 5px; /* Переміщено вгору для кращого доступу */
  right: 10px;
  font-size: 28px;
  font-weight: bold;
  color: #f0f0f0;
  cursor: pointer;
  line-height: 1;
  padding: 5px;
  z-index: 1003;
}
.news-panel-close:hover {
    color: #b5d63b;
}

.news-panel.expanded .news-panel-close {
  display: block;
}

.news-panel::before {
  content: 'Оголошення!';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 8px;
  padding: 3px 10px;
  background: #b5d63b;
  color: #0d0d0d;
  font-size: 11px;
  font-weight: bold;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.news-panel.expanded::before {
  opacity: 0;
  visibility: hidden; /* Повністю ховаємо */
}

.news-header {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  cursor: pointer;
  background-image: url('images/easter.jpg');
  background-size: cover;
  background-position: center 40%;
  overflow: hidden;
}

/* Прибираємо приховані елементи з потоку */
.news-panel .news-header img,
.news-panel .news-header h3,
.news-panel .news-header p {
  display: none;
}

.news-panel.expanded .news-header {
  background-image: none;
  border-radius: 0;
  padding: 15px;
  height: auto;
  cursor: default;
}

.news-panel.expanded .news-header img,
.news-panel.expanded .news-header h3,
.news-panel.expanded .news-header p {
  display: block;
}

.news-panel.expanded .news-header img {
    width: 100%;
    height: auto;
    border-radius: 4px; /* Невелике заокруглення */
    margin-bottom: 15px;
}

.news-panel.expanded .news-header h3 {
  margin: 0 0 5px 0;
  padding-right: 30px; /* Щоб не накладалось на хрестик */
  font-size: 1.2em;
  color: #b5d63b;
  text-align: left;
}

.news-panel.expanded p.news-summary {
  margin: 0;
  font-size: 0.9em;
  color: #aaa;
}

.news-details {
  max-height: 0;
  padding: 0 15px;
  opacity: 0;
  visibility: hidden;
  background: #0d1f14;
  border-radius: 0 0 8px 8px;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out, opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.news-panel.expanded .news-details {
  max-height: 500px; /* Максимальна висота на великих екранах */
  padding: 0 15px 15px 15px; /* Паддінг знизу, а не зверху */
  margin-top: 0;
  opacity: 1;
  visibility: visible;
  transition-delay: 0.1s;
  border-top: 1px solid #3a3a3a;
}

.news-details p {
  color: #f0f0f0;
  font-size: 0.9em;
  line-height: 1.6;
  margin-bottom: 12px;
}

.news-details p:last-child {
  margin-bottom: 0;
}

.news-details strong {
  color: #b5d63b;
}

/* === АДАПТАЦІЯ ПАНЕЛІ НОВИН === */
/* Планшети і середні екрани */
@media (max-width: 1600px) {
  .news-panel {
    width: 120px;
    height: 120px;
  }
}


/* Планшети і середні екрани */
@media (max-width: 1200px) {
  .news-panel {
    width: 100px;
    height: 100px;
  }
}

/* Мобільні пристрої - вертикальна орієнтація */
@media (max-width: 768px) {
  .news-panel {
    width: 90px;
    height: 90px;
    top: calc(var(--total-fixed-header-height) + 20px);
    right: 20px;
  }

  .news-panel.expanded {
    width: 300px;
  }
}

/* Маленькі мобільні пристрої */
@media (max-width: 500px) {
  .news-panel {
    width: 80px;
    height: 80px;
    top: calc(var(--total-fixed-header-height) + 15px);
    right: 15px;
  }

  .news-panel.expanded {
    top: calc(var(--total-fixed-header-height) + 15px);
    left: 15px;
    right: 15px;
    width: auto; /* Автоматична ширина з відступами */
  }

  .news-panel.expanded .news-header,
  .news-panel.expanded .news-details {
      padding: 12px;
  }
   .news-panel.expanded .news-details {
      padding-top: 12px; /* Додаємо відступ зверху */
   }

  .news-panel.expanded .news-header h3 {
      font-size: 1.1em;
  }

  /* Найважливіша частина: обмежуємо висоту і додаємо прокрутку */
  .news-details {
    /* Розраховуємо макс. висоту: 100% висоти екрану МІНУС висота хедера, 
       МІНУС відступ зверху, МІНУС приблизна висота шапки оголошення, 
       МІНУС відступ знизу */
    max-height: calc(100vh - var(--total-fixed-header-height) - 150px);
    overflow-y: auto; /* Додаємо прокрутку, якщо контент не вміщується */
  }

  .news-details p {
      font-size: 0.9em;
  }

  /* Стилізація скролбару для Webkit (Chrome, Safari) */
  .news-details::-webkit-scrollbar {
    width: 6px;
  }
  .news-details::-webkit-scrollbar-track {
    background: #1a1a1a;
  }
  .news-details::-webkit-scrollbar-thumb {
    background-color: #b5d63b;
    border-radius: 3px;
  }
}

@media (max-width: 1305px) {
  .menu-nav-sticky {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
  }
  .menu-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .menu-item-price {
    text-align: left;
  }
  .menu-item-dots {
    display: none;
  }
   .line-break {
    display: none;
  }
}


@media (max-width: 1063px) {
  .floating-logo {
    display: none;
  }
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        padding: 15px;
    }
    .gallery-item img {
        height: 200px;
    }
    .gallery-caption h3 {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 40px;
        --nav-height-base: 95px;
        --logo-calculated-height: 80px;
        --total-fixed-header-height: calc(var(--scrolling-banner-height) + var(--header-height) + var(--nav-height-base));
        --sticky-menu-nav-actual-height: 45px;
    }
    body {
        padding-top: var(--total-fixed-header-height);
    }
    header {
        align-items: center;
    }
    .header-info {
        flex-wrap: nowrap;
        gap: 15px;
        font-size: 10px;
    }
    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
        overflow: hidden;
        padding: 10px;
        gap: 8px;
        height: var(--nav-height-base);
    }
    nav a {
        padding: 8px 12px;
        font-size: .85em;
        text-align: center;
        flex-grow: 1;
    }
    nav a:nth-child(5)::before {
        content: "";
        display: block;
        flex-basis: 100%;
        width: 0;
        height: 0;
    }
    .menu-nav-sticky a {
        padding: 6px 10px;
        font-size: 0.8em;
    }
    section{padding:20px 15px;max-width:95%;}
    #home{height:calc(100vh - var(--total-fixed-header-height));}
    .slide .slide-caption h1{font-size:2.2em;white-space:normal;}
    .slide .slide-caption .slide-button{padding:10px 20px;font-size:.9em;margin-top:15px;}

    .menu-nav-sticky{ min-height: var(--sticky-menu-nav-actual-height); }
    .menu-category h2{font-size:1.7em;margin-bottom:15px;}
    .menu-item-name{padding-right:0;font-size:1em;width:100%;margin-bottom:5px;}
    .menu-item-price{padding-left:0;font-size:1em;width:100%;text-align:left;margin-top:-5px;}
    .menu-item-description{font-size:.8em;margin-top:5px;}
    .menu-subcategory-title{font-size:1.4em;margin-top:30px;margin-bottom:15px;}
    #services h2{font-size:2rem;margin-bottom:20px;}
    .service-item{padding:15px 20px;}
    .service-title,.service-link{font-size:1.3rem;}
    .service-details li{flex-direction:column;align-items:flex-start;margin-bottom:8px;}
    .detail-name,.detail-price{width:100%;text-align:left;padding-right:0;}
    .detail-price{margin-top:2px;}
    .add-review-button {
        padding: 10px 20px;
        font-size: 1em;
    }
    .review-card {
        padding: 15px;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        padding: 10px;
        gap: 15px;
    }
    .gallery-item img {
        height: 180px;
    }
    .gallery-caption h3 {
        font-size: 1.1em;
    }
    .gallery-caption p {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 35px;
        --nav-height-base: 85px;
        --logo-calculated-height:60px;
        --total-fixed-header-height: calc(var(--scrolling-banner-height) + var(--header-height) + var(--nav-height-base));
        --sticky-menu-nav-actual-height: 40px;
    }
    .header-info {
        gap: 10px;
        font-size: 8px;
    }
    nav {
        gap: 6px;
    }
    nav a {
        padding: 6px 8px;
        font-size: .75em;
    }
    .menu-nav-sticky a {
        padding: 5px 8px;
    }
    section{padding:15px 10px;}
    #home{height:calc(100vh - var(--total-fixed-header-height));}
    .slide .slide-caption h1{font-size:1.8em;}
    .slide .slide-caption .slide-button{padding:8px 15px;font-size:.8em;}

    .menu-nav-sticky{ min-height: var(--sticky-menu-nav-actual-height); }
    .menu-category h2{font-size:1.7em;margin-bottom:15px;}
    .menu-item-price{padding-left:0;font-size:1em;width:100%;text-align:left;margin-top:-5px;}
    .menu-item-description{font-size:.8em;margin-top:5px;}
    .menu-subcategory-title{font-size:1.2em;}
    #services h2{font-size:1.8rem;}
    .service-title,.service-link{font-size:1.2rem;}
    .service-details li{font-size:.9rem;}
}

@media (min-width: 769px) {
    :root {
        --header-height:80px;
        --nav-height-base:50px;
        --logo-calculated-height:170px;
        --total-fixed-header-height: calc(var(--scrolling-banner-height) + var(--header-height) + var(--nav-height-base));
        --sticky-menu-nav-actual-height: 50px;
    }
    header {
        align-items: center;
    }
    nav {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        padding-top: 0;
        padding-bottom: 0;
    }
    .header-info{
        flex-wrap: nowrap;
        gap:60px;
        font-size:14px;
    }

    section{max-width:75%;width:auto;}
    #home{height:calc(100vh - var(--total-fixed-header-height));}
    .menu-nav-sticky{ min-height: var(--sticky-menu-nav-actual-height); }
}
@media (max-width: 1200px) {
  .slide .slide-caption h1 {
    font-size: 3.5em; /* Або інше значення, яке вам подобається */
  }
 
}
@media (min-width: 1200px) {
    :root {
        --header-height:90px;
        --nav-height-base:60px;
        --logo-calculated-height:190px;
        --total-fixed-header-height: calc(var(--scrolling-banner-height) + var(--header-height) + var(--nav-height-base));
    }
    .floating-logo img{height:var(--logo-calculated-height);max-height:18vh;}
    .header-info{gap:80px;font-size:15px;}
    nav a{font-size:1em;}
    section{max-width:70%;}
    #home{height:calc(100vh - var(--total-fixed-header-height));}
}

@media (min-width: 1306px) {
  .line-break {
    flex-basis: 100%;
    height: 0;
    width: 0;
  }
}
/* ======== ОНОВЛЕНІ СТИЛІ ДЛЯ ЛОГОТИПУ INSTAGRAM ======== */

.instagram-container {
  position: fixed;
  z-index: 1002;
  top: calc(var(--total-fixed-header-height) + 15px);
  left: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.instagram-container:hover {
  transform: translateY(-3px) scale(1.03);
}

.instagram-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #0d1f14;
  border: 2px solid #b5d63b;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  text-decoration: none;
  overflow: hidden; 
  transition: all 0.3s ease;
}

.instagram-link:hover {
  box-shadow: 0 8px 25px rgba(181, 214, 59, 0.2);
  border-color: #f0f0f0;
}

.instagram-link .instagram-icon {
  width: 120%; /* Збільшуємо розмір іконки */
  height: auto;
  object-fit: cover; 
  object-position: center; 
  display: block; 
}

.instagram-container .instagram-text {
  color: #0d0d0d; 
  background-color: #b5d63b; 
  padding: 3px 10px; 
  border-radius: 5px; 
  font-size: 12px;
  font-weight: bold;
  line-height: 1.2;
  margin-top: 8px;
  text-align: center;
  white-space: nowrap;
}


@media (min-width: 501px) and (max-width: 1200px) {
  .instagram-link {
    width: 70px;
    height: 70px;
  }
  .instagram-link .instagram-icon {
    width: 110%;
  }
  .instagram-container .instagram-text {
    font-size: 10px;
  }
}

@media (max-width: 500px) {
  .instagram-container {
    top: calc(var(--total-fixed-header-height) + 10px);
    left: 15px;
  }
  .instagram-link {
    width: 60px;
    height: 60px;
  }
  .instagram-link .instagram-icon {
    width: 130%;
  }
  .instagram-container .instagram-text {
    font-size: 9px;
    margin-top: 6px;
  }
}