/* Xtreme Lighting Hire - recreation of the Wix site look */
:root {
  --yellow: #ffe93b;
  --blue: #4fc3f7;
  --green: #39ff14;
  --red: #ff2a2a;
  --white: #ffffff;
  --black: #000000;
  --panel: #0a0a0a;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: "Trebuchet MS", Arial, sans-serif;
  color: var(--white);
  background: var(--black);
  min-height: 100vh;
  /* stage-light glow behind the page, like the Wix background */
  /* SITE BACKGROUND: replace images/site-background.png to change the background image */
  background-image: url("../images/site-background.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.wrap {
  width: 920px;
  max-width: 96%;
  margin: 0 auto;
  padding: 20px 0 0;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--black);
  border-radius: 6px;
  padding: 18px 0 0;
  text-align: center;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.8);
}

.logo {
  display: inline-block;
  text-decoration: none;
  font-size: 46px;
  line-height: 1;
  color: var(--white);
  font-style: italic;
  font-family: "Trebuchet MS", Arial, sans-serif;
  letter-spacing: 1px;
}
.logo .x { color: var(--red); font-weight: bold; font-style: normal; }
.logo .hire { color: var(--green); }

.nav {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  list-style: none;
  padding: 0;
  background: var(--black);
}
.nav > li { position: relative; flex: 1; }
.nav > li > a {
  display: block;
  padding: 10px 0;
  text-align: center;
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.5px;
}
.nav > li > a:hover,
.nav > li > a.active { background: var(--yellow); color: var(--black); }

/* simple dropdown for Lighting sub-pages */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--panel);
  border: 1px solid #222;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 10;
}
.nav > li:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 8px 12px;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
}
.dropdown a:hover { background: var(--yellow); color: var(--black); }

/* ---------- Main layout ---------- */
.main {
  display: flex;
  gap: 18px;
  margin-top: 20px;
  align-items: flex-start;
}

.side {
  width: 300px;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.82);
  border-radius: 6px;
  padding: 18px 16px;
}

.content {
  flex: 1;
  background: rgba(0, 0, 0, 0.82);
  border-radius: 6px;
  padding: 18px 20px 26px;
  min-height: 420px;
}

/* Hero headline in the sidebar */
.hero-title {
  margin: 0;
  font-family: Impact, "Arial Black", Arial, sans-serif;
  font-size: 46px;
  line-height: 0.95;
  text-transform: uppercase;
}
.hero-title .w { color: var(--white); display: block; }
.hero-title .b { color: var(--blue); display: block; }
.hero-title .g { color: var(--green); display: block; }
.hero-title .r { color: var(--red); display: block; font-size: 30px; }

.side p { font-size: 15px; line-height: 1.5; margin: 14px 0 10px; }
.side .area { font-size: 14px; }
.side a.mail { color: var(--green); }

.phone {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  color: var(--red);
  margin: 12px 0;
}

.keep-touch {
  font-family: Impact, Arial, sans-serif;
  color: var(--blue);
  font-size: 22px;
  margin: 18px 0 8px;
  letter-spacing: 1px;
}

.social a { display: inline-block; margin-right: 10px; }
.social img { width: 40px; height: 40px; }
.social .fb {
  display: inline-block; width: 40px; height: 40px; background: #1877f2;
  color: #fff; text-align: center; line-height: 40px; font: bold 26px Arial; border-radius: 2px;
}
.social .yt {
  display: inline-block; width: 40px; height: 28px; background: #ff0000;
  border-radius: 8px; margin-top: 6px; position: relative;
}
.social .yt::after {
  content: ""; position: absolute; left: 15px; top: 7px;
  border-left: 10px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}

/* ---------- Content page ---------- */
.content h1 {
  font-family: Arial, sans-serif;
  color: var(--yellow);
  font-size: 30px;
  text-align: center;
  margin: 6px 0 22px;
  font-weight: bold;
}
.content h2 {
  color: var(--blue);
  font-size: 22px;
  margin: 26px 0 8px;
}
.content p, .content li { font-size: 16px; line-height: 1.6; }
.content .placeholder {
  border: 1px dashed #555;
  padding: 12px;
  color: #aaa;
  font-style: italic;
  font-size: 14px;
}

/* Slideshow gallery (matches the "press to zoom" gallery on the home page) */
.gallery {
  position: relative;
  margin: 0 auto;
  width: 540px;
  max-width: 100%;
}
.gallery-stage {
  width: 100%;
  height: 360px;
  background: #111 center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  padding: 8px;
  text-align: center;
  font-size: 15px;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 0;
  font-size: 26px;
  padding: 4px 12px;
  cursor: pointer;
}
.gallery-nav.prev { left: 6px; }
.gallery-nav.next { right: 6px; }
.gallery-count { text-align: center; font-size: 14px; margin-top: 6px; color: #ccc; }

.main-heading {
  text-align: center;
  color: var(--yellow);
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 30px;
  margin: 0 0 18px;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 30px;
  background: transparent;
  padding: 18px 0 40px;
  text-align: center;
  color: var(--yellow);
  font-size: 14px;
  border-radius: 6px 6px 0 0;
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .main { flex-direction: column; }
  .side, .content { width: 100%; }
  .nav { flex-wrap: wrap; }
  .nav > li { flex: 1 1 33%; }
  .gallery { width: 100%; }
  .gallery-stage { height: 240px; }
}

/* Logo image */
.logo-img { display: block; width: 100%; max-width: 679px; height: auto; margin: 0 auto; }

/* Lighting category pages */
.intro { font-size: 16px; line-height: 1.6; text-align: center; max-width: 720px; margin: 0 auto 26px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 18px; }
.item-img { background: #111; aspect-ratio: 4 / 3; overflow: hidden; }
.item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item h3 { color: var(--red); font-family: Arial, sans-serif; font-size: 17px; font-weight: normal; margin: 8px 0 4px; }
.item p { font-size: 14px; line-height: 1.5; margin: 0; }
.cat-list { list-style: none; padding: 0; margin: 0; max-width: 360px; margin: 0 auto; }
.cat-list li { border-bottom: 1px solid #222; }
.cat-list a { display: block; padding: 12px 6px; color: var(--yellow); text-decoration: none; font-size: 18px; }
.cat-list a:hover { background: var(--yellow); color: #000; }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr 1fr; } }

/* Page banners and inset map */
.banner-row { display: flex; gap: 10px; margin-top: 26px; }
.banner-row img { flex: 1; width: 0; height: 170px; object-fit: cover; }
.banner { display: block; width: 100%; height: auto; margin-top: 26px; }
.map-wrap { position: relative; width: 100%; max-width: 640px; padding-bottom: 75%; height: 0; margin: 18px 0; }
.map-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .banner-row { flex-direction: column; } .banner-row img { height: 180px; } }

/* Full-width page layout (Hire, Lighting) */
.page-head { color: var(--yellow); font-family: Arial, sans-serif; font-weight: bold; font-size: 40px; margin: 22px 4px 14px; }
.panel { background: rgba(0, 0, 0, 0.92); border-radius: 6px; padding: 24px 26px 30px; }
.panel p { font-size: 17px; line-height: 1.6; margin: 0 0 22px; }
.panel p a { color: var(--red); }
.panel .banner-row { margin-top: 10px; }
