/* Box sizing rules */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-color: #f9f9f9;
  --card-bg: #ededed;
  --card-hover: #f2f2f2;
  --accent-color: #ff3b30;
  --text-main: #00CCFF;
  --text-muted: #a1a1aa;
  --border-radius: 12px;
}

a.button {
  padding: 0.8em 1em;
  background-color: #00CCFF;
  border-radius: 5px;
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  font-weight: bolder;
  margin-top: 1em;
}

img.title {
  max-width: 350px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 480px;
  text-align: center;
  clear: left;
  margin: 50px auto;
}

.profile {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-image: url('img/jamboree.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

/* Profile Section */
.profile-img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  margin-bottom: 1rem;
  margin-top: 10vh;
}

.band-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.bio {
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

section {
    height: 100vh;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.featured {
  background: radial-gradient(circle at center, #ffe5f1 0%, #fc9aca 100%);
  img + img {
    width: 300px;
  }
}

/* Card Container */
.video-fixed-card {
  position: relative;
  width: 100%;
  height: 100vh; /* Adjust height of your cutout */
  /* The clip-path creates a container mask that clips fixed-position children */
  clip-path: inset(0 round var(--border-radius)); 
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

/* Wrapper pinned to the entire browser viewport */
.video-viewport {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* Video expanded to cover the full viewport */
.video-viewport .bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text & Overlay Content */
.video-link-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  background: rgba(0, 0, 0, 0.35); /* Dark overlay for text legibility */
  transition: background-color 0.15s ease;
}

/* Hover effects */
.video-fixed-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}

.video-fixed-card:hover .video-link-content {
  background: rgba(0, 0, 0, 0.2);
}
.listen {
background: radial-gradient(circle at center, #eaf6ff 0%, #9bd3f8 100%);
}
.events {
  background-image: url(img/showsbg.jpg);
  background-position: center center;
  background-size: cover;
  img + img {
    max-height: 60vh;
  }
}

.socials {
  padding: 50px 0;
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  color: #00CCFF;
}

.socials a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

.socials a:hover {
  color: var(--text-main);
}

@media (max-width: 800px) {
  body {
    background-color: #aedbfb;
  }
  section {
      background-attachment: fixed;
  }
  .profile {
    background-position: bottom center;
    background-size: contain;
    background-repeat: no-repeat;
  }
}