/*
Theme Name: GroovyLinePics
Theme URI: https://groovylinepics.be
Author: Ivo Moeys
Author URI: https://groovylinepics.be
Description: A dark, cinematic WordPress theme for concert photography — black & gold aesthetic with masonry portfolio and contact page.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: groovylinepics
Tags: photography, portfolio, dark, one-page, full-width
*/

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:        #c9a84c;
  --gold-light:  #e8c96e;
  --gold-dark:   #8a6a28;
  --black:       #000000;
  --dark:        #0a0a0a;
  --dark2:       #111111;
  --dark3:       #1a1a1a;
  --white:       #ffffff;
  --grey:        #888888;
  --grey-light:  #cccccc;
  --font-head:   'Cinzel', serif;
  --font-body:   'Raleway', sans-serif;
  --transition:  0.35s ease;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--black);
  color: var(--grey-light);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
img { max-width: 100%; height: auto; display: block; }

/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--white);
  letter-spacing: 0.12em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 6vw, 5rem); }

.hero-title.single-line {
  font-size: clamp(2.8rem, 8vw, 7rem);
  white-space: nowrap;
  letter-spacing: 0.08em;
}
h2 { font-size: clamp(1.6rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1.2em; color: var(--grey-light); }

/* ===========================
   UTILITY
=========================== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.gold-line {
  display: inline-block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

/* ===========================
   HEADER / NAV
=========================== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

#site-header.scrolled {
  background: rgba(0, 0, 0, 0.96);
  box-shadow: 0 2px 20px rgba(201, 168, 76, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 2.5rem;
}

.site-logo img {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(201,168,76,0.4));
  transition: filter var(--transition);
}
.site-logo img:hover {
  filter: drop-shadow(0 0 14px rgba(201,168,76,0.8));
}

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

.site-nav a {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-light);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--gold);
}
.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  transition: all var(--transition);
}

/* ===========================
   HERO / PAGE HERO
=========================== */
.page-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://groovylinepics.be/wp-content/uploads/2024/06/the-cure-1-scaled.jpg');
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.3);
  transform: scale(1.05);
  transition: transform 8s ease;
}

.page-hero:hover .hero-bg { transform: scale(1.08); }

.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.1) 40%,
    rgba(0,0,0,0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 400;
  color: var(--white);
  text-shadow: 0 0 60px rgba(0,0,0,0.8);
  line-height: 1.0;
  margin-bottom: 0.5rem;
}

.hero-title span {
  color: var(--gold);
  display: block;
  font-size: 0.45em;
  letter-spacing: 0.35em;
  font-weight: 300;
  margin-top: 0.4em;
}

.hero-logo {
  margin: 1rem auto 1.5rem;
  display: flex;
  justify-content: center;
}

.hero-logo img {
  width: clamp(140px, 22vw, 260px);
  height: auto;
  filter: drop-shadow(0 0 30px rgba(201,168,76,0.55))
          drop-shadow(0 0 80px rgba(201,168,76,0.2));
  animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(201,168,76,0.55)) drop-shadow(0 0 80px rgba(201,168,76,0.2)); }
  50%       { filter: drop-shadow(0 0 45px rgba(201,168,76,0.85)) drop-shadow(0 0 100px rgba(201,168,76,0.35)); }
}

.hero-tagline {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ===========================
   PORTFOLIO PAGE
=========================== */
.portfolio-section {
  padding: 5rem 0;
  background: var(--black);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 0.8rem;
}

.section-header p {
  max-width: 500px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: var(--grey);
  letter-spacing: 0.05em;
}

/* Masonry Grid */
.portfolio-grid {
  columns: 3;
  column-gap: 12px;
  padding: 0 1.5rem;
}

@media (max-width: 1024px) { .portfolio-grid { columns: 2; } }
@media (max-width: 600px)  { .portfolio-grid { columns: 1; } }

.portfolio-item {
  break-inside: avoid;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--dark2);
}

.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.6s ease;
  filter: brightness(0.85) saturate(0.7);
}

.portfolio-item:hover img {
  transform: scale(1.04);
  filter: brightness(1) saturate(0.9);
}

.portfolio-item .item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0) 50%
  );
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.portfolio-item:hover .item-overlay { opacity: 1; }

.item-caption {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  transform: translateY(8px);
  transition: transform var(--transition);
}

.portfolio-item:hover .item-caption { transform: translateY(0); }

/* Gold divider */
.gold-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--gold-dark) 20%,
    var(--gold) 50%,
    var(--gold-dark) 80%,
    transparent 100%
  );
  margin: 4rem 0;
}

/* ===========================
   LIGHTBOX
=========================== */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.97);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#lightbox.active { display: flex; }

#lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 0 80px rgba(201,168,76,0.2);
}

#lightbox-caption {
  margin-top: 1rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}

#lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
}
#lightbox-close:hover { color: var(--white); }

#lightbox-prev,
#lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  font-size: 1.5rem;
  padding: 0.8rem 1.1rem;
  cursor: pointer;
  transition: all var(--transition);
}
#lightbox-prev { left: 1.5rem; }
#lightbox-next { right: 1.5rem; }
#lightbox-prev:hover,
#lightbox-next:hover {
  background: var(--gold);
  color: var(--black);
}

/* ===========================
   CONTACT PAGE
=========================== */
.contact-hero {
  position: relative;
  height: 55vh;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.contact-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://groovylinepics.be/wp-content/uploads/2024/06/sisters-of-mercy-1-scaled.jpg');
  background-size: cover;
  background-position: center 25%;
  filter: brightness(0.25);
}

.contact-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.6));
}

.contact-section {
  background: var(--dark);
  padding: 6rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.contact-info h2 { margin-bottom: 0.8rem; }
.contact-info p { color: var(--grey); }

.contact-detail {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-detail-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail-text {
  font-size: 0.88rem;
  color: var(--grey);
}
.contact-detail-text strong {
  display: block;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

/* Contact Form */
.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: var(--dark3);
  border: 1px solid #2a2a2a;
  border-bottom-color: var(--gold-dark);
  color: var(--white);
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-bottom-color: var(--gold);
  box-shadow: 0 4px 20px rgba(201,168,76,0.08);
}

.contact-form textarea { resize: vertical; min-height: 150px; }

.contact-form select option { background: var(--dark3); }

.btn-gold {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  z-index: 0;
}

.btn-gold:hover { color: var(--black); }
.btn-gold:hover::before { transform: scaleX(1); }
.btn-gold span { position: relative; z-index: 1; }

/* ===========================
   FOOTER
=========================== */
#site-footer {
  background: #050505;
  border-top: 1px solid #1a1a1a;
  padding: 3.5rem 0 2rem;
  text-align: center;
}

.footer-logo img {
  height: 64px;
  width: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 0 10px rgba(201,168,76,0.3));
}

.footer-tagline {
  font-family: var(--font-head);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2rem;
  list-style: none;
}

.footer-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.75rem;
  color: #444;
  letter-spacing: 0.08em;
}

/* ===========================
   PAGE TRANSITIONS & ANIMATIONS
=========================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE NAV
=========================== */
@media (max-width: 680px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.97);
    padding: 2rem;
    transform: translateY(-120%);
    transition: transform var(--transition);
    border-bottom: 1px solid var(--gold-dark);
  }

  .site-nav.open { transform: translateY(0); }

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

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

  .portfolio-grid { columns: 1; }
}

/* ===========================
   SCROLLBAR
=========================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
