/* IdentiTek Hackathon 2026 — landing page (v4, dark banner)
   Layout: full-bleed photo hero with the identitek.al menu and a straight bottom edge,
   then one 1240px column; the form sits on a pale-blue band. */

:root {
  --navy: #0a1a4f;
  --dark: #060b26;        /* dark blue from the previous design, used on the prize banner */
  --blue: #1877f2;
  --blue-dk: #0f62d6;
  --menu: #2a87ea;
  --ink: #1d2b4a;
  --muted: #5b6a86;
  --line: #d6e2f3;
  --panel: #eaf3fe;
  --band: #f1f6fd;
  --error: #e0313b;
  --display: "Exo 2", "Arial Black", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); color: var(--navy); margin: 0; text-wrap: balance; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 20px; }
.blue { color: var(--blue); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* line icons */
.meta svg, .prize svg, .drop svg, .chev { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--blue); color: #fff; font-family: var(--body); font-weight: 700; font-size: 15px; letter-spacing: .02em; padding: 15px 30px; border-radius: 6px; text-decoration: none; border: 0; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--blue-dk); }
.btn[disabled] { opacity: .7; cursor: wait; }
a:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #9cc2ff; outline-offset: 2px; }

/* ---------- Hero (dark, straight cut) ---------- */
.hero { position: relative; background-color: var(--dark); background-position: right center; background-size: cover; background-repeat: no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--dark) 0%, rgba(6,11,38,.92) 30%, rgba(6,11,38,.55) 55%, rgba(6,11,38,.25) 100%); }
.hero .wrap { position: relative; padding-block: 18px 56px; }

.menu { background: #2a87ea; border-radius: 8px; display: flex; align-items: center; gap: 22px; padding: 9px 10px 9px 18px; position: relative; z-index: 20; box-shadow: 0 10px 30px rgba(0,0,0,.25); }.menu__list { display: flex; gap: 20px; list-style: none; margin: 0 auto 0 10px; padding: 0; font-size: 14px; }
.menu__list > li { position: relative; }
.menu__list a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 8px 0; }
.menu__list a:hover { color: #fff; text-decoration: underline; }.chev { width: 10px; height: 7px; stroke-width: 1.6; transition: transform .15s; }

/* dropdowns */
.sub { display: none; position: absolute; top: 100%; left: 0; min-width: 225px; list-style: none; margin: 0; padding: 10px 0 14px; background: linear-gradient(90deg, #288ce6 63%, rgba(40, 140, 230, 0.5)); border-radius: 0 0 8px 8px; box-shadow: 0 14px 28px rgba(0,0,0,.18); }.sub a { display: block; color: #fff; padding: 12px 18px; font-size: 15px; }
.sub a:hover { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.is-open > .sub { display: block; }
.has-sub:hover .chev, .has-sub.is-open .chev { transform: rotate(180deg); }

.menu .cta { background: #fff; color: var(--blue); font-weight: 700; font-size: 14px; padding: 11px 28px; border-radius: 4px; text-decoration: none; white-space: nowrap; margin-left: auto; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* Logo: the full-colour identitek.al logo */
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo img { height: 46px; width: auto; display: block; }

.hero-text { max-width: 500px; padding-top: clamp(40px, 8vw, 110px); }
.hero h1 { font-weight: 900; font-size: clamp(50px, 7vw, 92px); line-height: 1.05; color: #fff; }
.hero h1 span { display: block; color: #2f80ff; }
.hero .tag { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3vw, 40px); line-height: 1.3; color: #fff; margin: clamp(20px, 3vw, 40px) 0 clamp(28px, 4vw, 56px); }
.meta { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; font-size: clamp(15px, 1.5vw, 19px); color: #d7def0; }
.meta li { display: flex; gap: 16px; align-items: center; }
.meta svg { width: 26px; height: 26px; color: #4d94ff; flex: none; }

/* ---------- Countdown bar ---------- */
.count { margin-top: 22px; background: var(--panel); border-radius: 10px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 28px; padding: 18px 28px; }
.count .btn { padding: 16px 40px; }
.timer { display: flex; align-items: center; justify-content: space-around; }
.unit { text-align: center; min-width: 70px; }
.unit b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.4vw, 44px); color: var(--blue); font-variant-numeric: tabular-nums; line-height: 1; }
.unit small { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.sep { font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--blue); transform: translateY(-8px); }

main section { padding-block: 44px 0; scroll-margin-top: 20px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about h2 { font-weight: 800; font-size: clamp(28px, 3vw, 36px); }
.about p { max-width: 60ch; margin: 14px 0 0; }
.about img { width: 100%; border-radius: 14px; display: block; aspect-ratio: 3 / 2; object-fit: cover; }

.prize { margin-top: 28px; background: var(--dark); border-radius: 10px; display: flex; align-items: center; gap: 24px; padding: 22px 28px; }
.prize .ic { width: 62px; height: 62px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; flex: none; }
.prize .ic svg { width: 32px; height: 32px; color: #fff; }
.prize p { margin: 0; font-weight: 700; font-size: clamp(16px, 1.6vw, 20px); color: #fff; max-width: 52ch; line-height: 1.45; }

/* ---------- Program ---------- */
.prog-h { text-align: center; font-weight: 800; font-size: clamp(26px, 3.2vw, 40px); }
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.day { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.day img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.day .body { padding: 14px 16px 20px; }
.day .d { font-size: 12px; font-weight: 700; color: var(--blue); }
.day h3 { font-weight: 800; font-size: 20px; margin: 2px 0 6px; }
.day p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Apply ---------- */
.apply { margin-top: 28px; background: var(--band); padding-block: 44px 64px; scroll-margin-top: 0; }
.apply h2 { font-weight: 800; font-size: clamp(26px, 3.2vw, 40px); text-transform: uppercase; }
.apply .intro { color: var(--muted); margin: 10px 0 0; font-size: 14.5px; }
.apply .intro small { display: block; font-size: 13px; }

.form { margin-top: 24px; background: #fff; border-radius: 12px; padding: 28px 30px 30px; display: grid; gap: 28px; }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.form legend { display: flex; align-items: center; gap: 22px; width: 100%; font-weight: 700; font-size: 14px; letter-spacing: .02em; color: var(--blue); text-transform: uppercase; padding: 0; margin-bottom: 14px; }
.form legend::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 36px; }
.f { display: grid; gap: 7px; min-width: 0; align-content: start; }
.f label, .q { font-weight: 700; font-size: 13.5px; color: var(--ink); }
.req { color: var(--ink); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea { width: 100%; font: inherit; font-size: 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 11px 14px; }
.form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235b6a86' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form select:invalid { color: #98a4bb; }
.form select option { color: var(--ink); }
.form ::placeholder { color: #98a4bb; }
.form textarea { min-height: 100px; resize: vertical; }
.checks { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 10px 24px; }
.checks label, .radios label { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 13.5px; cursor: pointer; }
.radios { display: flex; gap: 36px; }
.form input[type=checkbox], .form input[type=radio] { width: 17px; height: 17px; accent-color: var(--blue); margin: 0; }

.drop { position: relative; border: 1px solid var(--blue); border-radius: 8px; padding: 26px; display: flex; align-items: center; justify-content: center; gap: 18px; cursor: pointer; background: #fff; text-align: left; transition: background .15s; }
.drop:hover, .drop.is-over { background: var(--panel); }
.drop svg { width: 44px; height: 44px; color: var(--blue); flex: none; stroke-width: 1.8; }
.drop b { display: block; font-size: 14px; word-break: break-word; }
.drop span { font-size: 13px; color: var(--muted); }
.drop small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop.has-file { background: var(--panel); }

.submit { width: 100%; }

/* errors & alerts */
.err { color: var(--error); font-size: 12.5px; }
.f--error input, .f--error select, .f--error textarea, .f--error .drop { border-color: var(--error); }
.alert { border-radius: 8px; padding: 14px 16px; font-weight: 600; font-size: 14px; }
.alert--success { background: #e8f6ee; border: 1px solid #b6e2c6; color: #17643a; }
.alert--error { background: #fdecee; border: 1px solid #f5c2c7; color: #a3212b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer & mobile CTA ---------- */
.footer { background: var(--dark); color: #b9c3dc; font-size: 13px; }
.footer .wrap { padding-block: 22px; }
.footer p { margin: 0; }
.mobile-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .burger { display: block; }
  .menu .cta { margin-left: auto; }
    .menu__list { display: flex; flex: 1; justify-content: center; gap: 20px; list-style: none; margin: 0; padding: 0; font-size: 14px; }  .menu.is-open .menu__list { display: flex; }
  .menu__list a { color: var(--ink); padding: 11px 18px; display: flex; }
  .menu__list a:hover { color: var(--blue); }
  .sub { position: static; display: block; box-shadow: none; padding: 0 0 6px 14px; min-width: 0; }
  .sub a { padding: 8px 18px; color: var(--muted); }
  .chev { display: none; }
}
@media (max-width: 480px) {
  .menu .cta { padding: 10px 16px; font-size: 13px; }
  .logo img { height: 38px; }
}
@media (max-width: 760px) {
  .hero { background-position: 72% center; }
  .hero::before { background: rgba(6,11,38,.82); }
  .count { grid-template-columns: 1fr; padding: 18px; }
  .unit { min-width: 0; }
  .sep { font-size: 20px; }
  .about { grid-template-columns: 1fr; gap: 24px; }
  .days { grid-template-columns: 1fr; }
  .mobile-cta { display: block; position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 50; text-align: center; background: var(--blue); color: #fff; font-weight: 700; padding: 14px; border-radius: 8px; text-decoration: none; box-shadow: 0 8px 24px rgba(24,119,242,.35); }
  .footer { padding-bottom: 80px; }
}
@media (max-width: 640px) {
  .grid2 { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr 1fr; }
  .form { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* centre the menu links between the logo and the button */
.menu > .menu__list { flex: 1 1 auto; justify-content: center; margin: 0 !important; }
