/* =========================================================
   SZOBÁK OLDAL – STATIKUS HERO
   ========================================================= */

.hero--rooms {
  margin-bottom: 2.5rem;
}

/* Csak a szobák hero-jára vonatkozzon */
.hero--rooms .hero-subhero {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  height: 620px;
  background: #e5e7eb;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.18);
}

.hero--rooms .hero-subhero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  filter: brightness(0.8);
}

.hero--rooms .hero-subhero-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 2.4rem 2.7rem;
  color: #f9fafb;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero--rooms .hero-subhero-content h1 {
  font-size: 1.8rem;
  line-height: 1.25;
}

.hero--rooms .hero-subhero-content p {
  font-size: 1rem;
 max-width: 32rem;
  opacity: 0.95;
}

/* =========================================================
   SZOBÁK OLDAL – KÁRTYÁS LISTA
   ========================================================= */

.rooms-section {
  margin: 2rem 0 3rem;
}

.rooms-section h2 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.rooms-lead {
  font-size: 1.01rem;
  color: #4b5563;
  max-width: 720px;
  margin-bottom: 1.3rem;
}

.rooms-error {
  color: #b91c1c;
  margin-bottom: 1rem;
}

.rooms-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.room-card {
  display: grid;
  grid-template-columns: 440px minmax(0, 1fr);
  gap: 1.25rem;
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.room-card-media {
  position: relative;
  height: 300px; /* EDDIG 220px VOLT – NAGYOBB KÉP */
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.room-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.room-card-body {
  padding: 1.1rem 1.3rem 1.2rem 0.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.room-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.room-card-meta {
  font-size: 0.93rem;
  color: #4b5563;
  margin-bottom: 0.1rem;
}

.room-card-desc {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.55;
}

/* Szezonárak – egyszerű, rendezett sorok */

.room-card-meta {
  font-size: 0.93rem;
  color: #4b5563;
  margin-bottom: 0.25rem;
}

/* Szezonárak – egyszerű szöveg, minden nézetben ugyanaz */

.room-card-seasons {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.room-card-season + .room-card-season {
  margin-top: 0.4rem;
}

.room-card-season-title {
  font-weight: 600;
  margin: 0 0 0.1rem;
}

.room-card-season-prices {
  margin: 0;
}

.room-card-season-prices strong {
  font-weight: 600;
  color: #111827;
}

.room-card-footer {
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* gomb menjen a jobb oldalra */
  gap: 0.75rem;
  flex-wrap: wrap;
}

.room-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  font-size: 0.95rem;
  color: #111827;
}

.room-card-price-amount {
  font-weight: 600;
  font-size: 1.05rem;
}

.room-card-price-unit {
  font-size: 0.9rem;
  color: #6b7280;
}

/* Kis gomb variáns a Foglalás-hoz */
.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
}

/* =========================================================
   RESZPONZÍV – TABLET
   ========================================================= */

@media (max-width: 900px) {
  .hero--rooms .hero-subhero {
    height: 320px;
  }

  .hero--rooms .hero-subhero-content {
    padding: 1.6rem 1.4rem;
    max-width: 100%;
  }

  .hero--rooms .hero-subhero-content h1 {
    font-size: 1.4rem;
  }

  .rooms-section {
    margin-top: 1.8rem;
  }

  .room-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .room-card-body {
    padding: 0.9rem 1rem 1rem 1rem;
  }

  .room-card-media {
    height: 230px; /* EDDIG 190px – TABLETEN IS NAGYOBB KÉP */
    padding: 0.15rem;
  }
}

/* =========================================================
   RESZPONZÍV – MOBIL
   ========================================================= */

@media (max-width: 640px) {
  .hero--rooms .hero-subhero {
    height: 260px;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.18);
  }

  .hero--rooms .hero-subhero-content {
    padding: 1.1rem 1rem;
    text-align: center;
    align-items: center;
  }

  .hero--rooms .hero-subhero-content p {
    font-size: 0.9rem;
  }

  .room-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ===== Szobák lightbox (szobak oldal) ===== */

.rooms-lightbox {
  position: fixed;
  inset: 0;
  display: none; /* alapból rejtve */
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  padding: 1.5rem;
}

.rooms-lightbox--open {
  display: flex;
}

.rooms-lightbox-inner {
  position: relative;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  background: #111827;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem 1.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.rooms-lightbox-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 70vh;
  overflow: hidden;
}

.rooms-lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  display: block;
  border-radius: 0.5rem;
}

.rooms-lightbox-close {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  font-size: 2rem;
  line-height: 1;
  background: transparent;
  border: none;
  color: #f9fafb;
  cursor: pointer;
}

.rooms-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #f9fafb;
  font-size: 2.4rem;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rooms-lightbox-prev {
  left: 0.5rem;
}

.rooms-lightbox-next {
  right: 0.5rem;
}

.rooms-lightbox-caption {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: #e5e7eb;
  text-align: center;
}

/* hogy egyértelmű legyen, hogy a kép kattintható */
.room-card-media--clickable {
  cursor: pointer;
}

.rooms-pricing{
  margin: 2rem 0 2.5rem;
}

.rooms-pricing-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.rooms-pricing-card,
.rooms-pricing-breakfast{
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.rooms-pricing-card h3,
.rooms-pricing-breakfast h3{
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  line-height: 1.3;
  color: #111827;
}

.rooms-pricing-period{
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: #6b7280;
}

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

.rooms-pricing-card li,
.rooms-pricing-breakfast li{
  padding: 0.45rem 0;
  border-bottom: 1px solid #f1f5f9;
  color: #374151;
  line-height: 1.6;
}

.rooms-pricing-card li:last-child,
.rooms-pricing-breakfast li:last-child{
  border-bottom: 0;
}

.rooms-pricing-note{
  margin: 1rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #6b7280;
}

.rooms-pricing-contact{
  margin: 1rem 0 0.35rem;
  color: #374151;
  line-height: 1.6;
}

.rooms-pricing-email{
  margin: 0;
}

.rooms-pricing-email a{
  color: #0f766e;
  font-weight: 600;
  text-decoration: none;
}

.rooms-pricing-email a:hover{
  text-decoration: underline;
}

@media (max-width: 768px){
  .rooms-pricing-grid{
    grid-template-columns: 1fr;
  }

  .rooms-pricing-card,
  .rooms-pricing-breakfast{
    padding: 1.25rem;
  }
}
.hero-highlight-text {
    display: inline-block;
    margin-bottom: 10px;
    color: #fbbf24;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.rooms-pricing-subtitle {
    margin: 18px 0 10px;
    font-size: 1.05rem;
    font-weight: 700;
}