/* ===== GLOBAL ===== */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #0d0d0d;
    color: #f2f2f2;
    text-align: center;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(180deg, #000000 0%, #1a1a1a 100%);
    padding: 40px 20px;
    border-bottom: 2px solid #ffcc33;
}

.logo {
    width: 260px;
    max-width: 80%;
    filter: drop-shadow(0 0 20px #ffcc33);
}

.tagline {
    margin-top: 20px;
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffcc33;
    text-shadow: 0 0 10px #ffcc33;
}

/* ===== DESCRIPTION ===== */
.description {
    padding: 40px 20px;
    font-size: 1.2rem;
    max-width: 800px;
    margin: auto;
    line-height: 1.6;
}

/* ===== NAVIGATION ===== */
.nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    padding: 40px 20px;
}

.nav-card {
    background: #1a1a1a;
    padding: 20px 40px;
    border: 2px solid #ffcc33;
    border-radius: 8px;
    color: #ffcc33;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: 0.3s;
}

.nav-card:hover,
.nav-card:focus-visible {
    background: #ffcc33;
    color: #000;
    transform: scale(1.05);
    outline: 2px solid #ffcc33;
    outline-offset: 3px;
}

/* ===== SMALL HERO FOR SUBPAGES ===== */
.small-hero {
    padding: 30px 20px;
}

/* ===== EVENT SECTIONS ===== */
.event-section {
    padding: 40px 20px;
    max-width: 900px;
    margin: auto;
}

.event-section h2 {
    color: #ffcc33;
    margin-bottom: 10px;
    font-size: 1.8rem;
    text-shadow: 0 0 8px #ffcc33;
}

/* ===== EVENT LIST ===== */
.event-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.event-list li {
    padding: 10px 0;
    border-bottom: 1px solid #333;
    font-size: 1.2rem;
}

/* ===== EVENT CARDS ===== */
.event-card {
    background: #1a1a1a;
    border-left: 4px solid #ffcc33;
    padding: 20px;
    margin: 20px 0;
    border-radius: 6px;
    text-align: left;
}

.event-card h3 {
    margin: 0 0 10px 0;
    color: #ffcc33;
}

.event-card p {
    margin: 0;
    color: #ddd;
}
/* ===== BAND GRID ===== */
.band-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}

/* ===== MEMBER CARD ===== */
.member-card {
    background: #1a1a1a;
    border: 2px solid #ffcc33;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: 0.3s;
}

.member-card:hover,
.member-card:focus-within {
    transform: scale(1.03);
    box-shadow: 0 0 20px #ffcc33;
}

.member-card img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid #333;
}

.member-card h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #ffcc33;
}

.member-card .bio {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #ddd;
    line-height: 1.5;
    white-space: pre-line; /* preserves line breaks from .txt files */
}
/* ===== GALLERY GRID ===== */
.gallery-grid {
    column-count: 3;
    column-gap: 20px;
    padding: 40px 20px;
    max-width: 1400px;
    margin: auto;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
}

.gallery-item img {
    width: 100%;
    border-radius: 6px;
    border: 2px solid #ffcc33;
    transition: 0.3s;
}

.gallery-item img:hover,
.gallery-item img:focus-visible {
    transform: scale(1.03);
    box-shadow: 0 0 20px #ffcc33;
    outline: 2px solid #ffcc33;
    outline-offset: 2px;
}

/* ===== MOBILE ===== */
@media (max-width: 800px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 500px) {
    .gallery-grid {
        column-count: 1;
    }
}
/* ===== NAVIGATION BAR ===== */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #000;
    padding: 15px 30px;
    border-bottom: 2px solid #ffcc33;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-left .nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffcc33;
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-right a {
    margin-left: 25px;
    color: #f2f2f2;
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.3s;
}

.nav-right a:hover,
.nav-right a:focus-visible {
    color: #ffcc33;
    text-shadow: 0 0 10px #ffcc33;
    outline: none;
}

.nav-right a:focus-visible {
    /* Visible focus ring for keyboard nav */
    outline: 2px solid #ffcc33;
    outline-offset: 4px;
    border-radius: 2px;
}

/* ===== MOBILE NAV ===== */
@media (max-width: 700px) {
    .main-nav {
        flex-direction: column;
        padding: 20px;
    }

    .nav-right {
        margin-top: 10px;
    }

    .nav-right a {
        display: inline-block;
        margin: 10px;
        font-size: 1.2rem;
    }
}

/* --- Gallery Grid (scoped to avoid affecting footer icons) --- */
.amb-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  padding: 20px;
}

.amb-gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.amb-gallery img:hover,
.amb-gallery img:focus-visible {
  transform: scale(1.03);
  outline: 2px solid #ffcc33;
  outline-offset: 2px;
}

/* --- Lightbox (scoped) --- */
.amb-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.amb-lightbox.hidden {
  display: none;
}

.amb-lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}

#closeBtn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0 8px;
  line-height: 1;
  border-radius: 4px;
  transition: background 0.2s ease;
}

#closeBtn:hover,
#closeBtn:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  outline: 2px solid #ffcc33;
  outline-offset: 2px;
}

.amb-footer {
  text-align: center;
  padding: 30px 0;
  background: #111;
  color: #fff;
}

.amb-footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.amb-footer-icon {
  width: 28px;
  height: 28px;
  fill: #fff;
  color: #fff;
  transition: opacity 0.2s ease;
}

.amb-footer-icon:hover,
.amb-footer-icon:focus-visible {
  opacity: 0.7;
  outline: 2px solid #ffcc33;
  outline-offset: 4px;
  border-radius: 4px;
}

.amb-footer-contact,
.amb-footer-dev {
  margin-bottom: 8px;
}

.amb-footer-copy {
  font-size: 0.9rem;
  opacity: 0.7;
}
/* Fade‑in animation for gallery thumbnails */
.amb-gallery img {
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.amb-gallery img.loaded {
    opacity: 1;
    transform: scale(1);
}
/* Start hidden and slightly lowered */
.amb-gallery img {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* When visible */
.amb-gallery img.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.projects {
  padding: 40px 20px;
}

.project-list {
  display: grid;
  gap: 24px;
}

.project-card {
  background: #111;
  padding: 24px;
  border-radius: 10px;
  border: 1px solid #2a2a2a;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: #ff4444;
}

.project-card h3 a {
  color: #ff4444;
  text-decoration: none;
}

.project-card ul {
  margin-top: 12px;
  padding-left: 20px;
}

.project-card li {
  margin-bottom: 6px;
  line-height: 1.4;
}
