* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(44, 62, 80, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(44, 62, 80, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.nav-menu a:hover {
  color: #3498db;
}

.mobile-menu {
  display: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Mobile menu --- */
@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.95);
    flex-direction: column;
    display: none;
    gap: 0;
    padding: 10px 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    margin: 10px 0;
    text-align: center;
  }
}

/* Hero section z poprawionym tłem */
.hero-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
  z-index: 2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
  margin-top: 80px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(45deg, #6ba4ff, #feca57);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out 0.6s both;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Sekcja opisowa */
.about-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #2c3e50;
}

.about-text {
  text-align: center;
  font-size: 1.2rem;
  max-width: 800px;
  /* margin: 0 auto 60px; */
  color: #555;
  line-height: 1.8;
}

.about-section p {
  color: #191e22;
  padding: 1.3rem 0.5rem 0.5rem;
  text-decoration: none;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.highlight-item {
  background: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.highlight-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.highlight-item h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.highlight-item p {
  color: #666;
}

/* Sekcja pokoi */
.rooms-section {
  padding: 100px 0;
  background: white;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.room-card {
  background: #f8f9fa;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.room-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.room-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(45deg, #74b9ff, #0984e3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  position: relative;
  overflow: hidden;
}

.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.room-image::after {
  content: "📸 Kliknij, aby zobaczyć galerię";
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.room-content {
  padding: 30px;
}

.room-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.room-details {
  color: #666;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.room-amenities {
  list-style: none;
  margin-bottom: 20px;
}

.room-amenities li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.room-amenities li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #27ae60;
  font-weight: bold;
}

/* Sekcja rozdzielająca pokoje */
.rooms-divider {
  text-align: center;
  margin: 60px 0;
  position: relative;
}

.rooms-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #ddd;
}

.rooms-divider span {
  background: white;
  padding: 0 30px;
  color: #666;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

/* Modal galerii */
.gallery-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  overflow: auto;
}

.gallery-content {
  position: relative;
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
}

.gallery-close {
  position: absolute;
  top: 10px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 2001;
  background: none;
  border: none;
}

.gallery-title {
  color: white;
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.gallery-item {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 280px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(45deg, #667eea, #764ba2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
  border-radius: 10px;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Modal z wieloma galeriami */
.multi-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.gallery-section {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  backdrop-filter: blur(10px);
}

.gallery-section-title {
  color: #3498db;
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
}

/* lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
  z-index: 3000;
  padding: 20px;
}

.lightbox[aria-hidden="false"] {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: scale-down;
  display: block;
  margin: 0 auto;
}


.lightbox-close {
  position: absolute;
  top: -15px;
  right: -15px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 2rem;
  line-height: 1;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
  color: #333;
  transition: all 0.3s ease;
  z-index: 3001;
}

.lightbox-close:hover {
  background: white;
  transform: scale(1.1);
}

/* Sekcja kontakt */
.contact-section {
  padding: 100px 0;
  background: #2c3e50;
  color: white;
}

.contact-section .section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #afcde0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
  align-items: start;
}

.contact-info {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: center;
  align-self: center;
}

.contact-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #3498db;
}

.contact-text {
  opacity: 0.9;
  line-height: 1.8;
  font-size: 1.1rem;
}

.contact-text a {
  color: #3498db;
  text-decoration: none;
}

.contact-text a:hover {
  text-decoration: underline;
}

.contact-text em {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Mapa */
.map-container {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  backdrop-filter: blur(10px);
  text-align: center;
  height: fit-content;
}

.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-top: 20px;
  border: 2px solid rgba(52, 152, 219, 0.3);
}

.map-wrapper iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 10px;
}

/* Responsywność dla mapy */
@media (max-width: 1200px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-info-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .contact-info-wrapper {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .map-wrapper iframe {
    height: 250px;
  }

  .map-container {
    padding: 25px;
  }

  .contact-grid {
    gap: 25px;
  }
}

@media (max-width: 480px) {
  .contact-grid {
    gap: 20px;
  }

  .contact-info-wrapper {
    gap: 20px;
  }

  .map-wrapper iframe {
    height: 200px;
  }

  .map-container {
    padding: 20px;
  }
}

/* Stopka */
.footer {
  background: #1a252f;
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-section h3 {
  margin-bottom: 20px;
  color: #3498db;
  font-size: 1.3rem;
}

.footer-section p,
.footer-section ul {
  line-height: 1.8;
  opacity: 0.9;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #3498db;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #34495e;
  opacity: 0.8;
}

/* Responsywność */
@media (max-width: 1200px) {
  .gallery-item {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .rooms-grid {
    grid-template-columns: 1fr;
  }

  .gallery-content {
    margin: 20px;
    padding: 10px;
  }

  .gallery-item {
    flex: 0 0 calc(50% - 10px);
    min-width: 140px;
  }

  .lightbox-content {
    padding: 10px;
  }

  .lightbox-close {
    top: -10px;
    right: -10px;
    font-size: 1.5rem;
    padding: 5px 8px;
  }
}

@media (max-width: 480px) {
  .gallery-item {
    flex: 0 0 100%;
    min-width: unset;
  }

  .gallery-grid {
    gap: 15px;
  }
}
