/* CSS For ModifistMusic */
/* Hi all for more info, design@modifist.com */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none;

  -behavior: smooth;
}

:root {
  --primary-color: #ca1551;
  --secondary-color: #33032f;
  --lightest-color: #97d8b2;
  --darkest-color: #170312;
  --highlight-color: #a0acad;
}

body,
html {
  font-family: "Sedgwick Ave Display", cursive;
  font-weight: 400;
  background: var(--darkest-color);
  color: var(--lightest-color);
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  overflow: -moz-scrollbars-none;
  scrollbar-width: none;
}

a {
  color: var(--lightest-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--highlight-color);
}

header {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background-color: var(--secondary-color);
  position: fixed;
  width: 100%;
  z-index: 1000;
  align-items: center;
}

.logo {
  font-weight: 400;
  font-size: 3em;
  color: var(--primary-color);
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5), -2px -2px 5px rgba(0, 0, 0, 0);
}

nav {
  position: relative;
  z-index: 500; /* Lower z-index to ensure it's behind the floating nav */
}

nav ul {
  font-family: "Bungee", cursive;
  font-weight: 400;
  font-size: 1.2em;
  display: flex;
  list-style: none;
  text-transform: uppercase;
}

nav ul li {
  margin-left: 20px;
}

nav svg {
  width: 50px;
  height: 50px;
  fill: var(--lightest-color);
}

/* Hide the floating navigation by default */
#floating-nav {
  position: fixed;
  top: 50%;
  right: -500px; /* Hide off-screen initially */
  transform: translateY(-50%);
  z-index: 999;
  transition: right 0.3s ease-in-out;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5), -2px -2px 5px rgba(0, 0, 0, 0);
  box-shadow: 0 5px 15px rgba(33, 33, 33, 0.5);
  background-color: var(--darkest-color);
  padding: 5%;
  border-radius: 10px;
}

#floating-nav ul {
  list-style: none;
  padding: 0;
  display:block;
}

#floating-nav li {
  margin: 15px 0;
}

#floating-nav .nav-link {
  color: var(--lightest-color);
  text-decoration: none;
  font-size: 2em;
  transition: color 0.3s;
}

#floating-nav .nav-link.active {
  color: var(--primary-color);
  font-weight: bold;
}

/* Trigger button style */
.nav-trigger {
  position: fixed;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 1000;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: /* url("hero-image.jpg") */ var(--darkest-color) center center /
    cover no-repeat;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.hero h1 {
  font-family: "Sedgwick Ave Display", sans-serif;
  font-size: 3em;
  margin-bottom: 20px;
  animation: fadeInDown 2s ease-out;
  position: relative;
  padding: 20px;
  color: var(--primary-color);
  /* background: linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, .1)); /* Gradient effect */
  /* -webkit-text-stroke: 1px var(--darkest-color); /* Adds an outline 
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5), -2px -2px 5px rgba(0, 0, 0, 0.0);
  backdrop-filter: blur(5px);  Blur effect  */
  border-radius: 5px;
}

.hero .hero-desc {
  font-size: 1.2em;
  color: var(--lightest-color);
  animation: fadeInUp 2s ease-out;
}

h2 {
  transform: rotate(-90deg);
  font-size:5vh;  
  position:absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5), -2px -2px 5px rgba(0, 0, 0, 0.0);
  position: absolute;
  left: 5%;
  bottom: 45%;
  z-index:1;
 }

/* Simple Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /*padding: 100px 20px;*/
  text-align: center;
  height: 100vh;
  position: relative;
}

/* Custom Music Page */
.music-page {
/*
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 130px;*/
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: /* url("hero-image.jpg") */ var(--darkest-color) center center /
    cover no-repeat;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.music-player {
  width: 80%;
  max-width: 800px;
  background: #333;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

audio {
  width: 100%;
}

/* Contact Page */
.contact-form {
/*
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 130px;*/
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: /* url("hero-image.jpg") */ var(--darkest-color) center center /
    cover no-repeat;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  width: 80%;
  max-width: 600px;
  background: var(--darkest-color);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  margin: 10px 0;
  width: 100%;
  background: var(--lightest-color);
  color: var(--darkest-color);
  border: none;
  border-radius: 5px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border: 1px solid var(--primary-color);
}

/* Custom Scrollbar for WebKit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  display:none;
  width: 24px; /* Increase scrollbar width */
  width: 0; /* or width: 0px; */
  height: 0;
}

::-webkit-scrollbar-track {
  background: var(--lightest-color);
  border-radius: 24px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 24px;
  border: 5px solid var(--lightest-color); /* Creates space around the thumb */
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--secondary-color);
}

/* Custom Scrollbar for Firefox */
* {
  scrollbar-width: 24px; /* Increase width for Firefox */
  scrollbar-color: var(--primary-color) var(--lightest-color);
}

/* Social Media Icons */
.social-media {
  margin-top: 20px;
}

.social-media a {
  margin: 0 10px;
  -size: 1.5em;
}

footer {
  background-color: #111;
  padding: 20px;
  text-align: center;
}

@media (max-width: 768px) {
  header,
  .hero,
  .music-player,
  .contact-form form {
    padding: 10px;
  }

  .hero h1 {
    font-size: 2.5em;
  }
}

/* Custom cursor styling */
.cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background-color: var(--darkest-color);
  border-radius: 50%;
  border: 2px solid var(--lightest-color);
  pointer-events: none;
  z-index: 1000;
  transition: transform 0.1s ease-out;
  animation: beat 1s infinite;
}

/* Pulsing sound wave effect */
.cursor::after {
  content: "";
  position: absolute;
  top: -75%;
  left: -75%;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  border-color: var(--primary-color);
  opacity: 0.5;
  transform: translate(-50%, -50%);
  transition: opacity 1s, transform 1s;
  animation: sound-wave 2s infinite ease-in-out;
}

/* Beat animation */
@keyframes beat {
  0% {
    transform: scale(1);
    background-color: var(--primary-color);
  }

  50% {
    transform: scale(1.25);
  }

  100% {
    transform: scale(1);
    background-color: var(--darkest-color);
  }
}

/* Sound wave animation */
@keyframes sound-wave {
  0% {
    background-color: var(--primary-color);
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(2);
    opacity: 0;
    background-color: var(--lightest-color);
  }
}

/* Arrow section */
.scroll-arrow-container {
  position: absolute;
  bottom: 5px; /* Adjust this value if needed */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.scroll-text {
  margin-bottom: 0px;
  font-size: 1.6em;
  color: var(--highlight-color);
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5), -2px -2px 5px rgba(0, 0, 0, 0);
  -webkit-text-stroke: 1px var(--darkest-color);
}

.scroll-arrow {
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5%;
  padding: 5px;
  transition: background-color 0.3s ease;
}

.scroll-arrow:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.scroll-arrow svg {
  width: 24px;
  height: 24px;
  fill: var(--lightest-color);
}

/* Previous Arrow section */
.scroll-arrow-container.previous {
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
}

/* Next Arrow remains at the bottom */
.scroll-arrow-container.next {
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: absolute;
  bottom: 5%; /* Space from the bottom */
  left: 50%;
  transform: translateX(-50%);
}