/* Script made by Samiejaa */
body {
    background-color: black;
    color: white;
    font-family: 'Caprasimo', sans-serif;
    margin: 0;
    text-align: center;
  }


  main {
    margin-top: 5rem; /* Adjust as needed */
  }


/* Loader Styles */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* stays above all content */
  transition: opacity 1.5s ease, visibility 1.3s ease;
}

#loader img {
  max-width: 200px;
  height: auto;
}

/* Hide loader when done */
#loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* Hide checkbox */
#menu-toggle {
  display: none;
}

  /*Navigation line*/
  nav {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

.nav-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }
  
  .nav-left {
    position: absolute;
    top: -20px;
    transform: translateY(-50%);
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .hamburger {
    display: none;
    font-size: 2rem;
    color: purple;
    cursor: pointer;
    position: absolute;
    top: 2rem;
    left: 1rem; /* Or use right: 1rem for right side */
    z-index: 3;
  }
  
  .nav-left {
    left: 11%;
  }
  
  
  nav a {
    text-decoration: none;
    color: purple;
    font-weight: bold;
  }
  
  .logo img {
    width: 90px;
    height: auto;
    display: block;
    margin: 0 auto -2rem auto;
  }

  
  .logo {
    flex-shrink: 0;
  }
  
    .oc-pics img {
    max-width: 400px;
    max-height: 400px;
    border: 3px solid purple;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgb(80, 0, 80);
  }

  .oc-pics {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
  }
  
  main h1 {
    font-weight: 700;
    font-size: 2rem;
    margin-top: 1rem;
  }

  main p {
    font-weight: 500;
  }


  .album-covers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
  }
  
  .album {
    flex: 0 1 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* aligns the text to the left under the image */
     text-align: left;
  } 

  .album a {
    display: inline-block;
    transition: transform 0.3s ease;
}
  
  .album-covers img {
    max-width: 400px;
    border: 2px solid purple;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgb(80, 0, 80);
    transition: transform 0.3s ease;
  }

  /* Hover effect */
.album a:hover img {
  transform: scale(1.05);
  cursor: pointer;
}

  
 .cta {
  margin-top: 0.5rem;
  padding: 1rem 2rem;
  background-color: transparent; /* No fill initially */
  border: 2px solid purple; /* Purple outline */
  color: purple;
  text-decoration: none;
  font-weight: bold;
  border-radius: 90px; /* Rounded edges */
  transition: all 0.3s ease;
}

.cta:hover {
  background-color: purple; /* Fill on hover */
  color: white; /* Text turns white on hover */
}

  .copyright {
    text-align: center;
    color: rgb(85, 0, 85);
    font-size: 0.7rem;
    padding-bottom: 1rem;
  }

  .made-by {
    text-align: center;
    color: rgb(85, 0, 85);
    font-size: 0.6rem;
    padding-bottom: 3rem;
  }

  .collab-info {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1rem;
    line-height: 1.6;
    font-size: 1.1rem;
    color: purple;
  }  

  .aboutme-info {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1rem;
    line-height: 1.6;
    font-size: 1.1rem;
    color: purple;
  }  
  
  
  .song-title {
    display: inline-block; /* key for correct background sizing */
    margin-top: 0.5rem;
    font-size: 1rem;
    font-weight: bold;
    background: linear-gradient(15deg, rgb(177, 0, 177), rgb(95, 0, 95));
    background-size: 100% auto; /* ensures gradient covers only the text */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* for Firefox */
    text-fill-color: transparent;
  }
  
  .newest-song {
    justify-content: center;
    display: inline-block; 
    margin-top: 2rem;
    font-size: 1rem;
    font-weight: bold;
    background: linear-gradient(15deg, rgb(177, 0, 177), rgb(95, 0, 95));
    background-size: 100% auto; /* ensures gradient covers only the text */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* for Firefox */
    text-fill-color: transparent;
  }

  
  .social-footer {
    width: 100%;
    background-color: black;
    display: flex;
    justify-content: center;
    gap: 3rem; /* Space between icons */
    padding: 2rem 0;
    margin-top: 2rem; /* adds space above */
  }
  
  
  .social-footer a {
    color: rgb(90, 0, 90);
    font-size: 1.4rem; /* Smaller icon size */
    transition: transform 0.3s ease;
  }
  
  .social-footer a:hover {
    transform: scale(1.2); /* Slight hover zoom */
    color: rgb(180, 0, 180);
  }

  
  .collab-page {
  background: radial-gradient(
      circle at center,
      rgba(89, 0, 107, 0.247) 0%,     /* darker center */
      rgba(163, 0, 163, 0.192) 30%,  /* fading midpoint */
      rgb(0, 0, 0) 50%  /* outer area - same as before */
    );
  position: relative;
  overflow: hidden;
  padding: 2rem;

    background-size: 100% 100%;
    background-position: center;
  background-repeat: no-repeat;
  animation: pulseGradient 4s ease-in-out infinite;
}

@keyframes pulseGradient {
  0%, 100% {
    background-size: 100% 100%; /* normal */
  }
  50% {
    background-size: 130% 130%; /* zoomed in */
  }
}

  .social-footer-collab {
    width: 100%;
    background-color: transparent;
    display: flex;
    justify-content: center;
    gap: 3rem; /* Space between icons */
    padding: 2rem 0;
    margin-top: 2rem; /* adds space above */
  }

    .social-footer-collab a {
    color: rgb(90, 0, 90);
    font-size: 1.4rem; /* Smaller icon size */
    transition: transform 0.3s ease;
  }
  
  .social-footer-collab a:hover {
    transform: scale(1.2); /* Slight hover zoom */
    color: rgb(180, 0, 180);
  }
  

 /* RESPONSIVE STYLING FOR SMALL SCREENS */
@media (max-width: 600px) {
  .hamburger {
    display: block;
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 30px;
    height: 22px;
    z-index: 4;
    cursor: pointer;
     position: relative; /* Needed for ::before */
  }
  
.hamburger::before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  width: 60px;
  height: 60px;
  z-index: -1; /* Make sure it doesn’t cover the icon */
}

  .hamburger span {
    display: block;
    width: 100%;
    height: 4px;
    margin-bottom: 6px;
    background-color: purple;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 5px purple;
  }
  
  /* Animate into an "X" */
  #menu-toggle:checked + .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  #menu-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }
  
  #menu-toggle:checked + .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .nav-content {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.4s ease;
  
    /* 🔴 MAKE IT STAND OUT */
    box-shadow: 0 0 15px rgba(163, 0, 136, 0.6);
    background-color: rgba(0, 0, 0, 0.95); /* Optional: semi-transparent black */
    backdrop-filter: blur(4px); /* Optional: blur behind */
  
    /* Layout (keep existing) */
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 50px;
    left: 10px;
    padding: 10px 15px;
    border-radius: 10px;
    z-index: 2;
    text-align: center;
  }
  
  /* When menu is toggled */
  #menu-toggle:checked ~ .hamburger + .nav-content {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-left {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    transform: none;
    position: static;
  }

  #menu-toggle:checked ~ .nav-content {
    display: flex;
  }

 
  nav {
    top: -5rem;
    flex-direction: column;
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding: 0rem;
    position: relative;
    overflow: visible;
  }

  nav a {
    padding-left: 5px;
    padding-right: 5px;
  }
 
  .album-covers {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    gap: 1.5rem;
  }


  .album {
    align-items: center; /* center-align everything for mobile */
    text-align: center;
  }

  .album-covers img {
    max-width: 65vw;
    height: auto;
  }

  .song-title {
    font-size: 1rem;
    margin-top: 0.5rem;
  }

  main h1 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1rem;
  }

  .cta {
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
  }


  #menu-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
}

@keyframes menuGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(95, 0, 82, 0.6);
  }
  50% {
    box-shadow: 0 0 25px rgba(161, 0, 121, 0.9);
  }
}

#menu-toggle:checked ~ .hamburger + .nav-content {
  animation: menuGlow 1.5s ease-in-out infinite;
}