/* **********************************************************
 * Futuristic Black Theme Styles - CPJ Template Inspired
 * ********************************************************** */

html {
  scroll-behavior: smooth;
}

img {
  width: 100%;
  display: block;
  border-radius: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.9;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

img:hover {
  opacity: 1;
  transform: scale(1.02);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 50px rgba(100, 180, 255, 0.2);
}

video {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.4s ease;
  background: #000;
}

video:hover {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
}

/* Audio Player Styling */
audio {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  transition: all 0.4s ease;
}

audio:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

/* Audio Player Container */
.audio-container {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1rem;
  transition: all 0.4s ease;
}

.audio-container:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.audio-container h3 {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.audio-container p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

/* 3D Map Container */
.map-container {
  width: 100%;
  height: 600px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.map-container:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.map-container p {
  color: rgba(255, 255, 255, 0.5);
}

/* **********************************************************
 * Particle Canvas Background
 * ********************************************************** */

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: radial-gradient(ellipse at center, #0a0a0a 0%, #000000 100%);
  pointer-events: none;
}

/* **********************************************************
 * Hero Section with Text Particles
 * ********************************************************** */

.hero-section {
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: var(--spacing-xl);
  background: transparent;
  border: none;
  padding: 0;
}

.text-particle-canvas {
  width: 100%;
  height: 80vh;
  cursor: pointer;
  display: block;
}

body::before {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse at center,
      rgba(100, 180, 255, 0.03) 0%,
      rgba(100, 180, 255, 0.01) 40%,
      transparent 70%);
  z-index: 1;
  pointer-events: none;
  animation: ambientPulse 10s ease-in-out infinite;
}

@keyframes ambientPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

/* **********************************************************
 * Side Navigation
 * ********************************************************** */

.side-nav {
  position: fixed;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.side-nav-item {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.side-nav-dot {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: transparent;
  transition: all 0.3s ease;
}

.side-nav-item:hover .side-nav-dot {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.2);
}

.side-nav-item.active .side-nav-dot {
  border-color: rgba(255, 255, 255, 1);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.side-nav-label {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.side-nav-item:hover .side-nav-label {
  opacity: 1;
  left: 30px;
}

/* **********************************************************
 * Header - Glassmorphism Navigation
 * ********************************************************** */

header {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.main__title {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.main__title ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.main__title li {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.main__title li:last-child {
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--color-text-tertiary);
  margin-top: 0.3rem;
}

.main__nav {
  position: fixed;
  top: var(--spacing-s);
  right: var(--spacing-m);
  z-index: 101;
}

.main__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: var(--spacing-s);
}

.main__nav li {
  font-size: 1rem;
}

.main__nav a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  display: block;
}

.main__nav a:hover {
  color: var(--color-text-primary);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Home Link with Icon */
.home-link {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem !important;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 4px;
  backdrop-filter: blur(10px);
}

.home-link svg {
  transition: transform 0.3s ease;
}

.home-link:hover svg {
  transform: translateY(-2px);
}

.home-link span {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
}

/* **********************************************************
 * Main Content Grid System
 * ********************************************************** */

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  gap: var(--spacing-m);
}

.column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
  min-width: 0;
}

/* Three column layout for videos */
.column-3 {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc(33.333% - 1.333rem) !important;
  min-width: 0;
  max-width: calc(33.333% - 1.333rem);
}

/* **********************************************************
 * Glassmorphism Content Cards
 * ********************************************************** */

section {
  position: relative;
  margin: var(--spacing-m) 0;
  padding: var(--spacing-s);
  background: transparent;
  border: none;
  transition: all 0.5s ease;
}

section:hover {
  background: transparent;
}

/* Override glassmorphism for hero section */
.hero-section:hover {
  background: transparent;
  border-color: transparent;
}

/* **********************************************************
 * Color-Coded Headings - Enhanced
 * ********************************************************** */

.h1__blue {
  color: var(--color-blue);
  position: relative;
  display: inline-block;
  text-shadow: 0 0 40px rgba(100, 180, 255, 0.5);
}

.h1__green {
  color: var(--color-green);
  position: relative;
  display: inline-block;
  text-shadow: 0 0 40px rgba(50, 255, 150, 0.5);
}

.h1__red {
  color: var(--color-red);
  position: relative;
  display: inline-block;
  text-shadow: 0 0 40px rgba(255, 100, 130, 0.5);
}

.h1__blue::after,
.h1__green::after,
.h1__red::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  height: 2px;
  transition: width 0.5s ease;
}

.h1__blue::after {
  background: var(--color-blue);
  box-shadow: 0 0 20px var(--color-blue);
}

.h1__green::after {
  background: var(--color-green);
  box-shadow: 0 0 20px var(--color-green);
}

.h1__red::after {
  background: var(--color-red);
  box-shadow: 0 0 20px var(--color-red);
}

.h1__blue:hover::after,
.h1__green:hover::after,
.h1__red:hover::after {
  width: 100%;
}

/* **********************************************************
 * HR Dividers with Glow
 * ********************************************************** */

hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  margin: var(--spacing-xl) 0;
  position: relative;
  overflow: hidden;
}

hr::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(100, 180, 255, 0.6),
      transparent);
  animation: scanline 3s ease-in-out infinite;
}

@keyframes scanline {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

/* **********************************************************
 * Image Gallery Grid
 * ********************************************************** */

#images {
  background: transparent;
  border: none;
  padding: 0;
  margin: var(--spacing-m) 0;
}

#images ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-m);
}

#images li {
  position: relative;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#images li:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 60px rgba(255, 255, 255, 0.1);
  z-index: 10;
}

#images li img {
  transition: transform 0.8s ease;
  border: none;
}

#images li:hover img {
  transform: scale(1.1);
}

/* **********************************************************
 * Content Container
 * ********************************************************** */

.default__content {
  max-width: 900px;
  padding: var(--spacing-s);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  transition: all 0.4s ease;
}

.default__content:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

/* **********************************************************
 * Margin & Padding Utilities
 * ********************************************************** */

.margin__top-s {
  margin-top: var(--spacing-s);
}

.margin__top-m {
  margin-top: var(--spacing-m);
}

.margin__top-l {
  margin-top: var(--spacing-l);
}

.margin__top-xl {
  margin-top: var(--spacing-xl);
}

.margin__bottom-s {
  margin-bottom: var(--spacing-s);
}

.margin__bottom-m {
  margin-bottom: var(--spacing-m);
}

.margin__bottom-l {
  margin-bottom: var(--spacing-l);
}

.margin__bottom-xl {
  margin-bottom: var(--spacing-xl);
}

.margin__y-s {
  margin-top: var(--spacing-s);
  margin-bottom: var(--spacing-s);
}

.margin__y-m {
  margin-top: var(--spacing-m);
  margin-bottom: var(--spacing-m);
}

.margin__y-l {
  margin-top: var(--spacing-l);
  margin-bottom: var(--spacing-l);
}

.margin__y-xl {
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.padding__y-s {
  padding-top: var(--spacing-s);
  padding-bottom: var(--spacing-s);
}

.padding__y-m {
  padding-top: var(--spacing-m);
  padding-bottom: var(--spacing-m);
}

.padding__y-l {
  padding-top: var(--spacing-l);
  padding-bottom: var(--spacing-l);
}

.padding__y-xl {
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

/* **********************************************************
 * Gutters for Grid
 * ********************************************************** */

.gutter__s {
  gap: 0.5rem;
}

.gutter__m {
  gap: 1rem;
}

.gutter__l {
  gap: 2rem;
}

.gutter__2 {
  gap: 3rem;
}

/* **********************************************************
 * Image Sizing Classes
 * ********************************************************** */

.img__cover-75 {
  width: 100%;
  height: 75vh;
  object-fit: cover;
}

/* **********************************************************
 * Fade In Animations
 * ********************************************************** */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays */
.animate-on-scroll:nth-child(1) {
  transition-delay: 0s;
}

.animate-on-scroll:nth-child(2) {
  transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(3) {
  transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(4) {
  transition-delay: 0.3s;
}

.animate-on-scroll:nth-child(5) {
  transition-delay: 0.4s;
}

.animate-on-scroll:nth-child(6) {
  transition-delay: 0.5s;
}

/* Page load animation */
main {
  animation: fadeIn 0.8s ease-out;
}

/* **********************************************************
 * Scroll Progress Indicator
 * ********************************************************** */

.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg,
      rgba(100, 180, 255, 0.8),
      rgba(50, 255, 150, 0.8),
      rgba(255, 100, 130, 0.8));
  z-index: 1000;
  transition: width 0.1s linear;
  box-shadow: 0 0 20px rgba(100, 180, 255, 0.6);
}

/* **********************************************************
 * 3D Location Carousel - Optimized
 * ********************************************************** */

.location-carousel {
  width: 100%;
  height: 500px;
  position: relative;
  margin: 4rem 0;
  overflow: visible;
}

.carousel-container {
  width: 100%;
  height: 100%;
  position: relative;
  perspective: 1500px;
  cursor: grab;
  user-select: none;
}

.carousel-container:active {
  cursor: grabbing;
}

.location-card {
  position: absolute;
  width: 200px;
  left: 50%;
  top: 50%;
  margin-left: -100px;
  margin-top: -120px;
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  pointer-events: auto;
  will-change: transform, opacity;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.location-card.active {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.15);
}

.location-card h3 {
  font-size: 0.7rem;
  margin-bottom: 0.25rem;
  line-height: 1.1;
}

.location-card p {
  line-height: 1.15;
  margin-bottom: 0.2rem;
  font-size: 0.5rem;
}

.location-card strong {
  font-weight: 600;
}

.location-card em {
  font-style: normal;
}

.location-card img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  margin-top: 0.25rem;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* **********************************************************
 * Composite Artwork Gallery
 * ********************************************************** */

.composite-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-m);
  max-width: 1400px;
  margin: 0 auto;
}

.composite-gallery .composite-item:nth-last-child(-n+4) {
  grid-column: span 1;
}

.composite-gallery .composite-item:nth-last-child(4):nth-child(3n+1) {
  grid-column: 1;
}

.composite-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.composite-main {
  cursor: pointer;
  transition: all 0.4s ease;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  position: relative;
  z-index: 1;
}

.composite-main:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.composite-main img {
  width: 100%;
  height: auto;
  display: block;
}

.composite-item.expanded {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.composite-item.expanded .composite-main {
  position: relative;
  max-width: 600px;
  width: 600px;
  z-index: 10000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  margin-bottom: var(--spacing-m);
}

.composite-item.expanded .composite-main img {
  width: 100%;
  height: auto;
}

.composite-sources {
  position: relative;
  width: 250px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
  display: none;
}

.composite-item.expanded .composite-sources {
  max-height: 5000px;
  opacity: 1;
  pointer-events: auto;
  display: block;
}

.source-grid {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  position: relative;
  padding-top: var(--spacing-m);
  z-index: 10002;
}

.source-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: var(--spacing-m);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
}

.source-item {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #1a1a1a;
  opacity: 0;
  transform: translateY(-10px);
  animation: slideDown 0.4s ease forwards;
  position: relative;
  z-index: 10002;
}

.source-item:nth-child(1) { animation-delay: 0.1s; }
.source-item:nth-child(2) { animation-delay: 0.15s; }
.source-item:nth-child(3) { animation-delay: 0.2s; }
.source-item:nth-child(4) { animation-delay: 0.25s; }
.source-item:nth-child(5) { animation-delay: 0.3s; }
.source-item:nth-child(6) { animation-delay: 0.35s; }
.source-item:nth-child(7) { animation-delay: 0.4s; }
.source-item:nth-child(8) { animation-delay: 0.45s; }
.source-item:nth-child(9) { animation-delay: 0.5s; }
.source-item:nth-child(10) { animation-delay: 0.55s; }

@keyframes slideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.source-item:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

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

.composite-label {
  text-align: center;
  margin-top: var(--spacing-s);
  font-size: 0.75rem;
  color: var(--color-text-tertiary);
  font-weight: 300;
  line-height: 1.4;
}

/* Overlay for expanded view - DISABLED */
.composite-overlay {
  display: none !important;
}

/* **********************************************************
 * Catalog Viewer Styles
 * ********************************************************** */

.catalog-viewer {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.catalog-page-container {
  position: relative;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
}

.catalog-page-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.catalog-fullscreen-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 100, 130, 0.2);
  border: 1px solid rgba(255, 100, 130, 0.4);
  color: #FF6482;
  padding: 0.75rem;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.catalog-fullscreen-btn:hover {
  background: rgba(255, 100, 130, 0.3);
  border-color: rgba(255, 100, 130, 0.6);
  transform: scale(1.1);
}

/* Fullscreen mode styles */
.catalog-viewer:fullscreen {
  background: #000;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.catalog-viewer:-webkit-full-screen {
  background: #000;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.catalog-viewer:fullscreen .catalog-page-container {
  max-width: 90vw;
  max-height: 80vh;
  margin: 0 auto 2rem;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-viewer:-webkit-full-screen .catalog-page-container {
  max-width: 90vw;
  max-height: 80vh;
  margin: 0 auto 2rem;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-viewer:fullscreen .catalog-page-container img {
  max-height: 80vh;
  width: auto;
  object-fit: contain;
}

.catalog-viewer:-webkit-full-screen .catalog-page-container img {
  max-height: 80vh;
  width: auto;
  object-fit: contain;
}

.catalog-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.catalog-nav-btn {
  background: rgba(255, 100, 130, 0.1);
  border: 1px solid rgba(255, 100, 130, 0.3);
  color: #FF6482;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
  font-family: 'Pretendard Variable', sans-serif;
}

.catalog-nav-btn:hover {
  background: rgba(255, 100, 130, 0.2);
  border-color: rgba(255, 100, 130, 0.5);
  transform: translateY(-2px);
}

.catalog-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.catalog-page-info {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
}

.catalog-thumbnails {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
  justify-content: center;
  flex-wrap: wrap;
}

.catalog-thumbnail {
  flex: 0 0 80px;
  width: 80px;
  height: 100px;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0.5;
}

.catalog-thumbnail:hover {
  opacity: 0.8;
  transform: translateY(-3px);
  border-color: rgba(255, 100, 130, 0.3);
}

.catalog-thumbnail.active {
  border-color: #FF6482;
  opacity: 1;
  box-shadow: 0 5px 15px rgba(255, 100, 130, 0.3);
}

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

/* **********************************************************
 * Responsive Design
 * ********************************************************** */

@media (orientation: portrait) {
  .row {
    flex-direction: column;
  }

  .gutter__s,
  .gutter__m,
  .gutter__l {
    gap: var(--spacing-s);
  }

  section {
    padding: var(--spacing-m);
    margin: var(--spacing-m) 0;
  }

  .main__nav {
    right: var(--spacing-s);
  }

  .main__nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  #images ul {
    grid-template-columns: 1fr;
  }

  .img__cover-75 {
    height: 50vh;
  }

  /* Carousel Mobile Adjustments */
  .location-carousel {
    height: 350px;
  }

  .location-card {
    width: 160px;
    margin-left: -80px;
    margin-top: -100px;
    padding: 0.3rem 0.5rem;
  }

  .location-card h3 {
    font-size: 0.65rem;
  }

  .location-card p {
    font-size: 0.45rem;
  }

  .location-card img {
    height: 50px;
  }
}
