/**
 * Single Lokalizacja - Styles
 * Plik: assets/css/single-lokalizacja.css
 *
 * Kolor primary: #5e4394
 */

/* ===================================
   HERO
   =================================== */

.loc-hero {
  position: relative;
  height: 650px;
  overflow: hidden;
  background-size: cover;
  background-position: center 40%;
  background-color: #2a1a4a;
}

.loc-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(30,15,50,0.65) 100%);
}

.loc-hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding-bottom: 56px;
  padding-top: 56px;
  z-index: 2;
  animation: locFadeUp 0.8s ease-out;
}

@keyframes locFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.loc-hero__breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.loc-hero__breadcrumb a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.loc-hero__breadcrumb a:hover {
  color: #fff;
}

.loc-hero__sep {
  opacity: 0.4;
}

.loc-hero__breadcrumb span:last-child {
  color: #fff;
}

.loc-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(94,67,148,0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,0.12);
}

.loc-hero__badge i {
  font-size: 14px;
}

.loc-hero__title {
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 0;
  max-width: 900px;
}

/* ===================================
   PAGE WRAPPER
   =================================== */

.loc-page {
  padding-top: 16px;
  padding-bottom: 16px;
}

/* ===================================
   SECTIONS
   =================================== */

.loc-section {
  padding: 56px 0;
}

/* Stare labele ukrywamy, bo nagłówki korzystają z .sub-title */
.loc-section__label {
  display: none;
}

/* ===================================
   HEADINGS
   =================================== */

.loc-section__head,
.am-section__head.loc-section__head {
  text-align: left;
  max-width: none;
  margin: 0 0 24px;
}

.loc-section__head .sub-title,
.am-section__head.loc-section__head .sub-title,
.loc-about .sub-title,
.loc-gallery .sub-title,
.loc-cta .sub-title {
  display: block;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1;
  font-family: var(--font-montez), "Montez", cursive;
  font-weight: 400;
  color: #5e4394;
  margin: 0 0 6px;
}

.loc-section__head h2,
.am-section__head.loc-section__head h2 {
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 700;
  color: #151515;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0;
}

.loc-section__head p,
.am-section__head.loc-section__head p {
  font-size: 15px;
  line-height: 1.7;
  color: #6b7280;
  max-width: 620px;
  margin: 10px 0 0;
}

.loc-about .loc-section__head,
.loc-gallery .loc-section__head {
  margin-bottom: 22px;
}

/* ===================================
   MAIN LOCATION LAYOUT
   Lewa kolumna: opis + galeria
   Prawa kolumna: ośrodek + mapa
   =================================== */

.loc-main-layout {
  padding-top: 56px;
  padding-bottom: 56px;
}

.loc-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}

.loc-content-main {
  min-width: 0;
}

.loc-about {
  margin-bottom: 56px;
}

.loc-about__text {
  font-size: 15px;
  line-height: 1.85;
  color: #495057;
}

.loc-about__text p {
  margin-bottom: 16px;
}

.loc-about__text strong {
  color: #1a1a1a;
  font-weight: 600;
}

.loc-about__text ul,
.loc-about__text ol {
  margin-bottom: 18px;
  padding-left: 22px;
}

.loc-about__text li {
  margin-bottom: 6px;
}

/* ===================================
   SIDEBAR
   =================================== */

.loc-sidebar {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.loc-accom-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 22px;
  transition: box-shadow 0.3s, transform 0.3s;
}

.loc-accom-card:hover {
  box-shadow: 0 8px 30px rgba(94,67,148,0.12);
  transform: translateY(-2px);
}

.loc-accom-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.loc-accom-card__icon {
  width: 40px;
  height: 40px;
  background: #ece8f4;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5e4394;
  font-size: 20px;
  flex-shrink: 0;
}

.loc-accom-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #4a3576;
  line-height: 1.3;
}

.loc-accom-card__rooms {
  font-size: 13px;
  color: #7a7f85;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.loc-accom-card__features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.loc-accom-card__features ul li {
  font-size: 13px;
  color: #495057;
  padding: 4px 0 4px 22px;
  position: relative;
}

.loc-accom-card__features ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  background: #5e4394;
  border-radius: 50%;
  opacity: 0.6;
}

.loc-map-widget {
  border-radius: 16px;
  overflow: hidden;
}

.loc-map-widget iframe {
  width: 100%;
  height: 180px;
  border: 0;
  display: block;
}

/* ===================================
   GALLERY
   =================================== */

.loc-gallery {
  margin-top: 0;
}

.loc-gallery .loc-section__head {
  margin-bottom: 22px;
}

.loc-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 190px 190px;
  gap: 10px;
}

.loc-gallery__item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.loc-gallery__item a {
  display: block;
  width: 100%;
  height: 100%;
}

.loc-gallery__item--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.loc-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.loc-gallery__item:hover img {
  transform: scale(1.06);
}

.loc-gallery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loc-gallery__item:hover .loc-gallery__overlay {
  background: rgba(94,67,148,0.2);
}

.loc-gallery__zoom {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s;
  color: #5e4394;
  font-size: 18px;
}

.loc-gallery__item:hover .loc-gallery__zoom {
  opacity: 1;
  transform: scale(1);
}

.loc-gallery__more {
  position: absolute;
  inset: 0;
  background: rgba(94,67,148,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  gap: 2px;
  text-align: center;
  padding: 16px;
}

.loc-gallery__more-number {
  font-size: 32px;
  font-weight: 700;
}

.loc-gallery__more-text {
  font-size: 13px;
  opacity: 0.9;
}

.loc-gallery__hidden {
  position: absolute;
  left: -9999px;
}

/* ===================================
   OFFERS
   =================================== */

.loc-offers .loc-section__head {
  text-align: left;
  max-width: 760px;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 36px;
}

/* ===================================
   CTA SECTION
   =================================== */

.loc-cta {
  background: #4a3576;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.loc-cta::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.loc-cta::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 320px;
  height: 320px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.loc-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
  padding: 0 20px;
}

.loc-cta .loc-section__head,
.loc-cta .am-section__head.loc-section__head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 24px;
}

.loc-cta .sub-title {
  color: rgba(255,255,255,0.78);
}

.loc-cta .loc-section__head h2,
.loc-cta .am-section__head.loc-section__head h2 {
  color: #fff;
}

.loc-cta .loc-section__head p,
.loc-cta .am-section__head.loc-section__head p {
  color: rgba(255,255,255,0.72);
  margin-left: auto;
  margin-right: auto;
}

.loc-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #4a3576;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.3s;
}

.loc-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  color: #4a3576;
}

.loc-cta__contact {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.loc-cta__contact a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

/* ===================================
   SCROLL REVEAL ANIMATION
   =================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 1199.98px) {
  .loc-content-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
  }
}

@media (max-width: 992px) {
  .loc-hero {
    height: 380px;
  }

  .loc-hero__title {
    font-size: 34px;
  }

  .loc-hero__content {
    padding-bottom: 36px;
    padding-top: 36px;
  }

  .loc-content-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .loc-sidebar {
    position: static;
    order: -1;
  }

  .loc-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 140px 140px;
  }

  .loc-gallery__item--featured {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 576px) {
  .loc-hero {
    height: 320px;
  }

  .loc-hero__title {
    font-size: 28px;
  }

  .loc-main-layout {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .loc-section {
    padding: 42px 0;
  }

  .loc-about {
    margin-bottom: 42px;
  }

  .loc-section__head .sub-title,
  .am-section__head.loc-section__head .sub-title,
  .loc-about .sub-title,
  .loc-gallery .sub-title,
  .loc-cta .sub-title {
    font-size: 24px;
  }

  .loc-section__head h2,
  .am-section__head.loc-section__head h2 {
    font-size: 24px;
  }

  .loc-section__head p,
  .am-section__head.loc-section__head p {
    font-size: 15px;
  }

  .loc-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 130px 130px 130px;
  }

  .loc-gallery__item--featured {
    grid-column: span 2;
    grid-row: span 1;
  }

  .loc-cta {
    padding: 56px 0;
  }
}
