/* =============================================
   Cataclysmic – Static Site Styles
   Faithfully converted from cataclysmicband.com
   ============================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #000;
  --surface: #111;
  --border: #2a2a2a;
  --text: #e0e0e0;
  --muted: #888;
  --accent: #c0392b;
  --max-w: 860px;
  --header-h: 64px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Roboto Flex", "Ubuntu Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,0,0,0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo img { height: 39px; width: auto; }

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.site-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.active { color: #fff; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
}

.nav-close {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  align-self: flex-end;
}

/* ---------- Main ---------- */
main { flex: 1; }

/* ---------- Hero Section ---------- */
.hero-section {
  max-width: var(--max-w);
  margin: 3rem auto 0;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.album-cover img {
  width: 300px;
  max-width: 100%;
  box-shadow: 0 8px 40px rgba(0,0,0,0.8);
}

.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.65rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
}

/* ---------- Bio ---------- */
.bio-section {
  max-width: var(--max-w);
  margin: 2.5rem auto;
  padding: 0 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bio-section p { color: var(--text); }
.bio-section a { color: var(--text); text-decoration: underline; }
.bio-section a:hover { color: #fff; }

/* ---------- Gallery ---------- */
.gallery-section {
  max-width: var(--max-w);
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.photo-grid figure { overflow: hidden; aspect-ratio: 1; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.photo-grid figure:hover img { transform: scale(1.04); }

/* ---------- Instagram ---------- */
.instagram-section {
  max-width: var(--max-w);
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
  text-align: center;
}

.instagram-section h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.instagram-embed-wrap {
  display: flex;
  justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  justify-content: center;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.social-links a:hover { opacity: 1; }

.social-links span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Services / Contact Pages ---------- */
.page-content {
  max-width: var(--max-w);
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.page-content h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  color: #fff;
}

.page-content p { color: var(--muted); margin-bottom: 1rem; }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 1rem; max-width: 560px; }

.contact-form label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: block;
  margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.65rem 0.9rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus { border-color: #555; }
.contact-form textarea { min-height: 130px; resize: vertical; }

.contact-form .btn {
  align-self: flex-start;
  font-size: 0.85rem;
  padding: 0.65rem 1.75rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 200;
  }

  .site-nav.open { display: flex; }

  .nav-close { display: flex; position: absolute; top: 1rem; right: 1.5rem; }

  .site-nav ul {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .site-nav a { font-size: 1.1rem; }

  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
