@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&display=swap');

/* 
 * Modern Design Enhancements inspired by krynicafamilyhouse.pl
 * Add this file after style.css in HTML: <link rel="stylesheet" href="css/modern-enhancements.css">
 */

/* ============================================
   COLOR ENHANCEMENTS - Leśny Minimalizm Palette
   ============================================ */
:root {
  --primary-color: #1b3b2b; /* Deep Forest Green */
  --primary-hover: #132a1e;
  --accent-color: #c5a059; /* Matte Gold Accent */
  --accent-hover: #a88544;
  --text-dark: #11221a;
  --text-medium: #33473d;
  --text-light: #5b7569;
  --bg-white: #ffffff;
  --bg-light: #f2f5f3; /* Soft Sage Light Background */
  --bg-base: #faf8f5; /* Warm Alabaster Base */
  --shadow-sm: 0 2px 8px rgba(27, 59, 43, 0.05);
  --shadow-md: 0 4px 16px rgba(27, 59, 43, 0.08);
  --shadow-lg: 0 8px 24px rgba(27, 59, 43, 0.12);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   TYPOGRAPHY IMPROVEMENTS
   ============================================ */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-medium);
  font-weight: 300;
  letter-spacing: 0.01em;
  background-color: var(--bg-base);
}

h1, h2, h3, h4, h5, .site-logo a {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text-dark);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.75rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .heading {
    font-size: 2.25rem;
  }
}

/* Section descriptions - better spacing */
.section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-medium);
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .section p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

/* ============================================
   BUTTON ENHANCEMENTS - More modern, prominent
   ============================================ */
.btn-primary {
  background: var(--primary-color);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-transform: none;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 8px;
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white-primary {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 8px;
  transition: var(--transition);
}

.btn-outline-white-primary:hover {
  background: #fff;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* ============================================
   ROOM CARDS - Modern card design
   ============================================ */
.room {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: block;
  text-decoration: none;
  height: 100%;
}

.room:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.room .img-wrap {
  position: relative;
  overflow: hidden;
  height: 320px;
  background: #f0f0f0;
}

@media (min-width: 992px) {
  .room .img-wrap {
    height: 360px;
  }
}

.room .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  margin-bottom: 0 !important;
}

.room:hover .img-wrap img {
  transform: scale(1.1);
}

.room-info {
  padding: 2rem 1.5rem !important;
  background: var(--bg-white);
}

.room-info h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.room-info span {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

/* ============================================
   SECTION IMPROVEMENTS - Better spacing (inspired by krynicafamilyhouse.pl)
   ============================================ */
.section {
  padding: 6rem 0;
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }
}

.bg-light {
  background: var(--bg-light) !important;
  padding: 6rem 0;
}

@media (max-width: 768px) {
  .bg-light {
    padding: 4rem 0;
  }
}

/* ============================================
   CARD ENHANCEMENTS - Modern card style
   ============================================ */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-img-top {
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

.card-body {
  padding: 2rem 1.5rem;
}

.card-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.card-text {
  color: var(--text-medium);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* ============================================
   FORM ENHANCEMENTS - Cleaner inputs
   ============================================ */
.form-control {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  transition: var(--transition);
  background: var(--bg-white);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(44, 95, 124, 0.1);
  outline: none;
}

.form-control::placeholder {
  color: #999;
}

/* ============================================
   CHECK AVAILABILITY BOX - Modern design (inspired by krynicafamilyhouse.pl)
   ============================================ */
.check-availabilty .block-32 {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 3rem 2.5rem;
  border: none;
}

@media (max-width: 768px) {
  .check-availabilty .block-32 {
    padding: 2rem 1.5rem;
  }
}

.check-availabilty .block-32 label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

/* ============================================
   SITE BLOCK HALF - Enhanced layout (inspired by krynicafamilyhouse.pl)
   ============================================ */
.site-block-half {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
  background: var(--bg-white);
}

.site-block-half .image {
  min-height: 450px;
  background-size: cover;
  background-position: center;
  transition: var(--transition);
}

.site-block-half:hover .image {
  transform: scale(1.05);
}

.site-block-half .text {
  padding: 4rem 3rem;
}

@media (max-width: 991px) {
  .site-block-half .text {
    padding: 3rem 2rem;
  }
  
  .site-block-half .image {
    min-height: 350px;
  }
}

.site-block-half .display-4 {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 2.75rem;
  line-height: 1.1;
}

.site-block-half h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.site-block-half p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-medium);
  margin-bottom: 2rem;
}

/* ============================================
   HEADER ENHANCEMENTS
   ============================================ */
.site-header {
  z-index: 1030;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

/* Strona główna: jeden pasek — logo | zakładki | menu */
.site-header--home {
  padding: 1rem 0 !important;
}
.site-header--home.scrolled {
  padding: 0.65rem 0 !important;
}
.site-header--home:not(.scrolled) {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.15) 85%, transparent);
}
.site-header--home:not(.scrolled) .site-logo a {
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.site-header__banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.65rem;
  padding-left: 15px;
  padding-right: 15px;
}
.site-header__banner .site-logo {
  justify-self: start;
  margin: 0;
}
.site-header__banner .site-header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
}
.site-header--home .site-menu-toggle {
  float: none;
  top: auto;
  margin: 0;
}
.site-header--home.scrolled .site-menu-toggle {
  position: relative;
  top: auto;
}
.site-header--home .hero-tabs-nav {
  position: static;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  background: transparent;
  z-index: auto;
  pointer-events: auto;
  grid-column: 2;
  grid-row: 1;
}
body.menu-open .site-header--home .hero-tabs-nav {
  pointer-events: none;
  opacity: 0.35;
}
.site-header--home.scrolled .hero-tabs-nav button:not(.active) {
  color: var(--text-dark);
  border-color: rgba(0, 0, 0, 0.25);
  background: transparent;
}
.site-header--home.scrolled .hero-tabs-nav button.active,
.site-header--home.scrolled .hero-tabs-nav button:hover {
  color: #fff;
}
@media (max-width: 991.98px) {
  .site-header__banner {
    grid-template-columns: 1fr auto;
  }
  .site-header--home .hero-tabs-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
  }
  .site-header__banner .site-logo {
    grid-column: 1;
    grid-row: 1;
  }
  .site-header__banner .site-header__actions {
    grid-column: 2;
    grid-row: 1;
  }
}
.page-home .hero-tabs-wrap {
  margin-top: 0;
}

/* Kotwice domków — offset pod fixed header */
#domek-2,
#domek-3a,
#domek-3b {
  scroll-margin-top: 7rem;
}

.room-detail-heading {
  font-size: 2rem;
  position: relative;
  z-index: 1;
}

.room-detail-block {
  isolation: isolate;
}

.site-logo a {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.site-logo a:hover {
  color: var(--primary-color);
}

/* ============================================
   LANGUAGE TOGGLE BUTTON - Make it visible
   ============================================ */
.lang-toggle {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 2px solid rgba(255, 255, 255, 0.8) !important;
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  transition: var(--transition) !important;
  min-width: 50px;
  text-align: center;
}

.lang-toggle:hover {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-2px);
}

/* When header is scrolled, make button more visible */
.site-header.scrolled .lang-toggle {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #fff !important;
}

.site-header.scrolled .lang-toggle:hover {
  background: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
}

/* ============================================
   HERO SECTION - Better text contrast (inspired by krynicafamilyhouse.pl)
   ============================================ */
.site-hero {
  min-height: 600px;
  display: flex;
  align-items: center;
}

.site-hero .heading {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .site-hero .heading {
    font-size: 2.5rem;
  }
}

.site-hero .custom-caption {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  font-weight: 400;
  font-size: 2rem;
}

@media (max-width: 768px) {
  .site-hero .custom-caption {
    font-size: 1.5rem;
  }
}

/* ============================================
   FOOTER ENHANCEMENTS
   ============================================ */
.footer-section {
  background: var(--text-dark);
  color: #ccc;
}

.footer-section a {
  color: #ccc;
  transition: var(--transition);
}

.footer-section a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-section .text-primary {
  color: var(--accent-color) !important;
}

/* ============================================
   ACTIVITY CARDS - Modern slider cards
   ============================================ */
.slider-item .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.slider-item .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ============================================
   TESTIMONIAL SECTION - If used
   ============================================ */
.testimonial {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
  box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

/* ============================================
   ADDITIONAL SPACING IMPROVEMENTS (inspired by krynicafamilyhouse.pl)
   ============================================ */
.mb-5 {
  margin-bottom: 4rem !important;
}

@media (max-width: 768px) {
  .mb-5 {
    margin-bottom: 3rem !important;
  }
}

/* Better row spacing */
.row {
  margin-bottom: 2rem;
}

.row:last-child {
  margin-bottom: 0;
}

/* Container improvements */
.container {
  max-width: 1200px;
}

/* Better card spacing in grids */
.col-md-6.col-lg-4,
.col-md-6.col-lg-3 {
  margin-bottom: 2.5rem;
}

@media (max-width: 991px) {
  .col-md-6.col-lg-4,
  .col-md-6.col-lg-3 {
    margin-bottom: 2rem;
  }
}

/* ============================================
   RESPONSIVE IMPROVEMENTS (inspired by krynicafamilyhouse.pl)
   ============================================ */
@media (max-width: 768px) {
  .room .img-wrap {
    height: 250px;
  }
  
  .room-info {
    padding: 1.5rem !important;
  }
  
  .room-info h2 {
    font-size: 1.5rem;
  }
  
  .btn-primary,
  .btn-outline-primary {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .card-img-top {
    height: 250px;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .card-title {
    font-size: 1.5rem;
  }
}

/* Better spacing for activity cards */
.slider-item .card {
  margin-bottom: 0;
}

/* Improved form spacing */
.form-group {
  margin-bottom: 1.5rem;
}

.field-icon-wrap {
  margin-bottom: 0;
}

/* ============================================
   ANIMATION ENHANCEMENTS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-aos] {
  transition-duration: 0.6s;
}

/* ============================================
   CONTACT SECTION - Map styling (inspired by krynicafamilyhouse.pl)
   ============================================ */
.contact-section {
  background: var(--bg-light);
}

.contact-section .border {
  border: none !important;
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius);
  padding: 3rem !important;
}

@media (max-width: 768px) {
  .contact-section .border {
    padding: 2rem !important;
  }
}

.contact-info p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.contact-info span.d-block {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

/* ============================================
   GALLERY/SLIDER IMPROVEMENTS (inspired by krynicafamilyhouse.pl)
   ============================================ */
/* Galerie zdjęć (domki, obiekt, atrakcje) — pełny kadr, duży podgląd */
.owl-carousel.room-gallery .owl-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.owl-carousel.room-gallery .slider-item {
  height: auto !important;
  min-height: 0 !important;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  background: none !important;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.owl-carousel.room-gallery .slider-item a {
  display: inline-block;
  line-height: 0;
  max-width: 100%;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.owl-carousel.room-gallery .slider-item img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(82vh, 820px);
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  transition: var(--transition);
}

.owl-carousel.room-gallery .slider-item:hover img {
  transform: scale(1.03);
}

.owl-carousel.room-gallery .owl-stage-outer {
  overflow: hidden;
}

/* Hero / index — dekoracja karuzeli */
.home-slider:not(.room-gallery) .slider-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.home-slider:not(.room-gallery) .slider-item img {
  transition: var(--transition);
}

.home-slider:not(.room-gallery) .slider-item:hover img {
  transform: scale(1.08);
}

.slider-section {
  padding: 6rem 0;
}

@media (max-width: 768px) {
  .slider-section {
    padding: 4rem 0;
  }
}

/* Hero tabs (homepage) */
.hero-tabs-wrap {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
}
/* Nie dziedzicz 100vh z .site-hero — inaczej zdjęcie nachodzi na sekcję pod hero */
.hero-tabs-wrap .hero-tab-panel.site-hero {
  height: 100% !important;
  min-height: 100% !important;
}
.hero-tabs-wrap .site-hero-inner {
  height: auto !important;
  min-height: 0 !important;
}
.hero-tabs-wrap .site-hero.overlay:before {
  height: 100% !important;
  min-height: 100% !important;
}
.hero-tabs-nav button {
  border: 2px solid rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.25);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.hero-tabs-nav button.active,
.hero-tabs-nav button:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}
.hero-tab-panel {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: none;
}
.hero-tab-panel.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-tab-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}
.hero-tab-panel .hero-tab-note {
  font-size: 0.875rem;
  line-height: 1.5;
  opacity: 0.85;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
.hero-tab-panel .container {
  position: relative;
  z-index: 2;
}
.sigla-cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}
.sigla-contact-inline {
  font-size: 0.95rem;
  color: var(--text-medium);
}
.sigla-contact-inline a {
  font-weight: 600;
  color: var(--primary-color);
}
/* Pasek CTA pod hero — czytelny kontakt na jasnym tle */
.sigla-home-cta {
  padding: 2.5rem 0 !important;
  position: relative;
  z-index: 1;
  background: var(--bg-light) !important;
}
.sigla-home-cta .sigla-contact-inline {
  color: var(--text-dark);
  font-size: 1.05rem;
}
.sigla-home-cta .sigla-contact-inline a {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sigla-home-cta .sigla-contact-inline a:hover {
  color: var(--text-dark);
}
