/* ========================================
   HOTEL CHATLAB — WSPÓLNY CSS
   Strona główna + podstrony + CMS sekcje
   ======================================== */

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ===== TYPOGRAPHY ===== */
.section-label { font-family: 'Raleway', sans-serif; font-size: 0.9rem; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: #b8972e; margin-bottom: 1.2rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 500; line-height: 1.2; color: #1a1a1a; margin-bottom: 1.5rem; }
.section-subtitle { font-size: 1.2rem; font-weight: 300; line-height: 1.7; color: #666; max-width: 700px; }

/* ===== BUTTONS ===== */
.btn-primary { background: #d4af37; color: #1a1a1a; }
.btn-primary:hover { background: #c9a02e; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,175,55,0.3); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ===== FULL-WIDTH BREAKOUT =====
   Sekcje wewnątrz CMS .container (max-width: 1170px)
   muszą się z niego wydostać na 100% szerokości ekranu.
   !important potrzebne bo CMS nadpisuje reguły.
   ================================================== */
.features,
.usp,
.testimonial,
.cta-section {
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ==================================================
   STRONA GŁÓWNA
   ================================================== */

/* --- INTRO / O NAS --- */
.intro { padding: 4rem 0 6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.intro-images { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.intro-images img { border-radius: 6px; object-fit: cover; width: 100%; height: 100%; }
.intro-images .img-tall { grid-row: span 2; height: 520px; }
.intro-images .img-small { height: 250px; }
.intro-gold-line { width: 60px; height: 3px; background: #d4af37; margin-bottom: 1.8rem; }
.intro-text p { font-size: 1.15rem; line-height: 1.85; color: #555; margin-bottom: 1.4rem; }
.intro-stats { display: flex; gap: 3rem; margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid #e8e4de; }
.intro-stat-num { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 600; color: #d4af37; }
.intro-stat-label { font-size: 0.9rem; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: #999; margin-top: 0.4rem; }

/* --- FEATURES --- */
.features { padding: 8rem 4rem; background: #1a1a1a; color: #fff; }
.features-inner { max-width: 1400px; margin: 0 auto; }
.features .section-title { color: #fff; }
.features .section-subtitle { color: rgba(255,255,255,0.5); }
.features-header { text-align: center; margin-bottom: 5rem; }
.features-header .section-subtitle { margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.feature-card { position: relative; overflow: hidden; border-radius: 6px; height: 520px; cursor: pointer; }
.feature-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.6s ease; }
.feature-card:hover img { transform: scale(1.08); filter: brightness(0.7); }
.feature-card-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 50%); display: flex; flex-direction: column; justify-content: flex-end; padding: 2.5rem; transition: background 0.4s; }
.feature-card:hover .feature-card-overlay { background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%); }
.feature-card-icon { width: 60px; height: 60px; border: 1.5px solid rgba(212,175,55,0.5); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; transition: all 0.4s; }
.feature-card:hover .feature-card-icon { border-color: #d4af37; background: rgba(212,175,55,0.1); }
.feature-card-icon svg { width: 26px; height: 26px; stroke: #d4af37; fill: none; stroke-width: 1.5; }
.feature-card h3 { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 500; margin-bottom: 0.6rem; }
.feature-card p { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.65); line-height: 1.6; max-height: 0; overflow: hidden; transition: max-height 0.5s ease, opacity 0.4s; opacity: 0; }
.feature-card:hover p { max-height: 100px; opacity: 1; }

/* --- ROOMS --- */
.rooms { padding: 6rem 0; }
.rooms-inner { max-width: 100%; }
.rooms-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 4rem; }
.rooms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.room-card { position: relative; overflow: hidden; border-radius: 6px; background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,0.06); transition: all 0.4s; }
.room-card:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.12); transform: translateY(-4px); }
.room-card-img { height: 380px; overflow: hidden; }
.room-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.room-card:hover .room-card-img img { transform: scale(1.05); }
.room-card-body { padding: 2.2rem 2.5rem; }
.room-card-type { font-size: 0.82rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #d4af37; margin-bottom: 0.6rem; }
.room-card-name { font-family: 'Playfair Display', serif; font-size: 1.65rem; font-weight: 500; margin-bottom: 1rem; color: #1a1a1a; }
.room-card-desc { font-size: 1.05rem; font-weight: 300; color: #888; line-height: 1.7; margin-bottom: 1.4rem; }
.room-card-amenities { display: flex; gap: 1.5rem; padding-top: 1.4rem; border-top: 1px solid #f0ede8; }
.room-amenity { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: #999; }
.room-amenity svg { width: 18px; height: 18px; stroke: #b8972e; fill: none; stroke-width: 1.5; }
.room-card-price { position: absolute; top: 1.5rem; right: 1.5rem; background: rgba(26,26,26,0.85); backdrop-filter: blur(10px); color: #fff; padding: 0.6rem 1.2rem; border-radius: 4px; font-size: 0.95rem; font-weight: 500; }
.room-card-price span { color: #d4af37; font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 600; }

/* --- USP / DLACZEGO MY --- */
.usp { padding: 8rem 4rem; background: linear-gradient(135deg, #1a2a1a 0%, #1a1a1a 50%, #2a1a1a 100%); color: #fff; overflow: hidden; }
.usp::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, transparent 70%); }
.usp-inner { max-width: 1300px; margin: 0 auto; position: relative; z-index: 1; }
.usp-header { text-align: center; margin-bottom: 5rem; }
.usp .section-title { color: #fff; }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.usp-item { text-align: center; padding: 2.8rem 2rem; border: 1px solid rgba(212,175,55,0.12); border-radius: 6px; transition: all 0.4s; background: rgba(255,255,255,0.02); }
.usp-item:hover { border-color: rgba(212,175,55,0.35); background: rgba(212,175,55,0.05); transform: translateY(-4px); }
.usp-icon { width: 80px; height: 80px; margin: 0 auto 1.5rem; border: 1.5px solid rgba(212,175,55,0.35); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.4s; }
.usp-item:hover .usp-icon { border-color: #d4af37; box-shadow: 0 0 25px rgba(212,175,55,0.15); }
.usp-icon svg { width: 34px; height: 34px; stroke: #d4af37; fill: none; stroke-width: 1.5; }
.usp-item h4 { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 500; margin-bottom: 0.8rem; color: #f0ede8; }
.usp-item p { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* --- ATTRACTIONS --- */
.attractions { padding: 6rem 0; }
.attractions-inner { max-width: 100%; }
.attractions-header { text-align: center; margin-bottom: 5rem; }
.attractions-header .section-subtitle { margin: 0 auto; }
.attractions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.attraction-card { position: relative; overflow: hidden; border-radius: 6px; height: 420px; cursor: pointer; }
.attraction-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.attraction-card:hover img { transform: scale(1.1); }
.attraction-card-content { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; }
.attraction-card-tag { font-size: 0.78rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #d4af37; margin-bottom: 0.5rem; }
.attraction-card h4 { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 500; color: #fff; margin-bottom: 0.4rem; }
.attraction-card p { font-size: 0.95rem; font-weight: 300; color: rgba(255,255,255,0.6); }

/* --- TESTIMONIAL --- */
.testimonial { padding: 8rem 4rem; background: #f5f2ed; text-align: center; }
.testimonial-inner { max-width: 900px; margin: 0 auto; }
.testimonial-quote { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 400; font-style: italic; color: #333; line-height: 1.6; margin-bottom: 2rem; position: relative; }
.testimonial-quote::before { content: '\201C'; font-family: 'Playfair Display', serif; font-size: 6rem; color: #d4af37; position: absolute; top: -2.5rem; left: -1.5rem; opacity: 0.3; }
.testimonial-author { font-size: 1rem; font-weight: 500; color: #999; letter-spacing: 1px; }
.testimonial-stars { color: #d4af37; font-size: 1.3rem; letter-spacing: 4px; margin-bottom: 2rem; }

/* --- CTA --- */
.cta-section { padding: 8rem 4rem; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background: url('https://images.pexels.com/photos/2507010/pexels-photo-2507010.jpeg?auto=compress&cs=tinysrgb&w=1920&h=600&fit=crop') center/cover no-repeat; }
.cta-overlay { position: absolute; inset: 0; background: rgba(26,26,26,0.82); }
.cta-content { position: relative; z-index: 1; text-align: center; max-width: 750px; margin: 0 auto; }
.cta-content .section-title { color: #fff; }
.cta-content p { font-size: 1.2rem; font-weight: 300; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 2.5rem; }
.cta-buttons { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }

/* ==================================================
   SEKCJE CMS — AKTUALNOŚCI
   ================================================== */
.news-container {
  padding: 5rem 0 4rem;
}
.news-container .big-label.line-label {
  font-family: 'Playfair Display', serif !important;
  font-weight: 500 !important;
  font-size: 2.2rem !important;
  color: #1a1a1a !important;
  letter-spacing: 0 !important;
}
.news-container .big-label.line-label::before,
.news-container .big-label.line-label::after {
  border-color: #d4af37 !important;
}
.news-item {
  background: #fff;
  border-radius: 6px;
  padding: 2.5rem 2.8rem !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  transition: all 0.35s ease;
  border: 1px solid #f0ede8;
}
.news-item:hover {
  box-shadow: 0 8px 35px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.news-item h3,
.news-item .news-title {
  font-family: 'Playfair Display', serif !important;
  font-weight: 500 !important;
  font-size: 1.65rem !important;
  color: #1a1a1a !important;
  margin-bottom: 0.8rem !important;
  line-height: 1.35 !important;
}
.news-date {
  font-family: 'Raleway', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  letter-spacing: 1px !important;
  color: #b8972e !important;
  margin-bottom: 1.2rem !important;
}
.news-content,
.news-item p {
  font-family: 'Raleway', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 300 !important;
  line-height: 1.8 !important;
  color: #666 !important;
}
.news-item .more-news,
.news-item a.btn,
a.more-news {
  display: inline-flex !important;
  align-items: center !important;
  padding: 1rem 2.2rem !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  background: #1a1a1a !important;
  color: #fff !important;
  border: none !important;
  border-radius: 3px !important;
  transition: all 0.35s ease !important;
  margin-top: 1.5rem !important;
}
.news-item .more-news:hover,
.news-item a.btn:hover,
a.more-news:hover {
  background: #d4af37 !important;
  color: #1a1a1a !important;
  transform: translateY(-2px) !important;
}

/* ==================================================
   SEKCJE CMS — WYRÓŻNIONE OFERTY
   ================================================== */
.cmshotspot .big-label.line-label {
  font-family: 'Playfair Display', serif !important;
  font-weight: 500 !important;
  font-size: 2.2rem !important;
  color: #1a1a1a !important;
  letter-spacing: 0 !important;
}
.cmshotspot .big-label.line-label::before,
.cmshotspot .big-label.line-label::after {
  border-color: #d4af37 !important;
}
.offerslist .offer {
  border: 1px solid #f0ede8 !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  transition: all 0.35s ease !important;
  box-shadow: 0 2px 15px rgba(0,0,0,0.04) !important;
}
.offerslist .offer:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1) !important;
  transform: translateY(-3px) !important;
}
.offerslist .offer__description {
  font-family: 'Playfair Display', serif !important;
  font-weight: 500 !important;
  font-size: 1.3rem !important;
  color: #1a1a1a !important;
}
.offerslist .offer__box {
  font-family: 'Raleway', sans-serif !important;
}
.offerslist .offer__info {
  font-family: 'Raleway', sans-serif !important;
  font-size: 1rem !important;
  color: #666 !important;
}
.offerslist .offer .offer__hover {
  background: rgba(26,26,26,0.65) !important;
}

/* ==================================================
   PODSTRONY CMS — .customtext / .txt-text
   Spójne style dla: Recepcja, SPA, Fitness, Basenowa
   ================================================== */

/* --- Tytuł podstrony (nagłówek CMS) --- */
.customtext .big-label {
  font-family: 'Playfair Display', serif !important;
  font-weight: 500 !important;
  font-size: 2.6rem !important;
  color: #1a1a1a !important;
  letter-spacing: 0 !important;
  margin-bottom: 2rem !important;
}
.customtext .big-label::before,
.customtext .big-label::after {
  border-color: #d4af37 !important;
}

/* --- Kontener treści --- */
.customtext .container {
  padding-top: 3rem !important;
  padding-bottom: 4rem !important;
}

/* --- Główny tekst wprowadzający --- */
.txt-text > p:first-child,
.txt-text .mb-5 > p:first-child {
  font-family: 'Raleway', sans-serif !important;
  font-size: 1.2rem !important;
  font-weight: 300 !important;
  line-height: 1.85 !important;
  color: #555 !important;
  max-width: 900px !important;
  margin-bottom: 2.5rem !important;
}

/* --- Nagłówki sekcji na podstronach --- */
.txt-text h2 {
  font-family: 'Playfair Display', serif !important;
  font-size: 2rem !important;
  font-weight: 500 !important;
  color: #1a1a1a !important;
  margin-bottom: 1.2rem !important;
  margin-top: 3.5rem !important;
  line-height: 1.3 !important;
  position: relative !important;
  padding-bottom: 0.8rem !important;
}
.txt-text h2::after {
  content: '' !important;
  display: block !important;
  width: 50px !important;
  height: 2px !important;
  background: #d4af37 !important;
  margin-top: 0.8rem !important;
}
.txt-text h3 {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.6rem !important;
  font-weight: 500 !important;
  color: #1a1a1a !important;
  margin-bottom: 1rem !important;
  margin-top: 3rem !important;
}

/* --- Obrazy na podstronach --- */
.txt-text img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 500px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  margin: 1.5rem 0 2rem !important;
  box-shadow: 0 4px 25px rgba(0,0,0,0.08) !important;
  transition: transform 0.5s ease, box-shadow 0.4s ease !important;
}
.txt-text img:hover {
  transform: scale(1.02) !important;
  box-shadow: 0 8px 35px rgba(0,0,0,0.12) !important;
}

/* --- Paragraf/tekst na podstronach --- */
.txt-text p {
  font-family: 'Raleway', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 300 !important;
  line-height: 1.85 !important;
  color: #555 !important;
  margin-bottom: 1.2rem !important;
}

/* --- Sekcje .mb-5 (CMS bloki) --- */
.txt-text .mb-5 {
  margin-bottom: 3rem !important;
  padding-bottom: 2rem !important;
  border-bottom: 1px solid #f0ede8 !important;
}
.txt-text .mb-5:last-child {
  border-bottom: none !important;
}

/* --- Listy na podstronach --- */
.txt-text ul,
.txt-text ol {
  font-family: 'Raleway', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 300 !important;
  line-height: 1.85 !important;
  color: #555 !important;
  margin: 1rem 0 1.5rem 1.5rem !important;
}
.txt-text li {
  margin-bottom: 0.5rem !important;
  padding-left: 0.3rem !important;
}
.txt-text li::marker {
  color: #d4af37 !important;
}

/* --- Linki na podstronach --- */
.txt-text a {
  color: #b8972e !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(184,151,46,0.3) !important;
  transition: all 0.3s ease !important;
}
.txt-text a:hover {
  color: #d4af37 !important;
  border-bottom-color: #d4af37 !important;
}

/* ==================================================
   PODSTRONY — klasy .subpage (standalone HTML)
   ================================================== */
.subpage { padding: 4rem 0; }
.subpage-inner { max-width: 100%; }
.subpage-intro { margin-bottom: 4rem; }
.subpage-intro p { font-size: 1.2rem; line-height: 1.85; color: #555; max-width: 900px; }
.subpage-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-bottom: 4rem; }
.subpage-gallery img { width: 100%; height: 400px; object-fit: cover; border-radius: 6px; transition: transform 0.5s; }
.subpage-gallery img:hover { transform: scale(1.03); }
.subpage-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; margin-bottom: 4rem; }
.subpage-feature { padding: 2.5rem; background: #fff; border-radius: 6px; box-shadow: 0 2px 15px rgba(0,0,0,0.05); transition: all 0.3s; }
.subpage-feature:hover { box-shadow: 0 6px 25px rgba(0,0,0,0.1); transform: translateY(-3px); }
.subpage-feature h3 { font-family: 'Playfair Display', serif; font-size: 1.45rem; font-weight: 500; color: #1a1a1a; margin-bottom: 0.8rem; }
.subpage-feature p { font-size: 1.05rem; line-height: 1.75; color: #777; }
.subpage-feature-icon { width: 60px; height: 60px; border: 1.5px solid rgba(212,175,55,0.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.subpage-feature-icon svg { width: 28px; height: 28px; stroke: #d4af37; fill: none; stroke-width: 1.5; }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid .feature-card:nth-child(3) { grid-column: span 2; height: 360px; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .attractions-grid { grid-template-columns: repeat(2, 1fr); }
  .subpage-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .intro { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro-images .img-tall { height: 350px; }
  .intro-images .img-small { height: 170px; }
  .intro-stats { gap: 1.5rem; }
  .features { padding: 5rem 2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .features-grid .feature-card:nth-child(3) { grid-column: span 1; }
  .feature-card { height: 380px; }
  .feature-card p { max-height: 100px; opacity: 1; }
  .rooms-grid { grid-template-columns: 1fr; }
  .rooms-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .usp { padding: 5rem 2rem; }
  .usp-grid { grid-template-columns: 1fr; }
  .attractions-grid { grid-template-columns: 1fr 1fr; }
  .subpage-gallery { grid-template-columns: 1fr; }
  .subpage-features { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .attractions-grid { grid-template-columns: 1fr; }
  .attraction-card { height: 300px; }
  .intro-images { grid-template-columns: 1fr; }
  .intro-images .img-tall { grid-row: span 1; height: 280px; }
  .intro-stats { flex-direction: column; gap: 1rem; }
}