/*
Theme Name: Persian Vibes SD
Theme URI: https://sdpersianvibes.com
Author: Persian Vibes SD
Description: Official custom theme for SD Persian Vibes — Live Persian Music & Events in San Diego. Bold black and gold design.
Version: 1.0.0
License: Private
Text Domain: persian-vibes
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg:          #080808;
  --surface:     #111111;
  --surface2:    #191919;
  --border:      #242424;
  --border-light:#2e2e2e;
  --accent:      #F5C200;
  --accent-dk:   #D4A700;
  --accent-dim:  #1E1900;
  --accent-glow: rgba(245, 194, 0, 0.12);
  --text-1:      #EDE7D3;
  --text-2:      #8A8272;
  --text-3:      #4A4540;
  --radius-sm:   8px;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(0,0,0,0.6);
  --shadow-gold: 0 0 40px rgba(245,194,0,0.08);
  --nav-h:       68px;
  --max-w:       1140px;
  --font-sans:   'Inter', system-ui, sans-serif;
  --font-serif:  'Playfair Display', Georgia, serif;
  --transition:  0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-sans); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--text-1);
}

p { color: var(--text-2); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

#site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.current-menu-item { color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: #080808 !important;
  font-weight: 700 !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--accent-dk) !important; transform: scale(1.03); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 24px 40px;
  z-index: 999;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.nav-mobile a {
  font-size: 1rem; font-weight: 500; color: var(--text-2);
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--accent); }

/* ============================================================
   PAGE WRAPPER — offset for fixed nav
   ============================================================ */
.page-wrap { padding-top: var(--nav-h); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(245,194,0,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-logo-img {
  width: 200px;
  height: auto;
  margin: 0 auto 28px;
  filter: drop-shadow(0 0 40px rgba(245,194,0,0.25));
}

.hero-brand {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.hero-brand em {
  color: var(--accent);
  font-style: normal;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 40px;
}

.hero-divider {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: none;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #080808;
}
.btn-primary:hover {
  background: var(--accent-dk);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-1);
  border: 1.5px solid var(--border-light);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-sm {
  font-size: 0.82rem;
  padding: 9px 18px;
}

/* ============================================================
   SECTION SHARED STYLES
   ============================================================ */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245,194,0,0.2);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 520px;
  margin: 0 auto;
}

/* ============================================================
   EVENT CARDS
   ============================================================ */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}

.event-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.event-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245,194,0,0.3);
  box-shadow: var(--shadow), var(--shadow-gold);
}

.event-card-banner {
  height: 175px;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.event-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card-body {
  padding: 22px 22px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-date-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245,194,0,0.18);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
  width: fit-content;
}

.event-card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-1);
  line-height: 1.3;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 18px;
}

.event-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-2);
}

.event-meta-row svg { flex-shrink: 0; opacity: 0.55; }

.event-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.event-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-1);
}
.event-price span {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-3);
}

.badge-sold-out {
  font-size: 0.75rem;
  font-weight: 700;
  color: #e05252;
  background: #200d0d;
  border: 1px solid #3a1515;
  padding: 4px 12px;
  border-radius: 100px;
}

.badge-free {
  font-size: 0.75rem;
  font-weight: 700;
  color: #52c97a;
  background: #0d2015;
  border: 1px solid #1a4030;
  padding: 4px 12px;
  border-radius: 100px;
}

/* ============================================================
   ABOUT STRIP (homepage teaser)
   ============================================================ */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-strip-text .eyebrow { margin-bottom: 14px; }
.about-strip-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px; }
.about-strip-text p { font-size: 1rem; line-height: 1.75; margin-bottom: 28px; }

.about-strip-visual {
  aspect-ratio: 4/3;
  background: var(--surface2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.about-strip-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-wrap {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-wrap h2 { font-size: 1.8rem; margin-bottom: 10px; }
.newsletter-wrap p { margin-bottom: 28px; }

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input[type="email"] {
  flex: 1 1 240px;
  padding: 13px 18px;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-1);
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input[type="email"]:focus { border-color: var(--accent); }
.newsletter-form input[type="email"]::placeholder { color: var(--text-3); }

.newsletter-note {
  margin-top: 12px;
  font-size: 0.76rem;
  color: var(--text-3);
}

.newsletter-success {
  display: none;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-socials {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-2);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.footer-socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-3);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 72px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% -20%, rgba(245,194,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 10px;
}
.page-hero p { font-size: 1rem; color: var(--text-2); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-content {
  max-width: 760px;
  margin: 0 auto;
}

.about-content h2 { font-size: 1.7rem; margin-bottom: 14px; margin-top: 48px; }
.about-content h2:first-child { margin-top: 0; }
.about-content p { font-size: 1rem; line-height: 1.8; margin-bottom: 18px; }

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: border-color var(--transition);
}
.value-card:hover { border-color: rgba(245,194,0,0.3); }

.value-icon { font-size: 2rem; margin-bottom: 10px; }
.value-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 6px;
}
.value-desc { font-size: 0.85rem; color: var(--text-2); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { font-size: 1.6rem; margin-bottom: 16px; }
.contact-info p { margin-bottom: 28px; font-size: 0.97rem; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-2);
  margin-bottom: 14px;
}
.contact-detail-icon {
  width: 38px; height: 38px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-socials { display: flex; gap: 12px; margin-top: 28px; }
.contact-socials a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem; font-weight: 500;
  color: var(--text-2);
  transition: border-color var(--transition), color var(--transition);
}
.contact-socials a:hover { border-color: var(--accent); color: var(--accent); }

/* WPForms overrides */
.wpforms-container .wpforms-field input,
.wpforms-container .wpforms-field textarea,
.wpforms-container .wpforms-field select {
  background: var(--surface2) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--text-1) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.95rem !important;
  padding: 12px 16px !important;
  transition: border-color var(--transition) !important;
}
.wpforms-container .wpforms-field input:focus,
.wpforms-container .wpforms-field textarea:focus {
  border-color: var(--accent) !important;
  outline: none !important;
}
.wpforms-container .wpforms-field label {
  color: var(--text-2) !important;
  font-size: 0.87rem !important;
  font-weight: 500 !important;
  margin-bottom: 6px !important;
}
.wpforms-container .wpforms-submit-container button {
  background: var(--accent) !important;
  color: #080808 !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  padding: 13px 28px !important;
  font-size: 0.9rem !important;
  cursor: pointer !important;
}
.wpforms-container .wpforms-submit-container button:hover {
  background: var(--accent-dk) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about-strip {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-strip-visual { display: none; }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { padding: 20px; }
  .hero { padding: 48px 20px; min-height: auto; }
  .hero-logo-img { width: 150px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-socials { justify-content: center; }
  .events-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr 1fr; }
  .contact-socials { flex-direction: column; }
}
