@import "tailwindcss";

@theme {
  --font-sans: 'Inter', sans-serif;
  --color-dark-bg: #09090b;
  --color-card-bg: #121215;
  --color-accent: #8b5cf6;
}

/* Sıfırlama kurallarına Tailwind v4'te gerek kalmaz ama özel olarak kalsın istersen: */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}



/* #region Hero Section Start */

.hero-container {
  background-image: linear-gradient(rgba(55, 55, 55, 0.1) 20%, rgba(0, 0, 0, 0.9) 80%), url('/assets/images/Main-Image.jpg');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
}

.navbar{ 
  padding: 1.5rem 7.5rem;
  position: sticky;
  top: 0;
  z-index: 99;
} 

@media (max-width: 767px) {
  .navbar {
    padding: 1rem 1.5rem;
  }
} 


.hero-main {
  margin-top: 15%;
}

.social-cap {
  margin-top: 2rem;
}

.social {
  border: 1px solid #ebeaed; /* Örnek renk ve kalınlık */
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;  
}

.social:hover {
  background-color: #e6dfe6;
  color: black;
  transition: background-color 0.3s, color 0.3s;
}

@media (max-width: 766px) {
  .social {
    width: 36px;
    height: 36px;
  }

  .social i {
    font-size: 1.25rem; /* Adjust the icon size for smaller screens */
    line-height: 36px; /* Vertically center the icon */
  }
}

@media (max-width: 656px) {
  .social {
    width: 36px;
    height: 36px;
    
  }

  .social i {
    font-size: 1.25rem; /* Adjust the icon size for smaller screens */
  }
}

/* #endregion Hero Section End */


/* #region Player Section Start */

.player__container {
  padding: 8rem 7.5rem ;
}

.player__card {
  border: 1px solid #202020;
  border-radius: 1rem; /* Add rounded corners */
  overflow: hidden; /* Ensure content respects the border radius */
  height: auto;
  background-color: #121215;
  box-shadow: 0 25px 50px -12px rgba(0 0 0 / 0.25)
}

@media (min-width: 1025px) {
  .player__card {
    /* height: 47rem; */
  }
}

@media (max-width: 1700px) {
  .player__card {
    height: auto;
  }
}

@media (max-width: 1032px) {
  .player__container { 
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .player__card {
    width: 80%;
    height: auto;
  }

  .player__queue {
    width: 80%;
    height: auto;
  }
}

.player__content {
  /* width: 26rem; */
  /* height: 39rem; */
}

.player__cover {
  border: 1px solid #202020;
  border-radius: 0.8rem; /* Add rounded corners */
  overflow: hidden; /* Ensure content respects the border radius */
  margin: 1.7rem 1.7rem;
}

.player__title {
  margin-top: 0.7rem;
  justify-content: center;
}

.player__progress {
  width: 100%;
  padding: 1.5rem 1.7rem 0;
}

.player__progress-bar {
  position: relative;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background-color: #333338;
  cursor: pointer;
  touch-action: none;
}

.player__progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background-color: #e6dfd3;
  pointer-events: none;
}

.player__progress-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #e6dfd3;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.player__time {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0.5rem 1.7rem 0;
  font-size: 0.75rem;
  color: #a1a1aa;
}

.player__controls {
  padding: 1.5rem 1.7rem;
}

#player__play-btn {
  width: 4.25rem;
  height: 4.25rem;
  font-size: 1.3rem; /* Adjust the play button icon size */
}

.player__control-btn {
  color: #e6dfd3;
  font-size: 1.1rem;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.2s, color 0.2s;
  cursor: pointer;
}

.player__control-btn:hover {
  background-color: #e6d0d01a;
}

.player__control-btn--play {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.1rem;
  background-color: #e6dfd3;
  color: #121215;
}

.player__control-btn--play:hover {
  background-color: #f4efe8;
}

.menu-btn--open .navbar__menu-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-btn--open .navbar__menu-line:nth-child(2) {
  opacity: 0;
}

.menu-btn--open .navbar__menu-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.player__queue {
  border: 1px solid #202020;
  border-radius: 1rem; /* Add rounded corners to the queue container */
  overflow: hidden; /* Ensure content respects the border radius */
  background-color: #121215; /* Example background color for the queue container */
}

.player__queue-item {
  margin: 1.5rem auto; /* Center the queue item */
}

.player__queue-btn {
  padding: 2rem;
  border-radius: 1rem;
  transition: background-color 0.2s;
}

.player__queue-btn:hover {
  background-color: #4040411a;
}

#player__queue-active {
  background-color: #404041b5; /* Example active background color */
  border-radius: 1rem; /* Example active border radius */
}

@media (max-width: 1024px) {
  .player__container {
    flex-direction: column;
    padding: 4rem 1.5rem;
    height: auto;
    justify-content: center;
    align-items: center;
  }

  .player__queue {
    /* width: 80%; */
  }
}

@media  (max-width: 768px) {
  .player__container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .player__card {
    width: 100%;
  }

  .player__queue {
    width: 100%;
  }

}

/* @media  (max-width: 768px) {
  .player__container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

} */

@media (min-width: 768px) and (max-width: 1024px) {
  .player__card {
    width: 80%;
    height: auto;
  }

  .player__queue {
    width: 80%;
  }
}

/* #endregion Player Section End */


/* #region About Section Start */

.about__image-container {
  width: 25rem;
  max-width: 100%;
  /* margin-left:15rem; */
}

.about__title-container {
  margin-bottom: 3rem;
}
.about__description p {
  margin-bottom: 1.5rem;
}

.about__signature-container{
  margin: 3rem 0 0 2rem;;
}

.about__signature-line{
  margin-top: 0.5rem;
}
/* #endregion About Section End */


/* #region Responsive Adjustments */

.player__queue-list {
  width: 100%;
}

@media (max-width: 1024px) {
  .player__container {
    gap: 2rem;
  }

  .player__card,
  .player__queue {
    max-width: 42rem;
  }
}

@media (max-width: 767px) {
  .hero-main {
    margin-top: 0;
    padding: 2rem 1.5rem 3rem;
  }

  .hero-main h1 {
    font-size: clamp(3.5rem, 18vw, 6rem);
  }

  .social-cap {
    gap: 1rem;
  }

  .player__container {
    padding: 3rem 1rem;
    gap: 1.5rem;
  }

  .player__card,
  .player__queue {
    width: 100%;
  }

  .player__cover {
    margin: 1rem;
  }

  .player__title {
    padding: 0 1rem;
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    text-align: center;
    overflow-wrap: anywhere;
  }

  .player__progress {
    padding: 1.25rem 1rem 0;
  }

  .player__time {
    padding: 0.5rem 1rem 0;
  }

  .player__controls {
    padding: 1rem;
    gap: 0.25rem;
  }

  .player__control-btn {
    width: 2.5rem;
    height: 2.5rem;
  }

  .player__queue-item {
    margin: 0.75rem auto;
  }

  .player__queue-btn {
    padding: 1rem;
  }

  .about {
    padding: 3rem 1rem;
  }

  .about__container {
    width: 100%;
    gap: 2rem;
  }

  .about__image-container,
  .about__content {
    width: 100%;
    max-width: 32rem;
  }

  .about__title-container {
    margin-bottom: 1.5rem;
  }

  .about__description {
    font-size: 1rem;
    line-height: 1.75;
  }

  .about__description p {
    margin-bottom: 1rem;
  }

  .about__signature-container {
    margin: 2rem 0 0;
  }
}

@media (max-width: 400px) {
  .navbar {
    padding-inline: 1rem;
  }

  .hero-main {
    padding-inline: 1rem;
  }

  .player__controls {
    gap: 0;
  }

  .player__control-btn {
    width: 2.25rem;
    height: 2.25rem;
  }
}

/* #endregion Responsive Adjustments */
