/*
Theme Name: MUNPI Gallery
Theme URI: https://munpi.com
Description: Gallery-style WordPress theme for MUNPI - Handcrafted Modern House Numbers. Full-screen gallery layout with lightbox and clean minimalist design showcasing Tigerwood sign photography.
Author: Bobby Duke LLC
Version: 1.0
*/

:root {
  --bg: #1a1a1a;
  --surface: #2a2a2a;
  --text: #f5f0eb;
  --muted: #999;
  --accent: #c8a46b;
  --accent-dark: #a88a52;
  --border: #3a3a3a;
}

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

body {
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: rgba(26,26,26,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--text);
  text-transform: uppercase;
}
.logo a span { color: var(--accent); }

.main-nav ul { list-style: none; display: flex; gap: 32px; }
.main-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color .2s;
}
.main-nav a:hover, .main-nav .current-menu-item a { color: var(--accent); }
.menu-toggle { display: none; }

/* ===== HERO ===== */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.7), rgba(26,26,26,0.9));
  z-index: 1;
}
.hero img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 24px; }
.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 300;
  letter-spacing: 8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-content h1 strong { font-weight: 700; color: var(--accent); }
.hero-content p { font-size: 18px; color: var(--muted); letter-spacing: 2px; margin-bottom: 32px; }
.hero-content .tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 8px 24px;
  border-radius: 2px;
  margin-top: 16px;
}
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== GALLERY GRID ===== */
.gallery-section { padding: 80px 24px; max-width: 1400px; margin: 0 auto; }
.gallery-header { text-align: center; margin-bottom: 48px; }
.gallery-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.gallery-header h2 strong { font-weight: 700; color: var(--accent); }
.gallery-header p { color: var(--muted); max-width: 600px; margin: 0 auto; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--surface);
  transition: transform .3s, box-shadow .3s;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.5); }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s, opacity .3s;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 24px;
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay h3 { font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.gallery-item .overlay p { font-size: 12px; color: var(--muted); }
.gallery-item.wide { grid-column: span 2; aspect-ratio: 2; }

/* ===== PAGE CONTENT ===== */
.page-content { max-width: 900px; margin: 0 auto; padding: 120px 24px 80px; }
.page-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 32px;
  color: var(--accent);
}
.page-content h2 { font-size: 20px; letter-spacing: 1px; text-transform: uppercase; margin: 32px 0 16px; color: var(--text); }
.page-content p, .page-content li { font-size: 16px; color: #ccc; margin-bottom: 16px; line-height: 1.8; }
.page-content ul, .page-content ol { padding-left: 24px; margin-bottom: 16px; }
.page-content img { width: 100%; border-radius: 4px; margin: 24px 0; }
.page-content strong { color: var(--accent); }

/* ===== FAQ Accordion ===== */
.faq-item { border: 1px solid var(--border); border-radius: 4px; margin-bottom: 12px; overflow: hidden; }
.faq-question {
  padding: 16px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  background: var(--surface);
  transition: background .2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question:hover { background: #333; }
.faq-question::after { content: '+'; font-size: 20px; color: var(--accent); transition: transform .2s; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s; }
.faq-item.open .faq-answer { max-height: 1000px; }
.faq-answer-inner { padding: 16px 24px; color: #ccc; }

/* ===== CONTACT ===== */
.contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin: 32px 0; }
.contact-card { background: var(--surface); padding: 32px; border-radius: 4px; border: 1px solid var(--border); text-align: center; }
.contact-card h3 { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.contact-card p { color: #ccc; font-size: 15px; }

/* ===== FOOTER ===== */
.site-footer { background: #0d0d0d; border-top: 1px solid var(--border); padding: 48px 24px 24px; }
.footer-inner { max-width: 1400px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer-logo { font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--text); }
.footer-logo span { color: var(--accent); }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 50%;
  color: var(--muted); font-size: 14px;
  transition: all .2s;
}
.footer-social a:hover { color: var(--accent); border-color: var(--accent); }
.footer-text { color: var(--muted); font-size: 12px; letter-spacing: 1px; }
.footer-copyright { text-align: center; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); color: #555; font-size: 12px; }

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 4px; }
.lightbox .close { position: absolute; top: 20px; right: 24px; font-size: 28px; color: var(--muted); cursor: pointer; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
  }
  .main-nav {
    position: fixed;
    top: 64px; right: -100%;
    width: 250px;
    height: calc(100vh - 64px);
    background: var(--surface);
    transition: right .3s;
    padding: 24px;
    border-left: 1px solid var(--border);
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 16px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; aspect-ratio: 1; }
  .hero-content h1 { font-size: 36px; letter-spacing: 4px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
