/* IMPORT CSS STYLES */

@import "./styles/shops.css";
@import "./styles/contact.css";
@import "./styles/dates.css";
@import url("https://fonts.googleapis.com/css2?family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap");

*,
*:after,
*:before {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

:root {
  --s-spacing: 1rem;
  --m-spacing: 2rem;
  --color-w: white;
  --color-b: #0c0c0c;
}

/* General CSS */

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Sarabun", "EB Garamond", "Raleway", sans-serif;
  overflow-x: hidden;
  background-color: var(--color-w);
}

h1,
h2 {
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

a {
  text-decoration: none;
}

a:hover {
  cursor: pointer;
  /* opacity: 50%; */
}

button:not(.lty-playbtn, .bio-btn, .lang-toggle, .shop-submit) {
  appearance: none;
  background-color: #000000;
  border: 2px solid #1a1a1a;
  border-radius: 15px;
  box-sizing: border-box;
  color: var(--color-w);
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  outline: none;
  padding: 12px 24px;
  text-align: center;
  text-decoration: none;
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: 150px;
  will-change: transform;
}

button:not(.lty-playbtn, .bio-btn, .lang-toggle, .shop-submit):disabled {
  pointer-events: none;
}

button:not(.lty-playbtn, .bio-btn, .lang-toggle, .shop-submit):hover {
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}

button:not(.lty-playbtn, .bio-btn, .lang-toggle, .shop-submit):active {
  box-shadow: none;
  transform: translateY(0);
}

.flex-row {
  display: flex;
}

.flex-cl {
  display: flex;
  flex-flow: column nowrap;
}

.back-arrow {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 1;
  background-color: var(--color-w);
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid #b6b6b6;
}

.back-arrow img {
  width: 25px;
  height: auto;
}

.back-arrow img:hover {
  opacity: 50%;
}

/* HEADER - NAV */

header {
  color: var(--color-w);
  display: flex;
  justify-content: start;
  align-items: center;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.container {
  width: 100vw;
  height: 100vh;
}

.nav-bar {
  text-align: center;
  margin-left: 15vw;
}

.nav-bar a {
  color: var(--color-w);
}

.nav-bar h1 {
  font-weight: 400;
  letter-spacing: 0.5rem;
}

nav ul li {
  margin: 2em 0;
  list-style-type: none;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
}

.video-bg {
  /* position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
  object-fit: cover; */
  z-index: -1;
  position: absolute;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.vertical-vd {
  display: none;
  /* width: 100%; */
}

.social-nav {
  height: 50px;
}

.social-nav img {
  width: auto;
  height: 30px;
  fill: var(--color-w);
  margin: 0 5px;
}

/* BIO */

.bio {
  height: auto;
  min-height: 100dvh;
  background-color: var(--color-w);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.bio.is-expanded {
  height: auto;
  align-items: center;
}

.bio-text h2 {
  text-align: center;
  font-weight: 500;
  margin-bottom: var(--m-spacing);
}

.bio-text {
  padding: 5vw;
  font-weight: 100;
  line-height: 1.5rem;
  text-align: justify;
  letter-spacing: 0.1em;
  flex: 1;
  min-width: 0;
}

.bio-text > div {
  position: relative;
}

.bio-text > div img:nth-child(1) {
  width: 8vw;
  position: absolute;
  left: -15px;
  bottom: -30px;
  z-index: 0;
  pointer-events: none;
}

.bio-text > div img:nth-child(2) {
  width: 8vw;
  position: absolute;
  left: -15px;
  top: -30px;
  z-index: 0;
  pointer-events: none;
}

.bio-text p {
  padding: var(--s-spacing);
  position: relative;
  z-index: 1;
}

.bio-text a {
  color: #000000;
}

.bio-text a:hover {
  color: #b3094d;
}

.bio-extended {
  width: 100%;
}

.bio-extended p {
  margin: 0;
}

.bio-toggle,
.bio-toggle-close {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: inherit;
  width: auto;
}

.bio-toggle:hover,
.bio-toggle:focus-visible,
.bio-toggle-close:hover,
.bio-toggle-close:focus-visible {
  color: inherit;
  opacity: 0.75;
}

.color1 {
  color: #0070c9;
}
.color2 {
  color: #eb528e;
}

.bio-img {
  height: 65vh;
  margin-right: 5em;
}

.bio-btn {
  color: #0070c9;
  font-weight: 500;
  text-decoration: underline;
  padding: 0;
  width: auto;
  box-shadow: none;
  transform: none;
}

.bio-toggle-close {
  display: inline-block;
  margin: 0 var(--s-spacing) var(--s-spacing);
}

.bio-btn:hover {
  box-shadow: none;
  transform: none;
}

/* Main Video */

.main-video {
  min-height: 100dvh;
  /* overflow-x: scroll; */
  background-color: #050505;
  background-image: linear-gradient(rgba(0, 0, 0, 0.672), rgba(0, 0, 0, 0.464)), url("./src/foto/poster-saver.jpg");
  background-size: contain;
  background-position: left;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 2rem;
}

.main-video h2 {
  color: var(--color-w);
  font-size: 2.2rem;
  letter-spacing: 0.18em;
  /* margin: 0 0 2rem; */
}

.video-grid {
  height: 100%;
  width: min(1100px, 100%);
  display: grid;
  justify-content: center;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2rem;
}

.video-panel {
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  box-shadow: none;
  backdrop-filter: none;
}

.main-video lite-youtube {
  width: 100%;
  height: auto;
  border-radius: 16px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .main-video {
    height: auto;
    padding: 3rem 1.5rem;
  }

  .main-video lite-youtube {
    height: auto;
  }

  .video-grid {
    gap: 1.5rem;
    grid-template-columns: 1fr;
  }
}

/* NEW RELEASE OLD !!!*/

/* .new-release {
  background-image: url("./src/foto/bg_a-delicate-revolution.webp");
  background-size: cover;
  display: flex;
} */

.new-release div {
  margin: auto;
  text-align: center;
}

.new-release button {
  font-family: "Sarabun", "EB Garamond", "Raleway", sans-serif;
  background-color: transparent;
  border: none;
  width: fit-content;
  background-color: var(--color-b);
  padding: 1.5rem 4rem;
  font-weight: 100;
  font-size: 22px;
  color: var(--color-w);
}

.new-release a b {
  text-transform: uppercase;
  font-weight: 400;
  font-size: 28px;
}

/* NEW RELEASE (MODERN) */

.new-release-hero {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.06), transparent 55%), linear-gradient(135deg, rgb(2, 0, 0), rgb(44, 11, 2, 0.95)) !important;
}

.release-hero {
  height: auto;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.06), transparent 55%), linear-gradient(135deg, rgba(9, 9, 9, 0.98), rgba(18, 18, 18, 0.95));
  color: var(--color-w);
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(360px, 1.2fr);
  grid-template-areas: "media content";
  gap: 3rem;
  align-items: center;
  padding: 4rem 6vw;
}

.release-hero__media {
  position: relative;
  grid-area: media;
}

.release-hero__media img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.release-hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  grid-area: content;
}

.release-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.release-hero h2,
.release-hero h3 {
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: 0.12em;
  margin: 0;
}

.release-hero h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
}

.release-tagline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
}

.release-date {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.release-cta {
  text-decoration: none;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-w);
  background: rgba(255, 255, 255, 0.08);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    background 200ms ease;
}

.release-cta:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.16);
}

.release-cta.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
}

.release-hero--reverse {
  grid-template-areas: "content media";
}

.release-hero--previous {
  padding: 3rem 5vw;
}

/* PREVIOUS RELEASES */

.previous-releases {
  height: auto;
  /* background-color: var(--color-b); */
  color: var(--color-b);
  padding: 4rem 6vw 5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* #C9C4B7 */
.previous-releases-hero {
  background:
    radial-gradient(circle at top left, rgba(201, 196, 183, 0.5), transparent 55%), linear-gradient(135deg, rgba(9, 9, 9, 0.98) 65%, rgba(120, 156, 153, 0.95));
}

.previous-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.previous-releases h2 {
  margin: 0;
  font-size: 2.2rem;
  letter-spacing: 0.18em;
}

.previous-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.previous-link:hover {
  opacity: 1;
  color: var(--color-w);
}

.previous-list {
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.release-hero {
  min-height: 75dvh;
}

@media (max-width: 768px) {
  .previous-releases-hero .release-hero__media {
    margin: -3rem -2rem 1.5rem;
  }

  .previous-releases-hero .release-hero__media img,
  .previous-releases-hero .release-hero__media picture {
    width: 100%;
  }

  .previous-releases-hero .release-hero__media img {
    margin-top: 1.8rem;
    margin-bottom: 0;
    border-radius: 0;
  }
}

/* MUSIC */

.music {
  height: auto;
  /* background-color: var(--color-b); */
  color: var(--color-b);
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 4.5rem 6vw 4rem;
}

.music h2 {
  font-size: 2.2rem;
  text-align: center;
  letter-spacing: 0.18em;
  margin: 0;
}

.music-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.65rem;
  color: rgba(0, 0, 0, 0.7);
}

.music-controls label {
  font-weight: 400;
}

.music-controls select {
  appearance: none;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 999px;
  color: var(--color-b);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  padding: 0.45rem 1rem;
  text-transform: uppercase;
}

.music-controls select:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.35);
  outline-offset: 2px;
}

.music-grid {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
}

.music-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.music-cover {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 1;
  background: #111111;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  transition:
    transform 300ms ease,
    box-shadow 300ms ease;
}

.music-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 350ms ease;
}

.music-cover:hover,
.music-cover:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}

.music-cover:hover img,
.music-cover:focus-visible img {
  transform: scale(1.01);
}

.music-cover:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 4px;
}

.music-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 10, 10, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--color-w);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.music-meta h4 {
  margin: 0;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-b);
}

.music-meta p {
  margin: 0.2rem 0 0;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-b);
}

.music-date {
  display: block;
  margin-top: 0.35rem;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-b) 55%, transparent);
}

.music-platform {
  width: min(900px, 100%);
  /* background-color: var(--color-b); */
  margin: 0 auto;
  padding: 2.5rem 1rem 0;
  flex-wrap: wrap;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.music-platform img {
  margin: 0 1rem;
  height: 25px;
  filter: invert();
}

/* FOOTER */

footer {
  height: 180px;

  background-color: var(--color-b);
  /* border-top: 1px solid var(--color-w); */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  padding: 0 4rem;

  color: #ffffff;
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.footer-title {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.footer-ct,
.copyright {
  gap: 0.45rem;
}

.footer-ct {
  flex: 1;
}

footer .social-nav {
  flex: 1;
  text-align: center;
}

.copyright {
  flex: 1;
  text-align: right;
  display: grid;
}

footer > div a {
  color: #ffffff;
  margin-bottom: var(--s-spacing);
}

/* MEDIA QUERY */

@media (max-width: 1080px) {
  .nav-bar {
    margin-left: 0;
    margin: auto;
  }
  

  .bio {
    flex-wrap: wrap;
  }

  .bio img {
    margin-right: 0;
    margin-bottom: 2rem;
    width: 90vw;
    height: auto;
  }

  .bio-text {
    font-size: 0.8rem;
    padding: 0;
    padding: 1.5rem 2rem;
  }

  .new-release {
    background-position: 70% 0%;
    flex-direction: column;
    justify-content: end;
    align-items: center;
  }

  .new-release h2 {
    font-size: 28px;
  }

  .new-release h3 {
    font-size: 24px;
  }

  .new-release div {
    margin: 0 0 4rem;
  }

  .release-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "content";
    padding: 3.5rem 2rem;
  }

  .release-hero__content {
    align-items: flex-start;
  }

  .release-hero--previous {
    /* padding: 3rem 2rem; */
  }

  .previous-releases {
    padding: 3.5rem 2rem 4rem;
  }

  .previous-releases h2 {
    font-size: 1.8rem;
  }

  .main-video h2 {
    margin-bottom: 2rem;
  }

  .main-video {
    height: auto;
  }

  .music-grid {
    gap: 2rem;
  }
}

/* FINO A 768px */
@media (max-width: 768px) {
  .horizontal-vd {
    width: 100%;
    height: auto;
  }

  header {
    background-image: url("./src/gif/bg-vertical.gif"), url("./src/foto/poster-saver.jpg");
    background-repeat: no-repeat;
    background-size: cover;
  }

  .bio-text > div img:nth-child(1) {
    display: none;
  }

  .bio-text > div img:nth-child(2) {
    display: none;
  }

  .bio-text h2 {
    margin-top: var(--m-spacing);
  }

  .music h2 {
    font-size: 2rem;
  }

  .music-grid {
    justify-content: center;
    grid-template-columns: 0.8fr;
  }

  .music-platform {
    flex-direction: column;
    align-items: center;
    row-gap: 2rem;
  }

  .new-release {
    background-image: url("./src/foto/bg_a-delicate-revolution-vc.webp");
  }

  .new-release a b {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 22px;
  }

  .new-release button {
    font-size: 18px;
    padding: 1rem 2rem;
  }

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
    height: auto;
    gap: 1.5rem;
  }

  footer .social-nav {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .footer-ct,
  .footer-main,
  .copyright {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .copyright {
    gap: 0.35rem;
  }
}

@media (min-width: 769px) and (max-width: 1079px) {
  .horizontal-vd {
    width: 100%;
    height: 100%;
  }

  .nav-bar h1 {
    font-size: 3.5vw;
    font-weight: 400;
  }

  nav ul li {
    font-size: 2vw;
  }

  .bio {
    flex-wrap: wrap;
  }

  .bio-text {
    font-size: 1rem;
    flex: 0 0 100%;
  }

  .bio-text > div img:nth-child(1) {
    right: -5px;
    left: unset;
    transform: rotate(-90deg);
  }
}

@media (min-width: 1080px) {
  .horizontal-vd {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 400px) {
  .nav-bar h1 {
    font-size: 7vw;
  }
}
