/*
Theme Name: First Nations Pathway Program 2025 v2
Theme URI: https://yourdomain.com/
Author: Dee Pabst
Author URI: https://yourdomain.com/
Description: Custom theme for the First Nations Pathway Program 2025.
Version: 1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fnpp2025-v2
Screenshot: screenshot.png
*/

/* First Nations Pathway Program 2025 Theme Styles */

@font-face {
  font-family: "Block Berthold";
  src: url("fonts/blockberthold.woff2") format("woff2"),
    url("fonts/blockberthold.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

body,
html {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: Helvetica, Arial, sans-serif;
  background: #010101;
  color: #ffffff;
}

header {
  width: 100vw;
  margin: 0;
  padding: 0;
}
header .logo {
  width: 100vw;
  margin: 0;
  padding: 0;
}
header .logo img {
  width: 100%;
  height: auto;
  display: block;
}

#intro {
  /* background: #6a17ed; */
  min-height: 30vh;
  position: relative;
  overflow-x: hidden;
  text-align: center;
  padding: 4rem 2rem 2rem 2rem;
}
#intro .content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-family: "Block Berthold", sans-serif;
}
#intro .content h2 {
  margin: 1.5rem 0 1rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-accent-1 {
  position: fixed;
  top: 15vh;
  right: 2vw;
  width: 15vw;
  max-width: 200px;
  height: auto;
  transform: rotate(10deg);
  opacity: 0.15;
  z-index: -1;
}

#videos {
  background-color: #b0fa03;
  padding: 4rem 2rem;
  text-align: center;
  background-image: url("img/csd_mushroom.svg");
  background-repeat: no-repeat;
  background-position: 100%;
  background-size: 300px auto;
}
#videos .video-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin: 2rem 0;
}
#videos .video-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 350px;
  width: 100%;
}
#videos .badge {
  width: 90px;
  margin-bottom: -1rem;
  z-index: 1;
}
#videos video,
#videos .video-embed iframe {
  width: 100%;
  max-width: 350px;
  aspect-ratio: 1 / 1;
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.12);
  border: 4px solid #6a17ed;
}

#artists {
  background: #250433;
  background-image: url("img/csd_mushroom2.svg");
  background-repeat: repeat-y;
  background-position: 0% 100%;
  background-size: 500px auto;
  /* Optional: add a subtle overlay for opacity */
}

.artist {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.artist:nth-child(even) {
  flex-direction: row-reverse;
}

.artist-photo {
  flex: 1;
}

.artist-photo img {
  max-width: 500px;
  height: auto;
  margin: unset;
}

.artist-bio {
  flex: 2;
  color: #ffffff;
  position: relative;
  padding: 0 3rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 500px;
  height: 500px;
}

.artist-bio::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("img/egg-6a17ed.png");
  background-size: 90% 90%;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
}

.artist-bio p {
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.social-links a {
  color: #b0fa03;
  text-decoration: none;
  margin-right: 0.5rem;
  font-size: 1.2rem;
  font-weight: bold;
  display: inline-block;
  transition: transform 0.2s;
}

.social-links a:hover {
  text-decoration: none;
  transform: scale(1.1);
}

.social-links img {
  width: 50px;
  height: auto;
}

/* --- Artist Color Variations --- */

/* LIME EGG */
.artist.egg-lime .artist-bio::before {
  background-image: url("img/egg-b0fa03.png");
}
.artist.egg-lime .social-links a {
  color: #6a17ed;
}

/* WHITE EGG */
.artist.egg-white .artist-bio::before {
  background-image: url("img/egg-ffffff.png");
}
.artist.egg-white .social-links a {
  color: #e778fb;
}

/* PINK EGG */
.artist.egg-pink .artist-bio::before {
  background-image: url("img/egg-e778fb.png");
}
.artist.egg-pink .social-links a {
  color: #6a17ed;
}

/* DARK PURPLE EGG */
.artist.egg-dark-purple .artist-bio::before {
  background-image: url("img/egg-250433.png");
}

/* BLACK EGG */
.artist.egg-black .artist-bio::before {
  background-image: url("img/egg-010101.png");
}

@media (max-width: 900px) {
  section#artists .artist {
    flex-direction: column;
  }
  #videos .video-grid {
    flex-direction: column;
    align-items: center;
  }
  #videos .video-block {
    max-width: 100vw;
  }
}

@media (max-width: 600px) {
  header .logo {
    width: 100vw;
  }
  #intro {
    padding: 2rem 1rem;
  }
  #intro h2 {
    margin-top: 0;
  }
  .artist-bio {
    padding: 0 2rem 4rem 2rem;
    min-height: 300px;
    height: auto;
  }
  .artist-bio::before,
  .artist.egg-lime .artist-bio::before,
  .artist.egg-white .artist-bio::before,
  .artist.egg-pink .artist-bio::before,
  .artist.egg-dark-purple .artist-bio::before,
  .artist.egg-black .artist-bio::before {
    display: none !important;
  }
  .artist-bio p {
    color: #ffffff;
  }
  section#artists .artist .artist-bio,
  section#artists .artist:nth-child(even) .artist-bio {
    padding: 0 2rem 4rem 2rem;
  }
  .artist-photo img {
    max-width: 90%;
    margin: 0 auto;
    display: block;
  }
}

/* Full width screens (laptop/desktop) */
@media (min-width: 1200px) {
  .artist-bio::before {
    background-size: 100% auto;
  }
  .artist-bio {
    padding-top: 0;
  }
  #intro {
    background-image: url("img/csd_mushroom5.svg");
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 700px auto;
  }
}

/* Visual Artist Acknowledgement Section */
#visual-artist-acknowledgement {
  background: #000;
  padding: 4rem 2rem;
  text-align: center;
  background-image: url("img/csd_mushroom3.svg");
  background-repeat: repeat-y;
  /* background-position: 0% 0%; */
  background-size: 300px auto;
  opacity: 0.9;
}

#visual-artist-acknowledgement .content {
  max-width: 800px;
  margin: 0 auto;
  color: #ffffff;
}

#visual-artist-acknowledgement h2 {
  font-family: "Block Berthold", sans-serif;
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-weight: normal;
}

#visual-artist-acknowledgement h3 {
  font-family: "Block Berthold", sans-serif;
  font-size: 1.2rem;
  color: #b0fa03;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#visual-artist-acknowledgement p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

#visual-artist-acknowledgement blockquote {
  font-family: "Block Berthold", sans-serif;
  font-size: 1.3rem;
  color: #b0fa03;
  font-style: italic;
  margin: 2rem 0;
  padding: 1rem;
  background: rgba(176, 250, 3, 0.1);
  text-transform: uppercase;
}

#visual-artist-acknowledgement .social-links {
  margin-top: 2rem;
}

#visual-artist-acknowledgement .social-links img {
  width: 40px;
  height: auto;
}

/* --- Footer --- */
footer {
  background-color: #e778fb;
  padding: 4rem 2rem;
}

.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  flex-wrap: wrap;
}

.footer-logos img {
  max-height: 40px;
  width: auto;
  transition: opacity 0.3s ease;
}

.footer-logos a:hover img {
  opacity: 0.8;
}

@media (max-width: 1199px) {
  #videos {
    background-image: none !important;
  }
  #artists {
    background-image: none !important;
  }
  #visual-artist-acknowledgement {
    background-image: none !important;
  }
}
