html {
  scroll-behavior: smooth;
}

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

img {
  width: 100%;
  display: flex;
}

a {
  text-decoration: none;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: #fcfcfc;
  color: black;
}

nav {
  position: fixed;
  width: 100%;
  z-index: 10;
  margin: auto;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background-color: transparent;
  backdrop-filter: blur(20px);
}

.nav-logo {
  max-width: 100px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.link a {
  position: relative;
  padding-bottom: 0.75rem;
  color: #181818;
  opacity: 80%;
}

.link a::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 0;
  bottom: 0;
  left: 0;
  background-color: #1e40d8;
  transition: all 0.3s ease;
}

.link a:hover::after {
  width: 100%;
}

header {
  position: relative;
  padding-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 2rem;
}
header .aboutimage {
  margin-top: 50px;
  position: relative;
  padding: 10px;
}

header .aboutimage img {
  max-width: 600px;
  margin: auto;
}

header .aboutcontent h4 {
  margin-bottom: 1rem;
  color: #0c0c0c;
  font-size: 1rem;
  font-weight: 600;
}

header .aboutcontent h1 {
  color: #000;
  margin-bottom: 1rem;
  font-size: 3rem;
  font-weight: 700;
  line-height: 4rem;
}

header .aboutcontent ul {
  margin-bottom: 2rem;
  color: #0c0c0c;
}
header .aboutcontent ul li {
  font-size: 1.5rem;
  list-style: none;
  padding: 5px;
  color: #0c0c0c;
}

section .headerabout {
  margin-bottom: 1rem;
  color: #000;
  text-align: center;
  font-size: 2.25rem;
  font-weight: 600;
}
.subheaderabout {
  max-width: 600px;
  margin: auto;
  text-align: center;
  color: #0c0c0c;
  border: 1px solid #000;
  border-radius: 20px;
  padding: 20px;
}
.logos {
  display: flex;
  justify-content: center;
  gap: 20px; /* Space between logos */
  margin-top: 20px;
}

.logos img {
  max-width: 80px;
  height: auto;
  filter: grayscale(100%); /* Makes the image black and white */
}
.logos img:hover {
  filter: grayscale(0%);
  animation: float 0.5s ease-in-out;
  scale: 1.2;
}
@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

#about {
  color: #000;
}

footer {
  position: relative;
  display: grid;
  grid-template-columns: 400px repeat(3, 1fr);
  gap: 2rem;
}

footer .column .logo {
  max-width: 100px;
  margin-bottom: 2rem;
}

footer .column p {
  color: #000000;
  margin-bottom: 2rem;
}

footer .column .socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}
footer .column .socials a {
  color: #000000;
  border: 1px solid #030303;
  padding: 5px 10px;
  font-size: 1.25rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}
footer .column .socials a:hover {
  color: #fff;
  background-color: #1d4ed8;
  border-color: #1e40af;
}

footer .aboutcolumn h4 {
  color: #000;
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: 500;
}

footer .aboutcolumn a {
  color: #0c0c0c;
  display: block;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}
footer .aboutcolumn > a:hover {
  color: #1d4ed8;
}
footer p {
  color: #000000;
}
@media (width < 900px) {
  .nav-links {
    display: none;
  }
  header {
    grid-template-columns: repeat(1, 1fr);
  }
  header .image {
    grid-area: 1/1/2/2;
  }
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
  .work-slideshow {
    height: 50vh;
  }

  .work .column {
    flex: 50%;
    max-width: 50%;
  }

  .pricing {
    grid-template-columns: repeat(2, 1fr);
  }

  /* footer {
      grid-template-columns: 1fr 200px;
    } */
}
@media (width < 600px) {
  header .image::before {
    display: none;
  }
  .services {
    grid-template-columns: repeat(1, 1fr);
  }
  .work-slideshow {
    height: 50vh;
  }
  .work .column {
    flex: 100%;
    max-width: 100%;
  }
  .pricing {
    grid-template-columns: repeat(1, 1fr);
  }

  /* footer {
      grid-template-columns: 1fr 150px;
    } */
}
footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 900px) {
  footer {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }
  footer .column {
    margin: auto;
    padding: 1rem 0;
  }
  .logos img {
    max-width: 60px;
  }
}

/* Side Navigation Styling */
.side-nav {
  display: none;
}

/* Side Navigation - Hidden State */
.side-nav.hidden {
  opacity: 0;
  transform: translateY(100%) translateX(-50%); /* Offscreen vertically */
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Side Navigation - Visible State */
.side-nav.visible {
  opacity: 1;
  transform: translateY(0) translateX(-50%); /* In position */
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.nav-item {
  display: block;
  width: 50px;
  height: 50px;
  background-color: #181818;
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.nav-item:hover {
  background-color: #1d4ed8;
  color: #fff;
  transform: scale(1.2);
}

/* Tooltip Effect */
.nav-item::after {
  content: attr(data-section);
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: #fff;
  background-color: #181818;
  padding: 5px 10px;
  border-radius: 5px;
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.3s, transform 0.3s;
}

.nav-item:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(10px);
}

/* Highlight Active Section */
.nav-item.active {
  background-color: #1d4ed8;
  transform: scale(1.2);
}

/* Responsive Styling */
@media (max-width: 768px) {
  .side-nav {
    display: none;
  }
  .nav-item {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    line-height: 40px;
  }
  .nav-item::after {
    font-size: 0.75rem;
    left: 50px;
  }
}

@media (max-width: 480px) {
  .side-nav {
    padding: 10px;
    background-color: transparent;
    border-radius: 25px;
    backdrop-filter: blur(20px);
    position: fixed;
    bottom: 10px; /* Position near the bottom of the viewport */
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
  }
  .nav-item {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    line-height: 40px;
  }
  .nav-item::after {
    left: 0;
    top: -30px;
    transform: translateX(-50%);
  }
}
/* Side Navigation - Hidden State */
/* .side-nav.hidden {
  opacity: 0;
  transform: translateY(100%) translateX(50%);
  transition: opacity 0.5s ease, transform 0.5s ease;
} */

/* Side Navigation - Visible State */
/* .side-nav.visible {
  opacity: 1;
  transform: translateY(0%) translateX(100);
  transition: opacity 0.5s ease, transform 0.5s ease;
} */

/* Popup Styling */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px) saturate(1);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#music{
  background-image:linear-gradient(-45deg,#c31432,#240b36);
  color: #fcfcfc;
  border-radius: 20px;
  padding: 20px;
}
#astro{
  background-image:linear-gradient(-45deg,#0F2027,#203A43,#2C5364);
  color: #fcfcfc;
  border-radius: 20px;
  padding: 20px;
}

.popup.visible {
  visibility: visible;
  opacity: 1;
}

.popup-content {
  background: #fcfcfc1e;
  padding: 20px;
  width: 80%;
  max-width: 800px;
  border-radius: 10px;
  text-align: center;
  max-height: 80vh;
  overflow-y: auto;
}

.popup-content h1 {
  margin-bottom: 20px;
  font-size: 2rem;
}

.popup-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 3rem;
  cursor: pointer;
  color: #fcfcfc;
}

.popup-sections .popup-section {
  margin-bottom: 30px;
}

.popup-sections .popup-section:last-child {
  margin-bottom: 0;
}
.popup-sections .popup-section {
  margin-bottom: 30px;
  opacity: 0; /* Start invisible */
  transform: translateY(20px); /* Start slightly below */
  animation: fadeInUp 0.5s ease forwards; /* Animation settings */
}

.popup-sections .popup-section:nth-child(1) {
  animation-delay: 1s; /* Slight delay for the first section */
}

.popup-sections .popup-section:nth-child(2) {
  animation-delay:2s; /* Slight delay for the second section */
}

/* Define fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.clarinet{
  position: absolute;
  top: -20px;
  right: 20px;
  width: 80px;
  
}
.drums{
  position: absolute;
  bottom: -20px;
  left: 20px;
  width: 80px;
  
}

#wallpapers {
   /* Dark background for contrast */
  color: #181818; /* Light text */
  padding: 20px;
  /* border-radius: 15px; */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Section shadow */
  margin-top: 20px;
  margin-bottom: 120px;
  width: 100%;
  border:1px solid #181818;
}
#wallpapers h2 {
  background: linear-gradient(to bottom, #F0F2F0, #000C40);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
#wallpapers p{
  color: #181818;
  opacity: 0.8;
  border: none;
}
#wallpapers p span{
  color: #1e40af;
  opacity: 0.8;
  border: none;
}


.wallpapers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Adjust for small sizes */
  gap: 15px; /* Spacing between items */
  margin-top: 20px;
}

.wallpapers-grid a {
  text-decoration: none;
}

.wallpapers-grid img {
  width: 200px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.wallpapers-grid img:hover {
  transform: scale(1.05); /* Slight zoom effect on hover */
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
}

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#lightbox.active {
  display: flex;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
}
