/* ============================================================
   SŁONECZNA PRZYSTAŃ – Portal / booking-widget style
   ============================================================ */
:root {
  --teal:    #0d9ab0;
  --teal-l:  #2bb8cf;
  --teal-bg: #e8f8fb;
  --ink:     #0f2535;
  --muted:   #5e7a89;
  --border:  #d2eaf0;
  --pale:    #f4fbfc;
  --white:   #fff;
  --serif:   'Playfair Display', Georgia, serif;
  --sans:    'Nunito', system-ui, sans-serif;
  --ease:    0.3s ease;
  --r:       10px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1200px; margin-inline: auto; padding-inline: 2rem; }
.section { padding-block: 5rem; }
.section--pale { background: var(--pale); }

.eyebrow { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.6rem; }
h2 { font-family: var(--serif); font-size: clamp(1.9rem,4vw,2.9rem); font-weight: 700; line-height: 1.15; margin-bottom: 1.5rem; }
h2 em { font-style: italic; color: var(--teal); font-weight: 400; }

/* TOPBAR */
.topbar { background: var(--ink); color: rgba(255,255,255,0.65); font-size: 0.75rem; }
.topbar__inner { max-width: 1200px; margin-inline: auto; padding: 0.45rem 2rem; display: flex; gap: 2rem; align-items: center; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 2rem; padding: 0.85rem 2rem;
  box-shadow: 0 2px 12px rgba(13,154,176,0.08);
}
.back-link { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); white-space: nowrap; transition: opacity var(--ease); }
.back-link:hover { opacity: 0.7; }
.nav__logo { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; color: var(--ink); flex: 1; }
.nav__links { display: flex; gap: 1.75rem; align-items: center; }
.nav__links a { font-size: 0.8rem; font-weight: 700; color: var(--muted); transition: color var(--ease); }
.nav__links a:hover { color: var(--teal); }
.nav__phone { background: var(--teal); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 0.5rem 1.2rem; border-radius: 50px; white-space: nowrap; transition: background var(--ease); }
.nav__phone:hover { background: var(--teal-l); }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; }
.nav__hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

/* HERO */
.hero { position: relative; min-height: 80vh; display: flex; align-items: flex-end; padding-bottom: 0; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,40,65,0.82) 0%, rgba(0,40,65,0.4) 60%, transparent 100%); }
.hero__content { position: relative; z-index: 2; color: #fff; padding: 4rem 3rem 6rem; max-width: 560px; }
.hero__badge { display: inline-block; background: var(--teal); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; padding: 0.3rem 0.9rem; border-radius: 50px; margin-bottom: 1rem; }
.hero__content h1 { font-family: var(--serif); font-size: clamp(3rem,7vw,5.5rem); font-weight: 700; line-height: 1; margin-bottom: 0.75rem; }
.hero__content h1 em { display: block; font-style: italic; font-weight: 400; color: #a8eaf5; }
.hero__content p { font-size: 0.9rem; color: rgba(255,255,255,0.72); letter-spacing: 0.08em; }

/* BOOKING WIDGET */
.booking-widget {
  position: absolute; right: 2.5rem; top: 50%; transform: translateY(-50%);
  z-index: 10; background: #fff; border-radius: var(--r);
  padding: 2rem; box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  width: 360px;
}
.bw__title { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--ink); margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 2px solid var(--teal-bg); }
.bw__sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.25rem; line-height: 1.5; }
.bw__actions { display: flex; flex-direction: column; gap: 0.5rem; }
.bw-btn { display: block; text-align: center; padding: 0.8rem; font-size: 0.8rem; font-weight: 700; border-radius: 8px; transition: all var(--ease); letter-spacing: 0.06em; }
.bw-btn--primary { background: var(--teal); color: #fff; }
.bw-btn--primary:hover { background: var(--teal-l); }
.bw-btn--fb { background: #1877f2; color: #fff; }
.bw-btn--fb:hover { background: #0d6de8; }
.bw-btn--bk { background: #003580; color: #fff; }
.bw-btn--bk:hover { background: #00276b; }

/* TRUST STRIP */
.trust-strip { background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; padding: 1rem 2rem; }
.ts-item { display: flex; flex-direction: column; align-items: center; padding: 0.5rem 2rem; }
.ts-item strong { font-size: 1rem; font-weight: 800; }
.ts-item span { font-size: 0.7rem; color: rgba(255,255,255,0.75); margin-top: 1px; }
.ts-div { width: 1px; height: 32px; background: rgba(255,255,255,0.25); }

/* ROOMS – horizontal scroll */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2rem; }
.scroll-hint { font-size: 0.78rem; font-weight: 700; color: var(--teal); letter-spacing: 0.06em; }
.rooms-scroll { overflow-x: auto; padding: 0.5rem 2rem 2rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.rooms-scroll::-webkit-scrollbar { height: 4px; }
.rooms-scroll::-webkit-scrollbar-track { background: var(--teal-bg); border-radius: 2px; }
.rooms-scroll::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 2px; }
.rooms-track { display: flex; gap: 1.5rem; width: max-content; padding-inline: calc((100vw - 1200px) / 2); }
.room-slide { width: 320px; flex-shrink: 0; background: var(--white); border-radius: var(--r); border: 1.5px solid var(--border); overflow: hidden; scroll-snap-align: start; box-shadow: 0 2px 12px rgba(13,154,176,0.07); transition: box-shadow var(--ease), transform var(--ease); position: relative; }
.room-slide:hover { box-shadow: 0 12px 32px rgba(13,154,176,0.18); transform: translateY(-4px); }
.room-slide--featured { border-color: var(--teal); }
.room-slide__label { position: absolute; top: 0; left: 0; right: 0; background: var(--teal); color: #fff; text-align: center; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; padding: 0.3rem; z-index: 2; }
.room-slide__img { height: 200px; position: relative; overflow: hidden; }
.room-slide__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.room-slide:hover .room-slide__img img { transform: scale(1.05); }
.rs-badge { position: absolute; bottom: 0.75rem; left: 0.75rem; background: rgba(255,255,255,0.92); color: var(--ink); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.65rem; border-radius: 50px; }
.rs-badge--teal { background: var(--teal); color: #fff; }
.rs-badge--gold { background: #b8955a; color: #fff; }
.room-slide__body { padding: 1.4rem; }
.room-slide__body h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--ink); }
.room-slide__body p { font-size: 0.82rem; color: var(--muted); line-height: 1.55; margin-bottom: 0.9rem; }
.room-slide__feats { display: flex; flex-wrap: wrap; gap: 0.3rem 0.75rem; margin-bottom: 0.9rem; }
.room-slide__feats span { font-size: 0.75rem; font-weight: 600; color: var(--ink); }
.room-slide__price { font-size: 0.82rem; color: var(--muted); margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.room-slide__price strong { font-family: var(--serif); font-size: 1.5rem; color: var(--teal); }
.room-slide__price small { font-size: 0.72rem; color: var(--muted); }
.room-slide__cta { display: flex; gap: 0.4rem; flex-wrap: wrap; }

/* PILLS */
.pill { display: inline-flex; align-items: center; justify-content: center; padding: 0.42rem 1rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; border-radius: 50px; transition: all var(--ease); white-space: nowrap; }
.pill--teal { background: var(--teal); color: #fff; }
.pill--teal:hover { background: var(--teal-l); }
.pill--fb { background: #1877f2; color: #fff; }
.pill--fb:hover { background: #0d6de8; }
.pill--bk { background: #003580; color: #fff; }
.pill--bk:hover { background: #00276b; }

/* AMENITIES GRID */
.amenities h2 { margin-bottom: 2rem; }
.am-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 8px; border-radius: var(--r); overflow: hidden; }
.am-item { position: relative; overflow: hidden; cursor: pointer; }
.am-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.am-item:hover img { transform: scale(1.07); }
.am-item--tall { grid-row: span 2; }
.am-item--wide { grid-column: span 2; }
.am-item__label { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem 1.25rem; background: linear-gradient(to top, rgba(0,40,65,0.85), transparent); color: #fff; font-size: 0.9rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; }
.am-item__label span { font-size: 1.1rem; }

/* REVIEWS */
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.review { background: var(--pale); border-radius: var(--r); padding: 2rem; border: 1.5px solid var(--border); }
.review--featured { background: var(--teal); border-color: var(--teal); }
.review--featured .review__text, .review--featured .review__author { color: rgba(255,255,255,0.85); }
.review--featured .review__stars { color: #fff; }
.review__stars { font-size: 0.9rem; margin-bottom: 0.75rem; display: block; }
.review__text { font-size: 0.9rem; color: var(--ink); line-height: 1.65; margin-bottom: 1rem; font-style: italic; }
.review__author { font-size: 0.75rem; font-weight: 700; color: var(--muted); }

/* DINING */
.dining__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.dining__grid p { color: var(--muted); margin-bottom: 1.5rem; }
.dining-table { width: 100%; border-collapse: collapse; }
.dining-table tr { border-bottom: 1px solid var(--border); }
.dining-table td { padding: 0.85rem 0.5rem; font-size: 0.88rem; color: var(--ink); font-weight: 600; }
.dining-table td:nth-child(2) { color: var(--muted); font-weight: 400; }
.td-inc { color: var(--teal) !important; font-weight: 700 !important; }
.dining__photo { border-radius: var(--r); overflow: hidden; height: 340px; }
.dining__photo img { width: 100%; height: 100%; object-fit: cover; }

/* CONTACT */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact__map { height: 420px; border-radius: var(--r); overflow: hidden; border: 1.5px solid var(--border); }
.contact__map iframe { width: 100%; height: 100%; border: 0; }
.contact__info h2 { margin-bottom: 1.5rem; }
.ci-rows { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.75rem; }
.ci-row { display: flex; align-items: flex-start; gap: 0.9rem; }
.ci-icon { font-size: 1.1rem; margin-top: 2px; }
.ci-row strong { display: block; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.2rem; }
.ci-row p { font-size: 0.88rem; color: var(--muted); }
.ci-row a:hover { color: var(--teal); }
.contact__btns { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* FOOTER */
.footer { background: var(--ink); color: rgba(255,255,255,0.55); }
.footer__inner { max-width: 1200px; margin-inline: auto; padding: 2.5rem 2rem; display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }
.footer__logo { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: #fff; flex: 1; }
.footer__inner strong { color: rgba(255,255,255,0.85); font-size: 0.9rem; display: block; margin-bottom: 0.25rem; }
.footer__inner p { font-size: 0.82rem; }
.footer__nav { display: flex; gap: 1.25rem; }
.footer__nav a { font-size: 0.78rem; font-weight: 600; transition: color var(--ease); }
.footer__nav a:hover { color: var(--teal-l); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.07); text-align: center; padding: 1.25rem; font-size: 0.75rem; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .booking-widget { position: static; width: 100%; transform: none; border-radius: 0; box-shadow: none; border-top: 2px solid var(--teal-bg); }
  .hero { flex-direction: column; }
  .hero__content { max-width: 100%; }
  .am-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .am-item--tall { grid-row: auto; }
  .am-item--wide { grid-column: span 2; }
  .reviews-grid { grid-template-columns: 1fr; }
  .dining__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .rooms-track { padding-inline: 1rem; }
}
@media (max-width: 768px) {
  .topbar { display: none; }
  .nav__links { display: none; }
  .nav__links.open { display: flex; position: fixed; top: 0; right: 0; width: 260px; height: 100vh; background: var(--ink); flex-direction: column; align-items: flex-start; justify-content: center; padding: 3rem 2rem; gap: 1.5rem; z-index: 200; }
  .nav__links.open a { font-size: 1rem; color: #fff; }
  .nav__hamburger { display: flex; }
  .ts-div { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .footer__inner { flex-direction: column; gap: 1.5rem; }
  .footer__nav { flex-wrap: wrap; }
}
