

html, body {
  height: 100%;
  margin: 0;
}

body {
  background-image:url("../images/backgroundHome.gif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: rgb(255, 255, 255);
}

header {
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.3);
  gap: 40px;
  position: fixed;
  top: 0;
  width: 100%;
  padding: 10px 40px;
  box-sizing: border-box;
}

h1 {
  font-family: 'Arial', sans-serif;
  font-size: 20px;
}
.left {
  margin-right: auto;
  margin-left: 20px;
  cursor: default;
}

.headerItem {
  transition: color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}
.headerItem:hover,
.headerItem a:hover {
  color: rgb(152, 122, 221);
  transform: translateX(5px);
}

.headerItem a {
  color: inherit;
  text-decoration: none;
  font: inherit;
}

/* --- MINIMAL CAROUSEL CSS RESET --- */
.carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80vw;
  max-width: 900px;
  margin: 120px auto 40px auto;
  overflow: hidden;
  background: rgba(26, 25, 25, 0.85);
  border-radius: 24px;
  padding: 20px 24px;
}

.arrow {
  background: rgba(140, 82, 255, 0.8);
  color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  margin: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  user-select: none;
}

.arrow:hover {
  background: rgb(152, 122, 221);
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.carousel-slide img {
  width: 100%;
  max-width: 500px;
  height: 350px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 24px;
}

.carousel-slide p {
  color: #fff;
  font-size: 1.7rem;
  margin: 0;
}




@media (max-width: 600px) {
  header {
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px 4px;
  }
  h1 {
    font-size: 16px;
  }
  .left {
    margin-left: 4px;
  }
  .carousel {
    width: 95vw;
    max-width: 100%;
    margin: 100px auto 30px auto;
    padding: 20px 12px;
  }
  .carousel-slide img {
    max-width: 300px;
    height: 220px;
    margin-bottom: 16px;
  }
  .carousel-slide p {
    font-size: 1.2rem;
  }
  .arrow {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
    margin: 0 8px;
  }
}

@media (max-width: 400px) {
  header {
    gap: 8px;
    padding: 6px 2vw;
  }
  h1 {
    font-size: 13px;
  }
  .left {
    margin-left: 2px;
  }
  .carousel {
    width: 98vw;
    max-width: 100%;
    margin: 140px auto 20px auto;
    padding: 16px 8px;
  }
  .carousel-slide img {
    max-width: 200px;
    height: 150px;
    margin-bottom: 12px;
  }
  .carousel-slide p {
    font-size: 1rem;
  }
  .arrow {
    width: 28px;
    height: 28px;
    font-size: 1rem;
    margin: 0 6px;
  }
}

/* Cursor Glow Effect */
.cursor-glow {
  position: fixed;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(152, 122, 221, 0.8) 0%, rgba(152, 122, 221, 0.4) 70%, rgba(152, 122, 221, 0) 100%);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 30px rgba(152, 122, 221, 0.6);
  transform: translate(-50%, -50%);
  z-index: 9999;
}
