﻿/*
Theme Name: TZIK Industrial Theme
Author: PRO UNISON
Description: Custom B2B industrial WordPress theme for TZIK.
Version: 0.1.0
Text Domain: tzik
*/

:root {
  --color-bg: #FAF8F4;
  --color-bg-soft: #F1EDE7;
  --color-card: #FFFDF9;
  --color-border: #E2DCD4;
  --color-shadow: #D8CCC0;
  --color-text: #2A2522;
  --color-muted: #6B625A;
  --color-muted-light: #9A8F84;
  --color-brown: #5A341F;
  --color-brown-dark: #3E2417;
  --color-leather: #7A4A2C;
  --color-copper: #A66A3F;
  --color-gold: #D1A073;
  --color-beige: #C7B7A8;
  --color-graphite: #24201D;
  --color-olive: #5C6243;
  --font-main: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-body: 17px;
  --line-height-body: 1.65;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --tzik-paper: #FAF8F4;
  --tzik-panel: #FFFDF9;
  --tzik-line: #E2DCD4;
  --tzik-shadow: #D8CCC0;
  --tzik-ink: #2A2522;
  --tzik-muted: #6B625A;
  --tzik-button: #5A341F;
  --tzik-button-hover: #3E2417;
  --tzik-leather: #7A4A2C;
  --tzik-copper: #A66A3F;
  --tzik-gold: #D1A073;
}

.tzik-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 30px 22px 24px;
  background: var(--tzik-paper);
}

.tzik-header-inner {
  position: relative;
  display: grid;
  grid-template-columns: 468px minmax(360px, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  max-width: 1920px;
  min-height: 108px;
  margin: 0 auto;
  padding: 0 38px 0 22px;
  border: 1px solid rgba(90, 52, 31, 0.14);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(255, 253, 249, 0.91)),
    repeating-linear-gradient(90deg, rgba(90, 52, 31, 0.024) 0, rgba(90, 52, 31, 0.024) 1px, transparent 1px, transparent 42px),
    var(--tzik-panel);
  box-shadow:
    0 18px 34px rgba(42, 37, 34, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.tzik-header-inner::before {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(226, 220, 212, 0.76);
  border-radius: 7px;
  content: "";
  pointer-events: none;
}

.tzik-brand {
  display: block;
  flex: 0 0 auto;
  width: 456px;
  margin: -26px 0 -26px 32px;
  line-height: 0;
  text-decoration: none;
}

.tzik-brand-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 456px;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(62, 36, 23, 0.22));
}

.tzik-main-nav {
  position: relative;
  z-index: 1;
  justify-self: center;
}

.tzik-menu,
.tzik-mobile-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tzik-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 42px);
}

.tzik-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--tzik-ink);
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

.tzik-menu a:hover,
.tzik-menu .current-menu-item > a {
  color: var(--tzik-button);
}

.tzik-header-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 30px;
}

.tzik-header-actions::before {
  width: 1px;
  height: 56px;
  background: var(--tzik-line);
  content: "";
}

.tzik-header-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--tzik-ink);
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.tzik-header-phone span {
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.01em;
}

.tzik-header-phone small {
  margin-top: 6px;
  color: var(--tzik-muted);
  font-size: 15px;
  font-weight: var(--font-weight-medium);
}

.tzik-header-button,
.tzik-mobile-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 66px;
  padding: 0 34px;
  border: 1px solid rgba(209, 160, 115, 0.38);
  border-radius: 7px;
  color: #FFFDF9;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.12), transparent 25%),
    linear-gradient(135deg, var(--tzik-leather), var(--tzik-button) 48%, var(--tzik-button-hover));
  box-shadow:
    0 14px 24px rgba(90, 52, 31, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  white-space: nowrap;
}

.tzik-header-button:hover,
.tzik-mobile-button:hover {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.12), transparent 25%),
    linear-gradient(135deg, var(--tzik-button), var(--tzik-button-hover));
  color: #FFFDF9;
}

.tzik-header-button i,
.tzik-mobile-button i {
  color: var(--tzik-gold);
  font-style: normal;
  font-size: 22px;
  line-height: 1;
}

.tzik-site-header .tzik-header-button,
.tzik-site-header .tzik-mobile-button {
  position: relative;
  isolation: isolate;
  gap: 14px;
  min-height: 58px;
  padding: 0 30px;
  overflow: hidden;
  border: 1px solid rgba(209, 160, 115, 0.46);
  border-radius: 8px;
  color: #FFFDF9;
  background:
    radial-gradient(circle at 24% 18%, rgba(209, 160, 115, 0.22), transparent 34%),
    linear-gradient(145deg, #7A4A2C 0%, #5A341F 42%, #3E2417 100%);
  box-shadow:
    0 14px 24px rgba(90, 52, 31, 0.20),
    inset 0 1px 0 rgba(255, 253, 249, 0.20),
    inset 0 -8px 16px rgba(36, 32, 29, 0.22);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.01em;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.tzik-site-header .tzik-header-button::before,
.tzik-site-header .tzik-mobile-button::before {
  position: absolute;
  z-index: -1;
  inset: 4px;
  border: 1px solid rgba(209, 160, 115, 0.20);
  border-radius: 5px;
  content: "";
  pointer-events: none;
}

.tzik-site-header .tzik-header-button::after,
.tzik-site-header .tzik-mobile-button::after {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 5px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 253, 249, 0.28), transparent);
  content: "";
  pointer-events: none;
}

.tzik-site-header .tzik-header-button span,
.tzik-site-header .tzik-mobile-button span {
  position: relative;
  z-index: 1;
  color: #FFFDF9;
  text-shadow: 0 1px 1px rgba(36, 32, 29, 0.35);
}

.tzik-site-header .tzik-header-button i,
.tzik-site-header .tzik-mobile-button i {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #D1A073;
  font-size: 20px;
  text-shadow: 0 1px 1px rgba(36, 32, 29, 0.35);
  transform: translateY(1px);
}

.tzik-site-header .tzik-header-button:hover,
.tzik-site-header .tzik-mobile-button:hover,
.tzik-site-header .tzik-header-button:focus-visible,
.tzik-site-header .tzik-mobile-button:focus-visible {
  border-color: rgba(209, 160, 115, 0.68);
  color: #FFFDF9;
  background:
    radial-gradient(circle at 24% 18%, rgba(209, 160, 115, 0.28), transparent 34%),
    linear-gradient(145deg, #8A5230 0%, #6A3B22 42%, #3E2417 100%);
  box-shadow:
    0 18px 28px rgba(90, 52, 31, 0.25),
    inset 0 1px 0 rgba(255, 253, 249, 0.24),
    inset 0 -8px 16px rgba(36, 32, 29, 0.24);
  transform: translateY(-1px);
}

.tzik-site-header .tzik-header-button:focus-visible,
.tzik-site-header .tzik-mobile-button:focus-visible {
  outline: 3px solid rgba(209, 160, 115, 0.42);
  outline-offset: 3px;
}

.tzik-site-header .tzik-header-button:active,
.tzik-site-header .tzik-mobile-button:active {
  box-shadow:
    0 10px 18px rgba(90, 52, 31, 0.18),
    inset 0 2px 8px rgba(36, 32, 29, 0.26);
  transform: translateY(0);
}

.tzik-burger {
  position: relative;
  z-index: 2;
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--tzik-line);
  border-radius: 7px;
  background: var(--tzik-panel);
  cursor: pointer;
}

.tzik-burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--tzik-ink);
  border-radius: 99px;
}

.tzik-burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.tzik-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.tzik-burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.tzik-mobile-panel {
  display: none;
}

.tzik-mobile-panel.is-open {
  display: block;
}

@media (max-width: 1320px) {
  .tzik-header-inner {
    grid-template-columns: 388px minmax(280px, 1fr) auto auto;
    gap: 22px;
    padding-right: 26px;
    padding-left: 18px;
  }

  .tzik-brand {
    width: 388px;
    margin-left: 20px;
  }

  .tzik-menu {
    gap: 20px;
  }

  .tzik-menu a {
    font-size: 15px;
  }

  .tzik-header-actions {
    gap: 20px;
  }

  .tzik-header-phone span {
    font-size: 17px;
  }

  .tzik-header-button {
    min-height: 58px;
    padding: 0 24px;
  }

  .tzik-site-header .tzik-header-button {
    gap: 12px;
    min-height: 54px;
    padding: 0 24px;
  }
}

@media (max-width: 1080px) {
  .tzik-site-header {
    position: relative;
    padding: 14px;
  }

  .tzik-header-inner {
    grid-template-columns: auto 1fr auto;
    min-height: 86px;
    padding: 0 16px 0 10px;
  }

  .tzik-header-inner::before {
    inset: 7px;
  }

  .tzik-main-nav,
  .tzik-header-actions {
    display: none;
  }

  .tzik-burger {
    display: block;
    justify-self: end;
  }

  .tzik-brand {
    width: min(430px, 100%);
    margin: 0;
  }

  .tzik-brand-image {
    max-width: 430px;
  }

  .tzik-mobile-panel {
    margin: -1px 14px 0;
    padding: 18px 22px 22px;
    border: 1px solid rgba(90, 52, 31, 0.14);
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background: var(--tzik-panel);
    box-shadow: 0 16px 26px rgba(42, 37, 34, 0.08);
  }

  .tzik-mobile-menu a {
    display: flex;
    padding: 14px 0;
    border-bottom: 1px solid var(--tzik-line);
    color: var(--tzik-ink);
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
  }

  .tzik-mobile-phone {
    display: flex;
    flex-direction: column;
    margin: 18px 0 14px;
    color: var(--tzik-ink);
    line-height: 1.2;
    text-decoration: none;
  }

  .tzik-mobile-phone span {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
  }

  .tzik-mobile-phone small {
    margin-top: 4px;
    color: var(--tzik-muted);
    font-size: 13px;
  }

  .tzik-site-header .tzik-mobile-button {
    width: 100%;
    max-width: 100%;
    min-height: 52px;
  }
}

@media (max-width: 640px) {
  .tzik-site-header {
    padding: 10px;
  }

  .tzik-header-inner {
    min-height: 76px;
    padding: 0 12px 0 8px;
  }

  .tzik-brand {
    width: min(328px, 100%);
    margin: 0;
  }

  .tzik-brand-image {
    max-width: 328px;
  }

  .tzik-burger {
    width: 44px;
    height: 44px;
  }

  .tzik-mobile-panel {
    margin-right: 10px;
    margin-left: 10px;
  }
}


