.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
  background: rgba(30, 30, 30, 0.2); /* напівпрозорий фон */
  transition: background 0.3s;
  backdrop-filter: blur(4px); /* легке розмиття фону (опціонально) */
}

.navbar-transparent {
    background: rgba(35, 39, 43, 0.85);
    transition: background 0.3s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.navbar-container {
    display: flex;
    margin-left: 30px;
    margin-right: 30px;
    align-items: center;
    justify-content: space-between;
    /* ...інші властивості... */
}

.navbar-brand {
    color: #ffb300;
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    margin-right: 2rem;
    letter-spacing: 1px;
}

.navbar-menu {
    margin-left: auto;
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: flex-end;
}
.navbar-menu li {
  display: inline-block;
  margin-right: 10px;
}

.navbar-menu li a {
  position: relative;
  color: #fff5c3;
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.2s;
  font-weight: 500;
}

.navbar-menu li a::after {
  content: '';
  display: block;
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: #ffb300;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  border-radius: 2px;
}

.navbar-menu li a:hover,
.navbar-menu li a:focus {
  color: #ffb300;
}

.navbar-menu li a:hover::after,
.navbar-menu li a:focus::after {
  transform: scaleX(1);
}

/* Жовта кнопка для "Записатись" */
.navbar-btn-yellow {
  background: #ffb300;
  color: #222222;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  margin-left: 18px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(255,179,0,0.08);
  display: inline-block;
}

.navbar-btn-yellow:hover,
.navbar-btn-yellow:focus {
  background: #ff9800;
  color: #fff;
}

.navbar-btn {
    margin-left: 2rem;
    white-space: nowrap;
}

.logo{
    width: 140px;
    max-height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ...існуючий код... */

/* Бургер-іконка */
.burger-icon {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
    margin-left: auto;
    z-index: 1100;
}
.burger-icon span {
    display: block;
    height: 4px;
    width: 100%;
    background: #ffb300;
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* Сховати чекбокс */
.burger-toggle {
    display: none;
}

/* Адаптивність для бургер-меню */
@media (max-width: 900px) {
    .burger-icon {
        display: flex;
    }
    .navbar-menu,
    .navbar-btn {
        display: none;
    }
    .burger-toggle:checked ~ .navbar-menu,
    .burger-toggle:checked ~ .navbar-btn {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: #23272b;
        position: absolute;
        top: 105px;
        left: 0;
        z-index: 1000;
        padding: 1rem 0;
    }
    .navbar-menu {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #23272b;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }
    .navbar-btn {
        position: absolute;
        top: calc(60px + 3.5rem);
        left: 0;
        width: 100%;
        margin: 0;
        border-radius: 0;
        text-align: center;
    }
    .navbar-container {
        position: relative;
    }
}