/* RESET */
* {margin:0; padding:0; box-sizing:border-box;}
body {font-family:'Roboto',sans-serif; color:white; cursor:none; line-height:1.6; overflow-x:hidden;}

/* CURSOR */
.cursor{position:fixed;width:14px;height:14px;border-radius:50%;background:white;box-shadow:0 0 10px #00c3ff,0 0 20px #00c3ff;pointer-events:none;transform:translate(-50%,-50%);z-index:9999;}
.cursor-trail{position:fixed;width:40px;height:40px;border-radius:50%;border:2px solid rgba(0,200,255,0.4);box-shadow:0 0 15px rgba(0,200,255,0.4);pointer-events:none;transform:translate(-50%,-50%);z-index:9998;transition:transform 0.2s;}
.cursor.hover{transform:translate(-50%,-50%) scale(1.8); background:#00c3ff;}
.cursor-trail.hover{transform:translate(-50%,-50%) scale(1.5);}

/* VIDEO BACKGROUND */
.bg-video{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-1;
  filter:brightness(0.5);
}



/* HERO CONTENT */
.hero{position:relative;width:100%;height:100vh;display:flex;justify-content:center;align-items:center;text-align:center;overflow:hidden;}
.hero-content{position:relative;z-index:1;max-width:800px;padding:0 20px;}
.hero-title{font-size:48px;text-shadow:0 0 10px #00c3ff,0 0 20px #33a1ff;margin-bottom:20px;animation:glowText 2s ease-in-out infinite alternate;}
.hero-text{font-size:18px;margin-bottom:30px;animation:fadeInUp 2s ease forwards;}
.hero-btn {
  padding: 15px 40px;
  background: white;           /* fundal alb */
  color: #003c8f;              /* text albastru */
  border-radius: 30px;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* efect subtil de lumină la hover */
.hero-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.25);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.hero-btn:hover::after {
  left: 100%;
}

.hero-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);

}
.hero-arrow{font-size:32px;margin-top:20px;animation:arrowBounce 1s infinite alternate;}

/* ================= ACTIVITIES ================= */
.activities {
  text-align: center;
  margin-top: -130px; /* în loc de 0 sau + valoare, pentru a urca secțiunea */
  padding-bottom: 80px;
}
.animated-title{font-size:36px;text-transform:uppercase;letter-spacing:2px;margin-bottom:40px;text-shadow:0 0 5px #fff,0 0 10px #fff,0 0 20px #33a1ff,0 0 30px #33a1ff,0 0 40px #33a1ff;}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,300px));gap:40px;justify-content:center;}
.card{background:#000000;border-radius:12px;overflow:hidden;cursor:pointer;transition:transform 0.4s ease,box-shadow 0.4s ease;box-shadow:0 10px 25px rgba(0,0,0,0.4);position:relative;perspective:1000px;}
.card img{width:100%;height:200px;object-fit:cover;display:block;transition:transform 0.5s ease;border-radius:12px;}
.card::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(51,161,255,0.3);opacity:0;transition:opacity 0.4s ease;border-radius:12px;}
.card:hover img{transform:scale(1.1);}
.card:hover::before{opacity:1;}
.card-text{position:absolute;bottom:15px;width:100%;text-align:center;color:white;opacity:0;transform:translateY(20px);transition:opacity 0.4s ease, transform 0.4s ease;}
.card:hover .card-text{opacity:1;transform:translateY(0);text-shadow:0 0 10px #33a1ff,0 0 20px #fff;}

/* MODAL */
.modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,30,0.95);align-items:center;justify-content:center;flex-direction:column;padding:20px;z-index:20;}
.modal-img{max-width:70%;border-radius:10px;}
.modal-text{margin-top:20px;text-align:center;max-width:600px;}
.close{position:absolute;top:20px;right:30px;font-size:40px;cursor:pointer;}

/* FOOTER */
footer{text-align:center;padding:40px;display:flex;flex-direction:column;align-items:center;gap:8px;}

/* ANIMATII */
@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px);}100%{opacity:1;transform:translateY(0);}}
@keyframes glowText{0%{text-shadow:0 0 10px #00c3ff,0 0 20px #33a1ff;}50%{text-shadow:0 0 20px #00ffff,0 0 40px #33a1ff;}100%{text-shadow:0 0 10px #00c3ff,0 0 20px #33a1ff;}}
@keyframes glowButton{0%{box-shadow:0 0 15px #00c3ff,0 0 25px #33a1ff;}50%{box-shadow:0 0 25px #00ffff,0 0 35px #33a1ff;}100%{box-shadow:0 0 15px #00c3ff,0 0 25px #33a1ff;}}
@keyframes arrowBounce{0%{transform:translateY(0);}100%{transform:translateY(15px);}}
@media (max-width: 768px) {
  .hero-content {
    background-color: rgba(0,0,0,0.5); /* negru semi-transparent */
    padding: 20px;
    border-radius: 12px;
    display: inline-block;           /* să se adapteze textului */
  }

  .hero-title {
    font-size: 28px !important;     /* text mai mic și vizibil */
    line-height: 1.2;
  }

  .hero-text {
    font-size: 14px !important;
    line-height: 1.4;
  }

  .hero-btn {
    padding: 10px 25px !important;
    font-size: 14px !important;
  }

  .hero-arrow {
    font-size: 24px !important;
    margin-top: 10px;
  }
}