body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;

  /* placeholder background color in case image doesn’t load */
  color: #333;
  overflow-x: hidden; /* prevent sideways scroll from rotation */
}

body::before {
  content: "";
  position: fixed;
  top: -20%;
  left: -20%;
  width: 140vw;
  height: 140vh;
  background-image: url("images/header-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform-origin: center center;
  z-index: -1;
  transform: rotate(var(--bg-rotation, 0deg));
}

section {
  text-align: center;
}

header {
  background-image: url("images/header-bg.png"); /* your image */
  background-size: 100% 100%;  /* force width and height to match header */
  background-position: center;
  background-repeat: no-repeat;

  padding: 2rem;
  color: black;
  padding: 1rem;
  text-align: center;
}

h1 {
    text-align: center;
}

h2 {
    text-align: center;
}

p {
    text-align: center;
}

a {
  text-align: center;
  text-decoration: none;
  color: inherit; /* optional: keeps text the same color as surrounding text */
}

nav a {
  color: black;
  margin: 0 1rem;
  text-decoration: none;
  transition: color 0.25s ease-in-out;
}

nav a:hover {
  color: #ff00b1;
}

/* Responsive spacing when nav wraps on narrow screens */
header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 16px; /* horizontal spacing */
  row-gap: 8px;     /* vertical spacing when links wrap */
}

@media (max-width: 480px) {
  header nav a {
    padding: 6px 0; /* increase touch target and vertical rhythm */
  }
}

#nye-ticket-link p {
  color: blue;
  text-decoration: underline;
  transition: color 0.3s ease-in-out;
}

#nye-ticket-link:hover p {
  color: #ff00b1;
}

#star-gif {
  display: block;
  margin: 10px auto;
}

button {
  padding: 10px 20px;
  font-size: 1rem;
  background: #0077ff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background: #005ecc;
}

form {
  margin: 20px auto;
  max-width: 300px;
  display: flex;
  gap: 10px;
}

input[type="email"] {
  flex: 1;
  padding: 8px;
  border: 1px solid #aaa;
  border-radius: 4px;
}

form button {
  padding: 8px 15px;
  border: none;
  background: #0077ff;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

form button:hover {
  background: #005ecc;
}

#music-view {
  display: grid;
  grid-template-columns: repeat(1fr);
  gap: 20px;
  padding: 20px;
  justify-items: center;
}

.album-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 500px;
}

.album-tile img {
  width: 100%;
  aspect-ratio: 1 / 1; /* ensures a perfect square */
  object-fit: cover;
  border-radius: 8px; /* optional rounded corners */
  transition: transform 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.album-tile img:hover {
  transform: scale(1.05); /* subtle zoom on hover */
}

.album-name {
  margin-bottom: 40px;
  margin-top: 40px;
  font-size: 0.9rem;
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  transform: scaleY(4); /* increase this value to stretch more */
  color: black; 
  z-index: 10;
}

.album-blurb {
  font-size: 0.95rem;
  color: #555; /* lighter color than title */
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.vibe {
  display: inline-block;
  animation: vibrate 1s ease-in-out infinite;
}

@keyframes vibrate {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

#about-blurb {
  margin-left: 15vw;
  margin-right: 15vw;
}

#pics {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 4vw;
  gap: 30px;
}

#pics img {
  max-width: calc(100% - 14vw);
  height: auto;
  flex: 1 1 auto;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 100vw;
  height: 80vh; /* adjust height as needed */
  overflow: hidden;
  max-height: 20vh;
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures video fills container */
  z-index: 1;
  max-width: 100vw;
}

#greeting {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 20px;
  pointer-events: none;
  white-space: nowrap;
}

#contact-img {
  max-width: 100%;
  height: auto;
  flex: 1 1 auto;
}

#greeting h1.spin {
  margin: 0;
}

.spin {
  display: inline-block;
  animation: spin 5s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.soundcloud-container {
  width: 90vw;
  margin: 5vw auto; /* keeps spacing around the whole block */
}

.soundcloud-attribution {
  font-size: 10px;
  color: #cccccc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: Interstate, Lucida Grande, Lucida Sans Unicode, Lucida Sans, Garuda, Verdana, Tahoma, sans-serif;
  font-weight: 100;
  margin: 0; /* remove extra space above */
  padding-top: 2px; /* optional small gap if you want it */
}

.parallax {
  position: relative;
  height: 80vh;
  overflow: hidden;
  z-index: -1;
}

.parallax-img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: auto;
  transform: translate(-50%, -50%); /* perfectly center both horizontally and vertically */
  object-fit: contain;
  will-change: transform;
  z-index: -2;
  /*transition: transform 0.05s linear;*/
}

.parallax-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;  /* horizontal centering */
  justify-content: center; /* vertical centering */
  text-align: center;
  width: 100%; /* ensures the element can center properly */
  height: 100%; /* ensures flex centering works inside the parent */
}

@font-face {
  font-family: "MyCustomFont";
  src: url("fonts/NanumMyeongjo-Regular.ttf") format("truetype");
}

body {
  font-family: "MyCustomFont", sans-serif;
}

.social-links {
  text-align: center;
  margin-bottom: 20px;
  margin-top: 10px
}

.social-links a {
  color: black; /* icon color */
  margin: 0 10px;
  font-size: 20px; /* icon size */
  transition: color 0.2s;
}

.social-links a:hover {
  color: #ff00b1; /* highlight color on hover */
}

.helvetica-line {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  transform: scaleY(4); /* increase this value to stretch more */
  font-weight: bold;      /* makes the text bold */
  color: #ff00b1;
  margin-bottom: 40px;
}

.helvetica-vibe{
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  transform: scaleY(5); /* increase this value to stretch more */
  color: black; 
  margin-top: 40px; 
  z-index: 10;
}

/* Screen reader only text - hidden visually but accessible to search engines */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Alternative method using modern CSS */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}