.text-en {}

.text-hu {
  display: none;
}

.logo {
  width: 50%
}

.top-row-header {
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  width: 100%;
  padding: 0.5rem 1.5rem;
  box-sizing: border-box;
}

.top-row-header .logo-link {
  width: 35%;
  display: block;
  transition: opacity 0.2s ease;
}

.top-row-header .logo-link:hover {
  opacity: 0.85;
}

.top-row-header .logo-link img.logo,
.top-row-header>img.logo {
  width: 100%;
  display: block;
}

.top-row-header .button {
  margin-left: auto;
  margin-right: 1rem;
  white-space: nowrap;
}

.top-row-header img.cards {
  width: 18%;
  margin-right: auto;
  display: block;
}

.top-row-header .langabs {
  display: flex;
  align-items: center;
  line-height: 1;
}

.top-row-header .langabs img {
  width: 1.5rem;
  display: block;
}

@media (max-width: 800px) {
  .top-row-header {
    justify-content: space-between;
    padding: 0.35rem 0.5rem;
  }

  .top-row-header .button {
    margin: 0;
    font-size: 0.8rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .top-row-header img.cards {
    margin: 0;
  }

  .top-row-header .langabs img {
    width: 1.25rem;
  }
}

.center {
  text-align: center;
}

h2 {
  text-align: center;
}

.swiper {
  width: 100vw;
  height: 60vh;
}

/*.swiper-slide img {
transition: transform 5s ease;
transform: scale(1);
}

.swiper-slide-active img {
transform: scale(1.05);
}*/

@keyframes zoomIn {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.05);
  }
}

.swiper-slide {
  width: 100%;
  height: 100%;
  position: relative;
  text-align: center;
}

.swiper-slide img {
  width: 100%;
  display: block;
}

.img-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* This keeps the zoom inside the frame */
}

.img-container > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 5s ease;
  transform: scale(1);
}

.swiper-slide-active .img-container > img {
  transform: scale(1.1);
  /* Zoom in slightly */
}

.caption {
  position: absolute;
  bottom: 25px;
  left: 0;
  right: 0;
  width: 100%;
  color: white;
  font-size: 1.5rem;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
  padding: 0 1.5rem;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.swiper-slide-active .caption {
  opacity: 1;
}

.caption-badge-wrap {
  margin-left: auto;
  width: 20%;
  max-width: 20%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  pointer-events: auto;
}

.caption-badge-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.caption-badge-img:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.caption-badge-img.airbnb-badge {
  background-color: #ffffff;
  border: 6px solid #ffffff;
  box-sizing: border-box;
}

.caption-badge-img.booking-badge {
  background-color: #003b95;
}

@media (max-width: 768px) {
  .caption {
    bottom: 18px;
    padding: 0 0.75rem;
  }
  .caption-badge-wrap {
    width: 30%;
    max-width: 30%;
  }
}


.apartment-card {
  transition: transform 0.3s ease;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
}

.apartment-card img {
  border-radius: 8px;
  object-fit: cover;
}

.apartment-card:hover {
  transform: scale(1.03);
}

.apartment-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.apartment-title-link {
  color: inherit;
  text-decoration: none;
}

.apartment-title-link:hover {
  color: inherit;
}

.apartment-cta-btn {
  border-color: #5e4773 !important;
  color: #5e4773 !important;
  font-weight: 600;
  background: transparent;
  transition: all 0.2s ease;
}

.apartment-cta-btn:hover {
  background-color: #5e4773 !important;
  color: #ffffff !important;
}

.apartment-row {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

@media (min-width: 769px) {
  .apartment-row.is-reversed {
    flex-direction: row-reverse;
  }
}

.apartment-row:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.apartment-row:last-child {
  margin-bottom: 0 !important;
}

.apartment-details {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0 0;
}

.apartment-details li {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  color: #4a4a4a;
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.5;
}

.apartment-details li::before {
  content: '•';
  color: #5e4773;
  font-weight: bold;
  position: absolute;
  left: 0.25rem;
}

.apartment-size-tag {
  background-color: #ede7f6;
  color: #5e4773;
  font-weight: 600;
  border-radius: 20px;
  padding: 0.2rem 0.75rem;
  font-size: 0.85rem;
  display: inline-block;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.apartment-occupancy-tag {
  background-color: #f1f8e9;
  color: #33691e;
  font-weight: 600;
  border-radius: 20px;
  padding: 0.2rem 0.75rem;
  font-size: 0.85rem;
  display: inline-block;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.apartment-occupancy-tag.text-hu {
  display: none;
}

@media (max-width: 768px) {
  .apartment-row {
    padding: 1rem;
    margin-bottom: 1.5rem !important;
  }
}

.gallery-section {
  background-color: #f5f5f5;
  padding: 3rem 1.5rem;
}

.gallery-section .container {
  max-width: 1040px;
}

.gallery-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: white;
  background-color: #5e4773;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-title h1,
.gallery-title .title {
  margin-bottom: 0 !important;
}

.custom-foglalas {
  background-color: #007bff;
  /* Your custom color */
  color: white;
  border: none;
}

.custom-foglalas:hover {
  background-color: #0069d9;
  /* A slightly darker shade for hover */
}

/* Shimmer Light-Beam Button (.btn-shimmer / .is-shimmer) */
.btn-shimmer {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -120%;
  width: 60%;
  height: 220%;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.45) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(25deg);
  animation: bulma-shimmer-sweep 3.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes bulma-shimmer-sweep {
  0% {
    left: -120%;
  }

  30%,
  100% {
    left: 240%;
  }
}


/* ==========================================================================
   Apartment Subpage & Booking.com Gallery Styles
   ========================================================================== */

/* Subpage breadcrumb / navigation bar */
.subpage-nav-bar {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.6rem 1.5rem;
}

.subpage-nav-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.back-to-home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #5e4773;
  text-decoration: none;
}

.back-to-home-link:hover {
  color: #4a385b;
}

.apartment-quick-pills {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.apartment-quick-pill {
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4a5568;
  background-color: #edf2f7;
  text-decoration: none;
  transition: all 0.2s ease;
}

.apartment-quick-pill:hover,
.apartment-quick-pill.is-active {
  background-color: #5e4773;
  color: #ffffff;
}

/* Property Header Card */
.property-header-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.property-header-card h1 {
  font-size: 1.85rem;
  font-weight: 700;
  color: #363636;
  margin-bottom: 0.25rem;
}

.property-address {
  font-size: 0.95rem;
  color: #7a7a7a;
  margin-bottom: 0.25rem;
}

/* Booking.com 5-Photo Mosaic Grid */
.booking-gallery-container {
  margin-bottom: 2rem;
}

.booking-photo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 8px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  background-color: #e2e8f0;
}

.grid-photo-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-color: #cbd5e0;
}

.grid-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.grid-photo-item:hover img {
  transform: scale(1.04);
}

.grid-photo-hero {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.photo-room-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  pointer-events: none;
}

.grid-photo-more-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  padding: 1rem;
}

.more-photos-icon {
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.more-photos-count {
  font-size: 1.1rem;
  font-weight: 700;
}

.more-photos-hint {
  font-size: 0.8rem;
  opacity: 0.9;
}

@media (max-width: 900px) {
  .booking-photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 130px 130px;
  }

  .grid-photo-hero {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }
}

@media (max-width: 600px) {
  .booking-photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 240px repeat(3, 120px);
  }

  .grid-photo-hero {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .grid-photo-item:nth-child(n+5) {
    display: none;
  }
}

/* Horizontal Preview Thumbnails Strip */
.gallery-thumbnail-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 2px 2px 2px;
  -webkit-overflow-scrolling: touch;
}

.gallery-thumbnail-strip::-webkit-scrollbar {
  height: 6px;
}

.gallery-thumbnail-strip::-webkit-scrollbar-thumb {
  background-color: #cbd5e0;
  border-radius: 4px;
}

.strip-thumb-item {
  flex: 0 0 100px;
  height: 68px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.strip-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.strip-thumb-item:hover {
  transform: translateY(-2px);
  border-color: #5e4773;
}

.strip-thumb-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 0.65rem;
  padding: 1px 3px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Lightbox Modal Dialog */
dialog.lightbox-dialog {
  border: none;
  background: transparent;
  padding: 0;
  margin: auto;
  max-width: 95vw;
  max-height: 95vh;
  width: 1050px;
  color: #ffffff;
  outline: none;
}

dialog:modal {
  overscroll-behavior: contain;
}

dialog.lightbox-dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.9);
}

.lightbox-content-wrapper {
  display: flex;
  flex-direction: column;
  height: 90vh;
  max-height: 820px;
  position: relative;
  background: rgba(18, 22, 28, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  background: rgba(10, 12, 16, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-title {
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
  margin: 0;
}

.lightbox-counter {
  background: rgba(255, 255, 255, 0.15);
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
}

.lightbox-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.2rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0.5rem;
}

.lightbox-main-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.lightbox-nav-btn:hover {
  background: #5e4773;
}

.lightbox-prev-btn {
  left: 12px;
}

.lightbox-next-btn {
  right: 12px;
}

.lightbox-bottombar {
  background: rgba(10, 12, 16, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1rem;
}

.lightbox-caption-text {
  text-align: center;
  font-size: 0.9rem;
  color: #e2e8f0;
  margin-bottom: 0.4rem;
  min-height: 1.2rem;
}

.lightbox-thumbs-carousel {
  display: flex;
  gap: 6px;
  justify-content: center;
  overflow-x: auto;
  padding-bottom: 2px;
}

.lightbox-thumb {
  flex: 0 0 56px;
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox-thumb:hover {
  opacity: 0.85;
}

.lightbox-thumb.is-active {
  opacity: 1;
  border-color: #ffffff;
}

/* Property Details Section & Sidebar Card */
.property-details-container {
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

.property-details-box {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.details-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #363636;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #ede7f6;
}

.booking-sidebar-card {
  position: sticky;
  top: 80px;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.booking-sidebar-header {
  border-bottom: 1px solid #edf2f7;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.booking-sidebar-price-label {
  font-size: 0.8rem;
  color: #718096;
  text-transform: uppercase;
  font-weight: 600;
}

.booking-sidebar-tagline {
  font-size: 1.15rem;
  font-weight: 700;
  color: #5e4773;
}

.booking-cta-button {
  width: 100%;
  font-size: 1.05rem;
  padding: 0.75rem;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.booking-contact-box {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.85rem;
  text-align: center;
}

.booking-contact-box p {
  font-size: 0.85rem;
  color: #4a5568;
  margin-bottom: 0.4rem;
}

.booking-contact-box a.phone-link {
  font-size: 1.1rem;
  font-weight: 700;
  color: #007bff;
  display: block;
  text-decoration: none;
  margin-bottom: 0.25rem;
}

.booking-contact-box a.email-link {
  font-size: 0.95rem;
  color: #5e4773;
  font-weight: 600;
  text-decoration: none;
}

/* Other apartments bottom section */
.other-apartments-section {
  background-color: #f5f5f5;
  padding: 3rem 1.5rem;
  margin-top: 2rem;
}

.other-apartments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.other-apt-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.other-apt-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  color: inherit;
}

.other-apt-card-img {
  height: 150px;
  overflow: hidden;
}

.other-apt-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.other-apt-card-body {
  padding: 0.85rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.other-apt-card-title {
  font-weight: 700;
  font-size: 1rem;
  color: #1a202c;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.other-apt-card-desc {
  font-size: 0.8rem;
  color: #718096;
  margin-bottom: 0.5rem;
  flex: 1;
}

.other-apt-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-top: 1px solid #edf2f7;
  padding-top: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #5e4773;
}

.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
}
/* Awards & Review Badges Section */
.awards-badges-section {
  padding: 1.5rem 0 2rem 0;
}

.award-badge-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.award-badge-img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
}

.award-badge-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.award-badge-img.airbnb-badge {
  border: 10px solid #ffffff;
  background-color: #ffffff;
  box-shadow: 0 0 0 1px #e5e7eb, 0 4px 12px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.award-badge-img.airbnb-badge:hover {
  box-shadow: 0 0 0 1px #d1d5db, 0 8px 20px rgba(0, 0, 0, 0.14);
}

.award-badge-img.booking-badge {
  background-color: #003b95;
}
