/* Base reset */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111;
  background: #edf2f7;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: none;
  cursor: pointer;
}

main {
  flex: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 24px 20px 32px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: #1f2937;
  color: #fff;
}

.logo img {
  width: 100px;
  border-radius: 18px;
}

.header-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.header-inner h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
}

.header-inner span {
  color: #d1d5db;
  font-size: 14px;
}

#menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  background: #111827;
  border-radius: 16px;
}

button.menu {
  background: transparent;
  color: #d1d5db;
  padding: 10px 14px;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s;
}
.sidebar {
  width: 200px;
  background: #ddd;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.layout {
  display: flex;
  width: 100%;
}
.feedback-group {
  margin-bottom: 20px;
}

.feedback-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feedback-card {
  border: 1px solid #ccc;
  padding: 10px;
  width: 180px;
  border-radius: 8px;
  background: #fff;
}

/*contact*/
.contact-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
  padding: 8px;
  border: 1px solid #ccc;
}

.contact-form textarea {
  min-height: 100px;
}

.contact-form button {
  padding: 10px;
  background: #333;
  color: white;
  border: none;
  cursor: pointer;
}

.contact-result {
  margin-top: 10px;
}

.success {
  color: green;
}

.contact-info {
  margin-top: 20px;
}
.content-layout {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
}
.content {
  flex: 1;
  padding: 10px;
}
button.menu:hover,
button.menu.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.burger {
  display: none;
  font-size: 24px;
  color: #fff;
}

.home-page {
  text-align: center;
}

.hero {
  margin-bottom: 28px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 2.5vw, 3rem);
  line-height: 1.05;
}

.hero p {
  margin: 14px auto 0;
  max-width: 720px;
  color: #4b5563;
  font-size: 1rem;
}

.hint {
  margin-top: 24px;
  color: #475569;
  font-size: 0.95rem;
}

.plan-map {
  display: flex;
  justify-content: center;
  margin: 32px auto 0;
  width: 100%;
}

.hall {
  position: relative;
  background: #ffffff;
  border: 10px solid #374151;
  border-radius: 24px;
  min-height: 520px;
  min-width: 1040px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.wall,
.stand {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  color: #111827;
  background: #f8fafc;
  border: 2px solid #cbd5e1;
  border-radius: 18px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.wall:hover,
.stand:hover {
  transform: scale(1.03);
  background: #e2e8f0;
  border-color: #94a3b8;
}

.wall2:hover {
  transform: translateX(-50%) scale(1.03);
}

.wall3:hover {
  transform: translateY(-50%) scale(1.03);
}

.wall4:hover {
  transform: scale(1.03);
}
.wall1,
.wall3 {
  width: 90px;
  height: 260px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.wall1 {
  left: 2px;
  top: 25%;
}

.wall2,
.wall4 {
  width: 340px;
  height: 90px;
}

.wall2 {
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
}

.wall3 {
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.wall4 {
  bottom: 12px;
  left: 35%;
}

.stand {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #dcfce7;
  border-color: #4ade80;
  font-size: 36px;
}

.stand:hover {
  background: #bbf7d0;
}

.stand-label {
  position: absolute;
  top: 117px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
}

.stand1 {
  left: 140px;
  top: 40%;
}

.stand2 {
  left: 340px;
  top: 40%;
}

.stand3 {
  left: 550px;
  top: 40%;
}

.stand4 {
  left: 730px;
  top: 40%;
}

.door {
  position: absolute;
  left: -10px;
  top: 40%;
  width: 20px;
  height: 120px;
  background: #ffffff;
}

.section-page {
  padding: 24px 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.75rem, 2vw, 2.5rem);
}

.section-header p {
  margin: 0;
  max-width: 720px;
  color: #475569;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: #111827;
  color: #fff;
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover {
  background: #374151;
}

.section-footer {
  margin-top: 32px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
}

.card-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-title {
  margin: 16px 16px 8px;
  font-size: 1.05rem;
  line-height: 1.3;
}

.card-text {
  margin: 0 16px 16px;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  z-index: 100;
  padding: 28px 16px;
}

.modal-content {
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18);
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}

#modal-body {
  margin-top: 16px;
}

.modal-img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 18px;
}

.footer {
  background: #111827;
  color: #d1d5db;
  padding: 28px 20px 32px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.footer-block {
  max-width: 320px;
}

.footer-block h3 {
  margin: 0 0 10px;
  color: #ffffff;
}

.footer a {
  color: #93c5fd;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
  text-align: center;
}

@media (max-width: 960px) {
  .hall {
    min-width: 760px;
    min-height: 460px;
    margin: 0 auto;
  }

  .wall2,
  .wall4 {
    width: 260px;
  }

  .wall1,
  .wall3 {
    width: 70px;
  }

  .stand {
    width: 90px;
    height: 90px;
    font-size: 32px;
  }

  .stand-label {
    font-size: 14px;
    top: 105px;
  }
}

@media (max-width: 820px) {
  header {
    flex-direction: column;
    align-items: stretch;
  }

  #menu {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #111827;
    border-radius: 0;
    padding: 16px;
  }

  #menu.active {
    display: flex;
  }

  .burger {
    display: block;
  }

  .hall {
    min-width: calc(100vw - 40px);
    min-height: 380px;
    border-width: 8px;
  }

  .wall2,
  .wall4 {
    width: 220px;
    height: 70px;
  }

  .wall1,
  .wall3 {
    width: 60px;
    height: 200px;
  }

  .stand {
    width: 80px;
    height: 80px;
    font-size: 28px;
  }

  .stand-label {
    font-size: 12px;
    top: 95px;
    width: 120px;
  }

  .door {
    height: 100px;
  }
}

@media (max-width: 640px) {
  main {
    padding: 18px 16px 28px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .card {
    width: 100%;
  }

  .section-header {
    align-items: flex-start;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .plan-map {
    margin: 24px 0 0;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .hall {
    min-width: 600px;
    min-height: 340px;
    border-width: 6px;
    border-radius: 16px;
    margin: 0;
  }

  .wall2,
  .wall4 {
    width: 180px;
    height: 60px;
    font-size: 14px;
  }

  .wall1,
  .wall3 {
    width: 50px;
    height: 160px;
    font-size: 12px;
  }

    .wall2 {
      top: 8px;
    } 
.wall1 {
       left: 28px;
     }

  .wall3 {
    right: 8px;
  }

  .wall4 {
    bottom: 8px;
    left: 35%;
  }

  .stand {
    width: 70px;
    height: 70px;
    font-size: 24px;
  }

  .stand-label {
    font-size: 11px;
    top: 85px;
    width: 100px;
  }

  .stand1 {
    left: 90px;
  }

  .stand2 {
    left: 220px;
  }

  .stand3 {
    left: 350px;
  }

  .stand4 {
    left: 480px;
  }

  .door {
    width: 18px;
    height: 90px;
    top: 40%;
  }
}

@media (max-width: 480px) {
  main {
    padding: 14px 12px 24px;
    width: 100%;
  }

  .plan-map {
    margin: 16px 0 0;
  }

  .hall {
    min-width: 500px;
    min-height: 320px;
    border-width: 5px;
    border-radius: 12px;
  }

  .wall2,
  .wall4 {
    width: 140px;
    height: 50px;
    font-size: 12px;
  }

  .wall1,
  .wall3 {
    width: 40px;
    height: 140px;
    font-size: 10px;
  }

  .stand {
    width: 60px;
    height: 60px;
    font-size: 20px;
  }

  .stand-label {
    font-size: 10px;
    top: 75px;
    width: 90px;
  }

  .stand1 {
    left: 90px;
  }

  .stand2 {
    left: 180px;
  }

  .stand3 {
    left: 270px;
  }

  .stand4 {
    left: 370px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

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

  .hero p {
    font-size: 0.9rem;
  }

  .hint {
    font-size: 0.85rem;
  }
}

