/* ===== Global Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: url('nightSky3.jpg') no-repeat center center fixed;
  background-size: cover;
  color: white;
  overflow-x: hidden;
}

/* ===== Hero Section ===== */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.3rem;
  max-width: 700px;
}

/* ===== Carousel Container ===== */
.carousel-container {
  position: relative;
  width: 100%;
  height: 500px;
  perspective: 1000px;
  margin-top: 50px;
}

/* ===== 3D Carousel ===== */
.carousel {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  transition: transform 1s;
}

.carousel-card {
  position: absolute;
  width: 300px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  color: white;
  padding: 20px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  text-align: center;
  transition: transform 0.5s, opacity 0.5s;
}

/* Positioning cards around a circle */
.carousel-card:nth-child(1) { transform: rotateY(0deg) translateZ(500px); }
.carousel-card:nth-child(2) { transform: rotateY(120deg) translateZ(500px); }
.carousel-card:nth-child(3) { transform: rotateY(240deg) translateZ(500px); }

.carousel-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.carousel-card p {
  font-size: 1rem;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(0,0,0,0.5);
  font-size: 0.9rem;
}
