/* =========================================================================
   Tribal Tattoo - Custom Additions
   Extends css/tribaltattoo-style.css — same color system & typography.
   Palette reference:
     Black bg        #000000        Dark gray bg   #363636
     Body copy gray  #7a7a7a/#9a9a9a White         #ffffff
     Gold accent     #f7c552        Teal accent    #33c1cf
   ========================================================================= */

/* ---------- Active nav indicator ---------- */
.navbar-nav > li.current > a span.txtshadow {
    color: #f7c552 !important;
}
.navbar-nav > li.current > a {
    position: relative;
}

/* ---------- Generic inner-page banner (Tribal Crews / Our Works / After Care / For Consultation) ---------- */
.page-banner {
    position: relative;
    width: 100%;
    min-height: 56vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.page-banner::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.68);
}
.page-banner .page-banner-inner {
    position: relative;
    z-index: 2;
    padding: 120px 20px 40px;
    max-width: 760px;
    margin: 0 auto;
}
.page-banner h1 {
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin: 0;
}
.page-banner .line-dec {
    width: 70px;
    height: 2px;
    background-color: #f7c552;
    margin: 22px auto;
}
.page-banner p {
    color: #e6e6e6;
    font-size: 16px;
    line-height: 26px;
    margin: 0;
}
.page-banner .breadcrumb-nav {
    margin-top: 18px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #cfcfcf;
}
.page-banner .breadcrumb-nav a { color: #f7c552; text-decoration: none; }

@media (max-width: 768px) {
    .page-banner { min-height: 42vh; background-attachment: scroll; }
    .page-banner h1 { font-size: 26px; letter-spacing: 4px; }
    .page-banner .page-banner-inner { padding: 100px 20px 30px; }
}

/* ---------- Section heading (reusable dark sidebar-style intro, matches original #portfolio pattern) ---------- */
.section-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}
.section-intro h4 {
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    margin: 0;
}
.section-intro .line-dec {
    width: 70px;
    height: 1px;
    background-color: #f7c552;
    margin: 18px auto;
}
.section-intro p { color: #9a9a9a; }
.on-light .section-intro p { color: #7a7a7a; }
.on-light .section-intro h4 { color: #121212; }

/* ---------- Reusable placeholder image block (for images the client will replace) ---------- */
.placeholder-photo {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
    border: 2px dashed rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    color: #8a8a8a;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
}
.placeholder-photo svg { width: 42px; height: 42px; opacity: 0.55; margin-bottom: 10px; }
.placeholder-photo .placeholder-label {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #cfcfcf;
}
.placeholder-photo .placeholder-sub {
    font-size: 11px;
    color: #777;
    margin-top: 4px;
}

/* ---------- CTA band (used at the bottom of Tribal Crews / Our Works / After Care) ---------- */
.cta-band {
    background-color: #363636;
    text-align: center;
    padding: 60px 20px;
}
.cta-band h4 {
    margin: 0 0 10px;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}
.cta-band p {
    color: #d9d9d9;
    max-width: 560px;
    margin: 0 auto 25px;
}
.cta-band .primary-white-button a { display: inline-block; }

/* =========================================================================
   TRIBAL CREWS PAGE
   ========================================================================= */
.artists-wrap { background-color: #000; padding: 90px 0 20px; }

.artist-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    padding: 55px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.artist-block:last-child { border-bottom: none; }
.artist-block.reverse { flex-direction: row-reverse; }

.artist-photo-col { flex: 1 1 320px; max-width: 360px; }
.artist-photo-col .placeholder-photo { aspect-ratio: 4 / 5; }

.artist-info-col { flex: 2 1 420px; }
.artist-info-col .artist-index {
    display: inline-block;
    font-size: 13px;
    color: #f7c552;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.artist-info-col h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.artist-info-col .artist-title {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #33c1cf;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.artist-info-col .line-dec {
    width: 90px;
    height: 1px;
    background-color: rgba(250,250,250,0.35);
    margin: 18px 0;
}
.artist-info-col p.artist-bio {
    color: #9a9a9a;
    font-size: 14px;
    line-height: 24px;
    max-width: 520px;
}
.artist-social {
    margin-top: 18px;
}
.artist-social a {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background-color: #fff;
    border-radius: 50%;
    color: #373a3c;
    font-size: 14px;
    margin-right: 6px;
    transition: all 0.3s;
}
.artist-social a:hover { background-color: #f7c552; }
.artist-social img { width: 15px; vertical-align: middle; }

.artist-work-strip {
    display: flex;
    gap: 10px;
    margin-top: 25px;
    flex-wrap: wrap;
}
.artist-work-strip a {
    display: block;
    width: 84px;
    height: 84px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}
.artist-work-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.artist-work-strip a:hover img { transform: scale(1.12); }

@media (max-width: 991px) {
    .artist-block, .artist-block.reverse { flex-direction: column; text-align: center; gap: 25px; }
    .artist-info-col p.artist-bio { margin-left: auto; margin-right: auto; }
    .artist-work-strip { justify-content: center; }
    .artist-social { text-align: center; }
}

/* =========================================================================
   OUR WORKS PAGE (Gallery redesign)
   ========================================================================= */
.works-wrap { background-color: #000; padding: 90px 0; }

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 45px;
}
.filter-pill {
    display: inline-block;
    padding: 10px 26px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 24px;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    background: transparent;
    transition: all 0.25s ease;
    user-select: none;
}
.filter-pill:hover { border-color: #f7c552; color: #f7c552; }
.filter-pill.active { background-color: #f7c552; border-color: #f7c552; color: #121212; font-weight: 700; }

.works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}
.work-tile {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    background-color: #111;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.work-tile.hidden-item { display: none; }
.work-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.work-tile:hover img { transform: scale(1.08); }
.work-tile .work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 55%);
    display: flex;
    align-items: flex-end;
    padding: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.work-tile:hover .work-overlay { opacity: 1; }
.work-overlay span {
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #fff;
    border-radius: 12px;
    padding: 4px 12px;
}

@media (max-width: 991px) { .works-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .works-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* Lightbox (Our Works + Tribal Crews work strips) */
.tt-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.94);
    z-index: 100000;
    align-items: center;
    justify-content: center;
}
.tt-lightbox.open { display: flex; }
.tt-lightbox img {
    max-width: 88vw;
    max-height: 84vh;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}
.tt-lightbox-close, .tt-lightbox-prev, .tt-lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.tt-lightbox-close:hover, .tt-lightbox-prev:hover, .tt-lightbox-next:hover {
    background-color: #f7c552; border-color: #f7c552; color: #121212;
}
.tt-lightbox-close { top: 24px; right: 24px; }
.tt-lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.tt-lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.tt-lightbox svg { width: 20px; height: 20px; fill: currentColor; }

@media (max-width: 600px) {
    .tt-lightbox-prev { left: 10px; }
    .tt-lightbox-next { right: 10px; }
    .tt-lightbox-close { top: 14px; right: 14px; width: 38px; height: 38px; }
}

/* =========================================================================
   AFTER CARE PAGE
   ========================================================================= */
.aftercare-wrap { background-color: #0a0a0a; padding: 90px 0; }

.aftercare-block {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 45px;
    padding: 45px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.aftercare-block:last-of-type { border-bottom: none; }
.aftercare-block.reverse { flex-direction: row-reverse; }
.aftercare-text { flex: 1 1 380px; }
.aftercare-image { flex: 1 1 320px; max-width: 380px; }
.aftercare-image .placeholder-photo { aspect-ratio: 4 / 3; }

.aftercare-text h3 {
    color: #fff;
    font-size: 21px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 0 16px;
}
.aftercare-text h3 span { color: #f7c552; }
.care-list { margin: 0; padding: 0; list-style: none; }
.care-list li {
    color: #b7b7b7;
    font-size: 14px;
    line-height: 22px;
    padding: 10px 0 10px 30px;
    position: relative;
    border-bottom: 1px dashed rgba(255,255,255,0.08);
}
.care-list li:last-child { border-bottom: none; }
.care-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 9px;
    color: #f7c552;
    font-weight: 700;
}
.care-list.donts li::before { content: "✕"; color: #e4584f; }

.warning-box {
    background-color: #1c1c1c;
    border-left: 3px solid #f7c552;
    padding: 24px 28px;
    margin-top: 10px;
    border-radius: 4px;
}
.warning-box h4 {
    color: #f7c552;
    margin: 0 0 10px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.warning-box p { color: #b7b7b7; margin: 0; font-size: 14px; }

@media (max-width: 900px) {
    .aftercare-block, .aftercare-block.reverse { flex-direction: column; }
    .aftercare-image { max-width: 100%; }
}

/* =========================================================================
   FOR CONSULTATION PAGE
   ========================================================================= */
.consult-wrap { background-color: #363636; padding: 90px 0; }

.consult-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 15px;
}
.consult-info { flex: 1 1 320px; color: #fff; }
.consult-info h4 {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 18px;
    margin: 0 0 18px;
}
.consult-info > p { color: #d9d9d9; margin-bottom: 30px; }

.contact-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: rgba(255,255,255,0.06);
    padding: 16px 18px;
    border-radius: 6px;
    margin-bottom: 14px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}
.contact-tile:hover { background-color: rgba(255,255,255,0.12); text-decoration: none; }
.contact-tile .tile-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background-color: #f7c552;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-tile .tile-icon svg { width: 18px; height: 18px; fill: #121212; }
.contact-tile .tile-text strong { display: block; color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-tile .tile-text span { color: #cfcfcf; font-size: 13px; }

.consult-steps { margin-top: 30px; }
.consult-steps .step { display: flex; gap: 14px; margin-bottom: 18px; }
.consult-steps .step-num {
    flex: 0 0 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #f7c552;
    color: #f7c552;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}
.consult-steps .step-text { color: #d9d9d9; font-size: 13px; line-height: 20px; padding-top: 5px; }

.consult-form-col { flex: 1 1 480px; }
.consult-form-col .form-panel {
    background-color: rgba(0,0,0,0.25);
    padding: 36px;
    border-radius: 6px;
}
.consult-form-col h4 {
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 18px;
    margin: 0 0 24px;
}

/* Re-use the site's existing #contact input/textarea/button look, scoped to this form */
#consultForm .form-row { display: flex; gap: 20px; flex-wrap: wrap; }
#consultForm .form-row .form-col { flex: 1 1 220px; }
#consultForm input,
#consultForm select,
#consultForm textarea {
  border-radius: 0px;
  padding-left: 15px;
  font-size: 13px;
  color: #232323;
  background-color: rgba(250, 250, 250, 1);
  outline: none;
  border: none;
  box-shadow: none;
  line-height: 50px;
  height: 50px;
  width: 100%;
  margin-bottom: 22px;
  font-family: 'Roboto', arial, sans-serif;
}
#consultForm select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23232323' d='M7 10l5 5 5-5z'/></svg>"); background-repeat: no-repeat; background-position: right 15px center; }
#consultForm textarea {
  padding-top: 14px;
  height: 140px;
  max-height: 240px;
  line-height: 22px;
}
#consultForm button {
  display: inline-block;
  background-color: #f7c552;
  font-size: 13px;
  padding: 14px 30px;
  color: #121212;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 20px;
  border: none;
  cursor: pointer;
}
#consultForm button:hover { background-color: #fff; }
#consultForm .field-error { color: #ff9d95; font-size: 12px; margin: -16px 0 12px; display: block; }
#consultForm .field-hint { color: #8a8a8a; font-size: 11px; margin: -16px 0 16px; display: block; }

.form-status-message {
    padding: 14px 18px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 20px;
}
.form-status-message.success { background-color: rgba(76, 175, 80, 0.15); color: #8ee39b; border: 1px solid rgba(76,175,80,0.4); }
.form-status-message.error { background-color: rgba(228, 88, 79, 0.15); color: #ff9d95; border: 1px solid rgba(228,88,79,0.4); }

@media (max-width: 767px) {
    .consult-wrap { padding: 60px 0; }
    .consult-form-col .form-panel { padding: 24px; }
}

/* =========================================================================
   WHATSAPP FLOATING BUTTON (all pages)
   ========================================================================= */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 58px;
    height: 58px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35);
    z-index: 10001;
    text-decoration: none;
}
.whatsapp-float:hover { background-color: #1ebc59; }
.whatsapp-float-ping {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: #25D366;
    opacity: 0.55;
    animation: whatsapp-pulse 2.2s ease-out infinite;
}
@keyframes whatsapp-pulse {
    0%   { transform: scale(1);   opacity: 0.55; }
    100% { transform: scale(1.9); opacity: 0; }
}
@media (max-width: 600px) {
    .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}
