/* =========================
   Fonts (optimized)
   ========================= */
/* Nulshock Font */
@font-face {
  font-family: "Nulshock";
  src: url("../fonts/nulshock.woff2") format("woff2"),
       url("../fonts/nulshock.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* BebasNeue Font */
@font-face {
  font-family: "BebasNeue";
  src: url("../fonts/bebasneue.woff2") format("woff2"),
       url("../fonts/bebasneue.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* PerfectDark Font */
@font-face {
  font-family: "PerfectDark";
  src: url("../fonts/perfectdark.woff2") format("woff2"),
       url("../fonts/perfectdark.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Roboto Font */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto.woff2") format("woff2"),
       url("../fonts/roboto.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


/* =========================
   Reset & Base
   ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  scroll-behavior: smooth;
}

html, body { height: 100%; }

.main-area {
  margin: 0 auto 0;
}

body {
  display: flex;
  flex-direction: column;
  background-color: #222;
  background-image:
    radial-gradient(circle, rgb(255, 255, 255) 1px, transparent 1px), /* perforation dots */
    linear-gradient(45deg, rgb(120, 120, 120), rgb(255, 255, 255)),        /* rusty gradient */
    radial-gradient(ellipse at bottom, rgba(73, 66, 61, 0.8), transparent), /* smokey shadow */
    radial-gradient(circle, rgb(0, 0, 0), transparent 70%);                 /* subtle highlight */
  background-size: 10px 10px, cover, cover, cover;
  background-blend-mode: overlay, multiply, normal, normal;
  background-attachment: fixed;
  background-position: center;
  color: white;
  height: 100vh;
}

main { flex: 1; }

/* =========================
   Header Wrapper
   - desktop: edge tint only
   - mobile: center white gradient
   ========================= */
.header-wrapper {
  position: fixed;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
  backdrop-filter: blur(2px);
  /* Desktop: soft tint from both edges, clear middle */
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* On small screens: add a soft WHITE gradient/bloom in the middle
   while keeping the blur and a subtle edge fade. */
@media (max-width: 1000px) {
  .header-wrapper {
    background:
      linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
      );
  }
}




/* =========================
   Logo & Header
   ========================= */
.logo-container {
  position: fixed;
  display: flex;
  align-items: center;
  padding: 0 10px;
  z-index: 20;
}

.logo {
  height: 80px;
  width: auto;
  display: block;
  z-index: 21;
}

header {
  position: fixed;
  top: 15px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  padding: 0 0 0 80px;
  clip-path: polygon(100px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 100px);
  border-bottom: 5px solid #ff8800;
  z-index: 21;
}

/* Slashed area highlighter */
header::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 80px; height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  z-index: -1;
}

/* Hover effect on Home link */
header:has(nav ul li a.home:hover)::before {
  background: #ff6600;
}

/* =========================
   Navigation
   ========================= */
header nav ul {
  display: flex;
  list-style: none;
}

header nav ul li {
  flex: 1;
  width: 160px;
  text-align: center;
  position: relative;
  margin: 0;
}

header nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  font-family: "Nulshock", sans-serif;
  font-weight: bold;
  padding: 15px 25px;
  display: block;
  transition: background 0.3s ease;
}

/* Hover + focus for accessibility */
header nav ul li a:hover,
header nav ul li a:focus {
  background: #ff6600;
  outline: none;
}

/* =========================
   Hamburger / Mobile Nav
   ========================= */
.nav-toggle { display: none; }

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  position: absolute;
  right: 20px;
  top: 25px;
  z-index: 30;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: orange;
  margin: 4px 0;
  border-radius: 50px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 1000px) {
  .hamburger {
    display: flex;
    top: 0;
    transform: translateY(50%);
  }

  header {
    border-bottom: none;
    clip-path: none;
    padding-left: 80px;
  }

  .logo-container {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
  }

  header nav {
    position: absolute;
    top: 70px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 0;
    z-index: 20;
    clip-path: polygon(
      20px 0,
      100% 0,
      100% calc(100% - 20px),
      calc(100% - 20px) 100%,
      0 100%,
      0 20px
    );
    width: max-content;
    padding: 8px 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, clip-path 0.3s ease;
  }

  .nav-toggle:checked ~ nav {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  header nav ul {
    flex-direction: column;
  }

  header nav ul li {
    margin: 10px 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

    nav ul li:first-child a {
    clip-path: polygon(15px 0, 100% 0, 100% 100%, 0 100%, 0 15px);
  }

  /* Only the bottom-right cut for Contact */
  nav ul li:last-child a {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  }

  .nav-toggle:checked ~ nav ul li { opacity: 1; transform: translateY(0); }
  .nav-toggle:checked ~ nav ul li:nth-child(1) { transition-delay: 0.1s; }
  .nav-toggle:checked ~ nav ul li:nth-child(2) { transition-delay: 0.15s; }
  .nav-toggle:checked ~ nav ul li:nth-child(3) { transition-delay: 0.2s; }
  .nav-toggle:checked ~ nav ul li:nth-child(4) { transition-delay: 0.25s; }
  .nav-toggle:checked ~ nav ul li:nth-child(5) { transition-delay: 0.3s; }

  /* Hamburger to X */
  .nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .banner-slide img {
    height: auto !important;
    width: 100%;
    object-fit: cover;
    justify-content: center;
  }
}

/* =========================
   Banner
   ========================= */
#banner {
  padding-top: 80px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 10px 0px rgba(0, 0, 0, 0.6);
}

.banner-container {
  position: relative;
  display: flex;
  transition: transform 1s ease-in-out;
}

.banner-slide {
  min-width: 100%;
  position: relative;
}

.banner-slide img {
  width: 100%;
  max-height: auto;
  object-fit: cover;
  display: block;
}

.center-bottom { object-position: center bottom; }

/* Banner Info */
.banner-info {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: white;
  padding: 10px;
  width: 300px;
  height: auto;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.banner-info:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, black -100%, transparent 100%);
  z-index: 2;
  clip-path: polygon(
    15px 0,
    100% 0,
    100% calc(100% - 15px),
    calc(100% - 15px) 100%,
    0 100%,
    0 15px
  );
}

.banner-info h2,
.banner-info p {
  position: relative;
  z-index: 3;
}

.banner-info h2 {
  font-size: 24px;
  font-weight: bold;
  font-family: "Nulshock", sans-serif;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.banner-info p {
  font-size: 16px;
  text-align: justify;
}

/* =========================
   Marquee
   ========================= */
.marquee-container {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  height: 40px;
  margin-top: 2px;
  margin-bottom: -1px;
  z-index: -2;
}

.marquee {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 10s linear infinite;
  font-size: 40px;
  font-family: "BebasNeue", sans-serif;
  letter-spacing: 2px;
  color: rgb(255, 165, 0);
}

.marquee .bold-italic {
  font-family: "BebasNeue", sans-serif;
  font-weight: bold;
  font-style: italic;
}

.marquee .bold-only {
  font-family: "BebasNeue", sans-serif;
  font-weight: bold;
  font-style: italic;
  color: rgb(255, 216, 45);
}

.marquee .bold-only-2 {
  font-family: "BebasNeue", sans-serif;
  font-weight: bold;
  font-style: italic;
  color: rgb(255, 230, 0);
}

@keyframes marquee {
  from { transform: translateX(0%); }
  to   { transform: translateX(-100%); }
}

/* =========================
   Cards
   ========================= */
#cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 300px));
  justify-content: center;
  gap: 25px;
  padding: 40px 10px;
  margin: 0;
  position: relative;
}

@media (min-width: 1000px) {
  #cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
  }
}

#cards::before,
#cards::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 15px;
  background: linear-gradient(
    90deg,
    rgba(255, 136, 0, 0.8) 0%,
    rgba(255, 136, 0, 0.8) 25%,
    rgba(255, 0, 234, 0.5) 50%,
    rgba(255, 136, 0, 0.8) 75%,
    rgba(255, 136, 0, 0.9) 100%
  );
  background-size: 400% 100%;
  animation: glow-flow 6s linear infinite;
  z-index: 1;
}

#cards::before {
  top: 0;
  box-shadow: 0 -10px 5px rgba(0, 0, 0, 0.5);
}

.card {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: auto;
  aspect-ratio: 380 / 550;
  overflow: visible;
  transition: transform 0.3s ease;
  box-shadow: 0 15px 10px rgba(0, 0, 0, 0.5);
  border-top-left-radius: 80px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 80px;
  border-bottom-left-radius: 0;
}


.card-inner {
  transform: translateY(20px);
  position: relative;
  width: 100%;
  height: 100%;
  clip-path: polygon(
    40px 0,
    100% 0,
    100% calc(100% - 40px),
    calc(100% - 40px) 100%,
    0 100%,
    0 40px
  );
  overflow: hidden;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.4s; }
.card:nth-child(3) { animation-delay: 0.6s; }
.card:nth-child(4) { animation-delay: 0.8s; }
.card:nth-child(5) { animation-delay: 1s; }

.card-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  /*background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0) 50%
  );*/
  z-index: 1;
}

.card h3,
.card p {
  position: absolute;
  z-index: 2;
  color: white;
  text-align: center;
  width: 100%;
  padding: 0 10px;
  font-family: "Orbitron", sans-serif;
}

.card h3 {
  top: 20px;
  font-family: "Nulshock", sans-serif;
  font-size: 22px;
  font-weight: bold;
}

.card p {
  top: 70px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
}

.card:hover { transform: scale(1.05); }

/* =========================
   Glowing Lines
   ========================= */
.glowing-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  margin-top: 90px;
  overflow: visible;
}

.glowing-line::before,
.glowing-line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 15px;
  background: linear-gradient(
    90deg,
    rgba(255, 136, 0, 0.8) 0%,
    rgba(255, 136, 0, 0.8) 25%,
    rgba(255, 0, 234, 0.5) 50%,
    rgba(255, 136, 0, 0.8) 75%,
    rgba(255, 136, 0, 0.8) 100%
  );
  background-size: 400% 100%;
  animation: glow-flow 6s linear infinite;
  z-index: 2;
}

.glowing-line::before {
  top: 0;
  box-shadow: 0 10px 5px rgba(0, 0, 0, 0.4);
}

.glowing-line::after {
  top: 0;
  box-shadow: 0 -10px 5px rgba(0, 0, 0, 0.4);
}

.glowing-line.bottom { margin-bottom: 20px; margin-top: 0px; }

@keyframes glow-flow {
  0%   { background-position: 0% 0%; }
  100% { background-position: 100% 0%; }
}

/* =========================
   Footer
   ========================= */
footer {
  color: white;
  text-align: center;
  padding: 10px;
  margin-top: 5px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 -8px 12px rgba(0, 0, 0, 0.5);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  backdrop-filter: blur(1px);
}

footer p {
  font-size: 12px;
  font-family: "Nulshock", sans-serif;
  margin: 0;
}

footer .email { font-family: "Roboto", sans-serif; margin: 5px 0; }
footer .email-text { font-family: "Nulshock", sans-serif; }
footer .email-address { font-size: 16px; font-family: "Roboto", sans-serif; }

.social-icons {
  text-align: center;
  margin-top: 5px;
  margin-bottom: 10px;
}

.social-icons a { display: inline-block; margin: 0 10px; }

.social-icons img {
  width: 35px;
  height: 35px;
  transition: transform 0.3s;
}

.social-icons img:hover { transform: scale(1.2); }
.social-icons img.youtube-icon { width: 50px; height: 35px; }


/* =========================
   Footer Links
   ========================= */
.footer-links {
    margin-bottom: 10px; /* Add space below the links */
    text-align: center;   /* Center the links horizontally */
}

.footer-links a {
    color: white;
    font-family: "Nulshock", sans-serif;
    font-size: 12px;
    text-decoration: none;
    transition: 0.2s;
    margin: 0 5px; /* optional: spacing between links */
}

.footer-links a:hover {
    text-shadow: 0 0 10px var(--orange), 0 0 20px var(--orange);
     border-bottom: 1px solid var(--orange);
}


/* =========================
   Glitch Effect (clip-path)
   ========================= */
.glitch {
  position: relative;
  display: inline-block;
  font-size: 3em;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: glitch-flicker 2s infinite;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  color: #fff;
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 red;
  animation: glitch-before 2s infinite;
}

.glitch::after {
  left: -2px;
  text-shadow: -2px 0 blue;
  animation: glitch-after 2s infinite;
}

/* Main flicker effect */
@keyframes glitch-flicker {
  0%, 100% { opacity: 1; transform: none; }
  92% { opacity: 0.9; transform: skew(0.5deg); }
  94% { opacity: 0.8; transform: skew(-0.5deg); }
  96% { opacity: 0.6; transform: scale(1.01); }
  98% { opacity: 0.8; transform: skew(0.5deg); }
}

/* Red ghost */
@keyframes glitch-before {
  0% { clip-path: inset(0 0 80% 0); transform: translate(-2px, -2px); }
  20% { clip-path: inset(10% 0 60% 0); transform: translate(-5px, 2px); }
  40% { clip-path: inset(30% 0 40% 0); transform: translate(3px, -1px); }
  60% { clip-path: inset(60% 0 20% 0); transform: translate(-1px, 3px); }
  80% { clip-path: inset(20% 0 60% 0); transform: translate(2px, -2px); }
  100% { clip-path: inset(0 0 80% 0); transform: translate(0, 0); }
}

/* Blue ghost */
@keyframes glitch-after {
  0% { clip-path: inset(60% 0 20% 0); transform: translate(2px, 2px); }
  20% { clip-path: inset(20% 0 60% 0); transform: translate(4px, -2px); }
  40% { clip-path: inset(40% 0 40% 0); transform: translate(-3px, 1px); }
  60% { clip-path: inset(10% 0 70% 0); transform: translate(1px, -3px); }
  80% { clip-path: inset(50% 0 30% 0); transform: translate(-2px, 2px); }
  100% { clip-path: inset(60% 0 20% 0); transform: translate(0, 0); }
}


/* =========================
   CSS Variables
   ========================= */
:root {
  --orange: #ffa500;
  --black: #000;
  --dark-bg: #111;
  --white: #eee;
  --pink: #ff00ff;
  --blue: #00ffff;
  --yellow: #ffee00;
  --purple: #991cff;
}

/* =========================
   Motion preferences
   ========================= */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

