/* -------------------------------------------
   DJ MARK A — FULLY RESPONSIVE NEON THEME
------------------------------------------- */

:root {
  --neon: #39ff14;
  --text: #ffffff;
  --overlay: rgba(0,0,0,0.35);
}

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

html, body {
  width: 100%;
  height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background-color: #000;
  overflow-x: hidden;
}

/* -------------------------------------------
   MAIN BACKGROUND
------------------------------------------- */
body.index {
  background: url('images/background.png') no-repeat center center fixed;
  background-size: cover;
  position: relative;
  min-height: 100vh;
}

body.index::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
  z-index: 0;
}

/* -------------------------------------------
   HEADER
------------------------------------------- */
h1 {
  font-size: clamp(1.8rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--neon);
  letter-spacing: 0.1rem;
  margin-top: 14vh; /* more space to clear fixed nav */
  text-align: center;
  z-index: 2;
  position: relative;
  text-shadow: 0 0 12px var(--neon);
}

p.subtitle {
  font-size: clamp(1rem, 2.5vw, 2rem);
  color: var(--text);
  font-weight: bold;
  text-align: center;
  margin-top: 0.5vh;
  margin-bottom: 3vh;
  position: relative;
  z-index: 2;
}

/* -------------------------------------------
   FIXED NAVIGATION BAR — PERFECTLY CENTERED
------------------------------------------- */
nav {
  position: fixed;
  top: 10px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 95%;
  max-width: 1000px;
  background: rgba(0, 0, 0, 0.7);
  border: 3px solid var(--neon);
  border-radius: 10px;
  padding: 10px 5px;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
  z-index: 1000;
  backdrop-filter: blur(4px);
}


/* Keep items in one horizontal line if space allows */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 3vw, 30px);
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

/* Menu links */
nav ul li a {
  text-decoration: none;
  color: var(--neon);
  font-weight: bold;
  font-size: clamp(0.9rem, 1.5vw, 1.3rem);
  padding: 5px 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

nav ul li a:hover {
  color: black;
  background: var(--neon);
  box-shadow: 0 0 12px var(--neon);
}

nav ul li.nav-contact span {
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  text-shadow: 0 0 5px var(--neon);
  color: #fff;
}

/* -------------------------------------------
   IFRAME (CONTENT AREA)
------------------------------------------- */
iframe#contentFrame {
  display: block;
  width: 95%;
  max-width: 900px;
  height: 70vh;
  margin: 140px auto 30px; /* pushes iframe below fixed nav */
  border: 3px solid var(--neon);
  border-radius: 10px;
  background: transparent;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.6);
  backdrop-filter: blur(2px);
  z-index: 2;
  position: relative;
}

/* -------------------------------------------
   PHONE TEXT
------------------------------------------- */
.phone {
  display: block;
  text-align: center;
  color: white;
  font-weight: 900;
  font-size: clamp(1rem, 3vw, 2rem);
  text-shadow: 0 0 8px var(--neon);
  margin-top: 25px;
  z-index: 2;
  position: relative;
}

/* -------------------------------------------
   MEDIA QUERIES — MOBILE OPTIMIZATION
------------------------------------------- */

/* Tablets and small laptops */
@media (max-width: 1024px) {
  nav {
    width: 96%;
  }
  iframe#contentFrame {
    width: 95%;
    height: 65vh;
    margin-top: 130px;
  }
}

/* Mobile (iPhones, small Androids) */
@media (max-width: 768px) {
  nav {
    width: 98%;
    top: 5px;
    padding: 6px 4px;
  }

  nav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  nav ul::-webkit-scrollbar {
    display: none;
  }

  nav ul li a {
    font-size: 0.95rem;
    padding: 4px 6px;
  }

  iframe#contentFrame {
    width: 100%;
    height: 60vh;
    margin-top: 120px;
  }

  .phone {
    font-size: 1.2rem;
    margin-top: 20px;
  }
}

/* Very small devices (iPhone SE, foldables) */
@media (max-width: 480px) {
  nav {
    width: 95%;
    padding: 5px;
  }

  nav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  nav ul li a {
    font-size: 0.9rem;
    padding: 4px 5px;
  }

  iframe#contentFrame {
    width: 100%;
    height: 55vh;
    margin-top: 110px;
  }

  .phone {
    font-size: 1rem;
  }
}
