/*
Theme Name: CIRSPECTAK
Theme URI: https://cirspectak.com/
Author: CIRSPECTAK LLC
Description: One-page neon "K-Pop / circus" theme for CIRSPECTAK LLC. All content is editable from Appearance > Customize. Contact form powered by Contact Form 7.
Version: 1.6.1
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cirspectak
*/

/* =========================================================
   CIRSPECTAK LLC — "Guerreras K-Pop" neon theme
   Color variables can be overridden from the Customizer
   (output inline by functions.php).
   ========================================================= */

:root {
  --bg:        #0a0612;
  --bg-2:      #100a1f;
  --bg-card:   rgba(255, 255, 255, .035);
  --ink:       #f4f0ff;
  --ink-soft:  #b9aed6;
  --pink:      #ff2d92;
  --magenta:   #ff45c8;
  --purple:    #a855f7;
  --violet:    #7c3aed;
  --cyan:      #22d3ee;
  --border:    rgba(168, 85, 247, .28);
  --grad:      linear-gradient(100deg, var(--pink) 0%, var(--purple) 48%, var(--cyan) 100%);
  --glow-pink: 0 0 24px rgba(255, 45, 146, .55);
  --glow-cyan: 0 0 24px rgba(34, 211, 238, .45);
  --maxw:      1180px;
  --radius:    18px;
  --logo-h:    120px;  /* header logo height (Customizer) */
  --nav-pad:   8px;    /* header vertical padding (Customizer) */
  --hero-logo-w: 720px; /* hero logo width (Customizer) */
  --hero-logo-offset: 0px; /* hero logo push-down (Customizer) */
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(255, 45, 146, .14), transparent 60%),
    radial-gradient(55% 45% at 85% 10%, rgba(34, 211, 238, .12), transparent 60%),
    radial-gradient(70% 60% at 50% 100%, rgba(124, 58, 237, .16), transparent 60%),
    var(--bg);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }

.grad {
  background: var(--grad);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(168, 85, 247, .35));
  animation: gradShift 6s linear infinite;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .3px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn--neon { background: var(--grad); color: #fff; box-shadow: var(--glow-pink); }
.btn--neon:hover { transform: translateY(-3px); box-shadow: 0 0 34px rgba(255, 45, 146, .8); }
.btn--ghost { background: transparent; border-color: var(--cyan); color: var(--cyan); box-shadow: inset 0 0 12px rgba(34, 211, 238, .15); }
.btn--ghost:hover { transform: translateY(-3px); box-shadow: var(--glow-cyan); }
.btn--block { width: 100%; text-align: center; }

/* Attention-grabbing CTA (ticket sales) — header + hero */
.btn--cta {
  position: relative;
  font-weight: 700;
  background: var(--grad);
  background-size: 200% auto;
  color: #fff;
  animation: ctaPulse 2s ease-in-out infinite, gradShift 5s linear infinite;
}
.btn--cta i { margin-right: .15rem; }
.btn--cta:hover { transform: translateY(-3px) scale(1.03); animation-play-state: paused; box-shadow: 0 0 40px rgba(255,45,146,.95); }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,45,146,.55), 0 0 18px rgba(255,45,146,.5); }
  50%      { box-shadow: 0 0 0 10px rgba(255,45,146,0), 0 0 30px rgba(255,45,146,.85); }
}

/* ---------- Navbar ---------- */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(10, 6, 18, .72); border-bottom: 1px solid var(--border); overflow: visible; }
.nav__inner { max-width: var(--maxw); margin: 0 auto; padding: var(--nav-pad) 1.4rem; display: flex; align-items: center; justify-content: space-between; position: relative; min-height: calc(var(--logo-h) + (var(--nav-pad) * 2)); }
.nav__menu { display: contents; }
.nav__links--left  { justify-content: flex-start; }
.nav__links--right { justify-content: flex-end; }
/* Centered logo, vertically centered in the bar (bar grows to fit it) */
.nav__brand {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	z-index: 60; display: flex; align-items: center; gap: .55rem; font-weight: 700;
}
.nav__brand .custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.nav__brand-mark { font-size: 1.4rem; color: var(--pink); filter: drop-shadow(0 0 8px rgba(255,45,146,.7)); }
.nav__brand-logo,
.nav__brand img,
.nav__brand .custom-logo {
	height: var(--logo-h) !important;
	width: auto !important;
	max-width: 360px;
	object-fit: contain;
	filter: drop-shadow(0 6px 18px rgba(0,0,0,.55)) drop-shadow(0 0 18px rgba(168,85,247,.6));
}
.nav__brand-text { font-size: 1.15rem; letter-spacing: 1px; }
.nav__brand-llc { font-size: .65rem; margin-left: .35rem; padding: .1rem .35rem; border: 1px solid var(--cyan); border-radius: 6px; color: var(--cyan); vertical-align: middle; }
.nav__links { display: flex; align-items: center; gap: 1.4rem; flex-wrap: nowrap; }
.nav__links a { font-size: .95rem; color: var(--ink-soft); transition: color .2s; white-space: nowrap; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { color: #fff !important; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; }
.nav__burger span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 5rem 1.4rem 4rem; overflow: hidden; background-size: cover; background-position: center; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); z-index: 0; animation: float 9s ease-in-out infinite; }
.hero__glow--1 { width: 420px; height: 420px; background: rgba(255, 45, 146, .35); top: -60px; left: -80px; }
.hero__glow--2 { width: 480px; height: 480px; background: rgba(34, 211, 238, .28); bottom: -120px; right: -100px; animation-delay: -4s; }
.hero__stagelights { position: absolute; inset: 0; z-index: 0; opacity: .5; background: conic-gradient(from 210deg at 50% 120%, transparent 0deg, rgba(168,85,247,.18) 30deg, transparent 60deg, rgba(255,45,146,.16) 110deg, transparent 150deg, rgba(34,211,238,.16) 210deg, transparent 250deg); }
.hero__content { position: relative; z-index: 1; max-width: 880px; }
.hero__eyebrow { color: var(--cyan); letter-spacing: 3px; font-size: .8rem; text-transform: uppercase; margin-bottom: 1.2rem; font-weight: 600; }
.hero__title { font-family: 'Anton', sans-serif; font-size: clamp(2.6rem, 8vw, 6rem); line-height: .98; letter-spacing: 1px; text-transform: uppercase; text-shadow: 0 0 40px rgba(124, 58, 237, .45); }
.hero__subtitle { margin: 1.6rem auto 0; max-width: 560px; color: var(--ink-soft); font-size: 1.1rem; }

/* Hero event logo (replaces the title text) */
.hero__title--logo { position: relative; display: flex; align-items: center; justify-content: center; padding: 0; margin: calc(.3rem + var(--hero-logo-offset)) auto 0; width: 100%; }
.hero__logo {
	position: relative; z-index: 1;
	width: min(var(--hero-logo-w), 92vw); height: auto; display: block;
	filter: drop-shadow(0 0 26px rgba(168,85,247,.6));
	animation: logoPulse 2.8s ease-in-out infinite;
}
.hero__logo-aura {
	position: absolute; z-index: 0; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 80%; height: 120%;
	background: radial-gradient(ellipse at center, rgba(255,45,146,.4) 0%, rgba(168,85,247,.28) 38%, rgba(34,211,238,.16) 60%, transparent 72%);
	filter: blur(40px);
	animation: auraPulse 2.8s ease-in-out infinite;
	pointer-events: none;
}
.hero__cta { margin-top: 2.2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); color: var(--ink-soft); font-size: 1rem; z-index: 1; animation: bob 1.8s ease-in-out infinite; }

/* ---------- Section shell ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 5.5rem 1.4rem; }
.section--alt { max-width: none; background: linear-gradient(180deg, transparent, rgba(124,58,237,.06), transparent); }
.section--alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section--bg { position: relative; background-size: cover; background-position: center; }
.section--bg::before { content: ""; position: absolute; inset: 0; background: rgba(10,6,18,.82); z-index: 0; }
.section--bg > * { position: relative; z-index: 1; }
.section__head { text-align: center; margin-bottom: 3rem; }
.section__kicker { color: var(--magenta); text-transform: uppercase; letter-spacing: 3px; font-size: .78rem; font-weight: 600; }
.section__title { font-family: 'Anton', sans-serif; font-size: clamp(2rem, 5vw, 3.4rem); text-transform: uppercase; letter-spacing: 1px; margin-top: .4rem; }

/* ---------- Services cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.7rem; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); padding: 1px; background: var(--grad); opacity: 0; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity .3s; }
.card:hover { transform: translateY(-8px); box-shadow: 0 18px 50px rgba(255,45,146,.18); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card__icon { display: block; font-size: 2.2rem; line-height: 1; margin-bottom: 1rem; color: var(--cyan); filter: drop-shadow(0 0 12px rgba(34,211,238,.6)); }
.card__title { font-size: 1.25rem; margin-bottom: .5rem; }
.card__desc { color: var(--ink-soft); margin-bottom: 1rem; font-size: .95rem; }
.card__list { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.card__list li { position: relative; padding-left: 1.3rem; font-size: .9rem; color: var(--ink); }
.card__list li::before { content: "✦"; position: absolute; left: 0; color: var(--pink); }

/* ---------- Why choose us ---------- */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.why__item { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem 1.5rem; background: var(--bg-card); transition: transform .3s, box-shadow .3s; }
.why__item:hover { transform: translateY(-6px); box-shadow: var(--glow-cyan); }
.why__num { font-family: 'Anton', sans-serif; font-size: 2.4rem; color: transparent; -webkit-text-stroke: 1.5px var(--purple); display: block; margin-bottom: .4rem; }
.why__item h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.why__item p { color: var(--ink-soft); font-size: .92rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.about__text p { color: var(--ink-soft); margin: 1.2rem 0 1.8rem; font-size: 1.05rem; }
.about__art { display: flex; justify-content: center; }
.about__art img { border-radius: var(--radius); box-shadow: 0 0 50px rgba(124,58,237,.4); }
.about__poster { display: flex; flex-direction: column; font-family: 'Anton', sans-serif; font-size: clamp(3rem, 9vw, 6rem); line-height: .9; text-transform: uppercase; padding: 2.5rem 2rem; border: 1px solid var(--border); border-radius: var(--radius); background: radial-gradient(circle at 30% 20%, rgba(255,45,146,.18), transparent 60%), radial-gradient(circle at 80% 90%, rgba(34,211,238,.18), transparent 60%), var(--bg-2); box-shadow: inset 0 0 50px rgba(124,58,237,.3); }
.about__poster-line:nth-child(1) { color: var(--ink); }
.about__poster-line:nth-child(3) { color: var(--ink); text-shadow: 0 0 30px rgba(34,211,238,.5); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.step { position: relative; text-align: center; padding: 2rem 1.2rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -1rem; top: 50%; transform: translateY(-50%); color: var(--purple); font-size: 1.4rem; z-index: 2; }
.step__num { font-family: 'Anton', sans-serif; font-size: 2rem; display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 1rem; background: var(--grad); color: #fff; box-shadow: var(--glow-pink); }
.step__title { font-size: 1.02rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5rem; align-items: start; }
.contact__info h3, .contact__form h3 { font-size: 1.4rem; margin-bottom: 1.2rem; }
.contact__list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.contact__list li { display: flex; align-items: center; gap: .8rem; color: var(--ink-soft); }
.contact__ico { width: 22px; text-align: center; color: var(--pink); filter: drop-shadow(0 0 8px rgba(255,45,146,.5)); }
.contact__list a:hover { color: var(--cyan); }
.contact__form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }

/* Contact Form 7 styling to match the neon theme */
.contact__form .wpcf7-form p { margin-bottom: 1.1rem; }
.contact__form label { display: block; font-size: .85rem; margin-bottom: .4rem; color: var(--ink-soft); }
.contact__form input[type=text],
.contact__form input[type=email],
.contact__form input[type=tel],
.contact__form input[type=url],
.contact__form textarea,
.contact__form select {
  width: 100%; padding: .8rem 1rem; border-radius: 12px; resize: vertical;
  background: rgba(10,6,18,.6); border: 1px solid var(--border); color: var(--ink);
  font-family: inherit; font-size: .95rem; transition: border-color .25s, box-shadow .25s;
}
.contact__form input:focus, .contact__form textarea:focus, .contact__form select:focus { outline: none; border-color: var(--pink); box-shadow: var(--glow-pink); }
.contact__form input[type=submit],
.contact__form .wpcf7-submit {
  width: 100%; padding: .9rem 1.7rem; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--grad); color: #fff; font-weight: 600; font-size: .95rem; box-shadow: var(--glow-pink);
  transition: transform .25s, box-shadow .25s;
}
.contact__form input[type=submit]:hover,
.contact__form .wpcf7-submit:hover { transform: translateY(-3px); box-shadow: 0 0 34px rgba(255, 45, 146, .8); }
.contact__form .wpcf7-response-output { border-radius: 12px; margin: 1rem 0 0; color: var(--ink); }
.contact__note { margin-top: 1rem; color: var(--cyan); font-size: .88rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 2.2rem 1.4rem; margin-top: 2rem; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer__brand { font-weight: 700; letter-spacing: 1px; }
.footer__brand i { color: var(--pink); }
.footer__brand em { color: var(--cyan); font-style: normal; font-size: .7rem; border: 1px solid var(--cyan); padding: .05rem .3rem; border-radius: 5px; }
.footer__copy { color: var(--ink-soft); font-size: .85rem; }
.footer__copy a:hover { color: var(--cyan); }

/* ---------- Animations ---------- */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-30px); } }
@keyframes bob   { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@keyframes logoPulse {
  0%, 100% { transform: scale(1);    filter: drop-shadow(0 0 16px rgba(168,85,247,.45)); }
  50%      { transform: scale(1.045); filter: drop-shadow(0 0 40px rgba(255,45,146,.8)); }
}
@keyframes auraPulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.14); }
}
@keyframes gradShift { to { background-position: 200% center; } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__glow, .hero__scroll, .hero__logo, .hero__logo-aura, .grad, .btn--cta { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
}
@media (max-width: 820px) {
  /* Logo stays centered (H + V); burger on the right; bar fits the logo. */
  .nav__inner { display: flex; justify-content: flex-end; align-items: center; position: relative; min-height: calc(min(var(--logo-h), 92px) + 16px); }
  .nav__burger { display: flex; }
  .nav__brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .nav__brand .custom-logo,
  .nav__brand img { height: min(var(--logo-h), 92px) !important; }
  /* Dropdown panel holding both link groups, stacked */
  .nav__menu { display: block; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10,6,18,.98); border-bottom: 1px solid var(--border); max-height: 0; overflow: hidden; transition: max-height .35s ease; }
  .nav__menu.open { max-height: 560px; padding: .6rem 0 1.1rem; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
  .nav__links--left, .nav__links--right { justify-content: flex-start; }
  .nav__links a { padding: .9rem 1.4rem; width: 100%; }
  /* CTA stays a centered pill, not a full-width stretched bar */
  .nav__links a.nav__cta { width: auto; align-self: center; margin: .7rem auto .2rem; padding: .8rem 1.8rem; }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none !important; }
}
