@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

@font-face {
  font-family: "Coolvetica";
  src: url("../../swaranusa_project/assets/Coolvetica\ Rg.otf")
    format("opentype");
}

/* Reset default browser */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  background-color: #f8f8f8;
  font-family: "Coolvetica", "Montserrat", sans-serif;
  min-height: 100vh;
}

.menu-container {
  display: flex;
  min-height: 100vh;
}

/* Left Side (Sidebar) */
.left-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  top: 0;
  left: 0;
  bottom: 0;
  position: fixed;
  color: #ffffff;
  background-color: #131010;
  width: 200px;
  min-height: 100vh;
  padding: 24px 0;
}

.left-side .logo-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-bottom: 1px solid #ffffff;
  width: 200px;
  margin-bottom: 24px;
}

.left-side .logo-text h1 {
  color: #ffffff;
  text-align: center;
  font-size: 20px;
  font-family: "Coolvetica", sans-serif;
}

.left-side .logo-text img,
.left-side .logo-text h1 {
  padding-bottom: 25px;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sidebar-menu div {
  display: flex;
  align-items: center;
  gap: 25px;
  width: 100%;
  padding: 15px 25px;
}

.sidebar-menu div:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

.sidebar-menu div a {
  color: #ffffff;
  text-align: left;
  text-decoration: none;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  width: 100%;
  transition: 0.3s;
  transition: 0.3s;
}

.main-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-left: 200px;
}

/* Right Side (Navbar + Content) */

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #131010;
  transition: 0.3s;
  border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

header {
  background: #ffffff;
  color: #131010;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 2001;
}

header h1 {
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

ul {
  list-style: none;
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
  position: relative;
}

.logo-navbar {
  height: 37px;
}

nav ul li {
  margin-left: 55px;
  position: relative;
}

nav ul li a {
  color: #131010;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 5px;
  display: inline-block;
}

nav ul li a:hover {
  color: #543a14;
}

nav ul li a.active {
  color: #543a14;
}

#navMenu {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

.content-area {
  padding: 32px 48px;
}

.content-area h1 {
  font-size: 28px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  margin-bottom: 20px;
}

.kelola-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.kelola-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  margin-bottom: 20px;
}

.kelola-profile img {
  border-radius: 50%;
  object-fit: cover;
  width: 100px;
  height: 100px;
}

.kelola-profile h2 {
  font-size: 24px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.kelola-profile p {
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

.kelola-content {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.kelola-left,
.kelola-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.kelola-left div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.kelola-left div h3 {
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.kelola-left div p {
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

.kelola-left div .cursor-pointer {
  cursor: pointer;
}

.kelola-left div .cursor-pointer:hover {
  text-decoration: underline;
}

.kelola-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.kelola-right h3 {
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.kelola-right p {
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

.kelola-right .cursor-pointer {
  cursor: pointer;
}

.kelola-right .cursor-pointer:hover {
  text-decoration: underline;
}

.kelola-left div,
.kelola-right {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  padding: 25px;
  max-width: 470px;
  min-width: 300px;
}

.kelola-left div p,
.kelola-right p {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
}

/* Desktop (min-width: 1024px) */
@media (min-width: 1024px) {
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .left-side {
    position: relative;
    width: 160px;
    padding: 16px 0;
  }

  .left-side .logo-text {
    width: 160px;
    margin-bottom: 16px;
  }

  .sidebar-menu div {
    gap: 5px;
  }

  .sidebar-menu div a {
    font-size: 12px;
    padding: 12px 8px;
  }

  .main-content {
    margin-left: 0;
  }

  .top-navbar {
    justify-content: flex-end;
    padding: 12px 16px;
    left: 0;
    width: 100%;
  }

  .top-navbar ul {
    gap: 20px;
  }

  .top-navbar ul li a {
    font-size: 12px;
  }

  .content-area {
    padding: 24px 16px;
  }

  .kelola-container {
    align-items: center;
    width: 100%;
  }

  .kelola-profile {
    margin-bottom: 0;
  }

  .kelola-content {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 100%;
  }

  .kelola-left {
    align-items: center;
    gap: 25px;
    width: 100%;
    padding: 20px;
  }

  .kelola-left div {
    width: 100%;
    padding: 20px;
  }

  .kelola-right {
    width: 100%;
    padding: 20px;
  }

  .kelola-profile img {
    width: 85px;
    height: 85px;
  }
}

/* Smartphone (max-width: 600px) */
@media (max-width: 600px) {
  .left-side {
    width: 80px;
    padding: 12px 8px;
  }

  .left-side .logo-text {
    width: 80px;
    margin-bottom: 8px;
  }

  .left-side .logo-text h1 {
    display: none;
  }

  .sidebar-menu div {
    flex-direction: column;
    gap: 0;
  }

  .sidebar-menu div a {
    text-align: center;
    font-size: 10px;
    padding: 8px 0;
  }

  .main-content {
    margin-left: 0;
  }

  header {
    padding: 15px 20px;
    flex-direction: row;
    justify-content: space-between;
  }

  header h1 {
    font-size: 14px;
  }

  .hamburger {
    display: flex;
  }

  #navMenu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #ffffff;
    transition: 0.3s;
    z-index: 1000;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  }

  #navMenu.active {
    right: 0;
  }

  #navMenu ul {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 30px;
  }

  #navMenu ul li {
    margin: 0;
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
  }

  #navMenu ul li a {
    font-size: 16px;
    display: block;
    width: 100%;
  }

  #navMenu ul::after {
    display: none;
  }

  .content-area {
    padding: 16px;
  }

  .kelola-profile img {
    width: 70px;
    height: 70px;
  }

  .kelola-content {
    flex-direction: column;
    gap: 5px;
    width: 300px;
  }

  .kelola-left div {
    width: 300px;
    padding: 15px;
    border-radius: 10px;
  }

  .kelola-right {
    width: 300px;
    padding: 15px;
    border-radius: 10px;
  }

  .kelola-left div p,
  .kelola-right p {
    font-size: 12px;
  }
}
