﻿/* ========== THEME ========== */

:root {
  --bg: #050b18;
  --bg-alt: #0c1a33;
  --accent: #3ba4ff;
  --accent-strong: #6bc5ff;
  --text-main: #e6f1ff;
  --text-muted: #9db4d1;
  --border-subtle: rgba(90, 140, 185, 0.4);
  --radius: 1rem;
  --shadow: 0 16px 36px rgba(3, 14, 30, 0.85);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top, #183a62 0, #050b18 50%, #020510 100%);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ========== HEADER & NAV ========== */

.site-header {
  position: relative;
  color: var(--text-main);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  position: relative;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, var(--accent-strong), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: #050b18;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.7);
}

.brand-text .site-title {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-text .site-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* nav */

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--text-muted);
  position: relative;
  padding-bottom: 0.25rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(to right, var(--accent), var(--accent-strong));
  border-radius: 999px;
  transition: width 0.18s ease-out;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text-main);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  width: 100%;
}

/* mobile nav toggle */

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(120, 160, 200, 0.6);
  color: var(--text-main);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 1rem;
  cursor: pointer;
}

/* ========== HERO ========== */

.hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("img/hero.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(2px) brightness(0.75);
  transform: scale(1.04);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 3rem 1.5rem 4rem;
  padding: 2.2rem 2.4rem;
  background: radial-gradient(circle at top left, rgba(59, 164, 255, 0.28), transparent 60%),
              rgba(5, 11, 24, 0.9);
  border-radius: 1.5rem;
  border: 1px solid rgba(127, 196, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(59, 164, 255, 0.5), var(--shadow);
  text-align: center;
}

.hero-overlay h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(2.1rem, 3vw, 2.6rem);
}

.hero-overlay p {
  margin: 0 0 1.4rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ========== BUTTONS ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, border-color 0.15s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #050b18;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.8);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(120, 160, 200, 0.6);
  color: var(--text-main);
}

.btn-ghost:hover {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 1px rgba(107, 197, 255, 0.7);
}

/* ========== SECTIONS ========== */

.section {
  padding: 4rem 1.25rem;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(59, 164, 255, 0.08), transparent 60%),
              rgba(4, 16, 36, 0.98);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0 0 0.5rem;
  font-size: 1.8rem;
}

.section-heading p {
  margin: 0;
  color: var(--text-muted);
}

/* small note text */

.section-note {
  margin-top: 1.8rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ========== ABOUT ========== */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
}

.about-card {
  background: rgba(12, 26, 51, 0.95);
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  padding: 1.7rem 1.8rem;
  box-shadow: var(--shadow);
  font-size: 0.98rem;
  color: var(--text-main);
}

.about-card h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.about-highlight {
  background:
    radial-gradient(circle at top, rgba(59, 164, 255, 0.25), transparent 60%),
    rgba(6, 18, 40, 0.98);
}

.about-highlight ul {
  margin: 0.3rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

/* ========== CARDS (EVENTS) ========== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.card {
  background: rgba(12, 26, 51, 0.96);
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease-out, border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.card-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(127, 196, 255, 0.9);
  box-shadow:
    0 0 0 1px rgba(59, 164, 255, 0.45),
    0 18px 40px rgba(4, 26, 60, 0.95);
}

/* link pill */

.link-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(120, 160, 200, 0.6);
  font-size: 0.8rem;
  margin-top: 0.65rem;
  color: var(--text-muted);
  transition: border-color 0.15s ease-out, color 0.15s ease-out, box-shadow 0.15s ease-out;
}

.link-pill:hover {
  border-color: var(--accent-strong);
  color: var(--accent-strong);
  box-shadow: 0 0 0 1px rgba(107, 197, 255, 0.7);
}

/* ========== GALLERY ========== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
}

.art-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(12, 26, 51, 0.96);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, border-color 0.15s ease-out;
}

.art-thumb {
  padding-top: 65%;
  background-size: cover;
  background-position: center;
}

.art-caption {
  padding: 0.7rem 1rem 0.8rem;
  background: rgba(5, 14, 32, 0.96);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.88rem;
}

.art-title {
  font-weight: 600;
}

.art-artist {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.art-card:hover {
  transform: translateY(-3px);
  border-color: rgba(127, 196, 255, 0.9);
  box-shadow:
    0 0 0 1px rgba(59, 164, 255, 0.45),
    0 18px 40px rgba(4, 26, 60, 0.95);
}

/* ========== JOIN ========== */

.join-section {
  background:
    radial-gradient(circle at top right, rgba(59, 164, 255, 0.18), transparent 60%),
    rgba(4, 16, 36, 0.98);
}

.join-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2rem;
}

.join-card {
  background: rgba(12, 26, 51, 0.95);
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow);
  font-size: 0.96rem;
}

.join-card h3 {
  margin-top: 0;
}

.join-card ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.join-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ========== CONTACT ========== */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2rem;
}

.contact-card {
  background: rgba(12, 26, 51, 0.95);
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin-top: 0;
}

.contact-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  font-size: 0.95rem;
}

.contact-list li {
  margin-bottom: 0.5rem;
}

.contact-note {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* newsletter */

.newsletter-form {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.input {
  flex: 1 1 180px;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(120, 160, 200, 0.7);
  background: rgba(7, 17, 33, 0.96);
  color: var(--text-main);
  font-size: 0.9rem;
}

.input::placeholder {
  color: #6d86aa;
}

/* accessibility helper */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ========== FOOTER ========== */

.site-footer {
  padding: 1.8rem 1.25rem 2.2rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(90, 140, 185, 0.5);
  background: rgba(4, 15, 32, 0.98);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 900px) {
  .about-grid,
  .join-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 780px) {
  .header-inner {
    align-items: center;
  }

  .site-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(4, 15, 32, 0.97);
    border-top: 1px solid var(--border-subtle);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease-out, opacity 0.18s ease-out;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1.5rem 1.2rem;
    gap: 0.9rem;
  }

  .site-nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 600px) {
  .hero-overlay {
    padding: 1.6rem 1.7rem;
    margin-inline: 1rem;
  }

  .section {
    padding-inline: 1rem;
  }
}
