/*
Theme Name: Tribus Club de Arte
Theme URI: https://tribusclubdearte.com.ar
Author: Tribus Club de Arte
Description: Theme personalizado para Tribus Club de Arte — bar, recinto y club de arte en Santa Fe.
Version: 1.0.0
Text Domain: tribus-theme
*/

:root {
  --bg: oklch(0.155 0.006 285);
  --surface: oklch(0.205 0.008 285);
  --fg: oklch(0.93 0.012 90);
  --muted: oklch(0.72 0.012 90);
  --border: oklch(0.93 0.012 90 / 0.16);
  --accent: oklch(0.58 0.22 25);
  --violet: oklch(0.63 0.17 305);
  --rojo: oklch(0.52 0.21 27);
  --tape: oklch(0.78 0.06 110);
  --ink-on-accent: oklch(0.16 0.02 35);
  --font-display: "Anton", "Arial Narrow", "Impact", sans-serif;
  --font-body: "Oswald", "Arial Narrow", sans-serif;
  --font-script: "Segoe Script", "Brush Script MT", cursive;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.section-header h1,
.section-header h2,
.section-header h3 {
  font-family: 'Anton', 'Arial Narrow', 'Impact', sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
}

.navbar-links a,
.btn,
.field label,
.en-desarrollo,
.footer {
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, oklch(0.35 0.008 285 / 0.12) 1px, transparent 1px);
  background-size: 6px 6px;
}

body > * {
  position: relative;
  z-index: 1;
}

a { color: inherit; text-decoration: none; }

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

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  height: 40px;
  width: auto;
}

.navbar-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.navbar-links a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.navbar-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.navbar-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  margin: 5px 0;
  transition: 0.3s;
}

/* ---------- footer ---------- */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg);
  border-top: 3px solid var(--accent);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-body);
}

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

.footer-left span {
  letter-spacing: 0.01em;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--muted);
  transition: color 0.2s, transform 0.2s;
}

.footer-icon:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.footer-icon svg {
  width: 16px;
  height: 16px;
}

.footer-address {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-copy {
  font-size: 11px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

/* ---------- en desarrollo ---------- */
.en-desarrollo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 80px);
}

.en-desarrollo {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 48px);
  color: var(--accent);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
}

/* ---------- section ---------- */
.section {
  padding-top: 48px;
  padding-bottom: 80px;
}

/* ---------- pancarta / marquee ---------- */
.pancarta {
  background: #f5f5f0;
  border: 3px solid #222;
  padding: 4px 0;
  width: 100%;
}

.pancarta-row {
  position: relative;
  display: flex;
  align-items: center;
  padding: 6px clamp(16px, 3vw, 40px);
  border-bottom: 1px solid #ddd;
  gap: clamp(20px, 4vw, 60px);
  min-height: 48px;
}

.pancarta-row:last-child {
  border-bottom: none;
}

/* Luz cálida tipo reflector que nace del borde inferior y se refleja hacia arriba */
.pancarta-row::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    ellipse 90% 130% at 50% 100%,
    rgba(255, 196, 116, 0.6) 0%,
    rgba(255, 214, 150, 0.26) 45%,
    rgba(255, 224, 170, 0) 78%
  );
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.pancarta-row:hover::before {
  opacity: 1;
}

/* Tooltip al hacer hover solo si la fila es un link */
.pancarta-row.is-link::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 50%;
  right: clamp(16px, 3vw, 40px);
  transform: translateY(-50%) translateX(8px);
  z-index: 5;
  background: var(--accent);
  color: var(--ink-on-accent);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 7px 12px;
  white-space: nowrap;
  border-radius: 2px;
  box-shadow: 0 4px 14px oklch(0.1 0.02 30 / 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.pancarta-row.is-link:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.pancarta-row.is-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.pancarta-gratis {
  font-family: 'Roboto Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
  border: 1.5px solid #111;
  border-radius: 3px;
  padding: 3px 4px;
  line-height: 1;
  white-space: nowrap;
}

/* Honeypot anti-spam: oculto para humanos, visible para bots */
.tribus-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.pancarta-dia {
  font-family: 'Roboto Mono', monospace;
  font-size: 30px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  width: 50px;
  text-align: right;
  justify-content: flex-end;
}

.pancarta-mes {
  font-family: 'Roboto Mono', monospace;
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #111;
  line-height: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  width: 55px;
}

.pancarta-icono {
  width: 36px;
  height: 31px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pancarta-icono svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pancarta-artista {
  font-family: 'Roboto Mono', monospace;
  font-size: clamp(18px, 3.2vw, 34px);
  font-weight: 400;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  line-height: 1;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  padding: 0 4px;
  display: flex;
  align-items: center;
}

@media (max-width: 600px) {
  .pancarta-row {
    padding: 6px 10px;
    gap: 6px;
    min-height: 40px;
  }

  .pancarta-dia {
    font-size: 17px;
    width: 28px;
  }

  .pancarta-mes {
    font-size: 17px;
    width: 32px;
  }

  .pancarta-icono {
    width: 20px;
    height: 18px;
  }

  .pancarta-gratis {
    font-size: 7px;
    padding: 1px 3px;
    letter-spacing: 0.04em;
  }

  .pancarta-artista {
    font-size: 14px;
    letter-spacing: 0.06em;
  }
}

/* ---------- section header ---------- */
.section-header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 40px;
}

.section-header h1 {
  font-family: 'Anton', 'Arial Narrow', 'Impact', sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: clamp(32px, 5vw, 56px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-kicker {
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
  line-height: 1.1;
}
.carta-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }

/* ---------- contacto / form ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px;
}

.field { margin-bottom: 24px; }

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  font-size: 15px;
  padding: 14px 16px;
  transition: border-color 0.2s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 0.5;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: var(--ink-on-accent);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- dropzone ---------- */
.dropzone {
  border: 2px dashed var(--border);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.dropzone:hover,
.dropzone.dragover {
  border-color: var(--accent);
  background: oklch(0.205 0.008 285 / 0.5);
}

.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.dropzone-text {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
  pointer-events: none;
}

.dropzone-text strong {
  color: var(--accent);
  font-weight: 600;
}

.dropzone-hint {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.7;
  pointer-events: none;
}

.dropzone svg {
  pointer-events: none;
  margin-bottom: 8px;
}

.dropzone-file {
  margin-top: 12px;
  font-size: 13px;
  color: var(--accent);
}

.form-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}

.form-note a {
  color: var(--muted);
  text-decoration: underline;
}

/* ---------- responsive ---------- */
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 16px;
  }
  .navbar-burger { display: block; }

  .footer {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    text-align: center;
  }

  .footer-left {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 4px;
  }

  .footer-right {
    padding-left: 0;
    border-left: none;
  }

  .form-card { padding: 24px; }

  .section-header {
    flex-direction: column;
    gap: 8px;
  }
}
