* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* Background container */
#wave-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

/* Canvas should fill its parent */
#hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
}


.hero-header {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  background: transparent;
}


.hero-foreground {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/*
#slideshow-image {
  width: 300px;
  border-radius: 1rem;
  box-shadow: 0 0 100px #000000, 0 0 2px #ff0000, 0 0 3px violet;
  box-border: 1px solid #ff8800;
  transition: transform 0.2s;
}
  */

  @keyframes glowPulse {
    0%   { box-shadow: 0 0 20px #ff8800; } 
    25%  { box-shadow: 0 0 10px #ff8800; } 
    50%  { box-shadow: 0 0 20px #ff8800; }  
    75%  { box-shadow: 0 0 10px #ff8800; } 
    100% { box-shadow: 0 0 20px #ff8800; } 
  }
  
  #slideshow-image {
    width: 400px;
    border: 1px solid #ff8800;
    border-radius: 1rem;
    animation: glowPulse 10s infinite ease-in-out;
  }
  

.hero-name {
  font-family: 'Lato', cursive;
  font-size: 4rem;
  color: #ff8800;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  text-shadow: 0 0 2px #ff8800, 0 0 4px #ff0000, 0 0 6px violet;
}


.hero-title {
  font-family: 'Lato', cursive;
  font-size: 2rem;
  color: #ff8800;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  text-shadow: 0 0 2px #ff8800, 0 0 4px #ff0000, 0 0 6px violet;
}

.hero-subtitle {
  font-family: 'Lato', cursive;
  font-size: 1rem;
  color: #ff8800;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  text-shadow: 0 0 2px #ff8800, 0 0 4px #ff0000, 0 0 6px violet;
}


body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: white;
  background-color: black;
}

header {
  padding: 3rem 1rem 2rem;
  position: relative;
  text-align: center;
  background: #111;
}

header h1 {
  font-size: 2.5rem;
  color: #ff8800;
}

header p {
  color: violet;
  margin-top: 0.5rem;
}

h1, h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: normal;
  letter-spacing: 0.05em;
  color: #ff8800; /* Optional glow green or accent color */
}

main.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  padding: 2rem;
  flex-grow: 1;
}

.tiles-background {
  background-color: black;
  position: relative;
  z-index: 3; /* Must be higher than the canvas background */
  padding: 2rem 0;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 4; /* Keeps tiles on top of the black section */
}

.tiles-intro {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  padding: 3rem; 
  max-width: 800px; 
  margin: auto;
}

.tile {
  background: #ba6300;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, border-color 0.2s;
}


.tile:hover {
  transform: translateY(-5px);
  border-color: #ff8800;
}

.tile h2 {
  margin-bottom: 0.5rem;
  color: rgb(249, 163, 249);
}

footer {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  padding: 1rem;
  background: #111;
  color: violet;
}

@keyframes animatedGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.section-divider {
  height: 4px;
  width: 100%;
  margin: 0 auto;
  border-radius: 2px;
  background: linear-gradient(270deg, #ff8800, violet, #ffffff, #ff8800);
  background-size: 600% 600%;
  animation: animatedGradient 20s ease-in-out infinite;
  box-shadow: 0 0 12px #ff8800;
}

.home-button {
  position: absolute;
  top: 4rem;
  left: 2rem;
  font-size: 1.8rem;
  color: #ff8800;
  padding: 0.5rem;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.2s, color 0.2s;
  z-index: 10;
}

.home-button:hover {
  color: violet;
  transform: scale(1.2);
}


.home-button-back {
  position: absolute;
  top: 2.75rem;
  left: 2rem;
  font-size: 1.8rem;
  color: #ff8800;
  padding: 0.5rem;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.2s, color 0.2s;
  z-index: 10;
}

.home-button-back:hover {
  color: violet;
  transform: scale(1.2);
}


.back-button {
  position: absolute;
  top: 5.5rem;
  left: 2.2rem;
  font-size: 1.8rem;
  color: #ff8800;
  padding: 0.5rem;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.2s, color 0.2s;
  z-index: 10;
}

.back-button:hover {
  color: violet;
  transform: scale(1.2);
}

