@import url('./orientation/orientation-warning.css');

:root {
  --city-bg-dark: rgba(7, 14, 32, 0.92);
  --city-card-bg: rgba(255, 255, 255, 0.98);
  --city-card-border: rgba(255, 255, 255, 0.2);
  --city-accent: #d91e2e;
  --city-accent-dark: #9c0f1f;
  --city-text: #0f213f;
  --city-muted: #6d7c99;
}

body {
  background: linear-gradient(135deg, #020b22, #08173a 40%, #102752);
  min-height: 100vh;
  color: var(--city-text);
}

.main {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.logo-inner-wrapper {
  width: 100%;
  display: flex;
  gap: clamp(1rem, 2vw, 2.5rem);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.logo-inner-wrapper a {
  display: inline-flex;
  align-items: center;
}

.logo-inner-wrapper img {
  height: auto;
  width: auto;
  max-height: 64px;
}

.main-banner-cover {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.main-banner-cover .title-image {
  width: 32%;
  max-width: 160px;
  height: auto;
}

.main-banner .main-banner-cover .title-image {
  min-width: 230px;
  max-width: 230px;
}

@media (max-width: 991px) and (orientation: landscape) {
  .main-banner .main-banner-cover .title-image {
    display: block;
    margin: 0 auto;
  }
}
.city-back-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
}

.city-back-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1.75rem;
  background: linear-gradient(120deg, var(--city-accent), #ff4c59);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.4px;
  box-shadow: 0 12px 28px rgba(217, 30, 46, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.city-back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(217, 30, 46, 0.4);
}

.city-card {
  background: var(--city-card-bg);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 30px 60px rgba(2, 11, 34, 0.35);
  width: min(95vw, 1400px);
  max-width: 1400px;
  margin: 0 auto;
  color: var(--city-text);
}

.city-card h1 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--city-text);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.city-table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: inset 0 0 0 1px rgba(7, 14, 32, 0.05);
  border-radius: 18px;
  overflow: hidden;
}

.city-table thead {
  background: var(--city-bg-dark);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 0.9rem;
}

.city-table th,
.city-table td {
  padding: 1rem 1.15rem;
  text-align: left;
  vertical-align: top;
}

.city-table tbody tr {
  background: rgba(7, 14, 32, 0.02);
  transition: background 0.2s ease;
}

.city-table tbody tr:nth-child(even) {
  background: rgba(7, 14, 32, 0.06);
}

.city-table tbody tr:hover {
  background: rgba(217, 30, 46, 0.08);
}

.city-table tbody td {
  border-bottom: 1px solid rgba(7, 14, 32, 0.08);
  font-size: 0.95rem;
  color: var(--city-text);
}

.city-table tbody td:last-child {
  font-weight: 600;
  color: var(--city-accent-dark);
}

.city-table tbody tr:last-child td {
  border-bottom: none;
}

.city-table thead th:first-child,
.city-table tbody td:first-child {
  color: var(--city-muted);
  font-weight: 600;
  width: 110px;
}

.city-card {
  overflow-x: auto;
}

@media (min-width: 992px) {
  .logo-inner-wrapper {
    justify-content: flex-start;
    margin-bottom: 0;
    gap: clamp(1.25rem, 2vw, 3.5rem);
  }

  .logo-inner-wrapper img {
    max-height: clamp(56px, 6vw, 80px);
  }

  .main-banner-cover {
    justify-content: flex-end;
    margin-bottom: 0;
  }

  .main-banner-cover .title-image {
    width: 32%;
    max-width: 192px;
  }

  .city-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: clamp(1.5rem, 4vw, 6rem);
    row-gap: 1.25rem;
    align-items: start;
    width: 100%;
  }

  .city-hero > .content {
    display: contents;
  }

  .city-hero .city-back-wrapper {
    grid-column: 2;
    justify-content: flex-end;
    margin-bottom: 0;
    width: auto;
    align-self: flex-start;
  }

  .city-hero .city-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .main {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .city-card {
    padding: 1.5rem;
  }

  .city-table th,
  .city-table td {
    padding: 0.85rem;
    font-size: 0.9rem;
  }

  .city-card {
    width: 100%;
  }

  .city-back-wrapper {
    justify-content: center;
  }

  .city-back-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
