/* ============================================================
   Crowne Plaza Belgrade — Venue Presentation Stylesheet
   ============================================================
   Brand-aligned, desktop-first responsive design.
   All pages share this single stylesheet.
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Onest:wght@400;500;600;700&display=swap');

/* --- Custom Properties --- */
:root {
  --burgundy: #6B2D5B;
  --burgundy-dark: #552248;
  --burgundy-light: #F3EAF0;
  --text: #2D2D2D;
  --text-light: #666666;
  --text-muted: #999999;
  --bg-light: #F5F5F5;
  --white: #FFFFFF;
  --border: #E0E0E0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 24px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

/* --- Reset / Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--burgundy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--burgundy-dark);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 64px 0;
}

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__logo img {
  height: 40px;
  width: auto;
}

.header__logo-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
}

.header__logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.footer .header__logo-img {
  filter: brightness(0) invert(1);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
  position: relative;
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--burgundy);
}

.header__nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--burgundy);
  border-radius: 1px;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px;
  background: transparent;
  cursor: pointer;
}

.lang-toggle__option {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
}

.lang-toggle__option.active {
  background-color: var(--burgundy);
  color: var(--white);
}

.lang-toggle__option:hover:not(.active) {
  color: var(--text);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
  max-width: 720px;
}

.hero__content h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero__content p {
  font-size: 1.125rem;
  opacity: 0.9;
}

/* --- Filter Bar --- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

/* --- Config Buttons (venue page configuration switching) --- */
.config-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.config-btn {
  padding: 10px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background-color: var(--white);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.config-btn:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
}

.config-btn.active {
  background-color: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--white);
}

.config-info {
  text-align: center;
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--text-light);
}

.filter-bar__btn {
  flex-shrink: 0;
  padding: 10px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background-color: var(--white);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.filter-bar__btn:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
}

.filter-bar__btn.active {
  background-color: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--white);
}

.sort-select {
  padding: 10px 40px 10px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background-color: var(--white);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

.sort-select:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
}

.sort-select:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(107, 45, 91, 0.1);
}

/* --- Venue Grid --- */
.venue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 24px 0;
}

/* --- Venue Card --- */
.venue-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.venue-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.venue-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #E0E0E0;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.venue-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.venue-card:hover .venue-card__image img {
  transform: scale(1.03);
}

.venue-card__body {
  padding: 20px;
}

.venue-card__title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.venue-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
  color: var(--text-light);
}

.venue-card__meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --- Placeholder Image --- */
.placeholder-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #E0E0E0;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.875rem;
  font-weight: 500;
}

/* --- Key Info Cards --- */
.key-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 32px 0;
}

.key-info__card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  flex: 1 1 200px;
  min-width: 180px;
}

.key-info__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--burgundy-light);
  border-radius: var(--radius-md);
  color: var(--burgundy);
}

.key-info__text {
  display: flex;
  flex-direction: column;
}

.key-info__value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.key-info__label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* --- Description Section --- */
.description {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.description p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-light);
}

/* --- Side-by-Side Layout (Axonometry + Floor Plan) --- */
.side-by-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.side-by-side__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.side-by-side__item img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  display: block;
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
}

.side-by-side__label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  text-align: center;
  margin-top: 12px;
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 16 / 9;
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-grid__item:hover img {
  transform: scale(1.05);
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox__image {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  backdrop-filter: blur(4px);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  backdrop-filter: blur(4px);
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox__nav--prev {
  left: 24px;
}

.lightbox__nav--next {
  right: 24px;
}

.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* --- Capacity Table --- */
.capacity-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 0.9375rem;
}

.capacity-table thead {
  background-color: var(--burgundy);
  color: var(--white);
}

.capacity-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.capacity-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.capacity-table tbody tr:nth-child(odd) {
  background-color: var(--bg-light);
}

.capacity-table tbody tr:nth-child(even) {
  background-color: var(--white);
}

.capacity-table tbody tr:hover {
  background-color: var(--burgundy-light);
}

.capacity-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* --- Equipment Grid --- */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.equipment-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
}

.equipment-item__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--burgundy);
}

.equipment-item__text {
  font-weight: 500;
  color: var(--text);
}

/* --- Air Wall Section --- */
.air-wall-section {
  display: none;
}

.air-wall-section.visible {
  display: block;
}

/* --- CTA Section --- */
.cta-section {
  background-color: var(--bg-light);
  text-align: center;
  padding: 64px 24px;
}

.cta-section h2 {
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 1.5rem;
  font-size: 1.0625rem;
}

/* --- Footer --- */
.footer {
  background-color: #60004e;
  color: var(--white);
  padding: 48px 0 32px;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__powered {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn--primary {
  background-color: var(--burgundy);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--burgundy-dark);
  color: var(--white);
}

.btn--outline {
  background-color: transparent;
  color: var(--burgundy);
  border: 2px solid var(--burgundy);
}

.btn--outline:hover {
  background-color: var(--burgundy);
  color: var(--white);
}

.btn--sm {
  padding: 8px 20px;
  font-size: 0.8125rem;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* --- Tags / Badges --- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background-color: var(--burgundy-light);
  color: var(--burgundy);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}

.tag--group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* --- Matterport Iframe --- */
.matterport-wrapper {
  width: 100%;
  height: 65vh;
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.matterport-section {
  padding: 0;
  display: flex;
  justify-content: center;
}

.matterport-section .container {
  max-width: 100%;
  padding: 0;
}

.matterport-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Section Header --- */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.0625rem;
  max-width: 600px;
  margin: 0.5rem auto 0;
}

/* --- Fade-In Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Back Link --- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  padding: 16px 0;
  transition: color var(--transition);
}

.back-link:hover {
  color: var(--burgundy);
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 16px 0;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--burgundy);
}

.breadcrumb__separator {
  color: var(--border);
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   Responsive — Tablet (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }

  .hero__content h1 {
    font-size: 2.25rem;
  }

  .venue-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .side-by-side {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  section {
    padding: 48px 0;
  }
}

/* ============================================================
   Responsive — Mobile (max-width: 640px)
   ============================================================ */
@media (max-width: 640px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.125rem; }

  .container {
    padding: 0 16px;
  }

  section {
    padding: 40px 0;
  }

  /* Header */
  .header .container {
    height: 60px;
  }

  .header__nav {
    gap: 16px;
  }

  .header__nav a {
    font-size: 0.8125rem;
  }

  /* Hero */
  .hero {
    aspect-ratio: 4 / 3;
  }

  .hero__content h1 {
    font-size: 1.75rem;
  }

  .hero__content p {
    font-size: 1rem;
  }

  /* Filter Bar */
  .filter-bar {
    gap: 8px;
    padding: 16px 0;
  }

  .filter-bar__btn {
    padding: 8px 18px;
    font-size: 0.8125rem;
  }

  /* Venue Grid */
  .venue-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Key Info */
  .key-info {
    gap: 12px;
  }

  .key-info__card {
    padding: 16px;
    flex: 1 1 100%;
  }

  /* Side-by-Side stacks */
  .side-by-side {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Equipment */
  .equipment-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Lightbox */
  .lightbox__close {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }

  .lightbox__nav {
    width: 40px;
    height: 40px;
  }

  .lightbox__nav--prev {
    left: 12px;
  }

  .lightbox__nav--next {
    right: 12px;
  }

  /* CTA */
  .cta-section {
    padding: 48px 16px;
  }

  /* Table scroll */
  .capacity-table th,
  .capacity-table td {
    padding: 10px 14px;
    font-size: 0.8125rem;
  }

  /* Buttons */
  .btn {
    padding: 10px 24px;
    font-size: 0.875rem;
  }

  .btn--lg {
    padding: 14px 28px;
  }
}
