/* ═══════════════════════════════════════════
   GOLD COAST TATTOO — DESIGN SYSTEM
   Inspired by bangbangforever.com
   ═══════════════════════════════════════════ */

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

:root {
  /* Background — dark charcoal/minimalist black */
  --bg-primary: #0a0a0a;
  --bg-secondary: #0f0f0f;
  --bg-card: #141414;
  --bg-elevated: #1a1a1a;

  /* Text */
  --text-primary: #f0ece4;
  --text-secondary: #9aa3b0;
  --text-muted: #4e5a6a;

  /* Accent — warm gold/amber from flyer */
  --gold: #d4a632;
  --gold-dim: rgba(212, 166, 50, 0.08);
  --gold-glow: rgba(212, 166, 50, 0.15);
  --green-whatsapp: #25D366;

  /* Borders */
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Sizing */
  --max-width: 1240px;
  --section-padding: clamp(6rem, 12vh, 10rem);

  /* Ease */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease);
}

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

ul {
  list-style: none;
}

/* ═══════════════════════════════════════════
   PRELOADER
   ═══════════════════════════════════════════ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 1.2s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__logo {
  width: clamp(60px, 10vw, 100px);
  height: auto;
  animation: pulse-logo 2s infinite ease-in-out;
}

@keyframes pulse-logo {
  0% { opacity: 0.2; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0.2; transform: scale(0.95); }
}

/* ═══════════════════════════════════════════
   HERO — Bang Bang Style
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  border: none;
  pointer-events: none;
  filter: grayscale(60%) brightness(0.5);
  transform: translate(-50%, -50%) scale(1.15);
}

.hero__video--desktop {
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
}

.hero__video--mobile {
  display: none;
  width: 100vw;
  height: 177.77vw;
  min-height: 100vh;
  min-width: 56.25vh;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(10, 10, 10, 0.6) 0%,
      rgba(10, 10, 10, 0.3) 40%,
      rgba(10, 10, 10, 0.5) 70%,
      rgba(10, 10, 10, 0.95) 100%);
}

/* Logo no topo */
.hero__logo {
  position: absolute;
  top: clamp(2rem, 5vh, 3.5rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__logo img {
  height: clamp(80px, 14vh, 160px);
  width: auto;
  background: none;
}

/* Titulo centralizado */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero__logo-img {
  display: block;
  height: clamp(120px, 20vh, 280px);
  width: auto;
  margin: 0 auto;
  background: none;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--text-primary);
  line-height: 1;
}

.hero__address {
  font-family: var(--font-mono);
  font-size: clamp(0.55rem, 0.9vw, 0.72rem);
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 1.25rem;
}

/* Seta de scroll */
.hero__scroll-arrow {
  position: absolute;
  bottom: clamp(1.5rem, 4vh, 2.5rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
  animation: bounceArrow 2s ease-in-out infinite;
}

.hero__scroll-arrow:hover {
  color: var(--text-primary);
}

.hero__scroll-arrow svg {
  width: 24px;
  height: 24px;
}

@keyframes bounceArrow {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.5;
  }

  50% {
    transform: translateX(-50%) translateY(8px);
    opacity: 1;
  }
}

/* ═══════════════════════════════════════════
   SECTIONS — SHARED
   ═══════════════════════════════════════════ */
.section {
  padding: var(--section-padding) 0;
  position: relative;
  z-index: 10;
  background: var(--bg-primary);
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.section__label-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: clamp(3rem, 6vh, 5rem);
}

.section__label-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.section__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════
   ARTISTS
   ═══════════════════════════════════════════ */
.section--artists {
  background: var(--bg-secondary);
}

.artists__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.artist {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.artist.visible {
  opacity: 1;
  transform: translateY(0);
}

.artist__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-card);
  margin-bottom: 1.25rem;
}

.artist__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
  transition: all 0.6s var(--ease);
}

.artist:hover .artist__photo img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.artist__photo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.5rem;
  background: linear-gradient(180deg, transparent 50%, rgba(17, 29, 46, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.artist:hover .artist__photo-overlay {
  opacity: 1;
}

.artist__view-btn {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--text-primary);
  padding: 0.7rem 1.8rem;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.artist__view-btn:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.artist__name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.artist__specialty {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.artist__bio {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════ */


.gallery__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  background: var(--bg-card);
}



.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
  filter: grayscale(20%);
}

.gallery__item:hover img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

/* ═══════════════════════════════════════════
   THE STUDIO
   ═══════════════════════════════════════════ */
.section--studio {
  position: relative;
  height: clamp(70vh, 900px, 95vh);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

.studio__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.studio__video {
  position: absolute;
  top: 50%;
  left: 50%;
  border: none;
  pointer-events: none;
  filter: grayscale(40%) brightness(0.6);
  transform: translate(-50%, -50%) scale(1.15);
}

.studio__video--desktop {
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
}

.studio__video--mobile {
  display: none;
  width: 100vw;
  height: 177.77vw;
  min-height: 100vh;
  min-width: 56.25vh;
}

.studio__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg,
      rgba(10, 10, 10, 1) 0%,
      rgba(10, 10, 10, 0.4) 50%,
      rgba(10, 10, 10, 1) 100%);
}

.studio__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}

.studio__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.studio__subtitle {
  font-family: var(--font-mono);
  font-size: clamp(0.55rem, 0.9vw, 0.72rem);
  font-weight: 400;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.25em;
}

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
.section--contact {
  background: var(--bg-secondary);
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.contact__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.contact__desc {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 400px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact__detail-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.contact__detail p {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.7;
}

/* ── Contact Form ── */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form__label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.form__input {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.form__input::placeholder {
  color: var(--text-muted);
}

.form__input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.form__textarea {
  resize: vertical;
  min-height: 100px;
}



/* Artist selection buttons */
.form__artists {
  display: flex;
  gap: 0.75rem;
}

.form__artist-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.4s var(--ease);
}

.form__artist-btn:hover {
  border-color: var(--green-whatsapp);
  background: rgba(37, 211, 102, 0.06);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.12);
}

.form__artist-btn img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  filter: grayscale(30%);
  transition: all 0.4s var(--ease);
}

.form__artist-btn:hover img {
  filter: grayscale(0%);
  border-color: var(--green-whatsapp);
}

.form__artist-btn-info {
  text-align: center;
}

.form__artist-btn-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
}

.form__artist-btn-info span {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form__wa-icon {
  width: 20px;
  height: 20px;
  color: var(--green-whatsapp);
  transition: transform 0.3s var(--ease);
}

.form__artist-btn:hover .form__wa-icon {
  transform: scale(1.2);
}

.form__hint {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--text-muted);
  font-style: italic;
}



.contact__info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact__social-link {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-primary);
  transition: opacity 0.3s var(--ease);
}

.contact__social-link:hover {
  opacity: 0.7;
}

/* ═══════════════════════════════════════════
   PORTFOLIO MODAL
   ═══════════════════════════════════════════ */
.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
  overflow-y: auto;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.portfolio-modal.active {
  opacity: 1;
  pointer-events: all;
}

.portfolio-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.portfolio-modal__artist-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-primary);
}

.portfolio-modal__artist-info span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.portfolio-modal__close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.portfolio-modal__close:hover {
  border-color: var(--text-primary);
  background: var(--text-primary);
  color: var(--bg-primary);
}

.portfolio-modal__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.portfolio-modal__grid .gallery__item {
  aspect-ratio: 1 / 1;
}

/* ═══════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(40px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.lightbox__close:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  position: relative;
  z-index: 10;
  background: var(--bg-primary);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer__logo img {
  height: 60px;
  width: auto;
  opacity: 0.6;
  transition: opacity 0.3s var(--ease);
}

.footer__logo:hover img {
  opacity: 1;
}

.footer__copy {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .artists__grid {
    grid-template-columns: repeat(2, 1fr);
  }


  .portfolio-modal__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .hero__title,
  .studio__title {
    font-size: clamp(1.4rem, 6vw, 2.2rem);
    letter-spacing: 0.2em;
  }

  .artists__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .artist__photo-overlay {
    opacity: 1;
  }

  .studio__video--desktop,
  .hero__video--desktop {
    display: none;
  }

  .studio__video--mobile,
  .hero__video--mobile {
    display: block;
  }

  .contact__layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .contact__info-side {
    display: contents;
  }

  .contact__heading {
    order: 1;
    margin-bottom: 0;
  }

  .contact__desc {
    order: 2;
    margin-bottom: 1rem;
  }

  .contact__form-side {
    order: 3;
    width: 100%;
  }

  .contact__details {
    order: 4;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
  }

  .portfolio-modal__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }

  .footer__inner {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .portfolio-modal__grid {
    grid-template-columns: 1fr;
  }

  .artists__grid {
    max-width: 100%;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .form__artists {
    flex-direction: column;
  }
}