:root {
  --blue-main: #68c5e8;
  --blue-dark: #2577a1;
  --blue-deep: #256d8f;
  --button-blue: #007ba9;
  --text-main: #102333;
  --text-muted: #4b5c6a;
  --radius-lg: 24px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER / NAVBAR */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0 4px;
}

.nav-container {
  max-width: 100%;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 0 12px;
  gap: 24px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Architects Daughter", cursive;
  font-size: 22px;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.logo-text-main {
  font-family: "Architects Daughter", cursive;
  font-size: 26px;
  letter-spacing: 0.02em;
}

.logo-text-sub {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-top: -4px;
}

nav {
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-main);
  font-size: 0.78rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--blue-dark);
  transition: width 0.22s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.btn {
  border-radius: 999px;
  border: 2px solid transparent;
  padding: 8px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  background: none;
  font-family: inherit;
  transition: all 0.18s ease;
}

.btn-outline {
  border-color: var(--blue-dark);
  color: var(--blue-dark);
  background: #ffffff;
}

.btn-outline:hover {
  background: rgba(104, 197, 232, 0.18);
}

.btn-primary {
  background: var(--button-blue);
  color: #ffffff;
  border-color: var(--button-blue);
  box-shadow: 0 8px 20px rgba(0, 66, 110, 0.3);
}

.btn-primary:hover {
  background: #005b7b;
  border-color: #005b7b;
  transform: translateY(-1px);
}

/* HERO */

.hero-wrap {
  background: var(--blue-main);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  padding: 60px 0 70px;
  align-items: flex-start;
}

.hero-text h1 {
  font-family: "Architects Daughter", cursive;
  font-size: clamp(2.3rem, 4vw, 3rem);
  margin: 0 0 18px;
  color: #ffffff;
}

.hero-text p {
  color: #ffffff;
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 640px;
}

.hero-buttons {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-buttons .btn {
  font-size: 0.9rem;
  padding-inline: 26px;
  padding-block: 10px;
}

.hero-buttons .btn-secondary {
  border-color: #ffffff;
  color: #ffffff;
  background: transparent;
}

.hero-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* HERO – PANEL UMAWIANIA */

.hero-panel {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
  padding: 22px 22px 20px;
}

.hero-panel h2 {
  margin: 0 0 16px;
  font-size: 1.2rem;
  text-align: center;
}

.field-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.field {
  margin-bottom: 14px;
}

select, input[type="date"] {
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid #cfd7e0;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
}

select:focus,
input[type="date"]:focus {
  border-color: var(--blue-dark);
  box-shadow: 0 0 0 2px rgba(37, 109, 143, 0.2);
}

.hero-panel .btn-primary {
  width: 100%;
  margin-top: 8px;
  padding-block: 10px;
}

.hero-panel-note {
  margin-top: 8px;
  font-size: 0.78rem;
  text-align: center;
  color: var(--text-muted);
}

/* STATS SECTION */

.stats-wrap {
  background: var(--blue-deep);
  color: #ffffff;
  text-align: center;
  padding: 30px 0 36px;
}

.stats-wrap h2 {
  font-family: "Architects Daughter", cursive;
  font-size: 2rem;
  margin: 0;
}

.stats-wrap p.desc {
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 0.98rem;
}

.stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 0;
}

.stat-item {
  min-width: 140px;
}

.stat-number {
  font-size: 2.1rem;
  font-weight: 700;
}

.stat-label {
  margin-top: 6px;
  font-size: 0.9rem;
}

/* YAPP SECTION */

.cards-section {
  background: var(--blue-main);
  padding: 0;
}

.card-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 360px;
}

.card-text {
  background: #ffffff;
  padding: 42px 46px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-title {
  font-family: "Architects Daughter", cursive;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.card-text p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.card-actions {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.card-actions .btn-primary {
  background: var(--button-blue);
}

.card-actions .btn-secondary {
  border-color: var(--button-blue);
  color: var(--button-blue);
}

.card-image {
  background-position: center;
  background-size: cover;
  min-height: 360px;
}

.card-image.adults {
  background-image: url("https://images.pexels.com/photos/1181354/pexels-photo-1181354.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.card-image.kids {
  background-image: url("https://images.pexels.com/photos/7536263/pexels-photo-7536263.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.card-row.reverse .card-image {
  order: 1;
}

.card-row.reverse .card-text {
  order: 2;
}

/* FOOTER */

footer {
  background: var(--blue-deep);
  color: #ffffff;
  padding: 34px 0 26px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 32px;
  font-size: 1rem;
}

.footer-brand-block {
  margin-right: 0;
}

.footer-brand {
  font-family: "Architects Daughter", cursive;
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.95rem;
}

.footer-links a {
  text-decoration: underline;
}

.footer-bottom {
  text-align: left;
  margin-top: 20px;
  font-size: 0.8rem;
  color: #e1f3ff;
}

/* WIDGET UMAWIANIA WIZYT */

.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(104, 197, 232, 0.15);
  color: var(--blue-dark);
  font-size: 0.8rem;
  font-weight: 600;
}

.bw-calendar {
  border-radius: 16px;
  border: 1px solid #e1e5ec;
  padding: 10px 10px 12px;
}

.bw-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.bw-cal-month {
  font-weight: 600;
  font-size: 0.9rem;
}

.bw-cal-nav {
  border: none;
  background: #f3f4f6;
  border-radius: 999px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 1rem;
}

.bw-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.bw-cal-weekdays span {
  text-align: center;
}

.bw-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.bw-day {
  height: 32px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.bw-day.outside {
  visibility: hidden;
}

.bw-day.disabled {
  background: #f5f5f5;
  color: #9ca3af;
  cursor: default;
}

.bw-day.selected {
  background: #007ba9;
  color: #ffffff;
  border-color: #007ba9;
}

.bw-times {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bw-time {
  min-width: 64px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  font-size: 0.8rem;
  text-align: center;
  cursor: pointer;
  background: #ffffff;
}

.bw-time.disabled {
  background: #f5f5f5;
  color: #9ca3af;
  cursor: default;
}

.bw-time.selected {
  background: #007ba9;
  color: #ffffff;
  border-color: #007ba9;
}

.bw-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.bw-total {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.bw-submit {
  padding-inline: 16px;
  font-size: 0.8rem;
}

.bw-message {
  margin-top: 6px;
  font-size: 0.78rem;
}
.bw-message.ok {
  color: #16a34a;
}
.bw-message.error {
  color: #dc2626;
}

.hidden {
  display: none !important;
}

/* NAVBAR – DZWONEK I MENU UŻYTKOWNIKA */

.nav-bell-wrapper {
  position: relative;
  margin-right: 6px;
}

.nav-bell {
  border: none;
  background: transparent;
  color: var(--blue-deep);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-bell-icon {
  width: 20px;
  height: 20px;
  display: block;
  fill: var(--blue-deep);
}

.nav-bell-dropdown {
  position: absolute;
  right: 0;
  top: 38px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  padding: 10px 16px;
  width: 340px;
  z-index: 30;
  display: none;
  max-height: 420px;
  overflow-y: auto;
}

.nav-bell-dropdown.open {
  display: block;
}

.nav-bell-empty {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: normal;
}

.nav-bell-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  max-height: none;
  overflow-y: visible;
}

.nav-bell-list li {
  font-size: 0.85rem;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid #e5e7eb;
}

/* DROPDOWN UŻYTKOWNIKA */

.nav-user {
  position: relative;
}

.nav-user-btn {
  border-radius: 999px;
  border: 2px solid #e5e7eb;
  padding: 6px 14px;
  font-size: 0.8rem;
  background: #ffffff;
  cursor: pointer;
}

.nav-user-dropdown {
  position: absolute;
  right: 0;
  top: 38px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  padding: 6px 0;
  width: 190px;
  display: none;
  z-index: 30;
}

.nav-user-dropdown.open {
  display: block;
}

.nav-user-dropdown button {
  display: block;
  width: 100%;
  padding: 8px 14px;
  border: none;
  background: transparent;
  text-align: left;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}

.nav-user-dropdown button:hover {
  background: #f3f4f6;
}

/* MODALE */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px 24px 18px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  position: relative;
}

.modal h3 {
  margin-top: 0;
  margin-bottom: 14px;
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 10px;
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.modal-field {
  margin-bottom: 12px;
}

/* normalne labelki (nie checkbox) */
.modal-field label:not(.modal-checkbox-row) {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 4px;
}

/* tylko pola tekstowe / email / hasło / tel / date – NIE checkboxy */
.modal-field input[type="text"],
.modal-field input[type="email"],
.modal-field input[type="password"],
.modal-field input[type="tel"],
.modal-field input[type="date"] {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #cfd7e0;
  font-family: inherit;
  font-size: 0.9rem;
}

.modal-field input[type="text"]:focus,
.modal-field input[type="email"]:focus,
.modal-field input[type="password"]:focus,
.modal-field input[type="tel"]:focus,
.modal-field input[type="date"]:focus {
  outline: none;
  border-color: var(--blue-dark);
  box-shadow: 0 0 0 2px rgba(37, 109, 143, 0.2);
}

/* wrapper dla daty urodzenia */
.modal-date-wrapper {
  display: flex;
  gap: 6px;
}

/* pole tekstowe dd/mm/rrrr – jak poprzednio */
.modal-date-wrapper input[type="text"] {
  flex: 1;
}

/* pole typu date – tylko ikonka kalendarza */
.modal-date-wrapper input[type="date"] {
  max-width: 36px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: transparent;
}

/* WebKit – chowamy edycję tekstową */
.modal-date-wrapper input[type="date"]::-webkit-datetime-edit,
.modal-date-wrapper input[type="date"]::-webkit-inner-spin-button,
.modal-date-wrapper input[type="date"]::-webkit-clear-button {
  display: none;
}

.modal-date-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 1;
}

/* Firefox – odsuwamy tekst */
.modal-date-wrapper input[type="date"] {
  text-indent: -9999px;
}

.modal-date-wrapper input[type="date"]:focus {
  box-shadow: none;
  border: none;
}

.modal-submit {
  width: 100%;
  margin-top: 4px;
}

.modal-switch {
  margin-top: 10px;
  font-size: 0.82rem;
}

.modal-switch button {
  border: none;
  background: none;
  color: var(--blue-dark);
  cursor: pointer;
  font-size: 0.82rem;
  text-decoration: underline;
}

.modal-message {
  margin-top: 6px;
  font-size: 0.8rem;
}

.modal-message.error {
  color: #dc2626;
}

.modal-message.ok {
  color: #16a34a;
}

/* WSPÓLNY RZĄD DLA CHECKBOXÓW W MODALACH */

.modal-checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  line-height: 1.3;
  text-align: left;
  justify-content: flex-start;
  margin: 0;
}

.modal-checkbox-row input[type="checkbox"] {
  margin: 0;
  flex-shrink: 0;
}

.modal-checkbox-row span {
  display: inline-block;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .nav-inner {
    justify-content: center;
  }

  .logo-row {
    justify-content: center;
  }

  .footer-inner {
    justify-content: flex-start;
  }
}

@media (max-width: 840px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 40px;
  }

  .hero-panel {
    order: -1;
  }

  .card-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .card-image {
    min-height: 220px;
  }

  .card-text {
    padding: 28px 22px 26px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .hero {
    padding-bottom: 46px;
  }
}
