/* ==========================================================
   Unalome Project — Main Global Styles
   Single source of truth for site-wide visuals
   Place as: /assets/css/main.css
   ========================================================== */

/* Work Sans import — keep at top */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700&display=swap');

/* =====================
   Reference colors (hex-only)
   ===================== */
/* primary / body text */   /* #c1c1c1 */
/* background */            /* #121212 */
/* accent (teal) */         /* #11E0C0 */
/* canvas / CTA bg */       /* #000000 */
/* white */                 /* #FFFFFF */
/* cut / warning */         /* #FF2952 */

/* ========== BEGIN SCOPE ========== */
body:not(.elementor-editor-active):not(.wp-admin) {
  /* This block prevents global styles from leaking into Elementor/admin */

/* =====================
   Base Reset & Body Typo
   ===================== */
html, body {
  background-color: #121212 !important;
  color: #c1c1c1 !important;
  font-family: 'Work Sans', sans-serif !important;
  font-size: 17px !important;
  font-weight: 300 !important;
  line-height: 1.7 !important;
  letter-spacing: 1px !important;
  text-transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  -webkit-text-size-adjust: 100% !important;
}

/* predictable box-sizing (keeps layout consistent) */
*, *::before, *::after { box-sizing: border-box; }

/* Paragraph */
p {
  margin-bottom: 1.5em !important;
  font-family: 'Work Sans', sans-serif !important;
  font-size: 17px !important;
  font-weight: 300 !important;
  line-height: 1.7 !important;
  letter-spacing: 1px !important;
  color: #c1c1c1 !important;
}

/* =====================
   Links — DEFAULT (no forced uppercase)
   Use .link-uppercase if needed
   ===================== */
a {
  font-family: 'Work Sans', sans-serif !important;
  
  font-weight: 400 !important;
  text-transform: none !important; /* allow per-element control */
  line-height: 1.6 !important;
  letter-spacing: 0.3px !important;
  color: #c1c1c1 !important;
  text-decoration: none !important;
  transition: color 0.18s ease !important;
}

/* opt-in uppercase helper */
a.link-uppercase, a.is-upper { text-transform: uppercase !important; }

/* hover */
a:hover, a:focus {
  color: #FFFFFF !important;
  outline: none !important;
}

/* =====================
   Headings
   ===================== */
h1, .elementor-heading-title.h1 {
  font-family: 'Work Sans', sans-serif !important;
  font-size: 48px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 1.5px !important;
  color: #c1c1c1 !important;
  text-transform: none !important;
  margin: 0 0 0.6em 0 !important;
}
h2, .elementor-heading-title.h2 {
  font-family: 'Work Sans', sans-serif !important;
  font-size: 36px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  letter-spacing: 0px !important;
  color: #c1c1c1 !important;
  margin: 0 0 0.6em 0 !important;
}
h3, .elementor-heading-title.h3 {
  font-family: 'Work Sans', sans-serif !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  line-height: 1.6 !important;
  color: #c1c1c1 !important;
  margin: 0 0 0.5em 0 !important;
}
h4, .elementor-heading-title.h4 {
  font-family: 'Work Sans', sans-serif !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  color: #c1c1c1 !important;
  margin: 0 0 0.45em 0 !important;
}
h5, .elementor-heading-title.h5 {
  font-family: 'Work Sans', sans-serif !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  color: #c1c1c1 !important;
  margin: 0 0 0.4em 0 !important;
}
h6, .elementor-heading-title.h6 {
  font-family: 'Work Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #c1c1c1 !important;
  margin: 0 0 0.35em 0 !important;
}

/* Smooth & classy button interactions: base, hover, active (replace existing button block) */

/* Base */
button,
input[type="button"],
input[type="submit"],
a.button,
.wp-block-button__link,
.elementor-button,
.elementor-widget-button .elementor-button,
.woocommerce a.button,
.woocommerce button.button {
  font-family: 'Work Sans', sans-serif !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  padding: 24px 48px !important;
  background-color: #121212 !important;
  color: #c1c1c1 !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer !important;

  /* Soft, spread-out base shadow (downward biased) */
  box-shadow:
    0 36px 80px 18px rgba(0,0,0,0.65) !important,
    0 14px 40px 6px rgba(0,0,0,0.50) !important;

  /* smooth transitions and GPU hint for buttery animation */
  will-change: transform, box-shadow, color !important;
  transition:
    box-shadow 360ms cubic-bezier(.2,.9,.3,1) !important,
    transform 220ms cubic-bezier(.2,.9,.3,1) !important,
    color 180ms linear !important;

  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  transform: translateZ(0) !important;
}

/* Hover: gentle lift + added teal halo (subtle, animates smoothly) */
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
a.button:hover,
.wp-block-button__link:hover,
.elementor-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  transform: translateY(-6px) scale(1.003) !important;
  color: #ffffff !important;
  box-shadow:
    0 48px 110px 22px rgba(0,0,0,0.68) !important,
    0 22px 56px 10px rgba(0,0,0,0.50) !important,
    0 0 36px 12px rgba(17,224,192,0.16) !important;
}

/* Active / pressed: slightly grounded, stronger inner glow but reduced lift */
button:active,
input[type="button"]:active,
input[type="submit"]:active,
a.button:active,
.wp-block-button__link:active,
.elementor-button:active,
.woocommerce a.button:active,
.woocommerce button.button:active {
  transform: translateY(0) scale(0.998) !important;
  color: #ffffff !important;
  box-shadow:
    0 24px 48px 10px rgba(0,0,0,0.62) !important,
    0 8px 20px 4px rgba(0,0,0,0.46) !important,
    0 0 22px 8px rgba(17,224,192,0.28) !important;
}

/* Persistent JS-applied active state: elegant, slightly stronger than hover */
button.active,
.elementor-button.active,
a.button.active,
.wp-block-button__link.active,
.woocommerce a.button.active,
button.is-active,
.elementor-button.is-active {
  transform: translateY(0) scale(1.0) !important;
  color: #ffffff !important;
  box-shadow:
    0 54px 130px 28px rgba(0,0,0,0.70) !important,
    0 26px 70px 12px rgba(0,0,0,0.55) !important,
    0 0 48px 18px rgba(17,224,192,0.28) !important;
}

/* Focus-visible (keyboard): visible but subtle */
button:focus-visible,
a.button:focus-visible,
.elementor-button:focus-visible {
  outline: 3px solid rgba(17,224,192,0.14) !important;
  outline-offset: 4px !important;
}

/* Persistent Active (via JS .active) */
button.active,
button.is-active,
.elementor-button.active,
.elementor-button.is-active,
.elementor-button[aria-pressed="true"],
a.button.active,
.wp-block-button__link.active,
.woocommerce a.button.active {
  box-shadow: 0 0 12px 3px rgba(17, 224, 192, 0.50) !important;
  transform: translateY(0) !important;
  color: #ffffff !important;
}

/* Keep non-rounded */
.elementor-button, .wp-block-button__link, .woocommerce a.button, .woocommerce button.button {
  border-radius: 0 !important;
}

/* =====================
   Forms / Inputs
   ===================== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea,
select,
.elementor-field,
.forminator-input,
.wp-block-search__input {
  font-family: 'Work Sans', sans-serif !important;
  font-size: 17px !important;
  font-weight: 300 !important;
  color: #c1c1c1 !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #c1c1c1 !important;
  border-radius: 0 !important;
  padding: 8px 0 !important;
  outline: none !important;
  box-shadow: none !important;
  max-width: 100% !important;
}

/* center width cap */
.form-centered input[type="text"], .form-centered input[type="email"], .form-centered textarea {
  max-width: 400px !important;
  width: 100% !important;
}

/* Focus underline teal */
input:focus, textarea:focus, select:focus, .elementor-field:focus {
  border-bottom: 1px solid #11E0C0 !important;
  outline: none !important;
}

/* =====================
   Images / Photography
   - default: grayscale + high contrast
   - opt-out via .no-grayscale
   ===================== */
img, .wp-block-image img, .elementor-image img, .woocommerce-product-gallery__image img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: cover !important;
  filter: grayscale(100%) contrast(1.15) !important;
  -webkit-filter: grayscale(100%) contrast(1.15) !important;
  border-radius: 0 !important;
}
img.no-grayscale { filter: none !important; -webkit-filter: none !important; }

/* =====================
   Tables & Code
   ===================== */
table, .wp-block-table, pre, code, .code-block {
  color: #c1c1c1 !important;
  border: 1px solid #C1C1C16B !important;
  max-width: 65ch !important;
  width: 100% !important;
  border-collapse: collapse !important;
  border-radius: 0 !important;
}
table th, table td {
  padding: 12px !important;
  border: 1px solid #C1C1C16B !important;
  text-align: left !important;
}
pre, code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", monospace !important;
  font-size: 17px !important;
  background: transparent !important;
  color: #c1c1c1 !important;
  padding: 12px !important;
  overflow-x: auto !important;
}

/* =====================
   SVG / Icon Reset (NO global stroke/fill enforcement)
   - Use classes to opt in to outline or currentColor
   ===================== */
/* Do nothing globally — allow inline attributes & Elementor to control SVGs */

/* Icon sizing helpers */
.icon-16 { width: 16px !important; height: 16px !important; }
.icon-32 { width: 32px !important; height: 32px !important; }
.icon-64 { width: 64px !important; height: 64px !important; }
.icon-128 { width: 128px !important; height: 128px !important; }
.icon-256 { width: 256px !important; height: 256px !important; }

/* =====================
   Accessibility: focus
   ===================== */
:focus { outline: 3px solid rgba(255,255,255,0.06) !important; outline-offset: 2px !important; }
:focus-visible { outline: 3px solid #11E0C0 !important; box-shadow: 0 0 18px 4px rgba(17,224,192,0.12) !important; }

/* =====================
   Plugin-targeted safe overrides
   ===================== */
.elementor, .elementor-section, .elementor-column, .elementor-widget, .elementor-widget-container {
  background: transparent !important;
  color: #c1c1c1 !important;
  border-radius: 0 !important;
}

/* WooCommerce product card color */
.woocommerce div.product, .woocommerce ul.products li.product, .woocommerce .product .price {
  color: #c1c1c1 !important;
  background: transparent !important;
}

/* =====================
   Utility classes
   ===================== */
.text-teal { color: #11E0C0 !important; }
.bg-teal { background-color: #11E0C0 !important; color: #000000 !important; }
.text-red { color: #FF2952 !important; }
.bg-red { background-color: #FF2952 !important; color: #ffffff !important; }
}
