/* ===== TOURS SECTION ===== */

/* Section container */
.tours-section {
  background: transparent;
  position: relative;
  padding-top: 120px;
}

/* Inner blue container */
.tours-inner-container {
  background: #013594;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* ===== GOLD PIXEL DECORATION ===== */
.tours-gold-pixel-fixed {
  position: absolute;
  top: 45px;
  right: 180px;
  z-index: 10;
  pointer-events: none;
}

.tours-pixel-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  display: block;
}

/* ===== BACKGROUND ELEMENTS ===== */
.tours-bg-text {
  width: 900px;
  height: 500px;
  top: 20px;
  left: 40px;
  opacity: 0.12;
  z-index: 1;
}

.tours-bg-text__label {
  font-family: 'Oswald', 'Impact', 'Arial Black', sans-serif;
  font-weight: 500;
  font-size: 400px;
  line-height: 1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: white;
  display: block;
}

.tours-circle-element {
  width: 1100px;
  height: 1100px;
  top: 500px;
  left: 40%;
  opacity: 0.5;
  z-index: 2;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ===== MAIN LAYOUT ===== */
.tours-main-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  min-height: 900px;
}

/* Content area - left */
.tours-content-area {
  padding: 160px 40px 80px 60px;
  max-width: 900px;
}

/* Image area - right */
.tours-image-area {
  position: relative;
  z-index: 3;
  align-self: start;
  padding-top: 220px;
  padding-right: 40px;
}

.tours-image-wrapper {
  width: 480px;
}

.tours-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ===== HEADER ===== */
.tours-header-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: nowrap;
}

.tours-title {
  font-family: 'Oswald', Impact, sans-serif !important;
  font-weight: 600 !important;
  font-size: 42px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase;
  color: #fff !important;
  margin: 0;
  flex-shrink: 0;
}

.tours-header-divider {
  font-family: 'Inter', sans-serif !important;
  font-weight: 300 !important;
  font-size: 62px !important;
  line-height: 1.5 !important;
  color: #fff !important;
  flex-shrink: 0;
}

.tours-library-name,
.tours-library-name * {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 100 !important;
  font-size: 42px !important;
  line-height: 1.2 !important;
  color: #fff !important;
  margin: 0;
  white-space: nowrap;
}

/* ===== META INFO ===== */
.tours-meta-info {
  padding-left: 175px;
  margin-bottom: 60px;
}

.tours-address,
.tours-address * {
  font-family: 'Roboto', sans-serif !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff !important;
  margin-bottom: 4px;
}

.tours-hours,
.tours-hours * {
  font-family: 'Inter', sans-serif !important;
  font-weight: 400 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff !important;
  margin-bottom: 16px;
}

.tours-hours__open {
  color: #FFB81C !important;
  font-weight: 700 !important;
}

.tours-hours__sep {
  color: rgba(255, 255, 255, 0.5) !important;
  margin: 0 4px !important;
}

/* Begin Tour button */
.begin-tour-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.begin-tour-btn__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease;
}

.begin-tour-btn:hover .begin-tour-btn__icon {
  border-color: #FDB913;
}

.tours-begin-btn {
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: underline !important;
  color: #fff !important;
}

/* ===== DESCRIPTION ===== */
.tours-description {
  max-width: 800px;
  margin-bottom: 50px;
}

.tours-description,
.tours-description * {
  font-family: 'Roboto', sans-serif !important;
  font-weight: 400 !important;
  font-size: 27px !important;
  line-height: 1.4 !important;
  color: #fff !important;
}

/* ===== DIVIDER ===== */
.tours-divider-line {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 50px;
  max-width: 700px;
}

/* ===== DETAILS GRID ===== */
.tours-details-grid {
  display: grid;
  grid-template-columns: 200px 280px;
  gap: 30px 60px;
  margin-bottom: 50px;
  padding-left: 70px;
}

.tours-details-grid__full {
  grid-column: 1 / -1;
}

.tours-label {
  font-family: 'Roboto', sans-serif !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  text-transform: none !important;
  margin-bottom: 8px;
}

.tours-value,
.tours-value * {
  font-family: 'Roboto', sans-serif !important;
  font-weight: 400 !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

.tours-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tours-features-list li {
  margin-bottom: 2px;
}

/* ===== VIDEO SECTION ===== */
.tours-video-section {
  padding-left: 0;
}

.tours-video-inner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.tours-nav-arrows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  width: 70px;
}

.tours-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #FFFFFF;
  background: cornflowerblue;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tours-nav-btn:hover:not(:disabled) {
  border-color: rgba(100, 180, 255, 0.8);
}

.tours-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.tours-nav-btn svg {
  color: #FFFFFF;
}

.tours-video-content {
  flex: 1;
}

.tours-video-title {
  font-family: 'Roboto', sans-serif !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  color: #FFB81C !important;
  margin-bottom: 4px !important;
}

.tours-video-title__text {
  color: #FFB81C;
}

.tours-video-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tours-video-item {
  font-family: 'Roboto', sans-serif !important;
  font-weight: 400 !important;
  font-size: 11px !important;
  line-height: 1.8 !important;
  color: rgba(255, 255, 255, 0.6) !important;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 0;
  text-align: left;
  width: 100%;
  transition: color 0.2s ease;
}

.tours-video-item:hover {
  color: #FFB81C !important;
}

[data-video-item].active .tours-video-item {
  color: #FFB81C !important;
}

[data-video-item] {
  transition: opacity 0.2s ease;
}

/* ===== RESPONSIVE - 1400px ===== */
@media (max-width: 1400px) {
  .tours-section {
    padding-top: 100px;
  }

  .tours-gold-pixel-fixed {
    right: 60px;
  }

  .tours-pixel-icon {
    width: 160px;
    height: 160px;
  }

  .tours-content-area {
    padding: 140px 30px 60px 50px;
  }

  .tours-image-wrapper {
    width: 420px;
  }

  .tours-image-area {
    padding-top: 160px;
  }
}

/* ===== RESPONSIVE - 1200px ===== */
@media (max-width: 1200px) {
  .tours-section {
    padding-top: 80px;
  }

  .tours-gold-pixel-fixed {
    right: 40px;
  }

  .tours-pixel-icon {
    width: 120px;
    height: 120px;
  }

  .tours-title,
  .tours-header-divider,
  .tours-library-name,
  .tours-library-name * {
    font-size: 36px !important;
  }

  .tours-header-divider {
    font-size: 50px !important;
  }

  .tours-meta-info {
    padding-left: 130px;
  }

  .tours-description,
  .tours-description * {
    font-size: 22px !important;
  }

  .tours-image-wrapper {
    width: 360px;
  }

  .tours-content-area {
    padding: 120px 20px 60px 40px;
  }

  .tours-details-grid {
    padding-left: 50px;
  }

  .tours-nav-arrows {
    width: 50px;
  }

  .tours-nav-btn {
    width: 40px;
    height: 40px;
  }
}

/* ===== RESPONSIVE - 1024px (Tablet landscape) ===== */
@media (max-width: 1024px) {
  .tours-section {
    padding-top: 60px;
  }

  .tours-gold-pixel-fixed {
    right: 20px;
  }

  .tours-pixel-icon {
    width: 80px;
    height: 80px;
  }

  .tours-main-layout {
    grid-template-columns: 1fr !important;
    min-height: auto;
  }

  .tours-title,
  .tours-library-name,
  .tours-library-name * {
    font-size: 32px !important;
  }

  .tours-header-divider {
    font-size: 44px !important;
  }

  .tours-meta-info {
    padding-left: 110px;
  }

  .tours-content-area {
    max-width: 100%;
    padding: 80px 30px 40px 30px;
  }

  .tours-image-area {
    padding: 0 30px 40px 30px;
    padding-top: 0;
    order: -1;
  }

  .tours-image-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .tours-bg-text {
    display: none;
  }

  .tours-circle-element {
    display: none !important;
  }

  .tours-details-grid {
    padding-left: 20px;
    grid-template-columns: 1fr 1fr;
    gap: 20px 40px;
  }

  .tours-nav-arrows {
    width: 40px;
  }

  .tours-description {
    max-width: 100%;
  }

  .tours-description,
  .tours-description * {
    font-size: 20px !important;
  }
}

/* ===== RESPONSIVE - 768px (Tablet portrait) ===== */
@media (max-width: 768px) {
  .tours-section {
    padding-top: 0;
  }

  .tours-gold-pixel-fixed {
    display: none;
  }

  .tours-main-layout {
    min-height: auto;
  }

  .tours-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px !important;
  }

  .tours-title,
  .tours-library-name,
  .tours-library-name * {
    font-size: 26px !important;
  }

  .tours-library-name,
  .tours-library-name * {
    white-space: normal;
  }

  .tours-header-divider {
    display: none;
  }

  .tours-meta-info {
    padding-left: 0;
    margin-bottom: 40px;
  }

  .tours-content-area {
    padding: 60px 20px 40px 20px;
  }

  .tours-image-area {
    padding: 0 20px 30px 20px;
  }

  .tours-image-wrapper {
    max-width: 400px;
  }

  .tours-description,
  .tours-description * {
    font-size: 18px !important;
  }

  .tours-description {
    margin-bottom: 30px;
  }

  .tours-divider-line {
    margin-bottom: 30px;
  }

  .tours-details-grid {
    grid-template-columns: 1fr;
    padding-left: 0;
    gap: 20px;
    margin-bottom: 30px;
  }

  .tours-video-inner {
    flex-direction: column;
    gap: 16px;
  }

  .tours-nav-arrows {
    flex-direction: row;
    width: auto;
    gap: 12px;
  }

  .tours-nav-btn {
    width: 44px;
    height: 44px;
  }

  .tours-bg-text__label {
    font-size: 200px;
  }
}

/* ===== RESPONSIVE - 480px (Mobile) ===== */
@media (max-width: 480px) {
  .tours-title,
  .tours-library-name,
  .tours-library-name * {
    font-size: 22px !important;
  }

  .tours-content-area {
    padding: 40px 16px 30px 16px;
  }

  .tours-image-area {
    padding: 0 16px 20px 16px;
  }

  .tours-image-wrapper {
    max-width: 100%;
  }

  .tours-description,
  .tours-description * {
    font-size: 16px !important;
  }

  .tours-description {
    margin-bottom: 24px;
  }

  .tours-divider-line {
    margin-bottom: 24px;
  }

  .tours-details-grid {
    margin-bottom: 24px;
    gap: 16px;
  }

  .tours-meta-info {
    margin-bottom: 30px;
  }

  .tours-address,
  .tours-address * {
    font-size: 12px !important;
  }

  .tours-hours,
  .tours-hours * {
    font-size: 11px !important;
  }

  .tours-nav-btn {
    width: 40px;
    height: 40px;
  }

  .tours-video-item {
    font-size: 12px !important;
    line-height: 2 !important;
  }
}

/* ===== VIDEO MODAL ===== */
.tours-video-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 99999 !important;
  background: #000;
}

.tours-video-modal.hidden {
  display: none !important;
}

.tours-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
}

.tours-video-modal video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.tours-iframe-container {
  width: 100%;
  height: 100%;
  background: #000;
}

.tours-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.tours-controls-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.tours-controls-overlay > * {
  pointer-events: auto;
}

.tours-modal-close-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 100;
}

.tours-modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

.tours-modal-close-btn svg {
  width: 24px;
  height: 24px;
}

.tours-modal-bottom-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 32px 32px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  z-index: 60;
}

.tours-modal-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.tours-modal-play-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.tours-modal-next-btn {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.tours-modal-next-btn:hover:not(:disabled) {
  color: #FFB81C;
}

.tours-modal-next-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

[data-current-time] {
  font-family: 'Roboto Mono', monospace;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

[data-video-title-display] {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-video-click-overlay] {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 100px;
  cursor: pointer;
  z-index: 10;
}

/* Modal responsive */
@media (max-width: 768px) {
  .tours-modal-bottom-controls {
    padding: 40px 16px 16px;
  }

  .tours-modal-play-btn {
    width: 52px;
    height: 52px;
  }

  .tours-modal-close-btn {
    width: 40px;
    height: 40px;
  }

  [data-video-title-display] {
    max-width: 150px;
    font-size: 11px;
  }
}

/* ===== PRINT ===== */
@media print {
  .tours-section {
    display: none;
  }
}
