@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');

.bg-hero {
  background-image: url('obrazy/tlo.JPEG');
  background-size: cover;
  background-position: center;
}

/* HERO */
.hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: url('obrazy/tlo2.png') center/cover no-repeat; /* fallback */
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* przyciemnienie filmu */
  z-index: 2;
}

.hero-title {
  position: relative;
  z-index: 3;
  color: white;
  text-shadow: 0 10px 8px rgba(0,0,0,0.5);
  padding: 0 20px;
  text-align: center;
}

.title-soft {
  font-family: 'Kaushan Script', cursive;
  font-size: 50px;
  color: #1e3a8a;
}

.subtitle {
  font-size: 50px;
  font-weight: 300;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.5px;
  margin-top: 0.5rem;
  opacity: 0.95;
  color: white;
}

.title-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.title-box .logo {
  height: 50px;
  width: auto;
}

/* Styl żeglarski dla boxa */
.sailing-box {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 0.5rem;
  padding: 2.5rem;
  box-shadow: 0 5px 100px rgba(0,0,0,0.15);
  border: 4px solid #1e3a8a;
  position: relative;
}

.sailing-box::before,
.sailing-box::after {
  content: "";
  position: absolute;
  font-size: 1.5rem;
  color: #2563eb;
}

.sailing-box::before {
  left: 15px;
  top: 15px;
}

.sailing-box::after {
  right: 15px;
  bottom: 15px;
}

.font-vibes {
  font-family: 'Great Vibes', cursive;
}

.card {
  background: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: 0.3s;
  font-size: 1rem;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.card h3 {
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0.5rem 0;
}

.card p {
  color: #4b5563;
}

.pricing {
  padding: 60px 20px;
  text-align: center;
  background: white;
}

.gallery {
  padding: 80px 20px;
  background: white;
  text-align: center;
}

.gallery h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-family: 'Kaushan Script', cursive;
  color: #1e3a8a;
  text-align: center;
}

.gallery-img {
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, opacity 0.6s;
}

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

/* Animacje fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Nagłówki sekcji */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-family: 'Kaushan Script', cursive;
  color: #1e3a8a;
  text-align: center;
}

/* Styl sekcji Cennik */
.pricing {
  padding: 60px 20px;
  background: white;
}

.pricing-table-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pricing-table {
  width: 90%;
  max-width: 800px;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.pricing-table th,
.pricing-table td {
  padding: 15px 20px;
  text-align: center;
  border-bottom: 1px solid #ddd;
  font-size: 1rem;
}

.pricing-table th {
  background: #1e3a8a;
  color: white;
  font-weight: bold;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:hover {
  background: #f1f5f9;
  transition: 0.3s;
}

/* ===== WARUNKI ZAMELDOWANIA ===== */
.checkin-section {
  padding: 60px 20px;
  background: white;
  text-align: center;
}

.checkin-section p {
  font-size: 1.1rem;
  color: #374151;
  margin-top: 10px;
  line-height: 1.6;
}

/* ===== GALERIA ===== */
.gallery {
  padding: 80px 20px;
  background: white;
  text-align: center;
}

.gallery h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-family: 'Kaushan Script', cursive;
  color: #1e3a8a;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* ===== KONTAKT ===== */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  align-items: start;
}

.contact-info {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  font-size: 1rem;
  color: #333;
}

.contact-info h2 {
  margin-bottom: 20px;
  font-size: 26px;
  color: #1e3a8a;
}

.contact-info p {
  margin-bottom: 10px;
}

.map {
  width: 100%;
  height: 450px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

@media (max-width: 900px) {
  .contact-section {
    grid-template-columns: 1fr;
  }
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

.section-divider img {
  width: auto;
  height: auto;
  opacity: 0.8;
}

.contact-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* =========================
   MOBILE / TABLET PRICING
   ========================= */

@media (max-width: 1024px) {
  .season-pricing {
    gap: 28px;
    padding: 28px 16px;
  }

  .season-card h3,
  .holiday-pricing h3 {
    font-size: 22px;
  }

  .season-dates {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .season-card li,
  .holiday-pricing li {
    font-size: 18px;
    margin: 10px 0;
  }
}

@media (max-width: 768px) {
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero {
    height: 320px;
  }

  .title-soft {
    font-size: 36px;
  }

  .subtitle {
    font-size: 28px;
  }
}

@media (max-width: 420px) {
  .season-card h3,
  .holiday-pricing h3 {
    font-size: 18px;
  }

  .season-card li,
  .holiday-pricing li {
    font-size: 16px;
  }

  .title-soft {
    font-size: 30px;
  }

  .subtitle {
    font-size: 22px;
  }
}

.season-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.season-card {
  text-align: center;
}

.season-card h3 {
  font-size: 26px;
  color: #1e3a8a;
  font-weight: 700;
  margin-bottom: 5px;
}

.season-card h3.high {
  color: #1f3d7a;
}

.season-dates {
  font-size: 15px;
  color: #7a9bcf;
  margin-bottom: 20px;
}

.season-card ul,
.holiday-pricing ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.season-card li,
.holiday-pricing li {
  font-size: 20px;
  margin: 12px 0;
  color: #2c3e50;
}

.season-card strong,
.holiday-pricing strong {
  font-weight: 700;
}

/* BOŻE CIAŁO */
.holiday-pricing {
  text-align: center;
  margin-top: 50px;
}

.holiday-pricing h3 {
  color: #d62828;
  font-size: 26px;
  margin-bottom: 20px;
}