/* ===== KD4GAR.net — shared theme ===== */
:root {
  --bg: #0a0a0a;
  --bg-panel: #141414;
  --gold: #e8c47a;
  --gold-bright: #f4d99a;
  --text: #f0f0f0;
  --text-dim: #b8b8b8;
  --border: #2a2a2a;
  --shadow: 0 4px 20px rgba(0,0,0,0.6);
}

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

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }

/* ---------- Header / Nav ---------- */
header.site-header {
  width: 100%;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,0.4));
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

header.site-header h1 {
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

header.site-header h1 a { color: var(--gold); }

nav.site-nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
  flex-wrap: wrap;
}

nav.site-nav a {
  color: var(--text-dim);
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s ease;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

nav.site-nav a:hover,
nav.site-nav a.active {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 48vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: var(--hero-bg, none);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  padding: 40px 20px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero:not(.page-hero) {
  min-height: auto;
  padding: 60px 20px 30px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(10,10,10,0.85));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero h2 {
  color: var(--text);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.9);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero p.subtitle {
  color: var(--gold-bright);
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* ---------- Interest Card Grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  padding: 30px 6vw 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.interest-card {
  position: relative;
  height: 320px;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--bg-panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
}

.interest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(232,196,122,0.25);
}

.interest-card .card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.9) brightness(0.75);
  transition: filter 0.25s ease, transform 0.4s ease;
}

.interest-card:hover .card-bg {
  filter: saturate(1.05) brightness(0.9);
  transform: scale(1.06);
}

.interest-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.35) 100%);
}

.interest-card .card-icon {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 2.4rem;
  z-index: 2;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.8));
}

.interest-card .card-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
}

.interest-card .card-label h3 {
  color: var(--gold);
  font-size: 1.5rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9);
  margin-bottom: 6px;
}

.interest-card .card-label p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* ---------- Sub-page hero (smaller) ---------- */
.page-hero {
  min-height: 38vh;
}

.page-hero h2 { font-size: 2.4rem; }

/* ---------- Section container ---------- */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 6vw;
}

.section h3.section-title {
  color: var(--gold);
  font-size: 1.6rem;
  letter-spacing: 1px;
  margin-bottom: 8px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 12px;
}

.section p.section-desc {
  color: var(--text-dim);
  margin: 12px 0 32px;
  max-width: 700px;
  line-height: 1.6;
}

/* ---------- Slideshow ---------- */
.slideshow {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 50px;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.slideshow .slides {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #000;
}

.slideshow .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slideshow .slide.active {
  opacity: 1;
}

.slideshow .slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.slideshow .slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: var(--gold-bright);
  font-size: 0.9rem;
  letter-spacing: 1px;
  z-index: 3;
}

.slideshow .ss-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10,10,10,0.5);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: background 0.2s ease;
  user-select: none;
}

.slideshow .ss-arrow:hover { background: rgba(232,196,122,0.25); }
.slideshow .ss-arrow.prev { left: 14px; }
.slideshow .ss-arrow.next { right: 14px; }

.slideshow .ss-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0;
  background: var(--bg-panel);
}

.slideshow .ss-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s ease;
}

.slideshow .ss-dot.active { background: var(--gold); }

.gallery-heading {
  color: var(--gold-bright);
  font-size: 1.15rem;
  letter-spacing: 1px;
  margin: 40px 0 16px;
  text-align: center;
}

/* ---------- Coming soon placeholder ---------- */
.coming-soon {
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  background: var(--bg-panel);
  color: var(--text-dim);
}

.coming-soon .icon-big {
  font-size: 3.5rem;
  margin-bottom: 16px;
  display: block;
}

/* ---------- Footer ---------- */
footer.site-footer {
  text-align: center;
  padding: 30px 20px;
  color: #666;
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .hero h2 { font-size: 2.1rem; }
  header.site-header { flex-direction: column; gap: 12px; align-items: flex-start; }
  nav.site-nav ul { gap: 16px; }
}
