/* -------------------------------------------------
   MEDIA TERROR INTERNATIONAL — GLOBAL STYLES
   ------------------------------------------------- */
:root {
  --clr-bg: #000;
  --clr-bg-alt: #0a0a0a;
  --clr-text: #ffffff;
  --clr-muted: #888;
  /* Softer accent for modern minimalist design */
  --clr-accent: #f5f5f5;
  --clr-accent-soft: rgba(245, 245, 245, 0.12);

  --ff-base: "Inter", sans-serif;
  --ff-display: "Orbitron", sans-serif;

  --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);

  --radius: 12px;
  --glass-blur: 20px;
}

html,
body {
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--ff-base);
}

* {
  box-sizing: border-box;
}

img,
video {
  max-width: 100%;
  display: block;
}

/* Utility */
.container {
  width: min(1200px, 90%);
  margin-inline: auto;
}
.section {
  position: relative;
  padding: 2rem 0;
}
.section__title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 1rem + 4vw, 3.25rem);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--clr-accent);
}
.section__text {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 60ch;
}

/* Buttons */
.btn {
  background: transparent;
  border: 2px solid var(--clr-accent);
  color: var(--clr-accent);
  padding: 0.75rem 2rem;
  font-family: var(--ff-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background var(--transition-fast), color var(--transition-fast),
    box-shadow var(--transition-fast), transform var(--transition-fast);
}
.btn:hover {
  background: var(--clr-accent);
  color: var(--clr-bg);
  /* Subtle shadow */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}
.btn.accent {
  background: var(--clr-accent);
  color: var(--clr-bg);
}

/* ================= HERO ================= */
.hero {
  height: 70vh; /* slightly shorter so About is visible sooner */
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #070707 0%, #000 100%);
  position: relative;
}
.hero__overlay {
  display: none; /* Remove neon radial glow */
}
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.hero__logo {
  width: clamp(180px, 32vw, 320px);
  animation: logo-pulse 4s ease-in-out infinite;
}
@keyframes logo-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  max-width: 800px;
  line-height: 1.1;
  text-shadow: 0 0 10px var(--clr-accent);
}
.hero__tagline {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text-secondary);
  margin-top: 1rem;
  max-width: 600px;
  line-height: 1.6;
}
.hero__tagline .accent {
  color: var(--clr-accent);
}
.scroll-down {
  margin-top: 1rem;
}

/* ================= HERO BLURRED LOGOS BG ================= */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.page-bg-logo {
  position: absolute;
  width: 80px;
  height: 80px;
  opacity: 0.35;
  filter: blur(1px) brightness(1.1);
  transition: transform 8s linear;
  /* Example: background-image: url('assets/yourlogo.png'); background-size: contain; background-repeat: no-repeat; */
}
.page-bg-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.8;
  filter: blur(0.2px) brightness(1.1);
}

/* ================= PRODUCTS ================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--clr-bg-alt);
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
}
.card__media {
  aspect-ratio: 16/9;
  width: 100%;
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: brightness(0.8);
  transition: filter var(--transition-fast) linear;
}
.card__title {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  margin: 1rem;
  color: var(--clr-accent);
}
.card__desc {
  margin: 0 1rem 2rem;
  font-size: 0.95rem;
  color: var(--clr-muted);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.card:hover .card__media {
  filter: brightness(1);
}

/* ================= TEAM ================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.team-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  isolation: isolate;
}
.team-card__img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform var(--transition-slow) ease-out;
}
.team-card__overlay {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.team-card__name {
  font-family: var(--ff-display);
  color: var(--clr-accent);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.team-card__role {
  font-size: 0.9rem;
  color: var(--clr-text);
}
.team-card:hover .team-card__img {
  transform: scale(1.1);
}
.team-card:hover .team-card__overlay {
  opacity: 1;
}

/* ================= CONTACT ================= */
.contact-form {
  max-width: 600px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-row {
  display: flex;
  gap: 1rem;
}
.contact-form input,
.contact-form textarea {
  flex: 1;
  background: rgb(255 255 255 / 0.02);
  border: 1px solid rgb(255 255 255 / 0.08);
  backdrop-filter: blur(var(--glass-blur));
  padding: 1rem;
  color: var(--clr-text);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--ff-base);
  transition: border var(--transition-fast), box-shadow var(--transition-fast);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 10px var(--clr-accent);
}
textarea {
  resize: vertical;
}

/* ================= FOOTER ================= */
.footer {
  text-align: center;
  padding: 2rem 0;
  background: var(--clr-bg-alt);
  font-size: 0.875rem;
  color: var(--clr-muted);
}

/* ================= SCROLL ANIMATIONS ================= */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
}

/* ================= PROMO VIDEO ================= */
.promo__video {
  width: 70%;
  max-width: 900px;
  min-width: 240px;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  aspect-ratio: 16/9;
}

/* Reduce space for promo section */
.promo.section {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

main, header, section, footer, .hero__content, .container {
  position: relative;
  z-index: 1;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .hero__title {
    font-size: 2.5rem;
    max-width: 90vw;
    line-height: 1.2;
  }
  
  .hero__tagline {
    font-size: 1rem;
    max-width: 90vw;
    margin-top: 0.8rem;
    line-height: 1.4;
  }
  
  .hero__logo {
    width: 120px;
    height: 120px;
  }
  
  /* Optimize animations for mobile */
  .page-bg-logo {
    transition: transform 12s linear;
    will-change: transform;
  }
  
  .page-bg-logo:nth-child(odd) {
    animation: float 15s ease-in-out infinite;
  }
  
  .page-bg-logo:nth-child(even) {
    animation: float 18s ease-in-out infinite reverse;
  }
  
  /* Reduce particle count on mobile */
  .particle {
    display: none;
  }
  
  /* Simplify card animations */
  .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
    max-width: 95vw;
  }
  
  .hero__tagline {
    font-size: 0.9rem;
    max-width: 95vw;
  }
  
  .hero__logo {
    width: 100px;
    height: 100px;
  }
  
  /* Further optimize for small screens */
  .page-bg-logo {
    width: 60px;
    height: 60px;
    opacity: 0.25;
  }
  
  .page-bg-logo img {
    opacity: 0.6;
  }
} 