/* ========================================
   RAMGARH LODGE PALACE 360° TOUR CSS
   ======================================== */

@import url("https://fonts.googleapis.com/css?family=Jost:wght@100..900&display=swap");
    :root {
      --d: 700ms;
      --e: cubic-bezier(0.19, 1, 0.22, 1);
      --font-sans: "Jost", serif;
      --font-serif: "Jost", serif;
    }
    * {
      box-sizing: border-box;
    }
    html, body {
      height: 100%;
      margin: 0;
      padding: 0;
      background: #3d3d3d;
    }
    body {
      display: grid;
      place-items: center;
    }
    #pano { 
      width: 100vw; 
      height: 100vh; 
      position: fixed; 
      top: 0; 
      left: 0; 
      z-index: 1; 
    }
    /* === Боковое меню (только для десктопа) === */
    .side-menu {
      position: fixed;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;
      display: flex;
      flex-direction: column;
      gap: 15px;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(15px);
      border-radius: 3px;
      padding: 30px 12px;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }
    .menu-btn {
      background: rgb(255 255 255 / 0%);
      color: #fff;
      border: none;
      padding: 12px 12px;
      font-size: 13px;
      font-weight: 300;
      font-family: var(--font-sans);
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 1px;
      min-width: 20px;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }
    .menu-btn:hover { 
      background: rgba(153, 106, 67, 0.8);
      transform: translateX(4px);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    }
    .menu-btn-icon {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
    }
    .menu-btn-text {
      white-space: nowrap;
      overflow: hidden;
      transition: all 0.3s ease;
      max-width: 0;
      opacity: 0;
    }
    .side-menu:hover .menu-btn-text {
      max-width: 150px;
      margin-left: 4px;
      opacity: 0.7;
    }
    .side-menu:hover .menu-btn:hover .menu-btn-text {
      opacity: 1;
    }
   /* === Правое верхнее меню — свёрнутые кнопки, текст появляется при hover === */
    .right-top-menu {
      position: fixed;
      right: 10px;
      top: 25px;
      z-index: 10;
      pointer-events: none;
      width: 0;
      height: 0;
    }
    .right-top-menu .menu-btn {
      width: 48px;
      height: 48px;
      background: rgb(255 255 255 / 0%);
      color: #fff;
      border: none;
      font-size: 13px;
      font-weight: 300;
      font-family: var(--font-sans);
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1px;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      overflow: hidden;
      position: absolute;
      pointer-events: auto;
      z-index: 2;
      right: 0;
      box-sizing: border-box;
    }
    .right-top-menu .menu-btn-icon,
    .right-top-menu .icon-share {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
    }
    .right-top-menu .menu-btn-text {
      opacity: 0;
      max-width: 0;
      margin-left: 0;
      white-space: nowrap;
      overflow: hidden;
      transition: opacity 0.3s ease, margin-left 0.3s ease;
    }
    .right-top-menu .menu-btn:hover {
      background: rgba(153, 106, 67, 0.8);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
      width: 150px;
      padding: 16px 16px;
      justify-content: flex-start;
    }
    .right-top-menu .menu-btn:hover .menu-btn-text {
      opacity: 1;
      max-width: 150px;
      margin-left: 4px;
    }
    /* === Кнопка Reservation — всегда развернута, без иконки === */
    .right-top-menu .menu-btn-reservation {
      width: 150px;
      height: 48px;
      background: rgb(255 255 255 / 0%);
      color: #fff;
      border: none;
      font-size: 13px;
      font-weight: 300;
      font-family: var(--font-sans);
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      overflow: hidden;
      position: absolute;
      pointer-events: auto;
      z-index: 2;
      right: 0;
      top: 0;
      padding: 16px;
      white-space: nowrap;
      text-decoration: none;
    }
    .right-top-menu .menu-btn-reservation:hover {
      background: rgba(153, 106, 67, 0.8);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    }
    /* Иконка Share (три кружка) */
    .icon-share {
      width: 20px;
      height: 20px;
      display: block;
    }
    .icon-share svg {
      width: 100%;
      height: 100%;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
    }
    /* === Гамбургер для мобильных устройств === */
    .hamburger-menu {
      position: fixed;
      top: 18px;
      left: 16px;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      width: 48px;
      height: 46px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      cursor: pointer;
      z-index: 100;
      transition: all 0.3s ease;
      display: none;
    }
    @media (max-width: 768px) {
      .hamburger-menu {
        display: flex;
      }
      .side-menu {
        display: none;
      }
      .right-top-menu {
        right: 16px;
        top: 18px;
      }
      .menu-btn-reservation .desktop-text {
        display: none;
      }
      .menu-btn-reservation .mobile-text {
        display: inline;
      }
      .menu-btn-reservation {
        width: 80px !important;
        font-size: 13px;
        padding: 16px 10px;
        justify-content: center;
      }
      .menu-btn-reservation:hover {
        width: 100px !important;
      }
    }
    .menu-btn-reservation .mobile-text {
      display: none;
    }
    @media (max-width: 768px) {
      .menu-btn-reservation .desktop-text {
        display: none;
      }
      .menu-btn-reservation .mobile-text {
        display: inline;
      }
    }
    /* === Мобильное полноэкранное меню === */
    .mobile-menu-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.2);
      backdrop-filter: blur(15px);
      -webkit-backdrop-filter: blur(15px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      flex-direction: column;
      z-index: 999;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.4s ease, visibility 0.4s ease;
    }
    .mobile-menu-overlay.active {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }
    .mobile-menu-header {
      padding: 16px;
      text-align: center;
      font-family: var(--font-sans);
      font-size: 1.2rem;
      font-weight: 400;
      color: white;
      position: relative;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .mobile-menu-header .close-btn {
      position: absolute;
      right: 16px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      font-size: 20px;
      color: #ffffff6e;
      cursor: pointer;
      padding: 0;
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .mobile-menu-content {
      display: flex;
      flex-direction: column;
      gap: 12px;
      padding: 24px 30px;
      flex-grow: 1;
    }
    .menu-btn-mobile {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: white;
      padding: 16px;
      font-size: 0.8rem;
      font-family: var(--font-sans);
      font-weight: 300;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 12px;
      justify-content: flex-start;
      text-align: left;
    }
    .menu-btn-mobile:hover,
    .menu-btn-mobile:focus {
      background: rgba(153, 106, 67, 0.8);
      transform: translateX(4px);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    }
    .menu-btn-mobile .menu-btn-icon {
      width: 20px;
      height: 20px;
      flex-shrink: 0;
      opacity: 0.8;
    }
    /* === Футер мобильного меню === */
    .mobile-menu-footer {
      text-align: center;
      padding: 16px;
      margin-top: auto;
      color: white;
      font-family: var(--font-sans);
    }
    .mobile-menu-footer .palace-name {
      font-size: 0.8rem;
      font-weight: 300;
      color: rgba(255, 255, 255, 0.6);
      letter-spacing: 0.02em;
    }
    .mobile-menu-footer .dev-text {
      font-size: 0.65rem;
      color: rgba(255, 255, 255, 0.4);
      margin-top: 10px;
    }
    /* Анимация появления элементов */
    @keyframes fade-slide-up {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    .mobile-menu-overlay .animated {
      opacity: 0;
      animation: fade-slide-up 0.5s forwards var(--delay);
    }
    .mobile-menu-overlay .menu-btn-mobile,
    .mobile-menu-overlay .mobile-menu-header > span,
    .mobile-menu-overlay .mobile-menu-footer {
      opacity: 0;
      transform: translateY(20px);
      visibility: hidden;
    }
    .mobile-menu-overlay.active .animated {
      visibility: visible;
    }
    /* === Остальные стили (карточки, overlay и т.д.) без изменений === */
    .close {
      position: absolute;
      top: 16px;
      right: 16px;
      background: none;
      border: none;
      font-size: 20px;
      color: #ffffff75;
      cursor: pointer;
      z-index: 100;
      transition: color 0.2s;
    }
    .close:hover {
      color: #fff;
    }
    .card-overlay {
      display: flex;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.5s var(--e);
      position: fixed;
      z-index: 1000;
      top: 0; left: 0;
      width: 100vw;
      height: 100vh;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }
    .card-overlay.visible {
      opacity: 1;
      pointer-events: auto;
    }
    .cards-title {
      position: absolute;
      top: 52px;
      left: 50%;
      transform: translateX(-50%) translateY(40px);
      width: 100%;
      text-align: center;
      font-family: var(--font-sans);
      font-size: 2rem;
      font-weight: 300;
      color: #fff;
      letter-spacing: 0.04em;
      text-shadow: 0 2px 8px rgba(0,0,0,0.25);
      z-index: 10;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.5s var(--e), transform 0.5s var(--e);
      transition-delay: 0.05s;
    }
    .card-overlay.visible .cards-title {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
    @media (max-width: 600px) {
      .cards-title {
        font-size: 1.3rem;
        top: 36px;
        transform: translateX(-50%) translateY(30px);
      }
    }
    .cards-description {
      position: absolute;
      top: 110px;
      left: 50%;
      transform: translateX(-50%) translateY(40px);
      text-align: center;
      max-width: 700px;
      width: 100%;
      font-family: var(--font-sans);
      font-size: 1rem;
      color: rgba(255, 255, 255, 0.7);
      padding: 0 20px;
      pointer-events: none;
      z-index: 10;
      opacity: 0;
      transition: opacity 0.5s var(--e), transform 0.5s var(--e);
      transition-delay: 0.2s;
    }
    .card-overlay.visible .cards-description {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
    @media (max-width: 600px) {
      .cards-description {
        top: 80px;
        font-size: 0.9rem;
        padding: 0 16px;
      }
    }
    .cards-scroll-area {
      width: 100%;
      max-width: 1200px;
      max-height: 80vh;
      overflow-y: auto;
      overflow-x: hidden;
      padding: 1rem 0;
      -webkit-overflow-scrolling: touch;
      margin-top: 160px;
    }
    .page-content {
      display: grid;
      grid-gap: 1.5rem;
      padding: 0 4rem 4rem;
      font-family: var(--font-sans);
      max-width: 1320px;
      margin: 0 auto;
      width: 100%;
      justify-content: center;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .card {
      position: relative;
      display: flex;
      align-items: center;
      overflow: hidden;
      padding: 0;
      width: 100%;
      text-align: center;
      color: whitesmoke;
      background-color: rgba(255,255,255,0.1);
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 8px 25px rgba(0, 0, 0, 0.15);
      min-height: 300px;
      border-radius: 2px;
      cursor: pointer;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .card::before {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
      opacity: 0;
      transition: opacity 0.5s ease;
      pointer-events: none;
      z-index: 1;
    }
    .card:hover::before,
    .card:focus-within::before {
      opacity: 1;
    }
    .card-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      position: absolute;
      top: 0;
      left: 0;
      transition: transform 0.7s var(--e), filter 0.7s var(--e);
      z-index: 0;
    }
    .content {
      position: relative;
      width: 100%;
      padding: 1.5rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      transition: transform var(--d) var(--e);
      z-index: 2;
    }
    .content > * + * {
      margin-top: 0.75rem;
    }
    .title {
      font-size: 1.25rem;
      font-weight: 300;
      line-height: 1.2;
      color: #fff;
    }
    .copy {
      font-family: var(--font-serif);
      font-size: 1rem;
      font-style: normal;
      line-height: 1.4;
      color: rgba(255, 255, 255, 0.9);
    }
    .btn {
      cursor: pointer;
      margin-top: 1rem;
      padding: 0.75rem 1.5rem;
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.05rem;
      text-transform: uppercase;
      color: white;
      background-color: black;
      border: none;
      border-radius: 6px;
      transition: all 0.2s ease;
    }
    .btn:hover {
      background-color: #333;
      transform: translateY(-1px);
    }
    .btn:focus {
      outline: 2px solid white;
      outline-offset: 2px;
    }
    @media (hover: hover) and (min-width: 600px) {
      .content > *:not(.title) {
        opacity: 0;
        transform: translateY(1rem);
        transition: transform var(--d) var(--e), opacity var(--d) var(--e);
      }
      .card:hover .card-img,
      .card:focus-within .card-img {
        transform: scale(1.05);
        filter: brightness(0.8);
      }
      .card:hover .content > *:not(.title),
      .card:focus-within .content > *:not(.title) {
        opacity: 1;
        transform: translateY(0);
        transition-delay: calc(var(--d) / 8);
      }
    }
    .page-content .card {
      opacity: 0;
      transform: translateY(40px) scale(0.98);
      transition: opacity 0.5s var(--e), transform 0.5s var(--e);
    }
    .card-overlay.visible .card {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
    @media (min-width: 900px) {
      .card-overlay.visible .card:nth-child(n+1):nth-child(-n+4) { transition-delay: 0.1s; }
      .card-overlay.visible .card:nth-child(n+5):nth-child(-n+8) { transition-delay: 0.2s; }
      .card-overlay.visible .card:nth-child(n+9):nth-child(-n+12) { transition-delay: 0.3s; }
      .card-overlay.visible .card:nth-child(n+13) { transition-delay: 0.4s; }
    }
    /* Вертикальная надпись "Powered by" — в правом нижнем углу */
    .powered-by-desktop {
      position: fixed;
      right: 20px;
      bottom: 270px;
      transform: rotate(-90deg);
      transform-origin: right bottom;
      font-family: var(--font-sans);
      font-size: 0.75rem;
      color: rgba(255, 255, 255, 0.4);
      letter-spacing: 0.1em;
      white-space: nowrap;
      pointer-events: none;
      z-index: 10;
    }
    @media (max-width: 768px) {
      .powered-by-desktop {
        display: none;
      }
    }
   /* === Вертикальная надпись "Powered by" в левом нижнем углу модального окна About === */
#aboutModal .powered-by-desktop {
  position: absolute;
  left: 30px;
  bottom: 20px;
  transform: rotate(-90deg);
  transform-origin: left bottom;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 5;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

/* На мобильных — можно скрыть, как и в других окнах */
@media (max-width: 768px) {
  #aboutModal .powered-by-desktop {
    display: none;
  }
}
    /* === Единый стиль для иконок соцсетей === */
    .contact-icon-btn {
      width: 40px;
      height: 40px;
      background: rgb(255 255 255 / 0%);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      transition: all 0.3s ease;
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }
    .contact-icon-btn:hover {
      background: rgba(153, 106, 67, 0.8);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    }
    .contact-icon-btn .icon,
    .contact-icon-btn .icon-whatsapp {
      width: 14px;
      height: 14px;
      fill: #FFFFFF;
    }
    .icon-facebook, .icon-instagram, .icon-mail, .icon-whatsapp, .icon-twitter {
      width: 16px;
      height: 16px;
    }
    /* === Стили для модального окна контактов === */
    #contactModal {
      align-items: center;
      justify-content: center;
    }
    #contactModal .cards-scroll-area {
      overflow: visible;
      max-height: 80vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    #contactModal .page-content {
      max-width: 600px;
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 0 16px;
      margin: 0 auto;
    }
    #contactModal .contact-logo {
      width: 100%;
      height: auto;
      max-height: 180px;
      object-fit: contain;
      display: block;
      margin: 0 auto;
    }
    #contactModal p {
      font-family: var(--font-serif);
      color: rgba(255, 255, 255, 0.7);
      margin: 16px 0;
    }
    #contactModal .contact-icons-container {
      display: flex;
      justify-content: center;
      gap: 16px;
      margin-top: 24px;
      flex-wrap: wrap;
    }
    #contactModal .contact-footer {
      font-family: var(--font-serif);
      font-size: 0.75rem;
      color: rgba(255, 255, 255, 0.3);
      text-align: center;
      width: 100%;
      padding: 16px 0;
      margin-top: 20px;
    }
    /* === Мобильная адаптация для contactModal === */
    @media (max-width: 768px) {
      #contactModal .contact-logo {
        max-height: 160px;
      }
      #contactModal .contact-icon-btn .icon,
      #contactModal .contact-icon-btn .icon-whatsapp {
        width: 20px;
        height: 20px;
      }
    }
    /* === Убираем подчёркивание у всех ссылок в боковом меню и попапах === */
    .side-menu a,
    .right-top-menu a,
    .card-overlay a {
      text-decoration: none;
    }
    /* === Правое боковое меню (4 кнопки по центру справа) === */
.right-side-menu {
  position: fixed;
  right: 10px;
  top: 40%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 15px;
  pointer-events: none;
  width: 0;
  height: 0;
}

.right-side-menu .menu-btn {
  width: 48px;
  height: 48px;
  background: rgb(255 255 255 / 0%);
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 300;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  position: absolute;
  pointer-events: auto;
  z-index: 2;
  right: 0;
  box-sizing: border-box;
  padding: 16px;
}

.right-side-menu .menu-btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.right-side-menu .menu-btn-text {
  opacity: 0;
  max-width: 0;
  margin-left: 0;
  white-space: nowrap;
  overflow: hidden;
  transition: opacity 0.3s ease, margin-left 0.3s ease;
}

.right-side-menu .menu-btn:hover {
  background: rgba(153, 106, 67, 0.8);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  width: 150px;
  padding: 16px;
  justify-content: flex-start;
}

.right-side-menu .menu-btn:hover .menu-btn-text {
  opacity: 1;
  max-width: 150px;
  margin-left: 4px;
}

/* === Адаптация для мобильных устройств === */
@media (max-width: 768px) {
  .right-side-menu {
    right: 16px;
    top: 200px;
    transform: translateY(0);
  }
}

.right-side-menu .menu-btn:nth-child(1) { top: 0; }
.right-side-menu .menu-btn:nth-child(2) { top: 60px; }
.right-side-menu .menu-btn:nth-child(3) { top: 120px; }
.right-side-menu .menu-btn:nth-child(4) { top: 180px; }

/* === Стиль для модального окна видео — центрирование и отступы === */
#videoModal .cards-scroll-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 80px 0 40px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

#videoModal .cards-title,
#videoModal .cards-description {
  position: static;
  transform: none;
  left: auto;
  top: auto;
  opacity: 1;
  margin-bottom: 16px;
  text-align: center;
}

#videoModal .cards-title {
  margin-top: 0;
}

#videoModal .cards-description {
  max-width: 600px;
  margin-top: 8px;
}

.video-container {
  width: 100%;
  max-width: calc(100vw - 100px);
  margin: 24px 0;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
  display: flex;
  justify-content: center;
}

.responsive-video {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

/* На больших экранах — ограничение ширины */
@media (min-width: 1280px) {
  .video-container {
    max-width: 1180px;
  }
}

/* На мобильных — меньше отступов */
@media (max-width: 768px) {
  .video-container {
    max-width: calc(100vw - 32px);
    margin: 20px 0;
  }
  #videoModal .cards-scroll-area {
    padding: 60px 0 20px;
  }
}

/* === Стиль для модального окна Location (без прокрутки, фикс. отступы) === */
#locationModal {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 50px 100px 50px;
  overflow: hidden;
}

#locationModal .cards-title,
#locationModal .cards-description {
  position: static;
  transform: none;
  left: auto;
  top: auto;
  opacity: 1;
  margin: 0 0 16px;
  text-align: center;
  width: 100%;
  max-width: 100%;
  z-index: auto;
}

#locationModal .cards-title {
  margin-top: 0;
}

#locationModal .cards-description {
  max-width: 600px;
  margin-top: 8px;
}

.map-container {
  width: 100%;
  max-width: calc(100vw - 100px);
  min-width: 1200px;
  height: calc(100vh - 220px); /* Занимает всё пространство минус отступы и текст */
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
  display: flex;
  justify-content: center;
}

.responsive-map {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 6px;
  display: block;
}

/* На десктопах — карта не уже 1200px */
@media (min-width: 1200px) {
  .map-container {
    min-width: 1200px;
  }
}

/* На мобильных — адаптация (отступы 20px) */
@media (max-width: 768px) {
  #locationModal {
    padding: 80px 20px 20px;
    align-items: flex-start;
  }
  .map-container {
    min-width: auto;
    height: calc(100vh - 180px);
    max-width: none;
  }
}

/* === Стиль для текста в About Modal === */
#aboutModal .cards-scroll-area {
  padding: 80px 0 40px;
}

#aboutModal .cards-title,
#aboutModal .cards-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 16px;
}

#aboutModal .cards-title {
  margin-top: 0;
}

#aboutModal .cards-description {
  margin-top: 8px;
}

.about-content {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  box-sizing: border-box;
}

.about-content p {
  margin-bottom: 20px;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* === card-overlay-about — центрирован, с блюром, без внешней прокрутки === */
.card-overlay-about {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s var(--e), visibility 0.5s var(--e);
}

.card-overlay-about.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Кнопка закрытия */
.card-overlay-about .close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  color: #ffffff75;
  cursor: pointer;
  z-index: 100;
  transition: color 0.2s;
}

.card-overlay-about .close:hover {
  color: #fff;
}

/* Основное содержимое */
.card-overlay-about .about-content {
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Заголовок */
.card-overlay-about .about-header {
  text-align: center;
  padding: 24px 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-overlay-about .cards-title {
  font-family: var(--font-sans);
  font-size: 1.8rem;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.04em;
  margin: 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.card-overlay-about .cards-description {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Контейнер PDF */
.card-overlay-about .pdf-container {
  position: relative;
  flex: 1;
  min-height: 400px;
  height: 70vh;
  background: #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Сам iframe */
.card-overlay-about .pdf-container iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-overlay-about .pdf-container iframe[src] {
  opacity: 1;
}

/* Резервная ссылка (видна, если iframe не загрузился) */
.card-overlay-about .pdf-fallback {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Показываем резервную ссылку только если iframe не загрузился */
.card-overlay-about .pdf-container:empty + .pdf-fallback,
.card-overlay-about .pdf-container iframe:not([src]) + .pdf-fallback {
  opacity: 1;
  pointer-events: auto;
}

/* === Адаптация под мобильные устройства === */
@media (max-width: 768px) {
  .card-overlay-about .about-content {
    width: 95%;
    max-height: 95vh;
    border-radius: 8px;
  }

  .card-overlay-about .pdf-container {
    height: 60vh;
    min-height: 350px;
  }

  .card-overlay-about .cards-title {
    font-size: 1.5rem;
  }

  .card-overlay-about .cards-description {
    font-size: 0.9rem;
  }

  /* Увеличиваем видимость резервной ссылки на мобильных */
  .card-overlay-about .pdf-fallback {
    font-size: 1rem;
    padding: 0 20px;
    max-width: 80%;
  }
}
/* === Модальное окно Description Overlay (в стиле card-overlay) === */
.description-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s var(--e), visibility 0.5s var(--e);
  overflow-x: hidden; 
}

.description-overlay.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.description-overlay .close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  color: #ffffff75;
  cursor: pointer;
  z-index: 100;
  transition: color 0.2s;
}

.description-overlay .close:hover {
  color: #fff;
}

.description-overlay .content-wrapper {
  display: flex;
  flex-direction: column;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  overflow: hidden;
  box-sizing: border-box; 
}

/* === Анимации для появления контента === */
.animated-image {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s var(--e), transform 0.8s var(--e);
}

.animated-text {
  opacity: 0;
  transition: opacity 0.8s var(--e) 0.2s;
}

/* Класс для активации анимации */
.description-overlay.visible .animated-image,
.description-overlay.visible .animated-text {
  opacity: 1;
  transform: translateX(0);
}

/* Заголовок и описание */
.description-overlay .header {
  padding: 24px 24px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.description-overlay .cards-title {
  font-family: var(--font-sans);
  font-size: 1.8rem;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.04em;
  margin: 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.description-overlay .cards-description {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Основной контент: изображение и текст в колонках */
.description-overlay .main-content {
  display: flex;
  flex-direction: row;
  flex: 1;
  overflow: auto;
  min-height: 300px;
  padding: 64px 42px;
  gap: 24px; 
}

.description-overlay .image-column {
  flex: 1;
  min-width: 300px;
  max-height: 100%;
  overflow: hidden;
}

.description-overlay .image-column img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.description-overlay .text-column {
  flex: 1;
  padding: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.6;
  overflow-y: auto;
  max-height: 100%;
}

.description-overlay .text-column h3 {
  font-family: var(--font-sans);
  font-size: 2rem;
  line-height: 1.2;
  color: #fff;
  margin-top: 0;
  margin-bottom: 12px;
}

.description-overlay .text-column p {
  margin-bottom: 16px;
}

.description-overlay .text-column p:last-child {
  margin-bottom: 0;
}

/* === Адаптация под мобильные устройства (до 768px) === */
@media (max-width: 768px) {
  .description-overlay .content-wrapper {
    width: 95%;
    padding: 0;
  }

  .description-overlay .main-content {
    flex-direction: column;
    padding: 16px;
    gap: 16px;
  }

  /* Контейнер изображения — адаптивная высота */
  .description-overlay .image-column {
    width: 100%;
    height: 50vh; 
    min-height: 200px; 
    overflow: hidden;
  }

   /* Изображение — покрывает весь контейнер без искажений */
  .description-overlay .image-column img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

   .description-overlay .text-column {
    padding: 16px;
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .description-overlay .header {
    padding: 20px 16px 12px;
  }

  .description-overlay .cards-title {
    font-size: 1.5rem;
  }

  /* Адаптация контента из шаблонов (Marwar) */
  .marwar-footer,
  .marwar-info {
    text-align: center;
  }

  .marwar-footer p {
    font-size: 0.85rem;
    margin: 0 0 12px;
    line-height: 1.5;
  }

  .marwar-footer .enquire-btn {
    display: block;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
    font-size: 0.85rem;
    padding: 10px 18px;
    text-align: center;
  }

  /* Убедимся, что колонки в шаблоне тоже адаптивны */
  .columns-container {
    flex-direction: column;
    gap: 16px;
  }
}
/* === Кнопка закрытия с блюром (glassmorphism) === */
.close-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2001;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.close-icon:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.close-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}
@media (max-width: 768px) {
  .close-icon {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }
  .close-icon svg {
    width: 18px;
    height: 18px;
  }
}
/* === Подзаголовки подкатегорий — занимают всю ширину сетки === */
.subcategory-header {
  grid-column: 1 / -1; 
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 16px;
  padding: 0;
  position: relative;
}

.subcategory-header::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  margin: 8px auto 16px;
  width: 80%;
}
/* Анимация подзаголовков подкатегорий */
.subcategory-header.animated {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-slide-up 0.5s forwards;
}

/* === Модальное окно About — структура === */
.card-overlay-about {
  display: none;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}

.card-overlay-about.visible {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

/* Основной контент (с прокруткой) */
.about-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 90vh;
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff0f
  z-index: 1;
}

/* === Контейнер с прокруткой — без гребёнки === */
.scroll-container {
  width: 100%;
  height: 100%;
  overflow-y: hidden; 
  scroll-behavior: smooth;
  padding: 20px;
  box-sizing: border-box;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

/* Показываем прокрутку только после загрузки контента */
.card-overlay-about.visible .scroll-container {
  overflow-y: auto;
}

.scroll-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* === Анимация появления слайдов === */
.scroll-slide {
  width: 100%;
  margin: 30px 0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.scroll-slide.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.scroll-slide img.lazy-loaded {
  opacity: 1;
}

/* === Кнопка "Scroll to see" — фиксирована у правого края с отступом 10px === */
.scroll-hint {
  position: absolute;
  bottom: 10px;           
  right: 10px;     
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: white;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.9;
  pointer-events: none;
  z-index: 10;
  animation: bounce 2s infinite;
}

.scroll-hint svg {
  stroke: white;
  width: 24px;
  height: 24px;
}

/* Анимация "прыжка" */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* Исчезновение при прокрутке вниз */
.scroll-hint.hide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s;
}
/* === Intro Overlay === */
#introOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#introVideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0;
  transition: opacity 3s ease;
}

#videoOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.intro-logo {
  width: 450px;
  margin-bottom: 10px;
  opacity: 0;
  filter: brightness(0) invert(1);
}

.intro-title {
  font-family: 'Jost', serif;
  font-size: 2.8rem;
  font-weight: 400;
  text-align: center;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  opacity: 0;
  margin: 0;
}

.intro-subtitle {
  font-family: 'Jost', serif;
  font-size: 1.2rem;
  font-weight: 400;
  text-align: center;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  opacity: 0;
  margin: 4px 0 32px;
}

.intro-description {
  font-family: 'Jost', serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.7); 
  text-align: center;
  max-width: 500px;
  line-height: 1.6;
  opacity: 0;
  visibility: hidden;
  margin: 8px 0 24px;
}

.intro-btn {
  margin-top: 40px;
  padding: 14px 40px;
  font-family: 'Jost', serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: white;
  background: rgb(255 255 255 / 6%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.4s ease;
  opacity: 0;
}

.intro-btn:hover {
  background: #844c30b0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

/* === Анимации === */
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes fade-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-out-up {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-30px); }
}
@keyframes fade-out {
  from { opacity: 1; } to { opacity: 0; }
}

.fadeIn { animation: fadeIn 3s ease 0.5s forwards; }
.fade-slide-up { animation: fade-slide-up 1s ease forwards; }
.fade-out-up { animation: fade-out-up 0.6s ease forwards; }
.fade-out-overlay { animation: fade-out 1s ease forwards; }

#pano {
  opacity: 0;
  transition: opacity 0.3s ease;
}
#pano.loaded {
  opacity: 1;
}

/* === Адаптация под мобильные === */
@media (max-width: 768px) {
  .intro-title { font-size: 2.2rem; margin: 0 0 8px 0; }
  .intro-subtitle { font-size: 1.1rem; margin: 4px 0 16px; }
  .intro-description { font-size: 13px; line-height: 1.55; max-width: 90%; margin: 8px 0 20px; }
  .intro-logo { margin-bottom: 40px; width: 70px; }
  .intro-btn { margin-top: 30px; padding: 12px 32px; font-size: 12px; }
}
@media (max-height: 667px) {
  #introOverlay { justify-content: flex-start; padding-top: 80px; }
  .intro-description { margin: 12px 0 18px; }
  .intro-btn { margin-top: 20px; }
}
/* === Скрываем боковое меню за левую границу экрана === */
  .side-menu {
    position: fixed;
    left: 10px;
    top: 50%;
    transform: translateY(-50%) translateX(-100px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    padding: 30px 12px;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  /* === Скрытие right-top-menu за правый край === */
  .right-top-menu {
    position: fixed;
    right: 10px;
    top: 25px;
    transform: translateX(100px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease;
    z-index: 10;
    pointer-events: none;
  }
  /* === Скрытие right-side-menu за правый край === */
  .right-side-menu {
    position: fixed;
    right: 15;
    transform: translateX(100px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease;
    z-index: 10;
    pointer-events: none;
  }

  /* === Активное состояние — возвращаем на место === */
  
  .side-menu.show {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
  }
 
  .right-top-menu.show,
  .right-side-menu.show {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  @media (min-width: 769px) {
    .side-menu {
      position: fixed;
      left: 10px;
      top: 50%;
      transform: translateY(-50%) translateX(-100px);
      opacity: 0;
      transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease;
      z-index: 10;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(15px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 3px;
      padding: 30px 12px;
      display: flex;
      flex-direction: column;
      gap: 15px;
    }
    .side-menu.show {
      transform: translateY(-50%) translateX(0);
      opacity: 1;
    }
  }
/* === Анимация hamburger-menu (только мобильные) === */
  @media (max-width: 768px) {
    .hamburger-menu {
      position: fixed;
      left: 10px;
      top: 22px;
      width: 48px;
      height: 46px;
      transform: translateX(-60px); /* Скрыто за левой границей */
      opacity: 0;
      transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: white;
      cursor: pointer;
    }
    .hamburger-menu.show {
      transform: translateX(0);
      opacity: 1;
    }
  }

  /* === На мобильных: скрываем side-menu полностью === */
  @media (max-width: 768px) {
    .side-menu {
      display: none !important;
    }
  }
  @media (max-width: 768px) {
    .right-side-menu {
      right: 9px !important;
    }
  }
  /* === Прелоадер (до introOverlay) === */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.8s ease;
}

.preloader-logo {
  width: 160px;
  filter: brightness(0) invert(1);
  animation: pulse 2s infinite;
}

/* Плавное исчезновение */
.preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
/* === Элементы внутри introOverlay === */

/* Логотип Taj — уменьшаем на десктопе до 50px */
.intro-taj-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  transition: transform 0.3s ease;
}

.intro-taj-logo img {
  width: 150px; /* Оптимальный размер на десктопе */
}

.intro-taj-logo:hover {
  transform: scale(1.05);
}

/* Кнопка "Book A Stay" — правый верхний угол */
.intro-book-stay {
  position: absolute;
  top: 30px;
  right: 30px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: #ffffffa3;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.05em;
  z-index: 10;
  transition: color 0.3s ease;
}

.intro-book-stay .desktop-text,
.intro-book-stay .mobile-text {
  display: inline; /* Изначально оба видны */
}

.intro-book-stay:hover {
  color: #d4af37;
}

/* Социальные иконки */
.intro-social-icons {
  position: absolute;
  bottom: 22px;
  right: 20px;
  display: flex;
  gap: 16px;
  z-index: 10;
}

/* "Powered by Visual Planet" */
.intro-powered-by {
  position: absolute;
  bottom: 30px;
  left: 20px;
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  letter-spacing: 0.05em;
  z-index: 10;
}

.intro-powered-by:hover {
  color: #fff;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}
/* === По умолчанию (десктоп) — показываем только desktop-text === */
.intro-book-stay .desktop-text {
  display: inline;
}
.intro-book-stay .mobile-text {
  display: none;
}

/* === На мобильных — меняем местами === */
@media (max-width: 768px) {
  .intro-book-stay .desktop-text {
    display: none;
  }
  .intro-book-stay .mobile-text {
    display: inline;
  }
/* === Адаптация для мобильных устройств (до 768px) === */
@media (max-width: 768px) {
  /* 1. Логотип Taj — уменьшаем на мобильных */
  .intro-taj-logo img {
    width: 40px; /* было 50px на десктопе */
  }

  /* 2. Скрываем социальные иконки */
  .intro-social-icons {
    display: none !important;
  }

  /* 3. Кнопка: показываем ТОЛЬКО "Book", скрываем "Reservation" */
  .intro-book-stay .desktop-text {
    display: none;
  }
  .intro-book-stay .mobile-text {
    display: inline;
  }

  /* 4. "Powered by Visual Planet" — по центру снизу */
  .intro-powered-by {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    z-index: 10;
  }
}
/* Шаблон 1: Marwar  */
       .marwar-info h3 { 
        color: #d4af37; 
        font-family: 'Cinzel', serif; 
        font-weight: 300;
      }
      .marwar-info h4 { 
        color: #fff; 
        font-size: 1.4rem;
        font-family: 'Cinzel', serif; 
        font-weight: 300;
      }
      .marwar-info p { 
        line-height: 1.6; 
        color: rgba(255,255,255,0.9); 
      }
      .marwar-info .feature { 
        color: #fff; 
        margin: 0.5rem 0; 
      }

      /* Стиль для двух колонок */
      .columns-container {
        display: flex;
        gap: 20px;
        margin-top: 16px;
        flex-wrap: wrap;
      }
      .column {
        flex: 1;
        min-width: 200px;
        font-size: 0.95rem;
        line-height: 1.7;
      }
      .column h4 {
        color: #d4af37;
        font-family: 'Cinzel', serif;
        font-size: 1.1rem;
        margin-top: 0.5rem;
        margin-bottom: 0.8rem;
      }

      /* Футер с контактами и кнопкой */
      .marwar-footer {
        margin-top: 24px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
      }
      .marwar-footer p {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
        margin: 0 0 16px;
        line-height: 1.5;
      }
      .marwar-footer .enquire-btn {
        display: inline-block;
        font-family: 'Cinzel', sans-serif;
        font-size: 0.85rem;
        font-weight: 300;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: white;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.3);
        
        padding: 10px 20px;
        text-decoration: none;
        transition: all 0.3s ease;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
      }
      .marwar-footer .enquire-btn:hover {
        background: rgba(153, 106, 67, 0.8);
        border-color: #fff;
        transform: translateX(4px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
      }

      @media (max-width: 600px) {
        .columns-container {
          flex-direction: column;
        }
        .marwar-footer .enquire-btn {
          font-size: 0.9rem;
          padding: 12px 24px;
        }
      }
      /* Шаблон 1: Breakfast  */
      .breakfast-info h3 { 
        color: #d4af37; 
        font-family: 'Cinzel', serif; 
        font-weight: 300;

      }
      .breakfast-info h4 { 
        color: #fff; 
        font-size: 1.2rem;
        font-family: 'Cinzel', serif; 
        font-weight: 300;
      }
      .breakfast-info p { 
        line-height: 1.6; 
        color: rgba(255,255,255,0.9); 
      }
      .breakfast-info .feature { 
        color: #fff; 
        margin: 0.5rem 0; 
      }
      /* Футер с контактами и кнопкой */
      .breakfast-footer {
        margin-top: 24px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
      }
      .breakfast-footer p {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
        margin: 0 0 16px;
        line-height: 1.5;
      }
      .breakfast-footer .enquire-btn {
        display: inline-block;
        font-family: 'Cinzel', sans-serif;
        font-size: 0.85rem;
        font-weight: 300;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: white;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.3);
        
        padding: 10px 20px;
        text-decoration: none;
        transition: all 0.3s ease;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
      }
      .breakfast-footer .enquire-btn:hover {
        background: rgba(153, 106, 67, 0.8);
        border-color: #fff;
        transform: translateX(4px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
      }

      @media (max-width: 600px) {
        .breakfast-footer .enquire-btn {
          font-size: 0.9rem;
          padding: 12px 24px;
        }
      }
      /* Шаблон 1: Baradari */
      .baradari-info h3 { 
        color: #d4af37; 
        font-family: 'Cinzel', serif; 
        font-weight: 300;

      }
      .baradari-info h4 { 
        color: #fff; 
        font-size: 1.2rem;
        font-family: 'Cinzel', serif; 
        font-weight: 300;
      }
      .baradari-info p { 
        line-height: 1.6; 
        color: rgba(255,255,255,0.9); 
      }
      .baradari-info .feature { 
        color: #fff; 
        margin: 0.5rem 0; 
      }

      /* Футер с контактами и кнопкой */
      .baradari-footer {
        margin-top: 24px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
      }
      .baradari-footer p {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
        margin: 0 0 16px;
        line-height: 1.5;
      }
      .baradari-footer .enquire-btn {
        display: inline-block;
        font-family: 'Cinzel', sans-serif;
        font-size: 0.85rem;
        font-weight: 300;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: white;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.3);
        
        padding: 10px 20px;
        text-decoration: none;
        transition: all 0.3s ease;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
      }
      .baradari-footer .enquire-btn:hover {
        background: rgba(153, 106, 67, 0.8);
        border-color: #fff;
        transform: translateX(4px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
      }

      @media (max-width: 600px) {
        .baradari-footer .enquire-btn {
          font-size: 0.9rem;
          padding: 12px 24px;
        }
      }
