/*
Theme Name: Hello Elementor Child
Template: hello-elementor
*/

/* ==========================================================
   Sky Tattoo LP — Header + Hero
   ========================================================== */

:root {
  --st-lp-black: #111111;
  --st-lp-white: #ffffff;
  --st-lp-accent: #c9a15a;
  --st-lp-overlay: rgba(0, 0, 0, 0.5);
  --st-lp-radius-pill: 999px;
  --st-lp-max-width: 1200px;
  --st-lp-header-height: 72px;
  --st-lp-font-heading: 'Poppins', system-ui, sans-serif;
}

/* Force one consistent font across the ENTIRE landing page —
   overrides Elementor's global "Roboto Slab" theme font that
   otherwise bleeds into any element we didn't explicitly style
   (e.g. contact address, form labels, stray paragraphs) */
body.st-lp-body,
body.st-lp-body * {
  font-family: 'Poppins', system-ui, sans-serif !important;
}

.st-lp-header {
  background: var(--st-lp-white);
  height: var(--st-lp-header-height);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 20;
}

.st-lp-header__inner {
  max-width: var(--st-lp-max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.st-lp-logo {
  text-decoration: none !important;
  letter-spacing: normal !important;
}

.st-lp-logo__text {
  font-family: var(--st-lp-font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: var(--st-lp-black);
}

.st-lp-logo__accent {
  color: var(--st-lp-black);
  font-weight: 600;
}

.st-lp-menu-toggle {
  background: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.st-lp-menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--st-lp-black) !important;
}

.st-lp-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.st-lp-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.st-lp-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.st-lp-hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--st-lp-overlay);
}

.st-lp-hero__content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 24px;
  text-align: center;
  color: var(--st-lp-white);
}

.st-lp-hero__title {
  font-family: var(--st-lp-font-heading);
  font-weight: 800;
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  line-height: 1.2;
  margin: 0 0 40px;
}

.st-lp-trust-badges {
  display: flex;
  justify-content: center;
  gap: 48px;
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  flex-wrap: wrap;
}

.st-lp-trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 160px;
}

.st-lp-trust-badge__icon svg {
  width: 44px;
  height: 44px;
}

.st-lp-trust-badge__label {
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.4;
}

.st-lp-hero__ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

a.st-lp-btn {
  display: inline-block;
  padding: 18px 36px;
  border-radius: var(--st-lp-radius-pill);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
  min-width: 220px;
  text-align: center;
  letter-spacing: normal !important;
}

a.st-lp-btn:hover {
  opacity: 0.85;
}

a.st-lp-btn--solid {
  background: var(--st-lp-white) !important;
  color: var(--st-lp-black) !important;
}

a.st-lp-btn--outline {
  background: transparent !important;
  color: var(--st-lp-white) !important;
  border: 2px solid var(--st-lp-white);
}

/* Hide Buttonizer floating widget only on this landing page */
body.st-lp-body .buttonizer.buttonizer-group {
  display: none !important;
}

@media (max-width: 767px) {
  .st-lp-hero__title {
    margin-bottom: 20px;
  }

  .st-lp-trust-badges {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 20px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .st-lp-trust-badge {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px;
    max-width: none;
    text-align: left;
  }

  .st-lp-trust-badge__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .st-lp-trust-badge__icon svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }

  .st-lp-trust-badge__label {
    text-align: left;
    font-size: 1rem;
  }

  .st-lp-hero {
    /* Mobile: switch from absolute-overlay layout to two
       stacked blocks — media on top, solid dark content below */
    position: static;
    min-height: 0;
    display: block;
    flex-direction: column;
  }

  .st-lp-hero__media {
    position: static;
    height: 220px;
  }

  .st-lp-hero__video {
    position: static;
    height: 100%;
  }

  .st-lp-hero__overlay {
    /* No longer needed for text contrast since text has moved
       into its own solid-background block below the media */
    display: none;
  }

  .st-lp-hero__content {
    position: static;
    background: var(--st-lp-black);
    padding: 20px 20px 24px;
  }

  a.st-lp-btn {
    min-width: 100%;
  }
}

/* ==========================================================
   Sky Tattoo LP — Trust Stats Bar
   ========================================================== */

.st-lp-stats {
  background: var(--st-lp-white);
  padding: 72px 24px;
}

.st-lp-stats__inner {
  max-width: var(--st-lp-max-width);
  margin: 0 auto;
  text-align: center;
}

h2.st-lp-stats__heading {
  font-family: var(--st-lp-font-heading) !important;
  font-weight: 800 !important;
  font-size: clamp(1.6rem, 4vw, 2.4rem) !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  line-height: 1.3 !important;
  color: var(--st-lp-black) !important;
  margin: 0 0 48px !important;
}

.st-lp-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.st-lp-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.st-lp-stat__icon svg {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
}

.st-lp-stat__number {
  font-family: var(--st-lp-font-heading) !important;
  font-weight: 800 !important;
  font-size: 2.2rem !important;
  color: var(--st-lp-black) !important;
  line-height: 1.2 !important;
}

.st-lp-stat__label {
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  color: var(--st-lp-black) !important;
  margin-top: 4px;
}

.st-lp-stat__sub {
  font-size: 0.9rem !important;
  color: #666 !important;
  margin-top: 8px;
  line-height: 1.4;
  max-width: 220px;
}

@media (max-width: 767px) {
  h2.st-lp-stats__heading {
    margin: 0 0 24px !important;
  }

  .st-lp-stats__grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .st-lp-stat__icon svg {
    width: 34px;
    height: 34px;
    margin-bottom: 8px;
  }

  .st-lp-stat__number {
    font-size: 1.9rem !important;
  }

  .st-lp-stat__label {
    margin-top: 2px;
  }

  .st-lp-stat__sub {
    margin-top: 4px;
  }

  .st-lp-stats {
    padding: 32px 20px;
  }
}

/* ==========================================================
   Sky Tattoo LP — Google Reviews Section
   ========================================================== */

.st-lp-reviews {
  background: #f7f7f7;
  padding: 72px 24px;
}

.st-lp-reviews__inner {
  max-width: var(--st-lp-max-width);
  margin: 0 auto;
  text-align: center;
}

h2.st-lp-reviews__heading {
  font-family: var(--st-lp-font-heading) !important;
  font-weight: 800 !important;
  font-size: clamp(1.6rem, 4vw, 2.4rem) !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  line-height: 1.3 !important;
  color: var(--st-lp-black) !important;
  margin: 0 0 40px !important;
}

.st-lp-reviews__widget {
  max-width: var(--st-lp-max-width);
  margin: 0 auto;
  text-align: left;
}

/* Hide attached review photos only — avoids broken-image icons
   and trims page weight. Reviewer avatars are left untouched. */
.st-lp-reviews__widget .wp-google-img {
  display: none !important;
}

/* Mobile: force clean single-column stacked cards instead of
   the plugin's cramped carousel row. Selectors are deliberately
   long/specific to out-rank the plugin's own !important rules,
   which share equal specificity and load after ours. */
@media (max-width: 767px) {
  body.st-lp-body .st-lp-reviews .st-lp-reviews__widget .grw-row {
    flex-wrap: wrap !important;
  }

  body.st-lp-body .st-lp-reviews .st-lp-reviews__widget .grw-header,
  body.st-lp-body .st-lp-reviews .st-lp-reviews__widget .grw-content,
  body.st-lp-body .st-lp-reviews .st-lp-reviews__widget .grw-review {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }

  /* Hide next/prev arrows and dots since we're no longer a carousel */
  body.st-lp-body .st-lp-reviews .st-lp-reviews__widget .rpi-ltgt,
  body.st-lp-body .st-lp-reviews .st-lp-reviews__widget .rpi-dots-wrap {
    display: none !important;
  }
}

/* ==========================================================
   Sky Tattoo LP — Portfolio Gallery Section
   ========================================================== */

.st-lp-portfolio {
  background: var(--st-lp-black);
  padding: 56px 24px;
}

h2.st-lp-portfolio__heading {
  font-family: var(--st-lp-font-heading) !important;
  font-weight: 800 !important;
  font-size: clamp(1.4rem, 3.5vw, 2rem) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  line-height: 1.3 !important;
  color: var(--st-lp-white) !important;
  text-align: center !important;
  margin: 0 auto 32px !important;
  max-width: var(--st-lp-max-width);
}

.st-lp-portfolio__single {
  max-width: var(--st-lp-max-width);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 4px;
}

.st-lp-portfolio__single img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* On mobile, wide group photos become tiny if kept fully
   uncropped — crop-and-zoom instead so subjects stay visible */
@media (max-width: 767px) {
  .st-lp-portfolio__single {
    aspect-ratio: 4 / 5;
  }

  .st-lp-portfolio__single img {
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
}

/* ==========================================================
   Sky Tattoo LP — Our Team (photo grid with name/role overlay)
   ========================================================== */

.st-lp-team {
  background: var(--st-lp-black);
  padding: 56px 24px;
  text-align: center;
}

h2.st-lp-team__heading {
  font-family: var(--st-lp-font-heading) !important;
  font-weight: 800 !important;
  font-size: clamp(1.4rem, 3.5vw, 2rem) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  color: var(--st-lp-white) !important;
  margin: 0 auto 32px !important;
  max-width: var(--st-lp-max-width);
}

.st-lp-team__grid {
  max-width: var(--st-lp-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .st-lp-team__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.st-lp-team__member {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
}

.st-lp-team__member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.st-lp-team__info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 12px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  flex-direction: column;
  text-align: left;
}

.st-lp-team__name {
  font-family: var(--st-lp-font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--st-lp-white);
  line-height: 1.3;
}

.st-lp-team__role {
  font-size: 0.8rem;
  color: #ddd;
  line-height: 1.3;
}

/* Subtle zoom-on-hover for desktop mouse users only —
   mobile/touch devices already see the name/role at all times */
@media (hover: hover) and (pointer: fine) {
  .st-lp-team__member:hover img {
    transform: scale(1.05);
  }
}

.st-lp-team__more {
  font-size: 0.9rem;
  color: #999;
  font-style: italic;
  margin: 20px auto 0;
  max-width: var(--st-lp-max-width);
}

/* ==========================================================
   Sky Tattoo LP — "Difference" Section (tagline/heading/photo card)
   ========================================================== */

.st-lp-difference {
  background: var(--st-lp-black);
  padding: 56px 24px;
  text-align: center;
  color: var(--st-lp-white);
}

.st-lp-difference__tagline {
  font-size: 1.2rem;
  color: #999;
  margin-bottom: 12px;
}

h2.st-lp-difference__heading {
  font-family: var(--st-lp-font-heading) !important;
  font-weight: 700 !important;
  font-size: clamp(1.6rem, 4vw, 2.2rem) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  color: var(--st-lp-white) !important;
  margin: 0 0 16px !important;
  max-width: 600px;
  margin-left: auto !important;
  margin-right: auto !important;
}

h3.st-lp-difference__subheading {
  font-family: var(--st-lp-font-heading) !important;
  font-weight: 500 !important;
  font-size: 1.1rem !important;
  color: var(--st-lp-white) !important;
  margin: 0 0 20px !important;
}

.st-lp-difference__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
  max-width: 480px;
  margin: 0 auto 32px;
}

.st-lp-difference__carousel {
  overflow: hidden;
  padding: 4px 0 12px;
  margin: 0 -24px;
}

.st-lp-difference__track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 16px;
  width: max-content;
  animation: st-lp-marquee 30s linear infinite;
}

.st-lp-difference__carousel:hover .st-lp-difference__track,
.st-lp-difference__track.st-lp-paused {
  animation-play-state: paused;
}

@keyframes st-lp-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); } /* exactly one full set, since content is duplicated */
}

.st-lp-difference__slide {
  flex: 0 0 260px;
  text-align: center;
}

@media (min-width: 640px) {
  .st-lp-difference__slide {
    flex: 0 0 320px;
  }
}

.st-lp-difference__card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #444;
  margin-bottom: 16px;
}

.st-lp-difference__card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.st-lp-difference__caption {
  font-family: var(--st-lp-font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--st-lp-white);
  padding: 0 8px;
}

/* ==========================================================
   Sky Tattoo LP — Styles Gallery (arrows + dots navigation)
   ========================================================== */

.st-lp-styles {
  background: var(--st-lp-black);
  padding: 56px 24px;
  text-align: center;
  color: var(--st-lp-white);
}

.st-lp-styles__tagline {
  font-family: var(--st-lp-font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 12px;
}

h2.st-lp-styles__heading {
  font-family: var(--st-lp-font-heading) !important;
  font-weight: 700 !important;
  font-size: clamp(1.6rem, 4vw, 2.2rem) !important;
  color: var(--st-lp-white) !important;
  margin: 0 0 16px !important;
}

.st-lp-styles__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
  max-width: 480px;
  margin: 0 auto 32px;
}

.st-lp-styles__gallery {
  position: relative;
  max-width: 600px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.st-lp-styles__viewport {
  position: relative;
  flex: 1;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  background: #222;
}

.st-lp-styles__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.st-lp-styles__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.st-lp-styles__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

button.st-lp-styles__arrow {
  all: unset !important;
  flex: 0 0 auto;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: var(--st-lp-white) !important;
  color: var(--st-lp-black) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}

.st-lp-styles__arrow svg {
  width: 16px !important;
  height: 16px !important;
  display: block;
}

.st-lp-styles__caption {
  font-family: var(--st-lp-font-heading);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--st-lp-white);
  margin: 0 0 16px;
}

.st-lp-styles__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

button.st-lp-styles__dot {
  all: unset !important;
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  border: 1.5px solid var(--st-lp-white) !important;
  background: transparent !important;
  cursor: pointer;
  box-sizing: border-box !important;
}

button.st-lp-styles__dot.is-active {
  background: var(--st-lp-white) !important;
}

a.st-lp-btn--outline-dark {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--st-lp-radius-pill);
  font-weight: 700;
  text-decoration: none !important;
  background: transparent !important;
  color: var(--st-lp-white) !important;
  border: 2px solid var(--st-lp-white);
}

a.st-lp-btn--outline-dark:hover {
  opacity: 0.85;
}

/* ==========================================================
   Sky Tattoo LP — Contact / Quote Section
   ========================================================== */

.st-lp-contact {
  background: var(--st-lp-white);
  padding: 72px 24px;
}

.st-lp-contact__inner {
  max-width: var(--st-lp-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

h2.st-lp-contact__heading {
  font-family: var(--st-lp-font-heading) !important;
  font-weight: 800 !important;
  font-size: clamp(1.6rem, 4vw, 2.2rem) !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  color: var(--st-lp-black) !important;
  margin: 0 0 24px !important;
}

h3.st-lp-contact__subheading {
  font-family: var(--st-lp-font-heading) !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  color: var(--st-lp-black) !important;
  margin: 0 0 8px !important;
}

.st-lp-contact__address {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin: 0 0 20px;
}

.st-lp-contact__photo {
  border-radius: 8px;
  overflow: hidden;
}

.st-lp-contact__photo img {
  width: 100%;
  height: auto;
  display: block;
}

.st-lp-contact__form {
  background: #f7f7f7;
  padding: 32px;
  border-radius: 8px;
}

/* Force readable text color inside the CF7 form — overrides
   Elementor's global paragraph/link color bleeding in */
.st-lp-contact__form p,
.st-lp-contact__form label,
.st-lp-contact__form span {
  color: #333 !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
}

/* Input fields — enough height to fully contain a wrapped
   two-line placeholder (inputs are single-line controls by
   default, so wrapped text clips unless height is generous) */
.st-lp-contact__form input[type="text"],
.st-lp-contact__form input[type="email"],
.st-lp-contact__form input[type="tel"],
.st-lp-contact__form input[type="url"] {
  width: 100% !important;
  min-height: 80px !important;
  box-sizing: border-box !important;
  padding: 14px !important;
  font-size: 0.95rem !important;
  border: 1px solid #ccc !important;
  border-radius: 6px !important;
  background: var(--st-lp-white) !important;
  color: var(--st-lp-black) !important;
  overflow: visible !important;
  margin-bottom: 14px !important;
}

.st-lp-contact__form textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 12px 14px !important;
  font-size: 0.95rem !important;
  border: 1px solid #ccc !important;
  border-radius: 6px !important;
  background: var(--st-lp-white) !important;
  color: var(--st-lp-black) !important;
}

.st-lp-contact__form input::placeholder,
.st-lp-contact__form textarea::placeholder {
  font-size: 0.82rem !important;
  color: #888 !important;
  opacity: 1 !important;
  white-space: normal !important;
  line-height: 1.35 !important;
}

/* Instagram field specifically — targeted via its placeholder
   text since we don't have its exact CF7-generated ID. This
   field's placeholder is the longest on the form, so it needs
   extra height rather than less. */
.st-lp-contact__form input[placeholder*="Instagram"] {
  min-height: 90px !important;
}

/* Submit button — force solid readable styling, no pink outline */
.st-lp-contact__form input[type="submit"],
.st-lp-contact__form button[type="submit"] {
  background: var(--st-lp-black) !important;
  color: var(--st-lp-white) !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 14px 32px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  cursor: pointer;
}

.st-lp-contact__form input[type="submit"]:hover,
.st-lp-contact__form button[type="submit"]:hover {
  opacity: 0.85;
}

@media (max-width: 900px) {
  .st-lp-contact__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}