/* =========================================
   Mindblowing Agency Homepage v2
========================================= */

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #fff;
  background: #0f172a;
  overflow-x: hidden;
}

/* ---------- HERO ---------- */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(120deg,#0f172a,#111827);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
  0%{background-position:0% 50%;}
  50%{background-position:100% 50%;}
  100%{background-position:0% 50%;}
}

#hero-particles {
  position: absolute;
  top:0; left:0;
  width: 100%; height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 64px;
  margin:0;
  line-height: 1.2;
}

.hero p {
  font-size: 20px;
  margin: 20px 0;
}

.cta {
  display: inline-block;
  padding: 16px 36px;
  background: linear-gradient(90deg,#38bdf8,#818cf8);
  color: white;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s;
}

.cta:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 25px rgba(0,0,0,0.3);
  background: linear-gradient(90deg,#818cf8,#38bdf8);
}

/* ---------- SERVICES ---------- */
.services {
  padding: 100px 20px;
  text-align: center;
  background: #111827;
}

.services h2 { font-size:48px; margin-bottom:50px; }

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-card {
  background: #1e293b;
  padding: 30px;
  width: 260px;
  border-radius: 20px;
  transition: all 0.3s;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.05);
  background: linear-gradient(120deg,#38bdf8,#818cf8);
}

/* ---------- PORTFOLIO ---------- */
.portfolio {
  padding: 100px 20px;
  text-align: center;
}

.portfolio h2 { font-size:48px; margin-bottom:50px; }

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.portfolio-item {
  width: 220px;
  height: 140px;
  background: #1e293b;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.portfolio-item::after {
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.3);
  opacity:0;
  transition:opacity 0.3s;
}

.portfolio-item:hover::after { opacity:1; }
.portfolio-item:hover { transform: rotate(-2deg) scale(1.05); background:#2563eb; }

/* ---------- LIGHTBOX ---------- */
.lightbox { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.95); justify-content:center; align-items:center; z-index:100; }
.lightbox-img { max-width:80%; max-height:80%; }
.lightbox .close { position:absolute; top:20px; right:30px; font-size:40px; cursor:pointer; color:#fff; }

/* ---------- TESTIMONIALS ---------- */
.testimonials { padding:100px 20px; text-align:center; background:#111827; }
.testimonial-carousel { display:flex; gap:20px; justify-content:center; flex-wrap:wrap; }
.testimonial { background:#1e293b; padding:30px; border-radius:15px; width:300px; }

/* ---------- CONTACT CTA ---------- */
.contact-cta { padding:80px 20px; text-align:center; background:#0f172a; }
.contact-cta h2 { font-size:48px; margin-bottom:30px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width:768px){
  .hero h1{font-size:42px;}
  .services-grid,.portfolio-grid,.testimonial-carousel{flex-direction:column;align-items:center;}
}
