* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
}

img, svg, video, iframe {
  max-width: 100%;
  height: auto;
}

p, h1, h2, h3, h4, h5, h6, a, li, span, div {
  overflow-wrap: anywhere;
}

:root {
  --primary: #1a5c3a;
  --accent: #c94b4b;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 8px 30px rgba(0,0,0,0.08);
  --radius: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ============================================
   HEADER + NAV
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #3d3c3c;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  padding: 0.5rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  flex-shrink: 0;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  display: block;
  height: 50px;
  width: auto;
  max-height: 60px;
  object-fit: contain;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-desktop a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.nav-desktop a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.nav-desktop a.cta-nav {
  background: var(--primary);
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 40px;
  border-bottom: none;
  font-weight: 600;
}

.nav-desktop a.cta-nav:hover {
  background: var(--accent);
  color: white;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 4px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  flex-basis: 100%;
  margin-top: 0.8rem;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu nav a {
  text-decoration: none;
  color: var(--text-dark);
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  display: block;
  font-weight: 500;
}

.mobile-menu nav a:hover {
  color: var(--primary);
}

/* ============================================
   HERO - pojedyncze zdjęcie
   ============================================ */
.hero-single {
  position: relative;
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
  margin-top: 0.2rem;
  background: #1a1a1a;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 1.5rem;
}

.hero-overlay h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.3rem;
}

.hero-overlay h2 {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 400;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  margin-bottom: 1.5rem;
}

.btn-hero {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 0.8rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(201, 75, 75, 0.3);
}

.btn-hero:hover {
  background: white;
  color: var(--accent);
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(201, 75, 75, 0.4);
}

/* ============================================
   SEKCJE
   ============================================ */
.section {
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.section:last-of-type {
  border-bottom: none;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin-top: 0.3rem;
  border-radius: 4px;
}

/* ============================================
   GRIDY
   ============================================ */
.grid-4 {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.02);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ============================================
   GALERIA
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* ============================================
   UDOGODNIENIA
   ============================================ */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.amenity-item {
  background: var(--white);
  padding: 1.2rem 0.8rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid rgba(0,0,0,0.02);
}

/* ============================================
   KONTAKT
   ============================================ */
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.contact-col {
  flex: 1 1 200px;
}

.contact-col strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--primary);
}

.contact-col a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-col a:hover {
  text-decoration: underline;
}

/* ============================================
   MAPA - przycisk
   ============================================ */
.map-button-wrapper {
  text-align: center;
  padding: 1.2rem 0 0.8rem 0;
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
}

.btn-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--primary);
  color: white;
  padding: 0.75rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(26, 92, 58, 0.25);
  letter-spacing: 0.3px;
}

.btn-map:hover {
  background: #4285F4;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(66, 133, 244, 0.35);
}

.btn-map:active {
  transform: scale(0.96);
}

/* ============================================
   STOPKA
   ============================================ */
.main-footer {
  background: var(--text-dark);
  color: #ddd;
  padding: 2.5rem 0 1.5rem;
  margin-top: 1rem;
}

.main-footer a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
}

.main-footer a:hover {
  color: white;
}

.main-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-copyright-main {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.footer-copyright-main span {
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: 2px;
}

.footer-content p {
  margin-bottom: 0.6rem;
  line-height: 1.8;
  font-size: 0.95rem;
}

.footer-links h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-links a {
  display: inline-block;
  padding: 0.3rem 0;
  line-height: 1.8;
  font-size: 0.95rem;
}

.footer-links a:not(:last-child)::after {
  content: " · ";
  color: rgba(255,255,255,0.2);
}

.lang-menu {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 0.6rem 0.4rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  background: rgba(255,255,255,0.06);
  padding: 0.3rem 0.6rem;
  border-radius: 30px;
  transition: var(--transition);
  text-decoration: none;
  color: #ddd;
}

.lang-menu a:hover {
  background: rgba(255,255,255,0.15);
  color: white;
}

.footer-bottom {
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}

.footer-company-data {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.footer-infrastructure {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-infrastructure a {
  color: rgba(255,255,255,0.5);
}

.footer-infrastructure a:hover {
  color: white;
}

/* ============================================
   RESPONSYWNOSĆ
   ============================================ */

@media (max-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .header {
    padding: 0.4rem 0;
  }

  .header-inner {
    flex-wrap: nowrap;
    gap: 0.75rem;
    width: 100%;
  }

  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .logo-img {
    height: 32px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links a {
    display: inline-block;
    margin-right: 0.5rem;
  }

  .footer-links a:not(:last-child)::after {
    content: " · ";
  }

  .lang-menu {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 0.4rem;
  }

  .lang-menu a {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }

  .hero-single {
    max-height: 350px;
    border-radius: 0;
    margin-top: 0;
  }

  .hero-image {
    height: 350px;
  }

  .hero-overlay h1 {
    font-size: 1.8rem;
  }

  .hero-overlay h2 {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .btn-hero {
    padding: 0.6rem 1.8rem;
    font-size: 0.9rem;
  }

  .btn-map {
    width: 90%;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    gap: 0.8rem;
  }

  .map-button-wrapper {
    padding: 0.8rem 0;
  }

  .contact-row {
    flex-direction: column;
    gap: 1rem;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 2rem 0;
  }

  #o-nas {
    padding: 1.8rem 0 !important;
    max-width: 100% !important;
  }

  #o-nas .section-title {
    margin-bottom: 1rem !important;
  }

  #o-nas .about-content p,
  #o-nas .about-content h3 {
    font-size: 0.98rem !important;
  }

  #pokoje > div {
    display: block !important;
  }

  #pokoje > div > div {
    min-width: 0 !important;
    width: 100% !important;
  }

  #pokoje .gallery-grid {
    margin-top: 1rem;
  }

  #atrakcje .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  #restauracja .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  #kontakt .contact-card {
    padding: 1.2rem;
  }

  #kontakt .contact-col span,
  #kontakt .contact-col a {
    word-break: break-word;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
  }

  .footer-company-data {
    font-size: 0.8rem;
  }

  .footer-infrastructure {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.85rem;
  }

  .header-inner {
    gap: 0.5rem;
  }

  .logo-img {
    height: 28px;
  }

  .hero-single {
    max-height: 280px;
  }

  .hero-image {
    height: 280px;
  }

  .hero-overlay h1 {
    font-size: 1.4rem;
    line-height: 1.05;
  }

  .hero-overlay h2 {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
  }

  .btn-hero {
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
    width: 100%;
    max-width: 280px;
  }

  .btn-map {
    width: 95%;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
  }

  #atrakcje .grid-4 {
    grid-template-columns: 1fr;
  }

  #restauracja .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 180px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .contact-card {
    padding: 1.2rem;
  }

  .footer-content {
    gap: 1.5rem;
  }

  .footer-copyright-main {
    font-size: 1.2rem;
  }

  .footer-links a {
    display: block;
    padding: 0.4rem 0;
  }

  .footer-links a:not(:last-child)::after {
    content: "";
    display: none;
  }

  .lang-menu {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.3rem;
  }

  .lang-menu a {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
    justify-content: center;
  }

  .footer-company-data {
    font-size: 0.75rem;
  }

  .footer-infrastructure {
    font-size: 0.75rem;
  }
}