/* ==========================================================================
   MB „Auksarankis“ (auksarankis.eu) — Custom B2B Industrial & Architectural CSS
   ========================================================================== */

:root {
  --brand-dark: #0f172a;
  --brand-slate: #1e293b;
  --brand-emerald: #10b981;
  --brand-emerald-dark: #059669;
  --brand-steel: #94a3b8;
  --surface-light: #f8fafc;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0f172a;
  background-color: #f8fafc;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Brushed Steel & Industrial Grid Accents */
.bg-industrial-grid {
  background-color: #0f172a;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(16, 185, 129, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(14, 165, 233, 0.1) 0%, transparent 45%),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}

.bg-steel-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
}

/* Header Glassmorphism */
.site-header {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background-color: rgba(15, 23, 42, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
}

.site-header.scrolled {
  background-color: rgba(15, 23, 42, 0.98);
  box-shadow: 0 10px 30px -10px rgba(2, 6, 23, 0.5);
}

/* Navigation Link Active Indicator & Balanced 2-line Flex Layout */
.nav-link {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 42px;
  line-height: 1.18;
  padding: 0.25rem 0.35rem;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #10b981;
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-link.active {
  color: #34d399;
}

/* Client Logo Cards */
.client-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 92px;
  padding: 1.1rem 1.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-logo-card:hover {
  border-color: #10b981;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.08);
}

.client-logo-card img {
  max-height: 52px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(25%);
  opacity: 0.9;
  transition: all 0.25s ease;
}

.client-logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.04);
}

/* Service & Solution Cards */
.solution-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -12px rgba(15, 23, 42, 0.12);
  border-color: rgba(16, 185, 129, 0.45);
}

/* Gallery Grid & Cards */
.gallery-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item.hidden-item {
  display: none;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background-color: #0f172a;
  cursor: pointer;
}

.gallery-card img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.45) 55%, rgba(15, 23, 42, 0.05) 100%);
  transition: opacity 0.3s ease;
}

/* Filter Pill Buttons */
.filter-btn {
  transition: all 0.2s ease;
}

.filter-btn.active {
  background-color: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

/* Custom Range Slider for ROI Calculator */
input[type="range"].roi-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #334155;
  border-radius: 999px;
  outline: none;
}

input[type="range"].roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10b981;
  border: 3px solid #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

input[type="range"].roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.12);
  background: #34d399;
}

input[type="range"].roi-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10b981;
  border: 3px solid #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* FAQ Accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: #10b981;
}

/* Lightbox Modal */
#lightbox-modal {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Accessibility Focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
}

/* Print Optimization for STR Specification */
@media print {
  .no-print {
    display: none !important;
  }
  body {
    background: #ffffff;
    color: #000000;
  }
}
