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

:root {
  --base: #0d0d16;
  --surface: #10102a;
  --surface-alt: #0f1525;
  --primary: #1e3a6a;
  --primary-light: #4a7ab8;
  --accent: #d4a853;
  --text: #e8eaf0;
  --text-secondary: #8ca3cc;
  --text-muted: #6889b8;
  --radius: 8px;
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--base);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

/* --- Nav --- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease;
}

.nav--scrolled {
  background: var(--surface-alt);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.nav__logo-text-img {
  height: 24px;
  width: auto;
  flex-shrink: 0;
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle--open .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle--open .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle--open .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__links {
  list-style: none;
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface-alt);
  padding: 16px 20px;
  gap: 16px;
}

.nav__links--open {
  display: flex;
}

.nav__links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.nav__links a:hover {
  color: var(--accent);
}

/* Desktop nav */
@media (min-width: 768px) {
  .nav__toggle {
    display: none;
  }

  .nav__links {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    padding: 0;
    gap: 28px;
  }
}

/* --- Buttons --- */

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  text-align: center;
  border: none;
  line-height: 1.6;
}

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

.btn--primary:hover {
  background: var(--primary-light);
}

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

.btn--outline:hover {
  background: rgba(212, 168, 83, 0.1);
}

/* --- Hero --- */

.hero {
  padding: 100px 20px 48px;
  background: linear-gradient(rgba(13, 13, 22, 0.55), rgba(13, 13, 22, 0.7)), url('photos/hero-bg.jpg') center/cover no-repeat;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero__title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero__subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 24px;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__info {
  background: rgba(16, 16, 42, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid rgba(30, 58, 106, 0.6);
}

.hero__info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__info-label {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero__info-value {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.hero__info-link {
  transition: color 0.2s ease;
}

.hero__info-link:hover {
  color: var(--accent);
}

/* Desktop hero */
@media (min-width: 768px) {
  .hero {
    padding: 120px 20px 64px;
  }

  .hero__inner {
    flex-direction: row;
    align-items: center;
  }

  .hero__content {
    flex: 3;
  }

  .hero__info {
    flex: 1;
    max-width: 240px;
  }

  .hero__title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 3.5rem;
  }
}

/* --- Section Heading --- */

.section-heading {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 32px;
}

.section-heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--primary);
  margin: 12px auto 0;
}

/* --- Features --- */

.features {
  padding: 64px 20px;
}

.features__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  border: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.feature-card:hover {
  border-color: var(--primary);
}

.feature-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.feature-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-card__desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

@media (min-width: 1024px) {
  .features__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.gallery__ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

/* --- About --- */

.about-section {
  padding: 64px 20px;
  background: var(--surface);
}

.about-section__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.about-section__text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-section__highlight {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

/* --- Gallery --- */

.gallery {
  padding: 64px 20px;
}

.gallery__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.gallery__slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery__track {
  display: flex;
  transition: transform 0.5s ease;
}

.gallery__img {
  flex: 0 0 100%;
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: var(--surface);
  color: transparent;
}

.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 16px 0 0;
}

.gallery__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.gallery__dot--active {
  background: var(--accent);
}

@media (min-width: 768px) {
  .gallery__slider {
    overflow: visible;
  }

  .gallery__track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    transform: none !important;
    transition: none;
  }

  .gallery__img {
    flex: none;
    width: 100%;
    height: 240px;
  }

  .gallery__dots {
    display: none;
  }
}

/* --- Map --- */

.map-section {
  padding: 64px 20px;
  background: var(--surface);
}

.map-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.map-section__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.map-section__embed {
  border-radius: var(--radius);
  overflow: hidden;
}

.map-section__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.map-section__address {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
}

.map-section__phone {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 600;
}

.map-section__phone:hover {
  color: var(--text);
}

@media (min-width: 768px) {
  .map-section__content {
    flex-direction: row;
    align-items: flex-start;
  }

  .map-section__embed {
    flex: 2;
  }

  .map-section__info {
    flex: 1;
    padding-top: 8px;
  }
}

/* --- Footer --- */

.footer {
  padding: 32px 20px;
  border-top: 1px solid var(--primary);
  text-align: center;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__social {
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.9rem;
}

.footer__social:hover {
  color: var(--accent);
}

.footer__address {
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

.footer__address a:hover {
  color: var(--accent);
}

.footer__copy {
  color: var(--text-muted);
  font-size: 0.75rem;
  opacity: 0.6;
}

/* --- Modal --- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal__content {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 0;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.modal__header {
  padding: 24px 24px 16px;
  flex-shrink: 0;
}

.modal__body {
  padding: 0 24px 32px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--surface);
}

.modal__body::-webkit-scrollbar {
  width: 6px;
}

.modal__body::-webkit-scrollbar-track {
  background: var(--surface);
  border-radius: 3px;
}

.modal__body::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

.modal__body::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.modal__close:hover {
  color: var(--text);
}

.modal__title {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 24px;
}

/* --- Menu Grid --- */

.menu-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.menu-item {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(30, 58, 106, 0.3);
}

.menu-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.menu-item__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.menu-item__desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- Schedule Grid --- */

.schedule-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.schedule-day {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(15, 21, 37, 0.6);
  border-radius: var(--radius);
  border: 1px solid transparent;
}

.schedule-day--highlight {
  border-color: var(--accent);
}

.schedule-day__name {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
}

.schedule-day__event {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* --- Info Modal --- */

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(30, 58, 106, 0.3);
}

.info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-row + .info-row {
  padding-top: 20px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-item--right {
  text-align: right;
}

.info-item__label {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-item__value {
  color: var(--text);
  font-size: 1.05rem;
}

.info-item__link {
  color: var(--primary-light);
  transition: color 0.2s ease;
}

.info-item__link:hover {
  color: var(--accent);
}

@media (min-width: 768px) {
  .modal__content {
    max-width: 700px;
  }

  .modal__content--wide {
    max-width: 820px;
  }

  .modal__content--narrow {
    max-width: 460px;
  }

  .schedule-grid {
    flex-direction: row;
    gap: 6px;
  }

  .schedule-day {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    flex: 1;
    padding: 14px 6px;
  }

  .schedule-day__name {
    font-size: 0.85rem;
  }

  .schedule-day__event {
    font-size: 0.8rem;
  }
}
