/* ============================================================
   PISCIS CLUB — piscis.css
   ============================================================ */

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  --bg-base:       #08080f;
  --bg-surface:    #0f0d1a;
  --bg-card:       #13101f;
  --bg-hover:      #1a1530;

  --accent:        #c084fc;
  --accent-deep:   #7c3aed;
  --accent-glow:   rgba(192,132,252,0.12);

  --pink:          #f472b6;
  --yellow:        #facc15;
  --green:         #4ade80;
  --blue:          #60a5fa;
  --orange:        #fb923c;

  --text-primary:  #ede8ff;
  --text-muted:    #7c6a99;
  --text-faint:    #3d3555;

  --border:        rgba(255,255,255,0.08);
  --border-light:  rgba(255,255,255,0.14);

  --font-display:  'Bebas Neue', sans-serif;
  --font-body:     'DM Sans', sans-serif;

  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     16px;
  --radius-pill:   999px;

  --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-body);
  background: var(--bg-base);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #fff; }
button { font-family: var(--font-body); cursor: pointer; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--text-primary);
}

h1 { font-size: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.3rem; }

p { color: var(--text-muted); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow { max-width: 800px; }

/* ── RAINBOW BAR ─────────────────────────────────────────────── */
.rainbow-bar {
  height: 3px;
  background: linear-gradient(90deg, #f472b6, #fb923c, #facc15, #4ade80, #60a5fa, #c084fc);
}

/* ── HEADER / NAV ────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,15,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
}

.site-header .rainbow-bar { position: absolute; top: 0; left: 0; right: 0; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding-top: 3px;
}

/* Logo */
.site-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
}

.site-logo .logo-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 5px;
  color: var(--accent);
  line-height: 1;
}

.site-logo .logo-since {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* Navigation */
.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 0;
}

.primary-nav ul li { position: relative; }

.primary-nav ul li > a {
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 1.1rem;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  border-right: 0.5px solid var(--border);
  transition: color var(--transition), background var(--transition);
}

.primary-nav ul li:first-child > a { border-left: 0.5px solid var(--border); }

.primary-nav ul li > a:hover,
.primary-nav ul li.current-menu-item > a,
.primary-nav ul li.current-menu-ancestor > a {
  color: var(--accent);
  background: var(--accent-glow);
}

/* Dropdown */
.primary-nav ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-surface);
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-md);
  min-width: 200px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}

.primary-nav ul li:hover > ul { display: flex; }

.primary-nav ul li ul li a {
  display: block;
  height: auto;
  padding: 10px 16px;
  border: none;
  border-bottom: 0.5px solid var(--border);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.primary-nav ul li ul li:last-child a { border-bottom: none; }
.primary-nav ul li ul li a:hover { color: var(--accent); background: var(--accent-glow); }

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  color: var(--text-muted);
  font-size: 20px;
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg-base);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,58,237,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(244,114,182,0.08) 0%, transparent 60%);
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 1.5rem;
}

.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 10rem);
  letter-spacing: 8px;
  color: var(--text-primary);
  line-height: 0.95;
  margin-bottom: 0.3em;
}

.hero-title .accent { color: var(--accent); }

.hero-tagline {
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(192,132,252,0.1);
  border: 0.5px solid rgba(192,132,252,0.3);
  border-radius: var(--radius-pill);
  padding: 6px 20px;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 2.5rem;
}

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

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-deep);
  color: #fff;
}
.btn-primary:hover { background: #6d28d9; color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 0.5px solid var(--accent-deep);
}
.btn-outline:hover { background: var(--accent-glow); color: var(--accent); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 0.5px solid var(--border-light);
}
.btn-ghost:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

/* ── SECTION COMMONS ─────────────────────────────────────────── */
.section {
  padding: 5rem 0;
  border-bottom: 0.5px solid var(--border);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 3px;
  color: var(--text-primary);
}

/* ── COLOR ACCENTS PER SECTION ───────────────────────────────── */
.section--club    .section-eyebrow,
.section--club    .section-dot { color: var(--accent); }
.section--shows   .section-eyebrow,
.section--shows   .section-dot { color: var(--pink); }
.section--fiestas .section-eyebrow,
.section--fiestas .section-dot { color: var(--yellow); }
.section--juegos  .section-eyebrow,
.section--juegos  .section-dot { color: var(--green); }
.section--venir   .section-eyebrow,
.section--venir   .section-dot { color: var(--blue); }

/* ── PAGE HERO (páginas interiores) ──────────────────────────── */
.page-hero {
  padding: 4rem 0 2.5rem;
  border-bottom: 0.5px solid var(--border);
  background: var(--bg-surface);
}

.page-hero-eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.5rem;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 4px;
  margin-bottom: 0.75rem;
}

.page-hero-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 600px;
}

/* ── CARDS GRID ─────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.cards-grid--2 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.cards-grid--4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.card {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}

.card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-surface);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-img img { transform: scale(1.04); }

.card-body { padding: 1.25rem; }

.card-label {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.card-excerpt { font-size: 13px; color: var(--text-muted); }

/* ── NAV PAGE CHIPS ──────────────────────────────────────────── */
.page-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.page-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 7px 14px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  transition: all var(--transition);
  text-decoration: none;
}

.page-chip:hover {
  background: var(--accent-glow);
  color: var(--accent);
  border-color: rgba(192,132,252,0.3);
}

.page-chip i { font-size: 14px; }

/* ── AGENDA / EVENT LIST ─────────────────────────────────────── */
.agenda-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.agenda-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  transition: border-color var(--transition);
  text-decoration: none;
  color: inherit;
}

.agenda-item:hover { border-color: var(--border-light); }

.agenda-date {
  text-align: center;
  min-width: 52px;
  flex-shrink: 0;
}

.agenda-date .day {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 1px;
}

.agenda-date .month {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-faint);
}

.agenda-divider {
  width: 0.5px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

.agenda-info { flex: 1; }

.agenda-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.agenda-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.agenda-tag {
  font-size: 9px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── GALLERY GRID ────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 6px;
}

.gallery-grid--masonry {
  columns: 3;
  column-gap: 6px;
}

.gallery-grid--masonry .gallery-item { break-inside: avoid; margin-bottom: 6px; }

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,15,0.85) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 10px 12px;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.gallery-item-overlay span {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-primary);
}

/* ── HORARIO TABLE ───────────────────────────────────────────── */
.horario-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.horario-table th {
  text-align: left;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 2px;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 10px 16px;
  border-bottom: 0.5px solid var(--border);
}

.horario-table td {
  padding: 14px 16px;
  border-bottom: 0.5px solid var(--border);
  color: var(--text-muted);
}

.horario-table tr:last-child td { border-bottom: none; }

.horario-table .dia {
  font-weight: 500;
  color: var(--text-primary);
  width: 40%;
}

.horario-table .hora { color: var(--accent); font-weight: 500; }

.horario-table tr:hover td { background: rgba(255,255,255,0.02); }

.horario-closed { color: var(--text-faint) !important; font-style: italic; }

/* ── VENIR CARDS ─────────────────────────────────────────────── */
.venir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.venir-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.venir-card-icon {
  font-size: 28px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  border: 0.5px solid var(--border);
}

.venir-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: var(--text-primary);
}

.venir-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ── CONTENT AREA (páginas con editor) ───────────────────────── */
.entry-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.entry-content p { color: var(--text-muted); margin-bottom: 1.25rem; }
.entry-content h2 { font-family: var(--font-display); font-size: 2rem; letter-spacing: 2px; margin: 2rem 0 1rem; }
.entry-content h3 { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 1px; margin: 1.5rem 0 0.75rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; color: var(--text-muted); }
.entry-content li { margin-bottom: 0.5rem; }
.entry-content img { border-radius: var(--radius-md); margin: 1.5rem 0; }
.entry-content .wp-block-gallery { margin: 1.5rem 0; }
.entry-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  background: var(--accent-glow);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-muted);
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-surface);
  border-top: 0.5px solid var(--border);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo-name { font-family: var(--font-display); font-size: 2.5rem; letter-spacing: 6px; color: var(--accent); }
.footer-brand .logo-since { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--text-faint); margin-top: 4px; }
.footer-brand p { margin-top: 1rem; font-size: 13px; color: var(--text-faint); }

.footer-col-title {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
}

.footer-nav { list-style: none; }
.footer-nav li { margin-bottom: 0.5rem; }
.footer-nav a { font-size: 13px; color: var(--text-muted); transition: color var(--transition); }
.footer-nav a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 0.5px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy { font-size: 11px; color: var(--text-faint); }

.footer-rainbow {
  display: flex;
  gap: 4px;
}

.footer-rainbow span {
  width: 18px;
  height: 3px;
  border-radius: 2px;
}

/* ── NEWSLETTER BAR ──────────────────────────────────────────── */
.newsletter-bar {
  background: var(--bg-surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.newsletter-bar h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 2px;
  margin-bottom: 0.25rem;
}

.newsletter-bar p { font-size: 13px; margin: 0; }

.newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.newsletter-form input[type="email"] {
  background: rgba(255,255,255,0.05);
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 13px;
  width: 240px;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input[type="email"]::placeholder { color: var(--text-faint); }
.newsletter-form input[type="email"]:focus { border-color: var(--accent); }

/* ── UTILITIES ───────────────────────────────────────────────── */
.tag {
  display: inline-block;
  font-size: 9px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.tag--purple  { background: rgba(192,132,252,0.12); color: #d8b4fe; border: 0.5px solid rgba(192,132,252,0.3); }
.tag--pink    { background: rgba(244,114,182,0.12); color: #f9a8d4; border: 0.5px solid rgba(244,114,182,0.3); }
.tag--yellow  { background: rgba(250,204, 21,0.12); color: #fde68a; border: 0.5px solid rgba(250,204, 21,0.3); }
.tag--green   { background: rgba( 74,222,128,0.12); color: #86efac; border: 0.5px solid rgba( 74,222,128,0.3); }
.tag--blue    { background: rgba( 96,165,250,0.12); color: #bfdbfe; border: 0.5px solid rgba( 96,165,250,0.3); }
.tag--orange  { background: rgba(251,146, 60,0.12); color: #fed7aa; border: 0.5px solid rgba(251,146, 60,0.3); }

.sep { border: none; border-top: 0.5px solid var(--border); margin: 3rem 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── WORDPRESS GALLERY BLOCK ─────────────────────────────────── */
.wp-block-gallery { margin: 1.5rem 0; }
.wp-block-gallery .blocks-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; list-style: none; margin: 0; padding: 0; }
.wp-block-gallery .blocks-gallery-item { margin: 0; }
.wp-block-gallery .blocks-gallery-item figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; }
.wp-block-gallery .blocks-gallery-item img { width: 100%; height: 200px; object-fit: cover; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .header-inner { padding: 0 1rem; }

  .primary-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg-surface); border-bottom: 0.5px solid var(--border); padding: 1rem; }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav ul li > a { height: auto; padding: 12px 1rem; border: none; border-bottom: 0.5px solid var(--border); font-size: 13px; }
  .primary-nav ul li:first-child > a { border-left: none; }
  .primary-nav ul li ul { position: static; display: flex !important; box-shadow: none; border: none; border-radius: 0; }
  .primary-nav ul li ul li a { padding-left: 2rem; }

  .menu-toggle { display: flex; align-items: center; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .gallery-grid--masonry { columns: 2; }

  .newsletter-bar { flex-direction: column; align-items: flex-start; }
  .newsletter-form input[type="email"] { width: 100%; }
}

@media (max-width: 480px) {
  .gallery-grid--masonry { columns: 1; }
  .cards-grid--4 { grid-template-columns: 1fr 1fr; }
}
