/* === RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}
body {
  display: flex;
  flex-direction: column;
  background: #111;
  color: #eee;
  min-height: 100vh;
  scroll-behavior: smooth;
}

/* === SIDE MENU – Desktop & Tablet === */
#side-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 180px;
  background: #1a1a1a;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 2rem;
  z-index: 100;
}
.menu-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  padding-left: 1rem;
}
.menu-btn {
  background: none;
  color: #fff;
  border: none;
  font-size: 1.5rem;
  width: 100%;
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-start;
  transition: color 0.3s;
}
.menu-btn:hover { color: #00ff9f; }
.menu-footer {
  margin-bottom: 1rem;
  color: #888;
  font-size: 0.8rem;
  text-align: center;
  width: 100%;
}

/* === MAIN CONTENT === */
#main-content {
  margin-left: 180px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: margin-left 0.3s;
}

.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 70vh;
}
.hero-frame {
  text-align: center;
  background: #1c1c1c;
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: 0 0 40px rgba(255,255,255,.3);
  max-width: 700px;
  width: 90%;
}
.hero-frame h1 { font-size: 3rem; margin-bottom: .5rem; }
.hero-frame .subtitle { font-size: 1.2rem; color: #ccc; }

.about-frame {
  background: rgba(20,20,20,.95);
  border: 2px solid #333;
  border-radius: 20px;
  padding: 2rem;
  max-width: 700px;
  margin-top: 2rem;
  overflow: hidden;
}
.about-frame h2 { font-size: 2rem; margin-bottom: 1rem; }
.about-frame p { color: #ccc; line-height: 1.6; }
.about-frame .full-text { display: none; }
#more-btn {
  display: block;
  margin: 1rem auto 0;
  background: #333;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
}
#more-btn:hover { background: #555; transform: scale(1.05); }

#footer {
  margin-top: auto;
  text-align: center;
  color: #aaa;
  background: rgba(20,20,20,.85);
  backdrop-filter: blur(5px);
  font-size: 14px;
  padding: 0.5rem 0;
}
#footer .social-icons a {
  margin: 0 8px;
  color: #aaa;
  font-size: 20px;
  transition: 0.3s;
}
#footer .social-icons a:hover { color: #00ff9f; }

/* === TABLET (≤1024px and ≥769px) === */
@media (max-width:1024px) and (min-width:769px) {
  #side-menu { width: 150px; }
  #main-content { margin-left: 150px; padding: 1.5rem; }
  .hero-frame h1 { font-size: 2.5rem; }
  .about-frame h2 { font-size: 1.8rem; }
}

/* === MOBILE (≤768px) === */
@media (max-width:768px) {
  /* Turn sidebar into a top header */
  #side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
  }

  .menu-items {
    flex-direction: row;
    gap: 1rem;
    padding-left: 0;
    width: auto;
  }

  .menu-btn {
    font-size: 1.2rem;
    padding: 0.5rem;
    gap: 0.5rem;
  }

  .menu-footer { display: none; }

  #main-content {
    margin-left: 0;
    margin-top: 60px; /* Push content below fixed header */
    padding: 1rem;
  }

  .hero-frame, .about-frame {
    width: 95%;
    padding: 2rem 1rem;
  }
  .hero-frame h1 { font-size: 2rem; }
  .hero-frame .subtitle { font-size: 1rem; }
  .about-frame h2 { font-size: 1.5rem; }
  #more-btn { padding: 0.4rem 0.8rem; font-size: 0.9rem; }

  #footer {
    font-size: 12px;
    padding: 0.5rem 0;
  }
  #footer .social-icons a {
    font-size: 18px;
    margin: 0 5px;
  }
}
