/*
Theme Name:  Yosman Botero
Theme URI:   http://localhost/xampp/yosmanbotero-wp
Description: Tema personalizado para Yosman Botero — Arte Contemporáneo
Author:      Yosman Botero
Template:    astra
Version:     1.0.0
Text Domain: yosmanbotero
*/

/* ============================================================
   RESET — Astra overrides
   ============================================================ */
.ast-container,
.entry-content,
.site-content,
#primary,
#content,
.ast-row { all: unset; display: block; }

.ast-header-break-point .main-header-bar { display: none !important; }
.ast-footer-overlay, footer.site-footer { display: none !important; }
body.ast-page-builder-template .entry-content,
body .entry-content { padding: 0 !important; margin: 0 !important; }
.ast-above-header-bar, .ast-below-header-bar { display: none !important; }
#page { padding-top: 0 !important; }
#ast-scroll-top { display: none !important; }
.woocommerce-breadcrumb { display: none !important; }

/* ============================================================
   YOSMAN BOTERO — Replica fiel del sitio original
   ============================================================ */

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

:root {
  --navy:      #324158;
  --active:    #a0a09f;
  --gray-mid:  #8a8a8a;
  --gray-light:#cccccc;
  --link-blue: #5c7fa8;
  --white:     #ffffff;
  --font:      'Jost', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--navy);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:visited { color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── WordPress admin bar offset ── */
body.admin-bar #site-header { margin-top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar #site-header { margin-top: 46px; }
}

/* ============================================================
   CONTAINER
   ============================================================ */
.site-container {
  max-width: 910px;
  margin: 0 auto;
  padding: 0;
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  background: transparent;
  padding: 37px 0 20px;
}
#site-header .site-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.logo {
  font-size: 37px;
  font-weight: 300;
  line-height: 1.01;
  letter-spacing: 0;
  color: var(--navy);
  text-decoration: none;
  display: block;
  position: relative;
  padding-bottom: 8px;
}
.logo::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: #c5c5c5;
  margin-top: 7px;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}
.header-top-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-divider {
  width: 1px;
  height: 18px;
  background: var(--gray-light);
  display: inline-block;
}

.login-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--navy);
  font-weight: 400;
}
.login-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f0f0f0;
}
.login-avatar svg { width: 18px; height: 18px; fill: var(--gray-mid); }

.lang-select {
  font-size: 11.5px;
  color: var(--navy);
  border: 1px solid #d8d8d8;
  border-radius: 20px;
  padding: 3px 24px 3px 10px;
  cursor: pointer;
  background: white;
  font-family: var(--font);
  font-weight: 400;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.lang-wrapper {
  position: relative;
  display: inline-block;
}
.lang-wrapper::after {
  content: '∨';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-52%);
  pointer-events: none;
  font-size: 10px;
  color: var(--navy);
  line-height: 1;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-nav {
  margin-top: 0;
  border-bottom: 1px solid var(--gray-light);
}
#site-nav .site-container {
  padding: 0 20px;
  display: flex;
  align-items: center;
}

ul.nav-list {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.nav-list li { position: relative; }
ul.nav-list li a {
  display: block;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--navy);
  padding: 10px 0;
  line-height: 34px;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s;
  text-decoration: none;
}
ul.nav-list li a:hover { color: var(--active); }
ul.nav-list li a.active { color: var(--active); }
ul.nav-list li a.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--active);
}

/* ── Dropdown ── */
ul.nav-list li.has-dropdown { position: relative; }
ul.nav-list li.has-dropdown .nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  background: rgba(255,255,255,0.95);
  min-width: 270px;
  z-index: 500;
  max-height: calc(100vh - 210px);
  overflow-y: auto;
  padding: 12px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
ul.nav-list li.has-dropdown:hover .nav-dropdown { display: block; }
ul.nav-list li:last-child .nav-dropdown { left: auto; right: 0; }

.nav-dropdown a {
  display: block !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
  color: var(--navy) !important;
  padding: 9px 20px !important;
  white-space: nowrap;
  border-bottom: 1px solid rgba(50,65,88,0.12) !important;
  transition: color 0.15s, background 0.15s !important;
  line-height: 1.4 !important;
}
.nav-dropdown a:last-child { border-bottom: none !important; }
.nav-dropdown a:hover {
  background: rgba(50,65,88,0.06) !important;
  color: var(--active) !important;
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 300;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile drawer ── */
.nav-mobile-drawer {
  display: none;
  flex-direction: column;
  background: white;
  border-top: 1px solid var(--gray-light);
  padding: 10px 0 20px;
  position: relative;
  z-index: 200;
}
.nav-mobile-drawer.open { display: flex; }
.nav-mobile-drawer a {
  font-size: 13px;
  font-weight: 400;
  color: var(--navy);
  padding: 10px 20px;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.2s;
  display: block;
  text-decoration: none;
}
.nav-mobile-drawer a.active { color: var(--active); }
.nav-mobile-drawer a:hover { color: var(--active); }
.nav-mobile-drawer .mobile-sub a {
  padding-left: 36px;
  font-size: 12px;
  color: var(--gray-mid);
}

/* ============================================================
   PAGE CONTENT
   ============================================================ */
#page-content {
  min-height: calc(100vh - 200px);
}

/* ============================================================
   HOME — hero full viewport
   ============================================================ */
body.page-home #site-header,
body.page-home #site-nav {
  position: relative;
  z-index: 10;
}
body.page-home #page-content {
  margin-top: -200px;
  position: relative;
  z-index: 1;
}
.hero-image-wrap {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.hero-image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 70%;
}
.hero-caption {
  position: absolute;
  bottom: 10px;
  right: 16px;
  font-size: 9.6px;
  color: var(--gray-mid);
  letter-spacing: 0.05em;
}

/* ============================================================
   STATEMENT
   ============================================================ */
.statement-wrap {
  max-width: 580px;
  margin: 60px auto;
  padding: 0 20px;
}
.statement-wrap p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--navy);
  margin-bottom: 1.4em;
  text-align: justify;
}

/* ============================================================
   CV
   ============================================================ */
.cv-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0 50px;
  padding: 40px 20px 60px;
  max-width: 980px;
  margin: 0 auto;
}
.cv-photo {
  width: 220px;
  height: 220px;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin-bottom: 20px;
  filter: grayscale(100%);
}
.cv-bio-location {
  font-size: 12.5px;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 600;
}
.cv-bio-text {
  font-size: 12px;
  line-height: 1.8;
  color: var(--navy);
}
.cv-section { margin-bottom: 28px; }
.cv-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
  margin-top: 4px;
}
.cv-entry {
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--navy);
}
.cv-entry a { color: var(--link-blue); }

/* ============================================================
   PROJECTS
   ============================================================ */
.projects-layout {
  display: grid;
  grid-template-columns: 1fr 580px;
  gap: 0 40px;
  padding: 40px 20px 60px;
  max-width: 980px;
  margin: 0 auto;
}
.projects-title {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.6;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.projects-grid img {
  width: 100%;
  aspect-ratio: 174 / 130;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: opacity 0.2s;
}
.projects-grid img:hover { opacity: 0.82; }

.proj-desc {
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 1em;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
}
.proj-subtitle {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin: 12px 0 8px;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  cursor: default;
  animation: lb-in 0.2s ease;
}
@keyframes lb-in {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}
#lightbox-close {
  position: fixed;
  top: 20px;
  right: 26px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
  font-family: var(--font);
  opacity: 0.8;
  transition: opacity 0.2s;
}
#lightbox-close:hover { opacity: 1; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-info-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  min-height: calc(100vh - 200px);
}
.contact-info-block {
  text-align: center;
  font-size: 13px;
  color: var(--gray-mid);
  line-height: 2;
  letter-spacing: 0.04em;
}
.contact-info-block p { margin: 0; }

/* ============================================================
   SHOP / AVAILABLE WORKS
   ============================================================ */
.shop-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 40px 60px;
}
.shop-sidebar-title {
  font-size: 12px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-light);
}
.shop-filters { list-style: none; margin: 0; padding: 0; }
.shop-filters li { padding: 5px 0; }
.shop-filters li a {
  font-size: 12px;
  color: var(--navy);
  transition: color 0.2s;
  text-decoration: none;
}
.shop-filters li.active a,
.shop-filters li.first a { color: var(--link-blue); }
.shop-filters li a:hover { color: var(--active); }
.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-light);
}
.shop-count { font-size: 11.5px; color: var(--navy); }
.shop-sort  { font-size: 11.5px; color: var(--navy); cursor: pointer; }
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
}
.shop-item {}
.shop-img-wrap {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.shop-img-wrap img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s;
}
.shop-img-wrap:hover img { opacity: 0.82; }
.shop-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(200,200,200,0.85);
  color: #555;
  font-size: 9.6px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 20px;
}
.shop-info { padding-top: 10px; }
.shop-name {
  font-size: 11px;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 4px;
}
.shop-price {
  font-size: 11.5px;
  color: var(--navy);
  margin-bottom: 8px;
}
.shop-btn {
  display: block;
  width: 100%;
  font-family: var(--font);
  font-size: 10.4px;
  color: var(--gray-mid);
  background: transparent;
  border: 1px solid var(--gray-light);
  border-radius: 20px;
  padding: 6px 10px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.shop-btn:hover { border-color: var(--gray-mid); color: var(--navy); }

/* ============================================================
   MEDIA / PROXIMAS / PASADOS
   ============================================================ */
.proximas-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 60px 20px;
}
.proximas-event-type {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 4px;
}
.proximas-event-detail {
  font-size: 12px;
  color: var(--gray-mid);
}
.proximas-event-detail a { color: var(--link-blue); }

/* ============================================================
   YOSHBOTT MAIN
   ============================================================ */
body.page-yoshbott-main #page-content {
  background: #000;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.yoshbott-img {
  max-width: 520px;
  width: 90%;
  display: block;
}

/* ============================================================
   RESPONSIVE — Tablet ≤1024px
   ============================================================ */
@media (max-width: 1024px) {
  .site-container { max-width: 100%; padding: 0 20px; }
  .projects-layout { grid-template-columns: 1fr; gap: 24px 0; padding: 32px 20px 50px; }
  .projects-grid { gap: 16px; }
  .shop-layout { grid-template-columns: 160px 1fr; gap: 0 24px; }
  .shop-grid { grid-template-columns: repeat(3, 1fr); gap: 16px 12px; }
  .cv-layout { gap: 0 30px; }
}

/* ============================================================
   RESPONSIVE — Mobile ≤768px
   ============================================================ */
@media (max-width: 768px) {
  #site-header { padding: 12px 0 8px; }
  .logo { font-size: 26px; }
  .header-right { display: none; }
  .hamburger { display: flex; }
  ul.nav-list { display: none; }
  #site-nav .site-container { justify-content: flex-end; padding: 6px 20px; }
  .cv-layout { grid-template-columns: 1fr; padding: 24px 16px 40px; }
  .cv-photo { width: 140px; height: 140px; }
  .projects-layout { grid-template-columns: 1fr; padding: 24px 16px 40px; gap: 20px 0; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .shop-layout { grid-template-columns: 1fr; padding: 24px 16px 40px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 12px 10px; }
  .statement-wrap { margin: 30px auto; padding: 0 16px; }
  #lightbox img { max-width: 96vw; max-height: 80vh; }
}

@media (max-width: 480px) {
  .logo { font-size: 22px; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 10px 8px; }
}

/* ============================================================
   SOBRE EL ARTISTA — Bio page
   ============================================================ */
.bio-layout {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.bio-header {
  margin-bottom: 40px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 24px;
}

.bio-header h1 {
  font-size: 32px;
  font-weight: 600;
  color: #324158;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.bio-subtitle {
  font-size: 14px;
  color: #888;
  margin: 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bio-section {
  margin-bottom: 40px;
}

.bio-section h2 {
  font-size: 13px;
  font-weight: 600;
  color: #324158;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8e8e8;
}

.bio-section p {
  font-size: 15px;
  line-height: 1.75;
  color: #444;
  margin: 0 0 14px;
}

.bio-projects-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bio-projects-list li {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.bio-projects-list li:last-child {
  border-bottom: none;
}

.bio-cta {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #324158;
  text-decoration: none;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #324158;
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.bio-cta:hover { opacity: 0.6; }

.bio-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bio-links li {
  margin-bottom: 8px;
}

.bio-links a {
  font-size: 14px;
  color: #324158;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.bio-links a:hover { border-bottom-color: #324158; }

/* ============================================================
   PREGUNTAS FRECUENTES — FAQ page
   ============================================================ */
.faq-layout {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.faq-header {
  margin-bottom: 40px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 24px;
}

.faq-header h1 {
  font-size: 32px;
  font-weight: 600;
  color: #324158;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.faq-intro {
  font-size: 15px;
  color: #888;
  margin: 0;
}

.faq-list {
  margin-bottom: 48px;
}

.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid #e8e8e8;
}

.faq-item:first-child {
  border-top: 1px solid #e8e8e8;
}

.faq-question {
  font-size: 15px;
  font-weight: 600;
  color: #324158;
  margin: 0 0 10px;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.75;
  color: #555;
  margin: 0;
}

.faq-answer a {
  color: #324158;
  text-decoration: none;
  border-bottom: 1px solid #aaa;
  transition: border-color 0.2s;
}

.faq-answer a:hover { border-bottom-color: #324158; }

.faq-more {
  font-size: 14px;
  color: #888;
}

.faq-more a {
  color: #324158;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #324158;
  padding-bottom: 1px;
  transition: opacity 0.2s;
}

.faq-more a:hover { opacity: 0.6; }

/* ============================================================
   RESPONSIVE — Bio & FAQ ≤768px
   ============================================================ */
@media (max-width: 768px) {
  .bio-layout,
  .faq-layout { padding: 32px 16px 60px; }

  .bio-header h1,
  .faq-header h1 { font-size: 26px; }
}

@media (max-width: 480px) {
  .bio-header h1,
  .faq-header h1 { font-size: 22px; }
}
