:root {
  --bg: #0e0e10;
  --bg-alt: #18181b;
  --orange: #ff7a1a;
  --orange-dim: #c75e0f;
  --text: #f1f1f1;
  --text-dim: #b5b5b5;
  --border: #2a2a2e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Orbitron", sans-serif;
  color: var(--orange);
  letter-spacing: 0.03em;
}

a {
  color: var(--orange);
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  background: rgba(14, 14, 16, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

.site-name {
  font-family: "Orbitron", sans-serif;
  font-size: 1.4rem;
  color: var(--text);
  margin: 0;
}

.site-name span {
  color: var(--orange);
}

nav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

nav button {
  background: transparent;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

nav button:hover {
  background: var(--orange);
  color: #0e0e10;
}

/* Sections */
section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

section:last-of-type {
  border-bottom: none;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

#about-bio {
  color: var(--text-dim);
  white-space: pre-wrap;
}

.about-photo-wrap {
  display: flex;
  justify-content: center;
}

.about-photo-wrap img {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--orange);
  background: var(--bg-alt);
}

@media (max-width: 700px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* Galleries */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  border-color: var(--orange-dim);
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  background: #000;
}

.gallery-item .caption {
  padding: 0.6rem 0.8rem;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* Portrait/vertical media (e.g. Instagram/TikTok-style clips) */
.gallery--portrait {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

.gallery--portrait .gallery-item img,
.gallery--portrait .gallery-item video {
  height: auto;
  aspect-ratio: 9 / 16;
}

.empty-state {
  color: var(--text-dim);
  font-style: italic;
}

/* Lightbox */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 2rem;
}

#lightbox.open {
  display: flex;
}

#lightbox-content {
  max-width: 90vw;
  max-height: 96vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

#lightbox img,
#lightbox video {
  max-width: 90vw;
  max-height: 78vh;
  border-radius: 6px;
}

.lightbox-description {
  color: var(--text-dim);
  max-width: 480px;
  text-align: center;
  font-size: 0.95rem;
}

#lightbox .close-btn {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2rem;
  color: var(--orange);
  cursor: pointer;
  background: none;
  border: none;
}

/* Contact */
#contact {
  text-align: center;
}

.contact-text {
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

.contact-email {
  display: inline-block;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-family: "Orbitron", sans-serif;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.contact-email:hover {
  background: var(--orange);
  color: #0e0e10;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.copy-email-btn {
  display: inline-block;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-dim);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.copy-email-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.copy-confirm {
  margin: 0.75rem 0 0;
  min-height: 1.2em;
  color: var(--orange);
  font-size: 0.85rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-dim);
  font-size: 0.8rem;
}

footer a {
  color: var(--text-dim);
  text-decoration: none;
}

footer a:hover {
  color: var(--orange);
}
