/* Vivid Dreams CSS made by Nick Figner (nickfigner.com)*/

:root {
    --primary-color: #90A4DF;
    --secondary-color: #B092D2;
    --background-color: #0D0101;
    --text-color: #ffffff;
    --comment-color: #ffffff40;
    --font-family: 'Urbanist', sans-serif;

    --blur: 22px;
    --shadow: 0 4px 74px 0 rgba(0, 0, 0, 0.25);

    color-scheme: dark;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  scroll-behavior: smooth;
}

input,
textarea,
button,
select,
a {
    -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--background-color);
}

/* Text Stylse */
.hero {
  font-family: var(--font-family);
  font-size: 128px;
  font-weight: 800;
  color: var(--text-color);
  font-style: normal;
}

h1 {
  font-family: var(--font-family);
  font-size: 64px;
  font-weight: 800;
  color: var(--text-color);
  font-style: normal;
}

h2 {
  font-family: var(--font-family);
  font-size: 30px;
  font-weight: 800;
  color: var(--text-color);
  font-style: normal;
}

p {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  font-style: normal;
}

comment {
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 600;
  color: var(--comment-color);
  font-style: normal;
}

/* Other Things */

img {
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: none;
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  border-radius: 999px;
}

.mobile-menu-toggle:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--text-color);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.mobile-nav-open {
  overflow: hidden;
}


/* Header */

header {
  background-color: #20202051;
  height: 5rem;
  backdrop-filter: blur(var(--blur));
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;

  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2rem;
  width: 100%;
  align-items: center;
  padding: 0 1rem;
  z-index: 10;
}

header > a:first-child {
  grid-column: 1;
  flex-shrink: 0; 
  display: flex;
  align-items: center;
}

header img {
  height: 3rem;
  width: auto;
  display: block;
  max-width: 220px;
  object-fit: contain;
}

.nav-links {
  grid-column: 2;
  position: relative;
  width: 100%;
}

.nav-links-inner {
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  gap: 2rem;
  font-family: var(--font-family);
  font-size: 19px;
  font-weight: 600;
  color: var(--text-color);
  font-style: normal;
}

.nav-links-inner a {
  text-decoration: none;
  color: var(--text-color);
}

/* Sections */

main  {
  min-height: 70vh;
  margin-top: 1rem;
  padding: 4rem 1.5rem 0;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

.feature-carousel {
  width: min(100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 0.95fr);
  gap: 2rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  opacity: 0;
  transform: translateX(40px);
  animation: carouselFadeIn 1s ease-out 0.2s forwards;
}

.carousel-main {
  position: relative;
  min-height: 420px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.196);
  padding: 3rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: transparent;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.carousel-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 4, 7, 0.05) 0%, rgba(1, 1, 2, 0.75) 100%);
  z-index: 1;
}

.carousel-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.slide-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(1.15);
}

.slide-text {
  position: relative;
  z-index: 2;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--text-color);
}

.slide-heading {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
}

.slide-tag {
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.slide-desc {
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.cta-button {
  align-self: flex-start;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  background: #ffffff;
  color: #0f0f13;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  border: none;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

.cat-button:active {
  transform: translateY(0px);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.carousel-thumbs {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.carousel-thumb {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.123);
  border-radius: 19px;
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  color: var(--text-color);
  text-align: left;
  font-family: var(--font-family);
  font-size: 16px;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.carousel-thumb:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
}

.carousel-thumb.is-active {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(-4px);
}

.thumb-art {
  width: 60px;
  height: 80px;
  border-radius: 9px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  display: block;
  object-fit: cover;
  flex-shrink: 0;
}

.thumb-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-family: var(--font-family);
}

.thumb-text strong {
  font-size: 20px;
  font-weight: 700;
}

.thumb-text small {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

@keyframes carouselFadeIn {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-carousel {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 920px) {
  body.mobile-nav-enabled header {
    grid-template-columns: auto auto;
    gap: 1rem;
    padding: 0 1rem;
    overflow: visible; /* ensure dropdown isn't clipped */
  }

  body.mobile-nav-enabled header img {
    height: 2.4rem;
    width: auto;
    display: block;
  }

  body.mobile-nav-enabled .mobile-menu-toggle {
    display: inline-flex;
    margin-left: auto;
    position: relative;
    z-index: 60;
  }

  body.mobile-nav-enabled .nav-links {
    /* simple dropdown beneath the header */
    position: absolute;
    top: 100%;
    left: 0;
    grid-column: 1 / -1; /* span full header width so left:0 aligns with page left */
    width: 100%;
    margin: 0;
    display: none;
    text-align: left;
    padding: 0;
    z-index: 50;
  }

  body.mobile-nav-enabled .nav-links.is-open {
    display: block;
  }

  body.mobile-nav-enabled .nav-links::before {
    display: none; /* no full-page backdrop for dropdown */
  }

  body.mobile-nav-enabled .nav-links-inner {
    position: relative;
    z-index: 51;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 0.25rem 0.5rem;
    background: rgba(32, 32, 32, 0.98);
    box-shadow: var(--shadow);
    border-radius: 0 0 12px 12px;
  }

  body.mobile-nav-enabled .nav-links-inner a {
    font-size: 18px;
    width: 100%;
    display: block;
    text-decoration: none;
    padding: 1rem 1rem;
    color: var(--text-color);
    border-bottom: 1px solid rgba(255,255,255,0.025);
  }
}

@media (max-width: 960px) {
  .feature-carousel {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .carousel-main {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  main {
    padding-top: 2rem;
  }

  .feature-carousel {
    padding: 1.5rem;
  }

  .carousel-slide {
    padding: 2rem;
  }

  .carousel-thumb {
    padding: 0.65rem 0.85rem;
  }

  .thumb-text strong {
    font-size: 18px;
  }
}




.spacer {
  height: 30vh;
  width: 100%;
  display: block;
  position: relative
}

.spacer-half {
  height: 15vh;
  width: 100%;
  display: block;
  position: relative;
}

.home-svgs {
  display: block;
  width: 50vw;
  max-width: 900px;
  height: auto;
  margin: 1.25rem auto;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
}

