/* Get Pro Landscaping — premium button lighting
   Add after the Tailwind CDN + config. Does not change radius, padding,
   typography, text color, or href/onclick/form/tracking attributes.
   Each class only adds: a subtle top-to-bottom gradient derived from that
   button's own color, the four-layer lighting shadows, a light hover glow,
   a pressed state, and a short transition.
*/

a[class*="btn-premium"],
button[class*="btn-premium"],
input[class*="btn-premium"]::file-selector-button {
  transition:
    background-image 180ms ease,
    box-shadow 180ms ease,
    translate 180ms ease;
}

/* ----- Gold fill (brandGold #d4af37) ----- */
/* Lighter top stop: #d4af37 lightened 25% toward white = #dfc369 */
a.btn-premium-gold,
button.btn-premium-gold {
  background-image: linear-gradient(180deg, #dfc369 0%, #d4af37 100%);
  box-shadow:
    inset 0 1px 0 #ffffff59,
    inset 0 -2px 0 #0003,
    0 1px 2px #0006,
    0 8px 24px -6px #d4af3799;
}

a.btn-premium-gold:hover,
button.btn-premium-gold:hover {
  /* Keep a lighting overlay; drop the opaque gold wash so existing
     hover:bg-* Tailwind colors (white, green, etc.) can still show. */
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0.06) 100%);
  box-shadow:
    inset 0 1px 0 #ffffff73,
    inset 0 -2px 0 #0003,
    0 2px 4px #0005,
    0 10px 28px -6px #d4af3799;
}

a.btn-premium-gold:active,
button.btn-premium-gold:active {
  translate: 0 1px;
  box-shadow: inset 0 2px 4px #0004;
}

/* File-picker button (contact + careers use file:bg-brandGold) */
input[type="file"].btn-premium-file::file-selector-button {
  background-image: linear-gradient(180deg, #dfc369 0%, #d4af37 100%);
  box-shadow:
    inset 0 1px 0 #ffffff59,
    inset 0 -2px 0 #0003,
    0 1px 2px #0006,
    0 8px 24px -6px #d4af3799;
  cursor: pointer;
  transition:
    background-image 180ms ease,
    box-shadow 180ms ease,
    translate 180ms ease;
}

input[type="file"].btn-premium-file:hover::file-selector-button {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0.06) 100%);
  box-shadow:
    inset 0 1px 0 #ffffff73,
    inset 0 -2px 0 #0003,
    0 2px 4px #0005,
    0 10px 28px -6px #d4af3799;
}

input[type="file"].btn-premium-file:active::file-selector-button {
  translate: 0 1px;
  box-shadow: inset 0 2px 4px #0004;
}

/* ----- Green fill (brandGreen #005f40) ----- */
/* Lighter top stop: #005f40 lightened 32% toward white = #52927d */
a.btn-premium-green,
button.btn-premium-green {
  background-image: linear-gradient(180deg, #52927d 0%, #005f40 100%);
  box-shadow:
    inset 0 1px 0 #ffffff59,
    inset 0 -2px 0 #0003,
    0 1px 2px #0006,
    0 8px 24px -6px #005f4099;
}

a.btn-premium-green:hover,
button.btn-premium-green:hover {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0.08) 100%);
  box-shadow:
    inset 0 1px 0 #ffffff73,
    inset 0 -2px 0 #0003,
    0 2px 4px #0005,
    0 10px 28px -6px #005f4099;
}

a.btn-premium-green:active,
button.btn-premium-green:active {
  translate: 0 1px;
  box-shadow: inset 0 2px 4px #0004;
}

/* ----- Slate fill (brandSlate #1e293b) ----- */
/* Lighter top stop: #1e293b lightened 28% toward white = #5d6572 */
a.btn-premium-slate,
button.btn-premium-slate {
  background-image: linear-gradient(180deg, #5d6572 0%, #1e293b 100%);
  box-shadow:
    inset 0 1px 0 #ffffff59,
    inset 0 -2px 0 #0003,
    0 1px 2px #0006,
    0 8px 24px -6px #1e293b99;
}

a.btn-premium-slate:hover,
button.btn-premium-slate:hover {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0.08) 100%);
  box-shadow:
    inset 0 1px 0 #ffffff73,
    inset 0 -2px 0 #0003,
    0 2px 4px #0005,
    0 10px 28px -6px #1e293b99;
}

a.btn-premium-slate:active,
button.btn-premium-slate:active {
  translate: 0 1px;
  box-shadow: inset 0 2px 4px #0004;
}

/* ----- White fill ----- */
/* Top stop is already white; bottom is a barely-darker white so the lighting reads. */
a.btn-premium-white,
button.btn-premium-white {
  background-image: linear-gradient(180deg, #ffffff 0%, #f2f2f2 100%);
  box-shadow:
    inset 0 1px 0 #ffffff59,
    inset 0 -2px 0 #0003,
    0 1px 2px #0006,
    0 8px 24px -6px #1e293b66;
}

a.btn-premium-white:hover,
button.btn-premium-white:hover {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0.05) 100%);
  box-shadow:
    inset 0 1px 0 #ffffff73,
    inset 0 -2px 0 #0003,
    0 2px 4px #0005,
    0 10px 28px -6px #d4af3799;
}

a.btn-premium-white:active,
button.btn-premium-white:active {
  translate: 0 1px;
  box-shadow: inset 0 2px 4px #0004;
}

/* ----- White outline (on dark / hero backgrounds) ----- */
/* Translucent gradient only — keeps the outline hollow at rest. */
a.btn-premium-outline-white,
button.btn-premium-outline-white {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.03) 100%);
  box-shadow:
    inset 0 1px 0 #ffffff59,
    inset 0 -2px 0 #0003,
    0 1px 2px #0006,
    0 8px 24px -6px #ffffff99;
}

a.btn-premium-outline-white:hover,
button.btn-premium-outline-white:hover {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0.06) 100%);
  box-shadow:
    inset 0 1px 0 #ffffff73,
    inset 0 -2px 0 #0003,
    0 2px 4px #0005,
    0 10px 28px -6px #ffffff99;
}

a.btn-premium-outline-white:active,
button.btn-premium-outline-white:active {
  translate: 0 1px;
  box-shadow: inset 0 2px 4px #0004;
}

/* ----- Green outline ----- */
a.btn-premium-outline-green,
button.btn-premium-outline-green {
  background-image: linear-gradient(180deg, rgba(82, 146, 125, 0.18) 0%, rgba(0, 95, 64, 0.03) 100%);
  box-shadow:
    inset 0 1px 0 #ffffff59,
    inset 0 -2px 0 #0003,
    0 1px 2px #0006,
    0 8px 24px -6px #005f4099;
}

a.btn-premium-outline-green:hover,
button.btn-premium-outline-green:hover {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0.06) 100%);
  box-shadow:
    inset 0 1px 0 #ffffff73,
    inset 0 -2px 0 #0003,
    0 2px 4px #0005,
    0 10px 28px -6px #005f4099;
}

a.btn-premium-outline-green:active,
button.btn-premium-outline-green:active {
  translate: 0 1px;
  box-shadow: inset 0 2px 4px #0004;
}

/* ----- Slate outline ----- */
a.btn-premium-outline-slate,
button.btn-premium-outline-slate {
  background-image: linear-gradient(180deg, rgba(93, 101, 114, 0.18) 0%, rgba(30, 41, 59, 0.03) 100%);
  box-shadow:
    inset 0 1px 0 #ffffff59,
    inset 0 -2px 0 #0003,
    0 1px 2px #0006,
    0 8px 24px -6px #1e293b99;
}

a.btn-premium-outline-slate:hover,
button.btn-premium-outline-slate:hover {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0.06) 100%);
  box-shadow:
    inset 0 1px 0 #ffffff73,
    inset 0 -2px 0 #0003,
    0 2px 4px #0005,
    0 10px 28px -6px #1e293b99;
}

a.btn-premium-outline-slate:active,
button.btn-premium-outline-slate:active {
  translate: 0 1px;
  box-shadow: inset 0 2px 4px #0004;
}
