/* ================= RESET ================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:"Poppins",sans-serif;
}

html{
  scroll-behavior:smooth;
}

/* ================= BODY ================= */

body{
  color:#fff;
  overflow-x:hidden;
  min-height:100vh;

  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.65)),
    url("images/Hero-imggg.jpg");

  background-size:cover;
  background-position:center;

  position:relative;
}

/* OVERLAY BG */

body::before{
  content:'';
  position:fixed;
  inset:0;

  background:linear-gradient(
    135deg,
    rgba(1,98,136,0.88),
    rgba(0,71,99,0.82),
    rgba(13,28,34,0.92)
  );

  z-index:-2;
}

/* GOLD LIGHT */

body::after{
  content:'';
  position:fixed;

  width:420px;
  height:420px;

  background:rgba(255,204,0,0.12);

  border-radius:50%;
  filter:blur(120px);

  top:-120px;
  right:-120px;

  z-index:-1;
}

/* ================= LAYOUT ================= */

.settings-container{
  display:flex;
  min-height:100vh;

  position:relative;
  z-index:2;
}

/* ================= SIDEBAR ================= */

.settings-sidebar{
  width:260px;
  height:100vh;

  position:fixed;
  top:0;
  left:0;

  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(24px);

  border-right:1px solid rgba(255,255,255,0.12);

  padding:30px 20px;

  overflow-y:auto;

  z-index:5000;
}

/* LOGO */

.logo-area{
  text-align:center;
  margin-bottom:40px;
}

.logo-area img{
  width:90px;
  display:block;
  margin:auto;
}

/* NAV */

.settings-sidebar nav{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.settings-sidebar nav a{
  display:flex;
  align-items:center;
  gap:12px;

  padding:14px 16px;

  border-radius:14px;

  text-decoration:none;

  color:rgba(255,255,255,0.75);

  background:rgba(255,255,255,0.03);

  border:1px solid rgba(255,255,255,0.08);

  transition:0.3s ease;

  font-weight:500;
}

.settings-sidebar nav a:hover{
  background:rgba(255,204,0,0.10);
  color:#ffcc00;
}

.settings-sidebar nav a.active{
  background:#ffcc00;
  color:#08131b;
  font-weight:700;
}

/* ================= MAIN ================= */

.settings-main{
  flex:1;
  margin-left:260px;

  padding:50px;
}

/* HEADER */

.settings-header{
  margin-bottom:30px;
}

.settings-header h1{
  font-size:2rem;
  margin-bottom:10px;
}

.settings-header p{
  color:rgba(255,255,255,0.7);
}

/* ================= CARD ================= */

.settings-card{
  background:rgba(255,255,255,0.08);

  backdrop-filter:blur(24px);

  border:1px solid rgba(255,255,255,0.12);

  border-radius:28px;

  padding:40px;

  display:grid;
  grid-template-columns:320px 1fr;

  gap:40px;

  box-shadow:0 20px 60px rgba(0,0,0,0.35);
}

/* PROFILE */

.profile-preview{
  text-align:center;
}

.profile-preview img{
  width:140px;
  height:140px;

  border-radius:50%;
  object-fit:cover;

  margin-bottom:20px;
}

.profile-preview p{
  color:rgba(255,255,255,0.7);
}

/* FORM */

.settings-form{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.input-group{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.input-group label{
  font-weight:500;
}

/* INPUT */

.input-group input,
.input-group textarea{
  background:rgba(255,255,255,0.05);

  border:1px solid rgba(255,255,255,0.12);

  padding:16px;

  border-radius:14px;

  color:white;

  outline:none;

  transition:0.3s ease;
}

.input-group textarea{
  min-height:130px;
  resize:none;
}

.input-group input:focus,
.input-group textarea:focus{
  border-color:rgba(255,204,0,0.6);

  box-shadow:0 0 0 4px rgba(255,204,0,0.12);
}

/* BUTTON */

#saveProfileBtn{
  background:#ffcc00;
  color:#08131b;

  border:none;

  padding:16px;

  border-radius:14px;

  font-weight:700;

  cursor:pointer;

  transition:0.3s ease;
}

#saveProfileBtn:hover{
  transform:translateY(-3px);
}

/* ================= MOBILE MENU ================= */

.menu-toggle{
  position:fixed;
  top:20px;
  left:20px;

  width:48px;
  height:48px;

  display:none;
  align-items:center;
  justify-content:center;

  border-radius:14px;

  background:#ffcc00;
  color:#08131b;

  font-size:1.5rem;

  cursor:pointer;

  z-index:3000;
}

/* OVERLAY */

.overlay{
  position:fixed;
  inset:0;

  background:rgba(0,0,0,0.55);

  opacity:0;
  visibility:hidden;

  transition:0.3s ease;

  z-index:-2000;
}

.overlay.active{
  opacity:1;
  visibility:visible;
}

/* ================= RESPONSIVE ================= */

@media(max-width:950px){

  .menu-toggle{
    display:flex;
  }

  .settings-sidebar{
    transform:translateX(-100%);
    transition:0.3s ease;
  }

  .settings-sidebar.active{
    transform:translateX(0);
  }

  .settings-main{
    margin-left:0;
    padding:100px 20px 40px;
  }

  .settings-card{
    grid-template-columns:1fr;
    padding:25px;
  }

}

@media(max-width:480px){

  .settings-card{
    padding:22px 18px;
    border-radius:22px;
  }

  .settings-header h1{
    font-size:1.5rem;
  }

  .profile-preview img{
    width:110px;
    height:110px;
  }

}