@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;600&display=swap');

:root {
  --bg-color: #fdfcfb;
  --text-color: #4B4453;
  --accent: #a06cd5;
  --light-accent: #e0d3f8;
}

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

body {
  background: var(--bg-color);
  color: var(--text-color);
  /* font-family: 'Poppins', sans-serif; */
  font-family:Arial, Helvetica, sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.small-gap {
  margin-top: 20px;
}

/* ===============================
   Sidebar
================================= */
/* Desktop Sidebar - left */
.sidebar {
  position: fixed;
  right: 0; 
  top: 0;
  height: 100%;
  width: 380px;
  background: var(--bg-color);
  padding: 2rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 2px 0 10px rgba(0,0,0,0.05);
  z-index: 1000;
  transition: transform 0.3s ease;
}


.sidebar img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.4rem;
  border: #e9e4ee 3px solid; 
}

.sidebar .logo {
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  text-align: center;
}

.sidebar .tagline {
  font-size: 0.85rem;
  color: #666;
  text-align: center;
  margin-bottom: 2.2rem;
}

.sidebar ul {
  list-style: none;
  width: 100%;
}

.sidebar ul li {
  margin-bottom: 1rem;
}

.sidebar ul li a {
  /* margin-left: 20px; */
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  text-align: left;
}

.sidebar ul li a.active {
  background: rgba(160, 108, 213, 0.15);
  color: var(--accent);
  content: none;
}

.sidebar ul li a {
  position: relative;
}

/* Tooltip text */
.sidebar ul li a:hover::after {
  content: "Website in progress – more details soon";
  position: absolute;
  right: 10%; /* moves tooltip to the right of the link */
  top: 120%;
  transform: translateY(-50%);
  background: #1a1a1a;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  opacity: 1;
  pointer-events: none;
  z-index: 10;
}

/* Smooth fade-in */
.sidebar ul li a::after {
  opacity: 0;
  transition: opacity 0.2s ease;
}


.sidebar ul li a {
  scroll-behavior: smooth;
}


.contact a {
  color: #4a0a89;
  text-decoration: none;
  font-size: 1.5rem;
  margin: 20px 8px;
  margin-top: 2rem;
}

.contact a:hover {
  color: var(--accent);
  text-decoration: none;
  font-size: 1.5rem;
  margin: 20px 8px;
  margin-top: 2rem;
}
/* ===============================
   Mobile Top Navbar
================================= */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  /* background: var(--bg-color); */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 10001;
}

.mobile-logo {
  font-weight: 500;
  font-size: 1.3rem;
  /* text-decoration: underline; */
}

.hamburger {
  z-index: 1001;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* ===============================
   Main Content
================================= */
main {
  margin-right: 300px;
  background-color: #f4f1f7;
  padding-top: 4.5rem;
  padding-bottom: 8rem;
  padding-left: 10rem;
  padding-right: 16rem;
  max-width: auto;
  text-align: justify;
  font-weight: 500;
  /* font-family:Georgia, 'Times New Roman', Times, serif; */
}

#about {
  padding-top: 3rem;
  line-height: 1.9;
  font-size: 1.1rem;
}

/* Footer */
.mobile-nav {
  display: none; /* hidden on desktop */
}

.contact_footer{
  display: none;
}

footer{
  margin-right: 340px;
  background-color: #f4f1f7;
  padding: 8rem 0rem 1.5rem 0rem;
  text-align: center;
  font-size: 0.9rem;
  color: #555;

}



/* ===============================
   Responsive / Mobile
================================= */
/* Mobile adjustments */
@media (max-width: 768px) {
  .sidebar {
    padding-top: 100px;
    left: auto;        /* reset left */
    right: 0;          /* move off-screen right */
    transform: translateX(100%);
    width: 280px;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  main {
    margin-left: 0;    /* full width */
    padding-top: 0px; /* offset for mobile navbar */
    padding: 4rem 5rem 1rem 5rem;
    width:100%;
    text-align: justify;
  }

  footer{
    background-color: #f4f1f7;
    text-align: center;
    font-size: 0.9rem;
    color: #555;
  
  }

  footer {
    margin-right: 0px;
    padding: 0rem 0rem;
    text-align: center;
    font-size: 0.9rem;
    color: #555;
  }

  .image{
    justify-content: center;
    display: flex; }

    .mobile-nav .logo{
      font-weight: 500;
      font-size: 1.3rem;
      text-decoration: underline;

    }
  .mobile-nav{
    display: flex; /* show top navbar only on mobile */
  }
  .image img{
      width: 200px;
      height: 200px;
      border-radius: 50%;
      object-fit: cover;
      margin-bottom: 1.4rem;
    
  }

  .contact_footer{
    padding-top: 0px;
    display: flex; /* show top navbar only on mobile */
    text-align: center;
    justify-content: center;
  }

.contact_footer a {

  color: #4a0a89;
  text-decoration: none;
  font-size: 1.5rem;
  margin: 20px 8px;
  margin-top: 2rem;
}

.contact_footer a:hover {
  color: var(--accent);
  text-decoration: none;
  font-size: 1.5rem;
  margin: 20px 8px;
  margin-top: 2rem;
}
/* 
  .sidebar img,
  .sidebar .logo,
  .sidebar .tagline {
    display: none; 
  } */
}

