﻿/* ===== VARIABLES ===== */

:root {
  --bg-header: #6d6d6d;
  --text-dark: #ffffff;
  --line-dark: #dedede;
  --cta-bg: #3d3e3f;
  --bg-body: #ffffff;
  --header-height: 90px;
  --hotel_name: #ffffff;
  --welcome: #ffffff;
}

/* ===== RESET ===== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg-body);
}

/* offset pod fixed header */
body {
  padding-top: var(--header-height);
}

/* ===== HEADER ===== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.top-bar {
  position: relative;
  background: rgba(0, 0, 0, var(--header-alpha, 0));
  transition: background 0.15s linear;
}

/* linie na dole */
.top-bar::before,
.top-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  opacity: var(--header-alpha, 0);
  transition: opacity 0.15s linear;
}

.top-bar::before {
  bottom: 2px;
  height: 2px;
  background: #fff;
}

.top-bar::after {
  bottom: 0;
  height: 2px;
  background: linear-gradient(to right,
      rgb(198, 183, 166),
      rgb(170, 102, 25));
}

.site-header.scrolled .top-bar::before,
.site-header.scrolled .top-bar::after {
  opacity: 1;
}

.site-header.scrolled .top-bar {
  background: rgba(0, 0, 0, 0.55);
}

.site-header.solid .top-bar {
  background: rgba(0, 0, 0, 1);
}

/* ===== CONTAINER ===== */

.site-header .container {
  padding-left: 0;
  padding-right: 0;
}

.nav-toggle {
  display: none;
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

.nav-toggle .bar:not(:last-child) {
  margin-bottom: 5px;
}

/* ===== GRID HEADER ===== */

.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--header-height);
}

/* ===== LOGO ===== */

.logo img {
  display: block;
  height: 150px;
  padding-left: 25px;
  padding-top: 5px;
  padding-bottom: 5px;
}

/* ===== MENU ===== */

.center-nav {
  justify-self: center;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}

.nav-list a {
  position: relative;
  display: block;
  padding: 12px 0;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 26px;
  text-transform: uppercase;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--line-dark);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after,
.nav-list a:active::after,
.nav-list a[aria-current="page"]::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-overlay {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100% - var(--header-height));
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 998;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ===== PRAWA STRONA ===== */

.right-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-right: 25px;
}

/* ===== FLAGI ===== */

.flags-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.flags-list img {
  width: 42px;
  height: 28px;
  object-fit: cover;
  display: block;
}

/* ===== CTA ===== */

.btn-book {
  background: var(--cta-bg);
  color: #fff;
  font-size: 20px;
  padding: 12px 40px;
  text-decoration: none;
  white-space: nowrap;
}

/* ===== HERO ===== */

.hero {
  min-height: 100svh;
  background: url("photos/hero.jpg") center / cover no-repeat;
  margin-top: calc(-1 * var(--header-height));
  padding-top: var(--header-height);
  display: grid;
  grid-template-columns: 2.7fr 2fr;
}

.hero-content {
  grid-column: 2;
  justify-self: start;
  align-self: start;

  padding-right: 25px;

  margin-top: 120px;
}

.hero-title,
.hero-subtitle {
  font-family: 'Georgia', serif;
  font-size: clamp(30px, 2.5vw, 72px);
  font-weight: 400;
  font-variant: small-caps;
  letter-spacing: 0.1PX;
  line-height: 1.50;
  color: var(--hotel_name);
  text-align: center;
  white-space: nowrap;
  margin: 0;
  padding-bottom: 5px;
}

/* ===== CONTENT ===== */

.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.content p {
  margin: 0 0 1em 0;
}

/* ===== izolacja widgetu (bez revert) ===== */
.bse-widget {
  position: static;
  margin-top: 40px;
  z-index: 3;
}

.bse-widget * {
  box-sizing: border-box;
}

.booking-bar {
  display: flex;
  background: #fffa
}

.booking-date,
.booking-btn {
  width: 33.3333%;
}

.booking-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
}

.booking-date .label {
  font-size: 14px;
  color: #6d6d6d;
  letter-spacing: 1px;
}

.booking-date .date {
  display: flex;
  align-items: center;
}

.booking-date .day {
  font-size: 55px;
  line-height: 40px;
  color: #000000;
  font-weight: 300;
}

.booking-date .month-year {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
  text-transform: uppercase;
  color: #000000;
}

.booking-date .month {
  font-size: 18px;
}

.booking-date .year {
  font-size: 14px;
}

.booking-btn {
  background: #3d3e3f;
  border: 0;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  white-space: nowrap;
}

.booking-btn:hover {
  background: #6b5c5c;
}

.booking-btn .primary-line,
.booking-btn .secondary-line {
  color: #fff;
}

.arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.arrow img {
  width: 42px;
  height: 28px;
  object-fit: cover;
  display: block;
}

.main-info {
  padding: 100px 0;
  background: #fff;
}

.main-info-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.slider {
  width: 600px;
  height: 460px;
  position: relative;
  overflow: hidden;
}

.slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide.active {
  opacity: 1;
}

.dots {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #888;
  cursor: pointer;
}

.dot.active {
  background: #fff;
}

.dot:hover {
  transform: scale(1.5);
}


.rooms-cards {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* KARTA */
.flip-card {
  width: 300px;
  height: 220px;
  perspective: 1000px;
}

/* ELEMENT OBRACANY */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

/* HOVER */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* FRONT + BACK */
.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 8px;
  overflow: hidden;
}

/* ZDJĘCIE */
.flip-card-front img,
.flip-card-back img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CIEMNA NAKŁADKA POD TEKST */
.flip-card-front::before,
.flip-card-back::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* TEKST */
.flip-card-front h1,
.flip-card-front p,
.flip-card-back h1,
.flip-card-back p {
  position: relative;
  z-index: 2;
  color: #fff;
  margin: 0;
}

/* WYŚRODKOWANIE TEKSTU */
.flip-card-front,
.flip-card-back {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

/* TYŁ */
.flip-card-back {
  transform: rotateY(180deg);
}

.info-boxes {
  padding: 80px 0;
  background: #fff;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.boxes {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.box {
  width: 180px;
  height: 220px;
  background: #bebebe;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;

  border: 2px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
}

.box img {
  width: 68px;
  height: 68px;
}

.box p {
  font-size: 20px;
  font-family: serif;
  color: #222;
}

.box:hover {
  background: #fff;
  border-color: #000000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.map-section {
  padding: 80px 0;
}

.map-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}

.footer {
  font-family: sans-serif;
  color: #d0d0d0;
}

/* GÓRNA CZĘŚĆ */
.footer-top {
  background: #333;
  padding: 80px 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer h4 {
  color: #fff;
  margin-bottom: 20px;
}

.footer p {
  font-size: 14px;
  line-height: 1.7;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: #d0d0d0;
  text-decoration: none;
}

.footer ul a:hover {
  color: #5f492a;
}

.footer-logo {
  display: flex;
  justify-content: center;
}

/* SOCIAL */
.footer-socials {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.footer-socials a {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: #b57721;
  color: #000;
  text-align: center;
  line-height: 32px;
  margin: 8px;
  text-decoration: none;
  font-weight: bold;
}

.footer-contact {
  display: flex;
  margin-bottom: 20px;
}

.footer-contact input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
}

.footer-contact button {
  background: #5f492a;
  border: none;
  padding: 0 18px;
  font-size: 18px;
  cursor: pointer;
}

/* PAYMENTS */
.footer-payments span {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 6px 10px;
  margin-right: 6px;
  font-size: 12px;
  font-weight: bold;
}

/* DOLNY PASEK */
.footer-bottom {
  background: #000;
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.footer-bottom a {
  color: #d0d0d0;
  margin-left: 20px;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #5f492a;
}
