/*
Theme Name: Nueva Alabanza
Theme URI: https://www.nuevaalabanza.com
Author: Custom Theme
Author URI: https://www.nuevaalabanza.com
Description: Tema moderno inspirado en Nueva Alabanza — Ministerio de Adoración. Diseño oscuro/claro, tipografía limpia y enfoque en música de adoración. Ideal para ministerios de alabanza, iglesias y artistas cristianos.
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nueva-alabanza
Tags: custom-menu, featured-images, translation-ready, blog, one-column, custom-logo, custom-colors
*/

/* =====================================================
   CSS Variables & Reset
   ===================================================== */
:root {
  --na-dark: #0a0e1a;
  --na-darker: #060912;
  --na-navy: #0f172a;
  --na-blue: #3b82f6;
  --na-blue-light: #60a5fa;
  --na-blue-dark: #2563eb;
  --na-gold: #d4a017;
  --na-text: #e2e8f0;
  --na-text-muted: #94a3b8;
  --na-white: #ffffff;
  --na-light-bg: #f1f5f9;
  --na-light-text: #0f172a;
  --na-radius: 12px;
  --na-transition: 0.3s ease;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--na-dark);
  color: var(--na-text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--na-transition);
}

ul, ol {
  list-style: none;
}

/* =====================================================
   Typography
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================================================
   Header / Navigation
   ===================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--na-transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-branding .custom-logo-link img,
.site-logo-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.site-logo-placeholder {
  background: linear-gradient(135deg, #1e3a5f, #0f172a);
  border: 2px solid var(--na-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--na-gold);
  text-align: center;
  line-height: 1.1;
}

.site-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--na-white);
}

.site-title span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--na-text-muted);
  letter-spacing: 0.08em;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-navigation a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--na-text-muted);
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
  color: var(--na-white);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--na-transition);
}

.btn-primary {
  background: var(--na-blue);
  color: var(--na-white);
}

.btn-primary:hover {
  background: var(--na-blue-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--na-white);
}

.btn-outline:hover {
  border-color: var(--na-white);
  background: rgba(255,255,255,0.05);
}

.btn-ghost {
  background: transparent;
  color: var(--na-blue-light);
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.btn-ghost:hover {
  border-bottom-color: var(--na-blue-light);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--na-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--na-darker);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(59, 130, 246, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(212, 160, 23, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, transparent 60%, var(--na-dark) 100%);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--na-blue-light);
  margin-bottom: 28px;
}

.hero-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--na-blue);
  border-radius: 2px;
}

.hero-label span {
  color: var(--na-text-muted);
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  color: var(--na-white);
  margin-bottom: 24px;
}

.hero h1 .accent {
  color: var(--na-blue);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--na-text-muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 24px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--na-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =====================================================
   Section common
   ===================================================== */
.section {
  padding: 100px 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--na-blue);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--na-blue);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 24px;
}

.section-title .accent {
  color: var(--na-blue);
}

/* Light sections */
.section-light {
  background: var(--na-light-bg);
  color: var(--na-light-text);
}

.section-light .section-label {
  color: var(--na-blue-dark);
}

.section-light .section-label::before {
  background: var(--na-blue);
}

.section-light p {
  color: #475569;
}

/* =====================================================
   About / Essence Section
   ===================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-icon {
  width: 64px;
  height: 64px;
  color: var(--na-blue);
  margin-bottom: 16px;
}

.about-meta {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 8px;
}

/* =====================================================
   Music / Songs Section
   ===================================================== */
.music-section {
  background: var(--na-navy);
}

.songs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.song-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--na-radius);
  overflow: hidden;
  transition: transform var(--na-transition), border-color var(--na-transition);
}

.song-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.3);
}

.song-card-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--na-text-muted);
  font-size: 2rem;
  position: relative;
  overflow: hidden;
}

.song-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.song-card-body {
  padding: 20px;
}

.song-card-meta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--na-blue-light);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.song-card-title {
  font-size: 1.25rem;
  color: var(--na-white);
  margin-bottom: 8px;
}

.song-card-desc {
  font-size: 0.9rem;
  color: var(--na-text-muted);
  line-height: 1.5;
}

/* =====================================================
   Quote / Invitation Section
   ===================================================== */
.quote-section {
  background: var(--na-light-bg);
  text-align: left;
}

.quote-section blockquote {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--na-light-text);
  line-height: 1.25;
  max-width: 700px;
  margin-bottom: 16px;
}

.quote-section .quote-sub {
  color: #64748b;
  font-size: 1.05rem;
}

/* =====================================================
   CTA / Contact Section
   ===================================================== */
.cta-section {
  background: #e0e7ff;
  color: var(--na-light-text);
  padding: 80px 0;
}

.cta-section h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 12px;
}

.cta-section h2 .accent {
  color: var(--na-blue);
}

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

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
  background: var(--na-darker);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .site-title {
  margin-bottom: 8px;
}

.footer-brand p {
  color: var(--na-text-muted);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--na-blue-light);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--na-text-muted);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--na-white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
  color: var(--na-text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* =====================================================
   WordPress content styles
   ===================================================== */
.entry-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
  margin: 1.5em 0 0.6em;
  color: var(--na-white);
}

.entry-content p {
  margin-bottom: 1.2em;
  color: var(--na-text-muted);
}

.entry-content a {
  color: var(--na-blue-light);
}

.entry-content ul,
.entry-content ol {
  margin: 1em 0 1.5em 1.5em;
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

.page-header {
  padding: 140px 0 40px;
  text-align: center;
  background: var(--na-darker);
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--na-white);
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-navigation {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--na-dark);
    padding: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .main-navigation.is-open {
    display: block;
  }

  .main-navigation ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero {
    min-height: 90vh;
    padding: 100px 0 60px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 70px 0;
  }
}
