:root {
  --black: #0c0c0d;
  --charcoal: #18181a;
  --panel: #1f2023;
  --steel: #33363b;
  --steel-line: #2a2c30;
  --amber: #e8821a;
  --amber-dark: #b8630f;
  --off-white: #eeeae2;
  --gray: #9a9ba0;
  --gray-dim: #6b6c70;
  --bg-dark: #0c0c0d;
  --bg-card: #18181a;
  --bg-card-alt: #212124;
  --border-color: #2a2a2e;
  --amber-main: #e8821a;
  --amber-dark: #b8630f;
  --amber-glow: rgba(232, 130, 26, 0.25);
  --text-main: #e5e5e7;
  --text-muted: #9e9ea7;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--off-white);
  font-family: 'Work Sans', sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* focus visibility */

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- HAZARD STRIPE (signature element) ---------- */

.hazard {
  height: 14px;
  width: 100%;
  background: repeating-linear-gradient( -45deg, var(--amber) 0px, var(--amber) 22px, var(--black) 22px, var(--black) 44px );
}

.hazard.thin {
  height: 8px;
}

/* ---------- HEADER ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 12, 13, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--steel-line);
}

header .nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 37px;
  width: auto;
}

.brand-text {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

.brand-text span {
  color: var(--amber);
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links a {
  color: var(--gray);
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--amber);
}

.call-btn {
  background: var(--amber);
  color: #fff;
  padding: 9px 18px;
  border-radius: 2px;
  border: 1px solid var(--amber);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
}

.call-btn:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  transform: translateY(-1px);
  color: #fff;
}

/* hamburger button */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--steel-line);
  border-radius: 3px;
  cursor: pointer;
  padding: 0;
  flex: none;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--off-white);
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.nav-toggle:hover span {
  background: var(--amber);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* dropdown (Services menu) */

.dropdown-menu {
  background: var(--charcoal);
  border: 1px solid var(--steel-line);
  border-radius: 3px;
  padding: 6px;
}

.dropdown-item {
  color: var(--gray);
  font-size: 0.85rem;
  border-radius: 2px;
  padding: 9px 14px;
}

.dropdown-item:hover, .dropdown-item:focus {
  background: rgba(255, 255, 255, 0.06);
  color: var(--off-white);
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  padding: 88px 0 0;
  background: radial-gradient(ellipse at 15% 0%, rgba(232, 130, 26, 0.16), transparent 55%), radial-gradient(ellipse at 85% 20%, rgba(232, 130, 26, 0.10), transparent 50%), var(--black);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--amber);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--amber);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 0.98;
  font-weight: 700;
  color: var(--off-white);
}

.hero h1 .accent {
  color: var(--amber);
}

.hero p.lede {
  margin-top: 20px;
  max-width: 46ch;
  color: var(--gray);
  font-size: 1.08rem;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: transform 0.5s, background 0.5s, border-color 0.5s, color 0.5s;
}

.btn-primary {
  background: var(--amber);
  color: #fff;
  border: 1px solid var(--amber);
}

.btn-primary:hover {
  background: var(--bs-light);
  border-color: var(--off-white);
  transform: translateY(-2px);
  color: var(--amber);
}

.btn-outline {
  border: 1px solid var(--steel);
  color: var(--off-white);
  background-color: transparent;
}

/* Higher specificity so this always wins over the generic .btn:hover rule below */

.btn.btn-outline:hover {
  border-color: var(--bs-light);
  color: var(--amber);
  background-color: transparent;
  transform: translateY(-2px);
}

.rating-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--steel-line);
}

.stars {
  color: var(--amber);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.rating-strip .score {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
}

.rating-strip .sub {
  color: var(--gray-dim);
  font-size: 0.85rem;
}

/* signage plate graphic */

.plate {
  position: relative;
  align-self: start;
  background: var(--charcoal);
  border: 1px solid var(--steel-line);
  border-radius: 4px;
  padding: 26px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
}

.plate::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 10px, var(--black) 10px 20px);
  border-radius: 0 0 3px 3px;
}

.plate-logo {
  display: flex;
  justify-content: center;
  padding: 18px 6px 22px;
}

.plate-logo img {
  height: 120px;
  width: auto;
}

.plate-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 4px;
  border-top: 1px dashed var(--steel-line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
}

.plate-row:first-of-type {
  border-top: 1px solid var(--steel-line);
}

.plate-row .k {
  color: var(--gray-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.plate-row .v {
  color: var(--off-white);
  text-align: right;
  font-weight: 500;
}

.plate-row .v a:hover {
  color: var(--amber);
}

/* ---------- SECTION LABELS ---------- */

.section {
  padding: 84px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.section-tag {
  display: block;
  margin-bottom: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--amber);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 600;
}

.section-desc {
  color: var(--gray);
  max-width: 45ch;
  font-size: 0.98rem;
}

/* ---------- SERVICES (toolboard grid) ---------- */

.services-panel {
  background: rgba(24,24,26,0.5);
  border: 1px solid var(--steel-line);
  border-radius: 4px;
  padding: 8px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(42,44,48,0.29);
  border-radius: 2px;
  overflow: hidden;
}

.service-card {
  position: relative;
  background: rgba(31,32,35,0);
  padding: 32px 26px;
  transition: background 0.18s;
}

.service-card:hover {
  background: #242529;
}

.bolt {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--steel);
}

.bolt::before, .bolt::after {
  content: "";
  position: absolute;
  background: var(--steel);
}

.bolt::before {
  top: 50%;
  left: 2px;
  right: 2px;
  height: 2px;
  transform: translateY(-50%);
}

.bolt::after {
  left: 50%;
  top: 2px;
  bottom: 2px;
  width: 2px;
  transform: translateX(-50%);
}

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--amber);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--amber);
}

.service-card p {
  color: var(--off-white);
  font-size: 0.88rem;
}

/* badges row */

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--charcoal);
  border: 1px solid var(--steel-line);
  padding: 12px 18px;
  border-radius: 30px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--off-white);
}

.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
}

/* ---------- REVIEWS ---------- */

.reviews-band {
  background: var(--charcoal);
  /*border-top: 1px solid var(--steel-line);*/
  border-bottom: 1px solid var(--steel-line);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--steel-line);
  border-radius: 3px;
  padding: 26px;
}

.review-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 0;
  border-bottom: 1px dashed var(--steel);
}

.review-stars {
  margin-bottom: 14px;
  color: var(--amber);
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.review-quote {
  margin-bottom: 16px;
  font-size: 1.02rem;
  font-style: normal;
  color: var(--off-white);
}

.review-src {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  color: var(--gray-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.review-src .g {
  color: var(--amber);
  font-weight: 700;
}

/* ---------- CONTACT / LOCATION ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--steel-line);
  border-radius: 4px;
  overflow: hidden;
}

.contact-info {
  background: var(--charcoal);
  padding: 48px;
}

.info-line {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--steel-line);
}

.info-line:last-child {
  border-bottom: none;
}

.info-line .ic {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--amber);
  flex: none;
}

.info-line .ic svg {
  width: 100%;
  height: 100%;
}

.info-line .label {
  margin-bottom: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--gray-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-line .val {
  font-size: 1.05rem;
  color: var(--off-white);
}

.info-line .val a:hover {
  color: var(--amber);
}

.map-side {
  position: relative;
  min-height: 280px;
  background: var(--panel);
  overflow: hidden;
}

.map-side iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  filter: grayscale(0.4) contrast(1.1) invert(0.92) hue-rotate(180deg);
}

.map-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(12, 12, 13, 0.9);
  border: 1px solid var(--steel-line);
  padding: 14px 16px;
  border-radius: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
}

.map-overlay a {
  color: var(--amber);
  white-space: nowrap;
}

/* ---------- FOOTER ---------- */

.footer {
  background: var(--black);
  padding: 40px 0 28px;
  border-top: 1px solid var(--steel-line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 900px) {
  .footer-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  height: 30px;
  width: auto;
}

.footer-brand span {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

footer .fine {
  color: var(--gray-dim);
  font-size: 0.8rem;
  font-family: 'JetBrains Mono', monospace;
}

footer .fine a:hover {
  color: var(--amber);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: var(--charcoal);
    border-bottom: 1px solid var(--steel-line);
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }
}

@media (max-width: 900px) {
  .nav-links.nav-open {
    max-height: 80vh;
    opacity: 1;
    overflow-y: auto;
  }
}

@media (max-width: 900px) {
  .nav-links > a, .nav-links .dropdown > a {
    display: block;
    padding: 14px 24px;
    border-top: 1px solid var(--steel-line);
    font-size: 0.95rem;
  }
}

@media (max-width: 900px) {
  .nav-links .dropdown {
    position: relative;
  }
}

@media (max-width: 900px) {
  .nav-links .dropdown-menu {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    display: none;
    width: 100%;
    margin: 0;
    padding: 0 0 8px;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-width: 900px) {
  .nav-links .dropdown-menu.show {
    display: block;
  }
}

@media (max-width: 900px) {
  .nav-links .dropdown-item {
    padding: 10px 40px;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .plate {
    margin-top: 8px;
  }
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

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

@media (max-width: 560px) {
  .nav .call-btn {
    padding: 8px 12px;
    font-size: 0.75rem;
  }
}

@media (max-width: 560px) {
  .brand-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 560px) {
  .hazard {
    background-size: 200% 100%;
  }
}

.carousel-item {
  position: relative;
  display: none;
  float: left;
  width: 100%;
  margin-right: -100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform .6s ease-in-out;
}

h1 {
  color: var(--amber);
}

.findex {
  background: rgb(31,32,35);
}

/* ---------- GALLERY ---------- */

.gallery-wrap {
  position: relative;
}

.gallery-empty {
  color: var(--gray-dim);
  text-align: center;
  padding: 48px 0;
}

.gallery-carousel {
  border: 1px solid var(--steel-line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--charcoal);
}

.gallery-carousel .carousel-item {
  aspect-ratio: 16/8;
}

.gallery-carousel .gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.gallery-carousel .carousel-indicators [data-bs-target] {
  background-color: var(--amber);
  opacity: 0.5;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.gallery-carousel .carousel-indicators .active {
  opacity: 1;
}

/* ---------- GALLERY ADMIN ---------- */

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.admin-tile {
  position: relative;
  border: 1px solid var(--steel-line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--panel);
}

.admin-tile img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.admin-tile-caption {
  padding: 8px 10px;
  font-size: 0.72rem;
  color: var(--gray);
  border-top: 1px solid var(--steel-line);
}

.admin-delete-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--steel-line);
  background: rgba(12, 12, 13, 0.85);
  color: var(--off-white);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.admin-delete-btn:hover {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
}

.footer-links {
  color: var(--gray)!important;
}

.footer-link {
  color: grey!important;
}

.footer-links:hover {
  color: var(--amber)!important;
}

.footer-link:hover {
  color: var(--amber)!important;
}

.footer-copy:hover {
  color: var(--amber)!important;
}

.mz-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.form-control:focus {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  border-color: rgba(232,130,26,0.44);
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(232,130,26,0.25);
}

.btn-check:checked + .btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check) + .btn:active {
  color: var(--amber);
  background-color: var(--bs-light);
  border-color: var(--off-white);
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  min-height: 100vh;
}

.hazard-bar {
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--amber-main), var(--amber-main) 12px, #111 12px, #111 24px);
  width: 100%;
}

.font-heading {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.font-mono {
  font-family: var(--font-mono) !important;
}

.plate {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  position: relative;
}

.plate::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber-main), transparent);
  border-radius: 12px 12px 0 0;
}

.service-card {
  background-color: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
}

.form-control, .form-select {
  background-color: var(--bg-dark);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
}

.form-control:focus, .form-select:focus {
  background-color: #050505;
  border-color: var(--amber-main);
  color: #fff;
  box-shadow: 0 0 0 0.25rem var(--amber-glow);
}

.form-control::placeholder {
  color: #55555e;
  font-family: var(--font-body);
}

.form-label {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.btn-mz-primary {
  background: linear-gradient(135deg, var(--amber-main), var(--amber-dark));
  border: none;
  color: #0c0c0d;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px var(--amber-glow);
}

.btn-mz-primary:hover, .btn-mz-primary:focus {
  background: linear-gradient(135deg, #f59128, var(--amber-main));
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 130, 26, 0.4);
}

.btn-mz-primary:active {
  transform: translateY(1px);
}

.btn-mz-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  transition: all 0.2s;
}

.btn-mz-outline:hover {
  background: var(--bg-card-alt);
  border-color: var(--amber-main);
  color: var(--amber-main);
}

.preset-chip {
  background-color: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
}

.preset-chip:hover {
  border-color: var(--amber-main);
  color: var(--text-main);
}

.preset-chip.active {
  background-color: rgba(232, 130, 26, 0.12);
  border-color: var(--amber-main);
  color: var(--amber-main);
  font-weight: 600;
}

.badge-mz {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.35em 0.65em;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.badge-mz-amber {
  background-color: rgba(232, 130, 26, 0.15);
  border: 1px solid rgba(232, 130, 26, 0.3);
  color: var(--amber-main);
}

.table-mz {
  color: var(--text-main);
  vertical-align: middle;
  font-size: 0.85rem;
  margin-bottom: 0;
}

.table-mz th {
  background-color: var(--bg-card-alt);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
}

.table-mz td {
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 1rem;
  background-color: transparent;
}

.nav-tabs {
  border-bottom: 1px solid var(--border-color);
}

.nav-tabs .nav-link {
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  color: var(--text-muted);
  border: 1px solid transparent;
  border-radius: 8px 8px 0 0;
}

.nav-tabs .nav-link.active {
  background-color: var(--bg-card);
  color: var(--amber-main);
  border-color: var(--border-color) var(--border-color) var(--bg-card);
}

.status-msg {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.status-msg.success {
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.35);
  color: #2ecc71;
}

.status-msg.error {
  background: rgba(220, 53, 69, 0.12);
  border: 1px solid rgba(220, 53, 69, 0.35);
  color: #ff6b6b;
}

#authGate {
  min-height: 100vh;
}

/* GALLERY ADMIN GRID STYLES */

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.admin-tile {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-card-alt);
  aspect-ratio: 1 / 1;
}

.admin-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-delete-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(220, 53, 69, 0.85);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  line-height: 24px;
  text-align: center;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.admin-delete-btn:hover {
  background: rgba(220, 53, 69, 1);
}

.gallery-empty {
  text-align: center;
  color: var(--text-muted);
  grid-column: 1 / -1;
  padding: 2rem 0;
}

