html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(100% - 1.25rem, 1200px);
  margin-inline: auto;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0.75rem;
    right: 0.75rem;
    z-index: 1200;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.65rem 0.75rem;
  }

  .hamburger {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .footer-content,
  .footer-flex {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .footer-bottom {
    display: block !important;
    text-align: left !important;
  }

  .rooms-grid,
  .places-list,
  .contact-grid,
  .services-grid,
  .gallery-grid {
    grid-template-columns: 1fr !important;
  }

  .room-card,
  .place-card {
    width: 100%;
  }

  input,
  select,
  textarea,
  button {
    max-width: 100%;
  }
}
