/* Pavone Hair Saloon - Barlow Condensed */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Barlow Condensed', sans-serif;
  background: #000;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 1000;
}

.navbar__logo {
  display: block;
  height: 40px;
  width: auto;
}

.navbar__logo img {
  height: 100%;
  width: auto;
  display: block;
}

.navbar__link {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .navbar__logo {
    height: 48px;
  }
  .navbar__link {
    font-size: 1.1rem;
  }
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1rem 2rem;
  background: #000;
}

.hero__logo {
  max-width: 250px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Footer */
.footer {
  background: #000;
  color: #fff;
  padding: 2rem 1.5rem;
  margin-top: auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  justify-items: center;
  text-align: center;
}

.footer__title {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.footer__content {
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer__content a:hover {
  text-decoration: underline;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__social-link img {
  height: 28px;
  width: 28px;
}

.footer__col {
  min-width: 0;
}

@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-items: center;
    text-align: center;
  }
}

/* Main content wrapper (for listino page) */
.main-content {
  flex: 1;
  padding-top: 64px;
}

/* Listino: mobile - vertical stack, full viewport slides */
.listino {
  min-height: calc(100vh - 64px);
}

.listino--mobile .listino__track {
  display: flex;
  flex-direction: column;
  scroll-snap-type: y mandatory;
  overflow-y: auto;
  height: calc(100vh - 64px);
  -webkit-overflow-scrolling: touch;
}

.listino--mobile .listino__slide {
  flex: 0 0 100%;
  min-height: calc(100vh - 64px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.listino--mobile .listino__slide img {
  max-width: 100%;
  max-height: calc(100vh - 64px - 2rem);
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Listino: desktop/tablet - horizontal carousel */
.listino--desktop {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.listino--desktop .listino__track {
  display: flex;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  position: relative;
}

.listino--desktop .listino__slide {
  flex: 0 0 100%;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: calc(100vh - 64px - 4rem);
}

.listino--desktop .listino__slide.is-active {
  display: flex;
}

.listino--desktop .listino__slide img {
  max-width: 100%;
  max-height: calc(100vh - 64px - 6rem);
  width: auto;
  height: auto;
  object-fit: contain;
}

.listino__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid #fff;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  font-family: inherit;
  transition: background 0.2s;
}

.listino__arrow:hover {
  background: rgba(255, 255, 255, 0.35);
}

.listino__arrow--prev {
  left: 1rem;
}

.listino__arrow--next {
  right: 1rem;
}

/* Show/hide listino by viewport */
@media (min-width: 768px) {
  .listino--mobile {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .listino--desktop {
    display: none !important;
  }
}
