html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #111;
  color: #eee;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
    h1 {
      font-size: 1.74em; /* or 24px, 1.5rem, etc. */
    }

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

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  display: flex;
}

a {
  color: #ff4081;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

nav a {
  margin: 0 1rem;
  font-weight: bold;
  text-transform: uppercase;
}

/* ========= Footer ========= */
.site-footer {
  background-color: #0a0a0a;
  color: #aaa;
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
  border-top: 1px solid #333;
  letter-spacing: 0.03em;
  animation: fadeIn 1.2s ease-in-out;
}

.site-footer a {
  color: #ff4f7d;
  text-decoration: none;
}

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

.site-footer .brand {
  font-weight: bold;
  color: #eee;
}

/* ========= Containers ========= */
main, .content, .container {
  max-width: 1200px;
  margin: 1rem auto;
  padding: 0 1rem;
}

/* ========= Header ========= */
.site-header {
  background-color: #0a0a0a;
  padding: 1rem 2rem;
  border-bottom: 1px solid #222;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  max-width: 1050px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  height: 69px;
  width: auto;
  filter: grayscale(100%) brightness(1.2);
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-links a {
  color: #eee;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ff4f7d;
}

/* ========= Layout ========= */
.layout {
  display: flex;
  gap: 2rem;
  margin: 2rem auto;
  width: 1070px; /* 250 sidebar + 20 gap + 800 content */
  flex: 1;
}

/* Sidebar */
.sidebar {
  width: 250px;
  flex-shrink: 0;
  background-color: #111;
  padding: 1rem;
  border-right: 1px solid #333;
  color: #ccc;
  font-size: 0.95rem;
}

.sidebar ul {
  list-style: none;
  padding-left: 0;
}

.sidebar li {
  margin-bottom: 0.5rem;
}

.sidebar a {
  color: #ff4f7d;
  text-decoration: none;
}

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

/* Content */
.content {
  width: 800px;
  flex-shrink: 0;
  max-width: 800px;
  color: #eee;
}

/* ========= Responsive ========= */
@media (max-width: 768px) {
  .layout {
    flex-direction: column;
        gap: 0rem; /* instead of 2rem */
    max-width: 100%;
    width: 100%;
    padding: 0 0.5rem;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .sidebar {
    width: 100%;
    max-width: 100%;
    flex: none;
    border-right: none;
    margin-bottom: 0rem;
    text-align: center;
    box-sizing: border-box;
  }

  .sidebar ul {
    padding: 0;
    margin: 0 auto;
    list-style: none;
  }

  .sidebar li {
    margin-bottom: 0.25rem;
  }

  .sidebar a {
    display: inline-block;
    margin: 0.25rem 0;
  }

  .content {
    width: 100%;
    max-width: 100%;
    flex: none;
    border: none;
    box-sizing: border-box;
  }

  .header-content {
    flex-direction: column;
    align-items: center;
  }

  .logo {
    margin-bottom: 1rem;
  }

  .nav-links {
    text-align: center;
  }

  .nav-links a {
    display: inline-block;
    margin: 0.5rem 0.75rem;
  }
}

/* ========= Utility: Responsive Iframes ========= */
.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.iframe-mapcontainer {
  position: relative;
  width: 100%;
  padding-bottom: 75%; /* 4:3 */
  height: 0;
  overflow: hidden;
}

.iframe-mapcontainer iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ========= Animation ========= */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
