/* ========================================
   🏠 INK TIME - HOME
======================================== */


/* ========================================
   🎨 VARIABLES GENERALES
======================================== */

:root {
  --ink-bg: #0a0a0a;
  --ink-surface: #121212;
  --ink-surface-light: #1c1c1c;

  --ink-border: #222222;
  --ink-border-strong: #343a36;

  --ink-primary: #00ff88;
  --ink-primary-dark: #00cc66;
  --ink-primary-soft: rgba(0, 255, 136, 0.08);

  --ink-red: #e85b5b;
  --ink-red-soft: rgba(232, 91, 91, 0.08);

  --ink-text: #f5f5f5;
  --ink-text-soft: #b5b5b5;
  --ink-text-muted: #777777;
}


/* ========================================
   🌐 BASE
======================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  background-color: var(--ink-bg);

  color: var(--ink-text);

  font-family: Arial, sans-serif;

  line-height: 1.5;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}


/* ========================================
   🏠 CONTENEDOR PRINCIPAL
======================================== */

#inktimeHome {
  width: min(1200px, calc(100% - 40px));

  margin: 0 auto;

  padding: 30px 0 80px;
}


/* ========================================
   🔥 HERO / PRESENTACIÓN
======================================== */

#homeHero {
  width: 100%;

  min-height: 280px;

  padding: 50px 30px;

  border: 1px solid var(--ink-border);
  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      #000000,
      #161616
    );

  text-align: center;
}

#homeHero h1 {
  margin: 0;

  color: var(--ink-primary);

  font-size: clamp(42px, 7vw, 72px);

  letter-spacing: 4px;

  text-shadow:
    0 0 18px rgba(0, 255, 136, 0.25);
}

.homeHeroSlogan {
  margin: 8px 0 0;

  font-size: 18px;

  letter-spacing: 3px;

  color: var(--ink-text-soft);
}

.homeHeroDescription {
  max-width: 600px;

  margin: 20px auto 0;

  color: var(--ink-text-soft);

  font-size: 17px;
}


/* ========================================
   🚪 ACCESOS PRINCIPALES
======================================== */

#homeAccess {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 24px;

  margin-top: 35px;
}

.homeAccessOption {
  padding: 30px;

  background: var(--ink-surface);

  border: 1px solid var(--ink-border);
  border-radius: 16px;

  text-align: center;
}

.homeAccessOption h2 {
  margin-top: 0;

  color: var(--ink-primary);
}

.homeAccessOption p {
  color: var(--ink-text-soft);
}


/* ========================================
   🔗 LINKS TIPO BOTÓN
   Estilo sutil igual al Admin
======================================== */

.homeAccessOption a {
  display: inline-block;

  width: auto;
  min-width: 0;

  padding: 7px 12px;

  background: transparent;

  border: 1px solid var(--ink-border-strong);
  border-radius: 6px;

  color: var(--ink-text-soft);

  font-size: 13px;
  font-weight: 550;

  text-decoration: none;

  cursor: pointer;

  box-shadow: none;

  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.homeAccessOption a:hover {
  background: var(--ink-primary-soft);

  border-color: var(--ink-primary);

  color: var(--ink-primary);

  box-shadow: none;

  transform: none;
}


/* ========================================
   🔘 BOTONES GENERALES HOME
   Neutro → verde en hover
======================================== */

button {
  width: auto;
  min-width: 0;

  padding: 7px 12px;

  background: transparent;

  border: 1px solid var(--ink-border-strong);
  border-radius: 6px;

  color: var(--ink-text-soft);

  font-size: 13px;
  font-weight: 550;

  cursor: pointer;

  box-shadow: none;

  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

button:hover {
  background: var(--ink-primary-soft);

  border-color: var(--ink-primary);

  color: var(--ink-primary);

  box-shadow: none;

  transform: none;
}


/* ========================================
   🔎 PANEL DE BÚSQUEDA
======================================== */

#tattooSearchPanel {
  width: min(650px, 100%);

  margin: 35px auto 0;

  padding: 28px;

  background: var(--ink-surface);

  border: 1px solid var(--ink-border);
  border-radius: 16px;

  box-shadow:
    0 10px 35px rgba(0, 0, 0, 0.35);
}

#tattooSearchPanel h2 {
  margin-top: 0;

  color: var(--ink-primary);
}

#tattooSearchPanel label {
  display: block;

  margin-bottom: 7px;

  font-weight: bold;
}


/* ========================================
   📝 INPUTS Y SELECTS
======================================== */

#tattooSearchPanel input,
#tattooSearchPanel select {
  width: 100%;

  padding: 12px;

  border: 1px solid var(--ink-border);
  border-radius: 10px;

  background: var(--ink-surface-light);

  color: #ffffff;

  outline: none;

  transition: 0.2s;
}

#tattooSearchPanel input:focus,
#tattooSearchPanel select:focus {
  border-color: var(--ink-primary);

  box-shadow:
    0 0 5px rgba(0, 255, 136, 0.6);
}

#tattooSearchPanel input::placeholder {
  color: var(--ink-text-muted);
}

#tattooSearchPanel select:disabled {
  opacity: 0.45;

  cursor: not-allowed;
}


/* ========================================
   🔎 BOTONES DEL BUSCADOR
======================================== */

#searchTattooersBtn,
#closeTattooSearchBtn {
  width: auto;
  min-width: 0;

  min-height: 34px;

  margin-right: 6px;

  padding: 6px 11px;

  background: transparent;

  border: 1px solid var(--ink-border-strong);
  border-radius: 6px;

  color: var(--ink-text-soft);

  font-size: 12px;
  font-weight: 550;

  box-shadow: none;

  transform: none;
}


/* BUSCAR → VERDE */

#searchTattooersBtn:hover {
  background: var(--ink-primary-soft);

  border-color: var(--ink-primary);

  color: var(--ink-primary);

  box-shadow: none;

  transform: none;
}


/* CANCELAR → ROJO */

#closeTattooSearchBtn:hover {
  background: var(--ink-red-soft);

  border-color: var(--ink-red);

  color: var(--ink-red);

  box-shadow: none;

  transform: none;
}


/* ========================================
   🎴 RESULTADOS
======================================== */

#tattooSearchResults {
  margin-top: 45px;
}

#tattooSearchResultsHeader {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 10px;
}

#tattooSearchResultsHeader h2 {
  margin: 0;

  color: var(--ink-primary);
}

#modifyTattooSearchBtn {
  width: auto;
}

#tattooSearchMessage {
  margin-bottom: 22px;

  color: var(--ink-text-soft);
}


/* ========================================
   🎴 GRID DE TATUADORES
======================================== */

#tattooArtistsGrid {
  display: grid;

  grid-template-columns:
    repeat(
      auto-fill,
      minmax(280px, 1fr)
    );

  gap: 24px;

  align-items: start;
}


/* ========================================
   🧑‍🎨 TARJETA DEL TATUADOR
======================================== */

.tattooArtistCard {
  display: block;

  width: 100%;
  max-width: 380px;

  justify-self: center;

  overflow: hidden;

  background: var(--ink-surface);

  border: 1px solid var(--ink-border);
  border-radius: 16px;

  color: var(--ink-text);

  text-decoration: none;

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.25);

  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}

.tattooArtistCard:hover {
  transform: translateY(-4px);

  border-color: var(--ink-primary);

  box-shadow:
    0 10px 30px rgba(0, 255, 136, 0.10);
}


/* ========================================
   🖼️ BANNER DE LA TARJETA
======================================== */

.tattooArtistCardBanner {
  display: block;

  width: 100%;
  height: 180px;

  object-fit: cover;

  background: #181818;
}


/* ========================================
   📝 INFORMACIÓN DE LA TARJETA
======================================== */

.tattooArtistCardContent {
  padding: 18px;
}

.tattooArtistCardContent h3 {
  margin:
    0
    0
    8px;

  color: var(--ink-primary);

  font-size: 22px;
}

.tattooArtistCardContent p {
  margin:
    8px
    0;

  color: var(--ink-text-soft);
}


/* ========================================
   🎨 ESTILOS DE TATUAJE
======================================== */

.tattooArtistCardStyles {
  display: flex;

  flex-wrap: wrap;

  gap: 7px;

  margin: 12px 0;
}

.tattooArtistCardStyles span {
  display: inline-block;

  padding: 5px 9px;

  border: 1px solid #2e2e2e;
  border-radius: 20px;

  background: var(--ink-surface-light);

  color: var(--ink-text);

  font-size: 12px;
}


/* ========================================
   🦶 FOOTER
======================================== */

footer {
  width: min(1200px, calc(100% - 40px));

  margin: 60px auto 0;

  padding: 30px 0;

  border-top: 1px solid var(--ink-border);

  text-align: center;

  color: var(--ink-text-muted);

  font-size: 14px;
}


/* ========================================
   🎲 TATUADORES DESTACADOS
======================================== */

#featuredTattooers {
  margin-top: 45px;
}

.featuredTattooersHeader {
  margin-bottom: 22px;
}

.featuredTattooersHeader h2 {
  margin-bottom: 6px;

  color: var(--ink-primary);
}

.featuredTattooersHeader p {
  margin: 0;

  color: var(--ink-text-soft);
}


/* FILA DE TARJETAS */

#featuredTattooersGrid {
  display: flex;

  gap: 20px;

  width: 100%;

  overflow-x: auto;

  padding-bottom: 12px;
}


/* TARJETAS DENTRO DE DESTACADOS */

#featuredTattooersGrid .tattooArtistCard {
  flex: 0 0 280px;

  width: 280px;
}


/* ========================================
   📱 TABLET / CELULAR
======================================== */

@media (max-width: 700px) {

  #inktimeHome {
    width: min(100% - 24px, 1200px);

    padding-top: 12px;
  }


  /* HERO */

  #homeHero {
    min-height: auto;

    padding: 35px 20px;
  }


  /* ACCESOS */

  #homeAccess {
    grid-template-columns: 1fr;

    gap: 15px;

    margin-top: 20px;
  }

  .homeAccessOption {
    padding: 22px 18px;
  }


  /* BUSCADOR */

  #tattooSearchPanel {
    margin-top: 20px;

    padding: 20px;
  }


  /* RESULTADOS */

  #tattooSearchResults {
    margin-top: 30px;
  }

  #tattooSearchResultsHeader {
    align-items: flex-start;

    flex-direction: column;
  }


  /* TARJETAS */

  #tattooArtistsGrid {
    grid-template-columns: 1fr;
  }

  .tattooArtistCard {
    max-width: 100%;
  }

  .tattooArtistCardBanner {
    height: 190px;
  }

}