/* ============================================
   OldWolf Barbershop — Design Improvements
   ============================================ */

/* --- Smooth scroll & global polish --- */
html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Buttons: rounded, refined, with glow --- */
.button {
  border-radius: 14px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(209, 159, 104, 0.25);
  border: none;
}

.button:hover {
  background: #e8be8a;
  box-shadow: 0 6px 25px rgba(209, 159, 104, 0.45);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(209, 159, 104, 0.3);
}

.button--header {
  border-radius: 14px;
  max-width: 295px;
}

.button--showcase {
  border-radius: 14px;
}

.button--tattoo {
  border-radius: 14px !important;
}

/* --- Header button on mobile --- */
.button--mobile {
  border-radius: 14px;
}

/* --- Header: cleaner glass effect --- */
.header__bg {
  border-radius: 0 0 20px 20px;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.header__nav li::after {
  background-color: #d19f68;
  height: 2px;
  bottom: 0;
}

.header__nav li {
  transition: color 0.3s ease;
}

.header__nav li:hover {
  color: #d19f68;
}

.header__tel::after {
  background-color: #d19f68;
  height: 2px;
}

/* --- Showcase: better glass morphism --- */
.showcase__items {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.showcase__items::before {
  background: rgba(0, 0, 0, 0.15);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.showcase__text {
  line-height: 1.45;
  font-weight: 400;
}

.showcase__barber {
  border-radius: 20px 0 20px 0;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.showcase__barber-name {
  background: rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
  letter-spacing: 0.08em;
}

.showcase__barber-top {
  background: rgba(209, 159, 104, 0.6);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* --- Advantages: hover effects, better cards --- */
.advantages__block {
  border-radius: 20px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.advantages__block--orange {
  border: 1px solid rgba(209, 159, 104, 0.4);
  background: rgba(0, 0, 0, 0.12);
}

.advantages__block--orange:hover {
  border-color: rgba(209, 159, 104, 0.8);
  background: rgba(209, 159, 104, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* --- Green discount block: integrate with theme --- */
.advantages__block--green {
  border: 1px solid rgba(104, 209, 152, 0.5);
  background: linear-gradient(135deg, rgba(104, 209, 152, 0.08) 0%, rgba(104, 209, 152, 0.03) 100%);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 20px;
}

.advantages__block--green:hover {
  border-color: rgba(104, 209, 152, 0.8);
  background: linear-gradient(135deg, rgba(104, 209, 152, 0.12) 0%, rgba(104, 209, 152, 0.05) 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(104, 209, 152, 0.12);
}

.advantages__block--green p:last-child {
  font-weight: 900;
  font-size: 48px;
  color: #68d198;
  text-shadow: 0 0 30px rgba(104, 209, 152, 0.3);
}

.advantages__body {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  font-size: 15px;
}

.advantages__header span img {
  filter: drop-shadow(0 2px 8px rgba(209, 159, 104, 0.3));
}

/* --- Portfolio slider: better cards --- */
.portfolio__img {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio__img:hover {
  border-color: rgba(209, 159, 104, 0.4);
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.portfolio__img img {
  border-radius: 20px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio__img:hover img {
  transform: scale(1.08);
}

.portfolio__title {
  font-size: 22px;
  letter-spacing: 0.02em;
}

/* --- Swiper nav buttons: polished --- */
.portfolio .swiper__nav,
.tattoo-portfolio .swiper__nav,
.team .swiper__nav,
.promotion .swiper__nav {
  background: rgba(66, 66, 66, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: background 0.3s ease;
}

.portfolio .swiper__nav:hover,
.tattoo-portfolio .swiper__nav:hover,
.team .swiper__nav:hover,
.promotion .swiper__nav:hover {
  background: rgba(209, 159, 104, 0.25);
  border-color: rgba(209, 159, 104, 0.3);
}

/* --- Price list: cleaner, more refined --- */
.price__items {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.price__title {
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff4eb 0%, #d19f68 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price__header {
  transition: all 0.3s ease;
  padding: 24px 0;
  border-radius: 12px;
}

.price__header:hover {
  background: rgba(209, 159, 104, 0.04);
}

.price__name {
  font-weight: 500;
  letter-spacing: 0.01em;
}

.price__block {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price__body table thead {
  background: rgba(209, 159, 104, 0.15);
  border-radius: 14px;
}

.price__body table thead th {
  font-weight: 600;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.price__body table thead th:first-child {
  border-radius: 14px 0 0 14px;
}

.price__body table thead th:last-child {
  border-radius: 0 14px 14px 0;
}

.price__body table tbody tr {
  transition: background 0.25s ease;
  border-radius: 10px;
}

.price__body table tbody tr:hover {
  background: rgba(209, 159, 104, 0.06);
}

.price__body table tbody tr:hover td {
  color: #d19f68;
}

.price__body table tbody tr td {
  transition: color 0.25s ease;
}

/* --- Tattoo / Hair replacement section --- */
.tattoo__block {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.tattoo__block:hover {
  border-color: rgba(209, 159, 104, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.tattoo__name {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.tattoo__block--small .tattoo__name p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
}

.tattoo .button--tattoo {
  border-radius: 14px;
  margin-top: 20px;
}

/* --- Team: bigger cards, better style --- */
.team__block {
  border-radius: 24px;
  border: 1px solid rgba(209, 159, 104, 0.3);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 110px 30px 28px;
}

.team__block:hover {
  border-color: rgba(209, 159, 104, 0.7);
  background: rgba(209, 159, 104, 0.06);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.team__name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.team__prof {
  border-radius: 14px;
  background: rgba(209, 159, 104, 0.08);
  border: 1px solid rgba(209, 159, 104, 0.15);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.team__block:hover .team__prof {
  background: rgba(209, 159, 104, 0.15);
  border-color: rgba(209, 159, 104, 0.3);
  color: #d19f68;
}

.team__img > img {
  max-width: 130px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.team__block:hover .team__img > img {
  transform: scale(1.08);
}

/* --- VK Banner: match dark theme --- */
.banner .banner__block {
  background: rgba(0, 0, 0, 0.25) !important;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(41, 101, 255, 0.35) !important;
  border-radius: 24px;
  transition: all 0.35s ease;
}

.banner .banner__block:hover {
  border-color: rgba(41, 101, 255, 0.6) !important;
  box-shadow: 0 8px 25px rgba(41, 101, 255, 0.12);
}

.banner .banner__block p {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 18px;
  line-height: 1.6;
}

.banner .banner__block a {
  transition: all 0.3s ease;
  opacity: 0.85;
}

.banner .banner__block a:hover {
  opacity: 1;
  transform: scale(1.08);
}

.banner .banner__block a img {
  filter: brightness(1.1);
}

/* --- Footer: refined --- */
.footer {
  border-radius: 28px;
  box-shadow: 0 -8px 30px rgba(209, 159, 104, 0.15);
  overflow: hidden;
}

.footer__title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer__fil {
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer__fil:hover {
  color: rgba(0, 0, 0, 0.7);
}

.footer__tel::after {
  height: 2px;
  background-color: rgba(0, 0, 0, 0.4);
}

.footer__maps-blocks a {
  transition: all 0.3s ease;
  opacity: 0.8;
  border-radius: 12px;
}

.footer__maps-blocks a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* --- Section spacing consistency --- */
.portfolio,
.tattoo-portfolio,
.promotion {
  padding-bottom: 70px;
}

@media screen and (max-width: 991px) {
  .portfolio,
  .tattoo-portfolio,
  .promotion {
    padding-bottom: 50px;
  }
}

/* --- Scroll reveal animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.advantages__block,
.portfolio__items,
.price__items,
.tattoo__block,
.team__block,
.banner__block {
  animation: fadeInUp 0.6s ease-out both;
}

/* --- Better scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1e1e1e;
}

::-webkit-scrollbar-thumb {
  background: rgba(209, 159, 104, 0.4);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(209, 159, 104, 0.6);
}

/* --- Selection color --- */
::selection {
  background: rgba(209, 159, 104, 0.35);
  color: #fff;
}

/* --- Orange decorative glow: softer --- */
.orange__decor {
  filter: blur(250px);
  opacity: 0.6;
}

/* --- w-fit utility --- */
.w-fit {
  width: fit-content;
}

/* --- YClients booking button override --- */
a.yButton.bottom.right > .yButtonBackground {
  border-radius: 16px !important;
  border: 1px solid rgba(209, 159, 104, 0.5) !important;
  background: rgba(0, 0, 0, 0.3) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}
