/* =========================================================
   DJ KINETIX — neon / laser theme
   ========================================================= */
:root {
  --bg: #01040f;
  --bg-2: #01040f;
  --nav: #00050e;
  --line: rgba(140, 150, 255, 0.14);
  --text: #e9ecff;
  --muted: #c3c8e6;
  --cyan: #19c8ff;
  --blue: #3d6bff;
  --purple: #8b3dff;
  --magenta: #c13cff;
  --grad: linear-gradient(90deg, #12b8ff 0%, #3a63ff 50%, #8f3dff 100%);
  --glow: 0 0 18px rgba(40, 140, 255, .55), 0 0 40px rgba(140, 60, 255, .35);
  --head: "Rajdhani", "Arial Narrow", sans-serif;
  --body: "Roboto", system-ui, sans-serif;
  --brush: "Permanent Marker", cursive;
  --art-w: 1214;
  --art-h: 1295;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

.container { width: min(1100px, 100% - 48px); margin-inline: auto; }

/* ---------- Image crops from the design art ----------
   Each crop shows a rectangle (x, y, w, h) of images/kinetix-art.webp */
.crop {
  display: block;
  background-image: url("../images/kinetix-art.webp");
  background-repeat: no-repeat;
  background-size: calc(var(--art-w) / var(--w) * 100%) calc(var(--art-h) / var(--h) * 100%);
  background-position:
    calc(var(--x) / (var(--art-w) - var(--w)) * 100%)
    calc(var(--y) / (var(--art-h) - var(--h)) * 100%);
  aspect-ratio: var(--w) / var(--h);
}
.crop-logo        { --x: 60;  --y: 8;    --w: 302; --h: 58; }
.crop-hero-title  { --x: 62;  --y: 130;  --w: 556; --h: 222; }
.crop-hero-photo  { --x: 616; --y: 72;   --w: 598; --h: 526; }
.crop-any-event   { mix-blend-mode: screen; --x: 68;  --y: 804;  --w: 340; --h: 100; }
.crop-lets-make   { --x: 88;  --y: 1134; --w: 314; --h: 132; }
.crop-g0          { --x: 528; --y: 802;  --w: 435; --h: 290; }
.crop-g1          { --x: 985; --y: 802;  --w: 157; --h: 85; }
.crop-g2          { --x: 985; --y: 904;  --w: 157; --h: 85; }
.crop-g3          { --x: 985; --y: 1007; --w: 157; --h: 85; }

/* Gallery uses upscaled + sharpened versions of the crops above */
.crop.crop-g0, .crop.crop-g1, .crop.crop-g2, .crop.crop-g3 { background-size: 100% 100%; background-position: center; }
.crop.crop-g0 { background-image: url("../images/gallery-1.jpg"); }
.crop.crop-g1 { background-image: url("../images/gallery-2.jpg"); }
.crop.crop-g2 { background-image: url("../images/gallery-3.jpg"); }
.crop.crop-g3 { background-image: url("../images/gallery-4.jpg"); }

/* ---------- Buttons ---------- */
.btn-glow {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--grad);
  box-shadow: var(--glow), inset 0 0 0 2px rgba(190, 150, 255, .55);
  font-family: var(--head); font-weight: 700; font-size: 16px;
  letter-spacing: .14em; text-transform: uppercase; color: #fff;
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn-glow:hover { transform: translateY(-2px); filter: brightness(1.15);
  box-shadow: 0 0 26px rgba(40, 150, 255, .8), 0 0 60px rgba(150, 60, 255, .55), inset 0 0 0 2px rgba(210, 180, 255, .8); }
.btn-glow.full { width: 100%; justify-content: center; }
.arrow { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn-glow:hover .arrow { transform: translateX(4px); }

.btn-outline {
  padding: 9px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: linear-gradient(var(--nav), var(--nav)) padding-box, var(--grad) border-box;
  font-weight: 500; font-size: 15px;
  box-shadow: 0 0 14px rgba(120, 80, 255, .35);
  transition: box-shadow .2s, background .2s;
}
.btn-outline:hover { box-shadow: 0 0 22px rgba(80, 140, 255, .7); background: linear-gradient(#0d1030, #0d1030) padding-box, var(--grad) border-box; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 5, 14, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .04);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-logo .crop { height: 52px; }
.nav-menu { display: flex; align-items: center; gap: 40px; }
.nav-link { position: relative; font-size: 15px; color: #d7dbf5; padding: 6px 0; transition: color .2s; }
.nav-link::after {
  content: ""; position: absolute; left: -10px; right: -10px; bottom: -8px; height: 2px;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
  transform: scaleX(0); transition: transform .25s;
}
.nav-link:hover { color: #fff; }
.nav-link.active { color: #3fc6ff; font-weight: 500; }
.nav-link.active::after { transform: scaleX(1); }
.nav-menu .btn-outline { margin-left: 4px; }

.nav-toggle { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 6px; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(540px, 44vw, 720px);
  display: flex; align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 30%, #10135a 0%, #070928 40%, var(--bg) 80%);
}
.lasers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-photo {
  position: absolute; top: 0; right: 0; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 75%, var(--bg) 100%);
}
.hero-content { position: relative; padding: 50px 0 60px; }
.hero-title { width: min(556px, 100%); margin-left: -12px; }
.hero-title .crop {
  width: 100%;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 70%, transparent 100%);
          mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 70%, transparent 100%);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  filter: drop-shadow(0 0 12px rgba(60, 140, 255, .35));
}
.tagline {
  font-family: var(--head); font-weight: 700; font-size: 19px;
  letter-spacing: .32em; text-transform: uppercase; margin: 6px 0 24px;
}
.tagline i { font-style: normal; margin: 0 .6em; }
.hero-text { max-width: 400px; font-size: 15px; color: #e3e6fa; margin-bottom: 30px; line-height: 1.6; }

/* ---------- Features ---------- */
.features {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 36px 0 30px;
}
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { text-align: center; padding: 0 16px; position: relative; }
.feature + .feature::before {
  content: ""; position: absolute; left: 0; top: 16px; bottom: 6px; width: 1px;
  background: linear-gradient(transparent, rgba(150, 160, 255, .25), transparent);
}
.ico {
  width: 46px; height: 46px; margin-bottom: 14px;
  fill: none; stroke: url(#neon); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(110, 100, 255, .6));
  transition: transform .3s;
}
.feature:hover .ico { transform: translateY(-4px) scale(1.06); }
.feature h3 {
  font-family: var(--head); font-weight: 700; font-size: 16px;
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: 12px;
}
.feature p { font-size: 14px; color: var(--muted); }

/* ---------- Events + gallery ---------- */
.events { padding: 22px 0 22px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.events-grid { display: grid; grid-template-columns: 0.95fr 1.6fr; gap: 40px; align-items: center; }
.crop-any-event { width: min(340px, 100%); margin: 6px 0 14px -4px; }
.event-types { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.event-types li {
  display: flex; align-items: center; gap: 18px;
  font-family: var(--head); font-weight: 600; font-size: 14px;
  letter-spacing: .1em; text-transform: uppercase;
  transition: color .2s;
}
.event-types li:hover { color: var(--cyan); }
.event-types svg {
  flex: none; width: 32px; height: 32px;
  fill: none; stroke: url(#neon); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(110, 100, 255, .55));
}

.gallery { display: grid; grid-template-columns: 2.8fr 1fr; gap: 18px; }
.gallery-main, .thumb {
  position: relative; overflow: hidden; display: block;
  border: 1px solid rgba(160, 170, 255, .45);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6);
  transition: border-color .25s, box-shadow .25s;
}
.gallery-main { aspect-ratio: 435 / 290; cursor: zoom-in; }
.gallery-main .crop { position: absolute; top: 0; left: 50%; height: 100%; transform: translateX(-50%); transition: opacity .3s; }
.gallery-thumbs { display: grid; grid-template-rows: repeat(3, 1fr); gap: 14px; }
.thumb { aspect-ratio: 157 / 85; }
.thumb .crop { position: absolute; left: 0; top: 50%; width: 100%; transform: translateY(-50%); transition: transform .35s; }
.thumb:hover .crop { transform: translateY(-50%) scale(1.08); }
.gallery-main:hover, .thumb:hover { border-color: var(--cyan); box-shadow: 0 0 16px rgba(40, 170, 255, .5); }
.gallery-main .crop.fade { opacity: 0; }

/* ---------- About ---------- */
.about { padding: 80px 0; border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 85% 50%, rgba(80, 50, 200, .16), transparent 60%), var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; align-items: start; }
.eyebrow { font-family: var(--head); font-weight: 700; font-size: 17px; letter-spacing: .3em; text-transform: uppercase; }
.brush {
  font-family: var(--brush); font-weight: 400; font-size: clamp(38px, 5vw, 56px); line-height: 1.05;
  background: linear-gradient(90deg, #1ec3ff, #4a6bff 55%, #8f3dff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: skewX(-8deg); display: inline-block;
  filter: drop-shadow(0 0 10px rgba(60, 120, 255, .45));
}
.about-text p { color: var(--muted); margin-bottom: 16px; font-size: 15.5px; }
.stats { display: flex; gap: 46px; margin-top: 28px; flex-wrap: wrap; }
.stats strong {
  display: block; font-family: var(--head); font-size: 44px; line-height: 1; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats strong::after { content: "+"; }
.stats div:last-child strong::after { content: ""; }
.stats span { font-family: var(--head); font-weight: 600; letter-spacing: .15em; text-transform: uppercase; font-size: 13px; color: var(--muted); }

/* ---------- CTA / footer ---------- */
.cta {
  position: relative; overflow: hidden;
  padding: 26px 0 0;
  background: radial-gradient(ellipse at 50% 120%, #0b1050 0%, var(--bg) 70%);
}
.cta-grid {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 1.2fr 1fr; align-items: center;
}
.crop-lets-make {
  width: min(314px, 100%);
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 70%, transparent 100%);
          mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 70%, transparent 100%);
}
.cta-middle {
  padding: 4px 40px; border-left: 1px solid rgba(255, 255, 255, .2); border-right: 1px solid rgba(255, 255, 255, .2);
}
.cta-middle p { font-size: 14px; margin-bottom: 22px; line-height: 1.6; }
.cta-middle .btn-glow { padding: 14px 30px; }
.contact-list { padding-left: 64px; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.contact-list svg { width: 22px; height: 22px; fill: none; stroke: url(#neon); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.contact-list .fill { fill: #8f3dff; stroke: none; }
.contact-list a:hover { color: var(--cyan); text-shadow: 0 0 10px rgba(30, 190, 255, .6); }
.copyright { position: relative; z-index: 1; text-align: center; font-size: 12px; color: #7d83a8; padding: 26px 0 18px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden], .lightbox[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2, 3, 10, .82); backdrop-filter: blur(6px); animation: fade .25s; }
.modal-card {
  position: relative; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  padding: 34px 32px 30px; border-radius: 18px;
  background: linear-gradient(#0a0c22, #070816) padding-box, var(--grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 0 50px rgba(80, 90, 255, .35);
  animation: pop .3s cubic-bezier(.2, 1.4, .4, 1);
}
.modal-close { position: absolute; top: 12px; right: 16px; font-size: 32px; line-height: 1; color: #9aa0c8; }
.modal-close:hover { color: #fff; }
.modal-sub { color: var(--muted); font-size: 14px; margin: 8px 0 22px; }
#booking-form { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#booking-form label {
  display: grid; gap: 6px;
  font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .15em; text-transform: uppercase;
}
#booking-form input, #booking-form select, #booking-form textarea {
  width: 100%; padding: 11px 13px; border-radius: 10px;
  background: #0d1030; border: 1px solid rgba(140, 150, 255, .28); color: #fff;
  font: 400 15px var(--body); letter-spacing: 0; text-transform: none;
  transition: border-color .2s, box-shadow .2s;
  color-scheme: dark;
}
#booking-form textarea { resize: vertical; }
#booking-form :is(input, select, textarea):focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(25, 200, 255, .2); }
#booking-form .invalid { border-color: #ff4d8d; }
.form-error { color: #ff6b9e; font-size: 14px; min-height: 1em; }
.form-success { text-align: center; }
.form-success h3 { font-family: var(--head); font-size: 26px; letter-spacing: .1em; margin: 6px 0 10px; }
.form-success p { color: var(--muted); margin-bottom: 22px; }
.form-success a { color: var(--cyan); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center; gap: 16px;
  background: rgba(2, 3, 10, .93); padding: 20px; animation: fade .25s;
}
.lb-img { width: min(1000px, 82vw); max-height: 82vh; border: 1px solid rgba(160, 170, 255, .45); box-shadow: 0 0 60px rgba(80, 90, 255, .4); }
.lb-close { position: absolute; top: 14px; right: 22px; font-size: 40px; color: #c3c8e6; }
.lb-prev, .lb-next { font-size: 56px; color: #c3c8e6; width: 50px; flex: none; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: var(--cyan); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }
.feature.reveal:nth-child(2) { transition-delay: .1s; }
.feature.reveal:nth-child(3) { transition-delay: .2s; }
.feature.reveal:nth-child(4) { transition-delay: .3s; }

@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.92); } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-menu { gap: 26px; }
  .events-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr 1fr; gap: 30px; padding-bottom: 10px; }
  .cta-middle { border-right: 0; }
  .contact-list { grid-column: 1 / -1; padding-left: 0; grid-template-columns: repeat(2, auto); justify-content: center; gap: 30px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 70px; left: 0; right: 0;
    flex-direction: column; gap: 6px; padding: 18px 24px 26px;
    background: rgba(5, 6, 15, .97); border-bottom: 1px solid var(--line);
    transform: translateY(-110%); opacity: 0; pointer-events: none;
    transition: transform .3s, opacity .3s;
  }
  .nav-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-link { font-size: 18px; padding: 10px 0; }
  .nav-link::after { left: 0; right: 0; bottom: 2px; }
  .nav-menu .btn-outline { margin: 10px 0 0; }

  .hero { min-height: 640px; align-items: flex-end; }
  .hero-photo { height: 78%; right: 50%; transform: translateX(50%); opacity: .75;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .hero-content { padding-top: 220px; }
  .hero-shade { background: linear-gradient(180deg, rgba(1, 4, 15, .15) 0%, rgba(1, 4, 15, .7) 42%, var(--bg) 100%); }
  .features-grid { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .feature:nth-child(3)::before { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .nav-logo .crop { height: 40px; }
  .tagline { font-size: 14px; letter-spacing: .2em; }
  .tagline i { margin: 0 .3em; }
  .btn-glow { padding: 13px 22px; font-size: 14px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature::before { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; }
  .event-types { gap: 14px 10px; }
  .event-types li { font-size: 12.5px; gap: 10px; }
  .cta-grid { grid-template-columns: 1fr; text-align: center; }
  .crop-lets-make { margin: 0 auto; }
  .cta-middle { border: 0; padding: 0; }
  .contact-list { grid-template-columns: 1fr; justify-content: center; gap: 14px; }
  .contact-list li { justify-content: center; }
  .field-row { grid-template-columns: 1fr; }
  .modal-card { padding: 30px 20px 24px; }
  .lb-prev, .lb-next { position: absolute; bottom: 20px; }
  .lb-prev { left: 30%; } .lb-next { right: 30%; }
  .lb-img { width: 94vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
