/* ==========================================================================
   ZTEX Construction — Amigo Airsho 2026 Employee Tickets
   ZTEX: #c10e20 (Red), #ffcd04 (Gold), charcoal. Airsho: navy #1f2b78 + wing stripes.
   ========================================================================== */

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

:root {
    --red: #c10e20;
    --red-light: #e8243a;
    --gold: #ffcd04;
    --navy: #1f2b78;
    --navy-deep: #0f1747;
    --navy-ink: #0a0f2e;
    --gray-900: #111111;
    --gray-800: #1a1a1a;
    --gray-700: #2a2a2a;
    --gray-500: #6b6b6b;
    --gray-400: #8a8a8a;
    --gray-300: #b5b5b5;
    --gray-200: #d6d6d6;
    --white: #ffffff;
    --font-display: 'Anton', 'Impact', sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-body);
    background: var(--gray-900);
    color: var(--gray-200);
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* --- Nav --- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: rgba(10, 15, 46, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner {
    max-width: 1100px; margin: 0 auto; padding: 0.85rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav-logo-img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-link {
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--gray-300); position: relative; transition: color 0.2s;
}
.nav-link::after {
    content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
    background: var(--red); transition: width 0.3s var(--ease);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.lang-toggle {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding-left: 1.25rem; border-left: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; white-space: nowrap;
}
.lang-btn {
    background: none; border: none; padding: 0.25rem 0.15rem; font: inherit; letter-spacing: inherit;
    color: var(--gray-500); cursor: pointer; transition: color 0.2s;
}
.lang-btn:hover { color: var(--white); }
.lang-btn.active { color: var(--gold); }
.lang-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
.lang-sep { color: rgba(255, 255, 255, 0.2); }

/* --- Hero --- */
.hero {
    position: relative; min-height: 92vh; display: flex; align-items: center; justify-content: center;
    padding: 7.5rem 1.5rem 6rem; overflow: hidden; text-align: center; background: var(--navy-ink);
}
.hero-bg {
    position: absolute; inset: -4%;
    background: url('/assets/images/flag-bg.jpg') center 30% / cover no-repeat;
    animation: drift 24s ease-in-out infinite alternate;
}
.hero-shade {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(10, 15, 46, 0.25) 0%, rgba(10, 15, 46, 0.75) 70%),
        linear-gradient(180deg, rgba(10, 15, 46, 0.55) 0%, rgba(10, 15, 46, 0.2) 40%, var(--gray-900) 100%);
}
@keyframes drift { from { transform: scale(1) translateY(0); } to { transform: scale(1.06) translateY(-1.5%); } }

.hero-content { position: relative; z-index: 2; max-width: 760px; animation: rise 0.9s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero-kicker {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.45rem 1rem 0.45rem 0.55rem; border-radius: 100px;
    background: rgba(10, 15, 46, 0.6); border: 1px solid rgba(255, 205, 4, 0.35);
    color: var(--gold); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.hero-star { width: 22px; height: 22px; }
.hero-logo { margin: 1.75rem auto 1rem; max-width: 620px; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.5)); }
.hero-logo img { width: 100%; }
.hero-title {
    font-family: var(--font-display); font-weight: 400; color: var(--white);
    font-size: clamp(1.6rem, 4.2vw, 2.75rem); letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin: 1.5rem 0 2.25rem; }
.chip {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; border-radius: 6px;
    background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--white); font-size: 0.9rem; font-weight: 600;
}
.chip svg { width: 17px; height: 17px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-cta {
    display: inline-block; padding: 1rem 2.25rem; border-radius: 6px;
    background: var(--red); color: var(--white); font-weight: 800; font-size: 0.95rem;
    letter-spacing: 0.08em; text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(193, 14, 32, 0.45); transition: transform 0.2s var(--ease), background 0.2s;
}
.hero-cta:hover { background: var(--red-light); transform: translateY(-2px); }

/* Wing stripes — borrowed from the Airsho logo */
.wing-stripes { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 6px; }
.wing-stripes span { display: block; height: 7px; background: var(--red); transform-origin: left; animation: streak 1.1s var(--ease) both; }
.wing-stripes span:nth-child(1) { width: 62%; animation-delay: 0.2s; }
.wing-stripes span:nth-child(2) { width: 78%; animation-delay: 0.3s; }
.wing-stripes span:nth-child(3) { width: 100%; height: 9px; background: var(--navy); border-top: 2px solid var(--gold); animation-delay: 0.4s; }
@keyframes streak { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* --- Headliners --- */
.headliners { background: var(--navy); padding: 2rem 0 2.25rem; border-bottom: 4px solid var(--gold); text-align: center; }
.section-tag {
    display: inline-block; font-family: var(--font-body); font-size: 0.72rem; font-weight: 800;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.85rem;
}
.headliner-grid { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.headliner-name {
    font-family: var(--font-display); color: var(--white); font-size: clamp(1.25rem, 3vw, 1.9rem);
    letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.15;
}
.headliner-amp { font-family: var(--font-display); color: var(--gold); font-size: 1.6rem; }

/* --- Registration --- */
.register { padding: 5.5rem 0 6rem; background: linear-gradient(180deg, var(--gray-900), var(--gray-800)); scroll-margin-top: 60px; }
.register-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 4rem; align-items: start; }
.register-copy { padding-top: 0.5rem; }
.register-copy .section-tag { color: var(--red-light); }
.section-title {
    font-family: var(--font-display); font-weight: 400; color: var(--white); text-transform: uppercase;
    font-size: clamp(2.2rem, 5vw, 3.3rem); line-height: 1.02; letter-spacing: 0.02em; margin-bottom: 1.25rem;
}
.section-title em { font-style: normal; color: var(--red-light); }
.section-title .brand-red { color: var(--red-light); }
.register-copy > p { color: var(--gray-300); margin-bottom: 1.75rem; }
.steps { list-style: none; display: grid; gap: 0.9rem; margin-bottom: 1.75rem; }
.steps li { display: flex; align-items: center; gap: 0.9rem; color: var(--gray-200); font-weight: 500; }
.step-n {
    flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: var(--navy); border: 2px solid var(--gold); color: var(--gold);
    font-family: var(--font-display); font-size: 1rem;
}
.fine { font-size: 0.85rem; color: var(--gray-400); }

.card {
    position: relative; background: #161616; border: 1px solid var(--gray-700); border-radius: 12px;
    padding: 2.5rem 2.25rem 2.25rem; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); overflow: hidden;
}
.card-stripe {
    position: absolute; top: 0; left: 0; right: 0; height: 6px;
    background: linear-gradient(90deg, var(--red) 0 45%, var(--white) 45% 55%, var(--navy) 55% 100%);
}
.card-title {
    font-family: var(--font-display); font-weight: 400; color: var(--white); text-transform: uppercase;
    font-size: 1.7rem; letter-spacing: 0.03em; margin-bottom: 1.5rem;
}
.form-alert {
    padding: 0.8rem 1rem; border-radius: 6px; margin-bottom: 1.25rem; font-size: 0.9rem;
    background: rgba(193, 14, 32, 0.12); border: 1px solid var(--red); color: #ff9aa6;
}
.field { margin-bottom: 1.25rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-300); margin-bottom: 0.45rem; }
.req { color: var(--red-light); }
.input {
    width: 100%; padding: 0.85rem 1rem; border-radius: 6px; font: inherit; font-size: 1rem;
    background: var(--gray-900); color: var(--white); border: 1px solid #333; outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder { color: var(--gray-500); }
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 205, 4, 0.15); }
.input.invalid { border-color: var(--red-light); }
.field-error { color: #ff8a9b; font-size: 0.82rem; margin-top: 0.35rem; min-height: 0; }
.field-error:empty { display: none; }
.hint { color: var(--gray-400); font-size: 0.82rem; margin-top: 0.4rem; }

.stepper { display: flex; align-items: stretch; max-width: 220px; }
.stepper-btn {
    flex: none; width: 52px; border: 1px solid #333; background: var(--gray-700); color: var(--white);
    font-size: 1.4rem; cursor: pointer; transition: background 0.15s;
}
.stepper-btn:first-child { border-radius: 6px 0 0 6px; }
.stepper-btn:last-child { border-radius: 0 6px 6px 0; }
.stepper-btn:hover { background: var(--navy); }
.stepper-input {
    border-radius: 0; text-align: center; font-family: var(--font-display); font-size: 1.4rem;
    -moz-appearance: textfield; appearance: textfield;
}
.stepper-input::-webkit-outer-spin-button, .stepper-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.submit-btn {
    width: 100%; margin-top: 0.75rem; padding: 1rem; border: none; border-radius: 6px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    background: var(--red); color: var(--white); font: inherit; font-weight: 800; font-size: 1rem;
    letter-spacing: 0.08em; text-transform: uppercase; transition: background 0.2s, transform 0.2s var(--ease);
}
.submit-btn:hover:not(:disabled) { background: var(--red-light); transform: translateY(-1px); }
.submit-btn:disabled { opacity: 0.65; cursor: wait; }
.submit-icon { width: 20px; height: 20px; fill: currentColor; transform: rotate(45deg); }

.state { text-align: center; padding: 1rem 0 0.5rem; }
.state p { color: var(--gray-300); margin-bottom: 0.75rem; }
.state .card-title { margin-bottom: 0.75rem; }
.state-icon {
    width: 72px; height: 72px; margin: 0 auto 1.25rem; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255, 205, 4, 0.12); border: 2px solid var(--gold);
}
.state-icon svg { width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.state-icon.ok { animation: pop 0.5s var(--ease) both; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Day picker */
fieldset.field { border: none; min-width: 0; }
fieldset.field:focus { outline: none; }
legend.label { padding: 0; }
.day-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.day-option { position: relative; cursor: pointer; }
.day-option input { position: absolute; opacity: 0; pointer-events: none; }
.day-card {
    display: flex; flex-direction: column; align-items: center; gap: 0.1rem; padding: 0.85rem 0.5rem;
    border-radius: 6px; background: var(--gray-900); border: 1px solid #333;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.day-dow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-400); }
.day-date { font-family: var(--font-display); font-size: 1.45rem; color: var(--white); letter-spacing: 0.03em; text-transform: uppercase; }
.day-option:hover .day-card { border-color: #555; }
.day-option input:focus-visible + .day-card { box-shadow: 0 0 0 3px rgba(255, 205, 4, 0.25); }
.day-option input:checked + .day-card { background: var(--navy); border-color: var(--gold); }
.day-option input:checked + .day-card .day-dow { color: var(--gold); }
#day.invalid .day-card { border-color: var(--red-light); }

/* --- Footer --- */
.footer { background: var(--navy-ink); border-top: 4px solid var(--red); padding: 2.5rem 0; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 1rem 2rem; align-items: center; }
.footer-logo { height: 40px; width: auto; }
.footer-contact { text-align: right; font-size: 0.88rem; color: var(--gray-300); }
.footer-contact a:hover { color: var(--gold); }
.footer-copy { grid-column: 1 / -1; font-size: 0.75rem; color: var(--gray-500); border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 1rem; }

[hidden] { display: none !important; }

@media (max-width: 860px) {
    .register-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 560px) {
    .nav-logo-img { height: 30px; }
    .nav-links { gap: 1rem; }
    .nav-link-hide-sm { display: none; }
    .lang-toggle { padding-left: 0.85rem; }
    .hero { min-height: 88vh; padding-top: 6.5rem; }
    .card { padding: 2.25rem 1.25rem 1.5rem; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-contact { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
