/*BASE AND LAYOUT */

:root {
  --bg: #020617;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #f97316;
  --border-soft: rgba(148, 163, 184, 0.35);
  --radius-lg: 1.25rem;
  --radius-md: 0.9rem;
  --shadow-soft: 0 20px 55px rgba(15, 23, 42, 0.75);
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #0b1120, #020617 50%, #000 100%);
}

/* GENERIC CONTAINER AND MAIN*/

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
}

main.main {
  flex: 1;
  padding-top: 1rem;
}

/*ACCESSIBILITY*/

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  background: #f9fafb;
  color: #111827;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 0.75rem;
}

/*HEADER & NAV*/

.header {
  background:
    linear-gradient(120deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.85)),
    url("https://images.unsplash.com/photo-1528164344705-47542687000d?auto=format&fit=crop&w=1600&q=80")
      center / cover no-repeat;
  border-bottom: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 70px rgba(15, 23, 42, 0.95);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.brand {
  text-decoration: none;
}

.brand h1 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f9fafb;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.16s ease-out;
  backdrop-filter: blur(12px);
}

.nav a:hover,
.nav a:focus-visible {
  color: #f9fafb;
  border-color: rgba(148, 163, 184, 0.85);
  background: rgba(15, 23, 42, 0.75);
}

.nav a[aria-current="page"] {
  color: #f9fafb;
  background: rgba(233, 128, 53, 0.15);
  border-color: rgba(249, 115, 22, 0.6);
}

/*HERO*/

.hero {
  margin-top: 1.75rem;
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(140deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.72)),
    url("https://images.unsplash.com/photo-1503891450243-d8ce28a0489b?auto=format&fit=crop&w=1600&q=80")
      center / cover no-repeat;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero .inner {
  padding: 2.4rem 2.4rem 2.6rem;
  max-width: 680px;
}

.hero h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  letter-spacing: 0.04em;
}

.hero .lead {
  margin: 0;
  font-size: 1.02rem;
  color: var(--muted);
}

/*SECTIONS & TEXT BLOCKS*/

.section {
  font-size: 1.1rem;
  margin: 2.25rem 0 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.article {
  background: radial-gradient(circle at top left, #111827, #020617);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 1.3rem 1.4rem 1.25rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.75);
  margin-bottom: 1.25rem;
}

.article h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.08rem;
  color: #f9fafb;
}

.article p {
  margin-top: 0.25rem;
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-size: 0.98rem;
}

/* GRID & CARDS*/

.grid {
  display: grid;
  gap: 1.6rem;
  margin: 1.2rem 0 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: radial-gradient(circle at top left, #111827, #020617);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.85);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.card img {
  width: 100%;
  display: block;
  height: 190px;
  object-fit: cover;
  background: #020617;
}

.card h3 {
  margin: 0.9rem 1.1rem 0.15rem;
  font-size: 1.03rem;
  color: #f9fafb;
}

.card p,
.card figcaption {
  margin: 0.35rem 1.1rem 1.1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.card:hover,
.card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 1);
  border-color: rgba(249, 115, 22, 0.55);
}

/*LIGHTBOX*/

.card img {
  cursor: pointer
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 1000;
}

.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 0.9rem;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.85);
}

.lightbox:target {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 1.4rem;
  right: 2rem;
  font-size: 2.3rem;
  color: #e5e7eb;
  text-decoration: none;
  line-height: 1;
}

.lightbox-close:hover {
  color: #f97316;
}

/*LISTS*/

ul {
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.35rem;
  font-size: 0.96rem;
  color: var(--muted);
}

/* FORMS (CONTACT)*/

.contact-form {
  max-width: 640px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

label {
  font-size: 0.9rem;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 0.7rem;
  border: 1px solid #1f2937;
  background: #020617;
  color: var(--text);
  font-size: 0.95rem;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.9) inset;
}

input::placeholder,
textarea::placeholder {
  color: #6b7280;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

textarea {
  resize: vertical;
  min-height: 160px;
}

/* RADIO BUTTONS */

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-bottom: 0.25rem;
}

.radio-option {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.radio-option input[type="radio"] {
  width: auto;
  box-shadow: none;
}

/* CONTACT – MULTI-SELECT OPTIONS */

.info-multi {
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.field-label {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.field-label span {
  font-size: 0.85rem;
  color: #6b7280;
}

.info-multi-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.info-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.8rem;
  border-radius: 0.9rem;
  background: #020617;
  border: 1px solid #1f2937;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.9);
  font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;

}

/* CHECKBOX */
.info-option input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--accent); 
}

.info-option:hover,
.info-option:has(input[type="checkbox"]:focus-visible) {
  border-color: rgba(165, 90, 37, 0.8);
  background: radial-gradient(circle at top left, #111827, #020617);
  transform: translateY(-1px);
  color: #e5e7eb;
}

/*BUTTONS*/

.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #0b1120;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: box-shadow 0.16s ease-out, transform 0.12s ease-out, background 0.16s ease-out;
  text-decoration: none;
}

.btn:hover,
button:hover {
  box-shadow: 0 18px 45px rgba(249, 115, 22, 0.6);
  transform: translateY(-1px);
}

.btn:active,
button:active {
  transform: translateY(0);
  box-shadow: 0 10px 25px rgba(250, 177, 126, 0.35);
}

/* FOOTER */
.footer {
  margin-top: auto;
  padding-top: 2.2rem;
  background: radial-gradient(circle at top, #020617, #000);
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 1.5rem;
}

.footer-col h3 {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.45rem;
  font-size: 0.86rem;
  color: #9ca3af;
  line-height: 1.4;
}

.footer-col a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.15s ease-out;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(31, 41, 55, 0.85);
  margin-top: 0.4rem;
}

.footer-bottom small {
  font-size: 0.78rem;
  color: #6b7280;
}

/*RESPONSIVENESS*/

@media (max-width: 900px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .nav a {
    padding: 0.4rem 0.8rem;
  }

  .hero .inner {
    padding: 2rem 1.8rem 2.3rem;
  }

  .article {
    padding: 1.05rem 1.1rem 1.05rem;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 1rem;
  }

  .brand h1 {
    font-size: 1.15rem;
  }

  .hero h2 {
    font-size: 1.7rem;
  }
}