/* =========================
   ZMIENNE I PODSTAWY
   ========================= */
:root {
  --blue: #0a7da4;       /* morski błękit */
  --blue-light: #e5f7ff; /* jasne tło / hero */
  --sand: #fff4de;       /* piaskowe tło dla rezerwacji */
  --text: #223140;
  --max-width: 1100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #fff;
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  color: inherit;
}

/* Kontener główny */
.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

/* =========================
   NAGŁÓWEK / TOPBAR
   ========================= */
.topbar {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  gap: 1rem;
}

/* hasło w lewym górnym rogu */
.logo {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.logo span {
  color: var(--blue);
  font-weight: 700;
}

nav a {
  text-decoration: none;
  margin-left: 1rem;
  color: #465565;
  font-weight: 500;
  transition: 0.2s;
  white-space: nowrap;
}

nav a:hover {
  color: var(--blue);
}

.btn-nav {
  background: var(--blue);
  color: #fff !important;
  padding: 0.45rem 1rem;
  border-radius: 999px;
}

/* =========================
   SEKCJA HERO
   ========================= */
.hero {
  background: linear-gradient(180deg, var(--blue-light) 0%, #ffffff 100%);
  padding: 5rem 0 4rem;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  text-align: left;
}

.hero-left {
  flex: 0 1 280px;
  display: flex;
  justify-content: center;
}

.hero-right {
  flex: 1;
  max-width: 500px;
}

.hero-logo {
  width: 100%;
  max-width: 260px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

.hero h1 {
  font-size: clamp(2.3rem, 3.5vw, 3rem);
  margin-bottom: 1rem;
}

.hero p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: #334;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s;
}
.btn:hover {
  opacity: 0.9;
}

/* Układ mobilny */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .hero-left {
    flex: none;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .hero-right {
    max-width: 100%;
  }
  .hero-logo {
    max-width: 220px;
  }
}

/* logo w hero (to z pliku PNG) */
.hero-logo {
  display: block;
  margin: 0 auto 1.5rem auto;
  max-width: 300px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

.hero h1 {
  font-size: clamp(2.3rem, 3.5vw, 3rem);
  margin-bottom: 1rem;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
  font-size: 1.05rem;
  color: #334;
}

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s;
}
.btn:hover {
  opacity: 0.9;
}

/* =========================
   SEKCJE OGÓLNE
   ========================= */
.section {
  padding: 4rem 0;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.bg {
  background: #f4fbff;
}

.sand {
  background: var(--sand);
}

/* =========================
   GALERIA
   ========================= */
.gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* =========================
   ATRAKCJE (karty)
   ========================= */
.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.4rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.03);
}
.card h3 {
  margin-bottom: 0.4rem;
}

/* =========================
   AKTUALNOŚCI
   ========================= */
.news-list {
  display: grid;
  gap: 1.5rem;
}

.news {
  background: #fff;
  border: 1px solid #edf3ff;
  border-radius: 1rem;
  padding: 1.3rem 1.5rem;
}
.news h3 {
  margin-bottom: 0.5rem;
}
.news small {
  display: block;
  margin-top: 0.8rem;
  color: #777;
}

/* =========================
   FORMULARZ REZERWACJI
   ========================= */
.contact-form {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.contact-form input,
.contact-form textarea {
  padding: 0.65rem 0.85rem;
  border: 1px solid #dbe4f3;
  border-radius: 0.6rem;
  font: inherit;
  background: #fff;
}

.contact-form textarea {
  min-height: 120px;
}

.form-hint {
  font-size: 0.85rem;
  margin-top: 0.6rem;
  color: #555;
}

/* =========================
   KONTAKT
   ========================= */
.contact-box {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  background: #f3f7ff;
  padding: 1.5rem;
  border-radius: 1rem;
}

/* =========================
   STOPKA
   ========================= */
.footer {
  padding: 1.5rem 0;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}

/* =========================
   RESPONSYWNOŚĆ
   ========================= */
@media (max-width: 900px) {
  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  nav a {
    margin-left: 0.7rem;
    margin-bottom: 0.3rem;
  }
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 0.5rem 0;
  }
  .logo {
    margin-bottom: 0.5rem;
  }
  .hero {
    padding-top: 4.5rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .more-link {
    text-align: left;
  }
}

/* =========================
   LINKI "ZOBACZ WIĘCEJ"
   ========================= */
.more-link {
  display: flex;
  margin-top: 1.5rem;
}

.more-link a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s ease;
  position: relative;
  padding-right: 0.3rem;
}

.more-link.more-link-next {
  float:right;
    text-align: right;
}
.more-link.more-link-prev {
  float:left;
  text-align: left;
}

.more-link.more-link-next a::after {
  content: "→";
  margin-left: 0.2rem;
  transition: transform 0.2s ease;
}
.more-link.more-link-prev a:before {
    content: "←";
    margin-right: 0.2rem;
    transition: transform 0.2s ease;
}

.more-link a:hover {
  text-decoration: underline;
}

.more-link a:hover::after {
  transform: translateX(2px);
}

/* =========================
   LIGHTBOX
   ========================= */
.lightbox {
  display: none; /* pokazujemy w JS */
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 999;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.lightbox-img {
  max-width: min(90vw, 1100px);
  max-height: 90vh;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  background: #fff;
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  font-weight: 300;
}





/* =========================
   PODSTRONA: AKTUALNOŚCI
   ========================= */
/* layout content + sidebar */
.page-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--blue);
  display: inline-block;
  padding-bottom: 0.3rem;
  color: var(--text);
}
.page-content .news-full h3 {
  font-size: 1.2rem;
}

.page-grid {
  display: grid;
  grid-template-columns: 2fr 0.9fr;
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}





/* aktywny link */
nav a.active {
  color: var(--blue);
}

/* responsywność */
@media (max-width: 900px) {
  .page-grid {
    grid-template-columns: 1fr;
  }
}




/** GALERIA **/

/* większa galeria na osobnej stronie */
.gallery-page img {
  height: 200px;
}

@media (max-width: 600px) {
  .gallery-page img {
    height: 160px;
  }
}

/* Podtytuły sekcji w galerii */
.gallery-subtitle {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--blue);
  font-weight: 600;
  border-left: 4px solid var(--blue);
  padding-left: 0.6rem;
}

.gallery-page {
  margin-bottom: 1rem;
}

.gallery-page img {
  height: 200px;
}

@media (max-width: 600px) {
  .gallery-page img {
    height: 160px;
  }
}






/**      ATRAKCJE **/
/* Grupy atrakcji na podstronie */
.attractions-group {
  margin-top: 2rem;
}

.attractions-group h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--blue);
  font-weight: 600;
  border-left: 4px solid var(--blue);
  padding-left: 0.6rem;
}

/* dwie kolumny w obrębie contentu */
.attractions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 1rem;
}

.attraction {
  background: #fff;
  border: 1px solid #edf3ff;
  border-radius: 1rem;
  padding: 1rem 1.1rem 1.05rem;
  box-shadow: 0 4px 18px rgba(0,0,0,0.02);
}
.attraction h4 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}
.attraction p {
  font-size: 0.9rem;
  color: #596577;
  line-height: 1.4;
}

/* responsywność: na wąskich ekranach 1 kolumna */
@media (max-width: 650px) {
  .attractions-grid {
    grid-template-columns: 1fr;
  }
}









/* RIGHT COLUMN */
.page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.sidebar-box {
  background: #f4fbff;
  border: 1px solid rgba(10, 125, 164, 0.05);
  border-radius: 1rem;
  padding: 1.1rem 1.2rem 1.2rem;
}
.sidebar-box h3 {
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}

/* zajawki - galeria */
.sidebar-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(80px, 1fr));
  gap: .5rem;
  margin-bottom: .5rem;
}
.sidebar-gallery img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: .6rem;
}

.sidebar-list {
  list-style: none;
  margin-bottom: 0.5rem;
}
.sidebar-list li {
  margin-bottom: 0.35rem;
  font-size: .9rem;
}

.sidebar-link {
  display: inline-block;
  color: var(--blue);
  font-weight: 500;
  text-decoration: none;
  font-size: .9rem;
}
.sidebar-link:hover {
  text-decoration: underline;
}


/* =========================
   FORMULARZ REZERWACJI (POMARAŃCZOWY BOX)
   ========================= */
.sidebar-box.form-box {
  background: linear-gradient(180deg, #fff2e0, #ffe5c2);
  border: 1px solid #ffc37a;
  border-radius: 1rem;
  padding: 1.4rem 1.2rem;
  box-shadow: 0 6px 18px rgba(255, 153, 0, 0.15);
  color: #3b2600;
}

/* Nagłówek boxu */
.sidebar-box.form-box h3 {
  color: #d65b00;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Pola formularza */
.sidebar-box.form-box .sidebar-form input,
.sidebar-box.form-box .sidebar-form textarea {
  width: 100%;
  background: #fffaf5;
  border: 1px solid #ffc27b;
  border-radius: 0.6rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  color: #3b2600;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.sidebar-box.form-box .sidebar-form input:focus,
.sidebar-box.form-box .sidebar-form textarea:focus {
  outline: none;
  border-color: #ff9900;
  background: #fff5ea;
}

/* Przycisk wysyłania */
.sidebar-box.form-box .sidebar-form button.btn {
  background: linear-gradient(90deg, #ff9f25, #ff7a00);
  color: #fff;
  border: none;
  border-radius: 0.6rem;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background 0.25s ease, transform 0.15s ease;
  margin-top: 0.4rem;
  box-shadow: 0 3px 10px rgba(255, 140, 0, 0.2);
}

.sidebar-box.form-box .sidebar-form button.btn:hover {
  background: linear-gradient(90deg, #ff9500, #ff5e00);
  transform: translateY(-1px);
}

.sidebar-box.form-box .sidebar-form textarea {
  resize: vertical;
}

/* Drobne akcenty dla całego boxu */
.sidebar-box.form-box p,
.sidebar-box.form-box label {
  color: #3b2600;
}


/* Zajawka aktualności w sidebarze */
.sidebar-box ul.sidebar-list strong {
  color: var(--blue);
}
.sidebar-box ul.sidebar-list li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
}


