@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --surface-card: #ffffff;
  --surface-elevated: #f8fafc;
  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --accent-slate: #1e293b;
  --accent-cyan: #0284c7;
  --accent-ice: #0ea5e9;
  --accent-blue: #2563eb;
  --accent-light: #e0f2fe;
  --accent-glow: rgba(14, 165, 233, 0.12);
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px -1px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 24px 48px -12px rgba(15, 23, 42, 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  margin-top: 0;
}

.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-sans);
}

.bg-image-cover {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-panel-dark {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.card-luxury {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.card-luxury:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-strong);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background-color: #0f172a;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
  border: 1px solid #0f172a;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.3);
  color: #ffffff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background-color: #ffffff;
  color: #0f172a;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #0f172a;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--bg-tertiary);
  color: var(--accent-slate);
  border: 1px solid var(--border-subtle);
}

.matespub-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  transition: var(--transition);
}

.matespub-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.matespub-nav ul {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.matespub-nav a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  padding: 0.5rem 0.25rem;
  position: relative;
}

.matespub-nav a:hover, .matespub-nav a.active {
  color: #0f172a;
}

.matespub-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #0f172a;
  transition: var(--transition);
}

.matespub-nav a:hover::after {
  width: 100%;
}

.matespub-contacts {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.matespub-contacts div {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.matespub-burger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
  padding: 0.5rem;
}

.matespub-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background-color: #ffffff;
  box-shadow: var(--shadow-xl);
  z-index: 2000;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.matespub-mobile-menu.open {
  right: 0;
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.matespub-mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.matespub-mobile-nav a {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.matespub-mobile-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.matespub-footer {
  background-color: #0b1120;
  color: #f1f5f9;
  border-top: 1px solid #1e293b;
  position: relative;
  overflow: hidden;
}

.footer-top {
  padding: 5rem 2rem 3rem;
}

.footer-nav-col h4 {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

.footer-nav-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-nav-col a {
  color: #cbd5e1;
  font-size: 0.875rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer-nav-col a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 2rem;
  font-size: 0.8125rem;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: #1e293b;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-icon-btn:hover {
  background: #334155;
  transform: translateY(-2px);
  color: #ffffff;
}

.custom-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.custom-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: var(--transition);
  border: 1px solid var(--border-subtle);
}

.custom-modal.active .modal-dialog {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--border-strong);
  color: var(--text-primary);
}

.ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
  background: #0f172a;
  color: #ffffff;
  padding: 0.875rem 0;
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
}

.ticker-move {
  display: inline-block;
  animation: marquee 35s linear infinite;
}

@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.accordion-item {
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.accordion-item.active .accordion-body {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0f172a;
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.spinner-loader {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.seat-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-strong);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}

.seat-btn:hover:not(.occupied) {
  border-color: #0f172a;
  background: var(--bg-tertiary);
}

.seat-btn.selected {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.seat-btn.occupied {
  background: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  border-color: #e2e8f0;
}

.slider-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.slider-container::-webkit-scrollbar {
  display: none;
}

.slider-item {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .slider-item-2 {
    flex: 0 0 calc(50% - 1rem);
  }
  .slider-item-3 {
    flex: 0 0 calc(33.333% - 1.33rem);
  }
}

@media (max-width: 1024px) {
  .matespub-nav {
    display: none;
  }
  .matespub-contacts {
    display: none;
  }
  .matespub-burger {
    display: block;
  }
}

@media (max-width: 640px) {
  .matespub-header {
    padding: 0.75rem 1rem;
  }
  .footer-top {
    padding: 3rem 1rem 2rem;
  }
  .footer-bottom {
    padding: 1.5rem 1rem;
    flex-direction: column;
    text-align: center;
  }
}
