/*
Theme Name: Garnituri Direct
Theme URI: https://garnituridirect.ro
Author: Arte Rubber
Author URI: https://garnituridirect.ro
Description: Tema WordPress profesionala pentru producatori de garnituri industriale, cu pagina proprie de administrare pentru continut, imagini si date de contact.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: garnituri-direct
*/

:root {
  --gdt-ink: #132026;
  --gdt-muted: #5d6a70;
  --gdt-line: #dce3e6;
  --gdt-paper: #f6f8f7;
  --gdt-white: #ffffff;
  --gdt-green: #315f48;
  --gdt-orange: #d96d28;
  --gdt-steel: #eef2f3;
  --gdt-dark: #0d171b;
  --gdt-shadow: 0 20px 55px rgba(13, 23, 27, 0.14);
  --gdt-radius: 8px;
  --gdt-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gdt-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--gdt-white);
  line-height: 1.6;
}

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

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

.gdt-wrap {
  width: min(100% - 32px, var(--gdt-max));
  margin-inline: auto;
}

.gdt-topbar {
  background: var(--gdt-dark);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.gdt-topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
}

.gdt-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--gdt-line);
  backdrop-filter: blur(16px);
}

.gdt-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.gdt-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.gdt-brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--gdt-white);
  background: var(--gdt-green);
  border: 2px solid rgba(217, 109, 40, 0.5);
  border-radius: 6px;
  font-weight: 900;
}

.gdt-brand img {
  max-width: 250px;
  max-height: 62px;
  object-fit: contain;
}

.gdt-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #26353b;
  font-size: 15px;
  font-weight: 650;
}

.gdt-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gdt-nav a {
  padding: 8px 0;
}

.gdt-nav a:hover {
  color: var(--gdt-orange);
}

.gdt-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gdt-line);
  background: var(--gdt-white);
  border-radius: 6px;
  color: var(--gdt-ink);
}

.gdt-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.gdt-button,
.gdt-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--gdt-orange);
  color: var(--gdt-white);
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.gdt-button:hover,
.gdt-submit:hover {
  transform: translateY(-1px);
  background: #be5c21;
}

.gdt-button--ghost {
  color: var(--gdt-white);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

.gdt-button--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.gdt-hero {
  position: relative;
  min-height: min(740px, calc(100vh - 96px));
  color: var(--gdt-white);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.gdt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(8, 17, 20, 0.94) 0%, rgba(8, 17, 20, 0.74) 38%, rgba(8, 17, 20, 0.32) 100%), var(--gdt-hero-image);
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.gdt-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(180deg, transparent, rgba(8, 17, 20, 0.76));
  z-index: -1;
}

.gdt-hero__content {
  width: min(100% - 32px, var(--gdt-max));
  margin: 0 auto;
  padding: 92px 0 42px;
}

.gdt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #f3b07a;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gdt-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.gdt-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.gdt-hero__lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.2vw, 22px);
}

.gdt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.gdt-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100% - 32px, var(--gdt-max));
  margin: 36px auto -1px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.gdt-stat {
  padding: 22px;
  background: rgba(13, 23, 27, 0.72);
}

.gdt-stat strong {
  display: block;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.gdt-stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 650;
}

.gdt-section {
  padding: 92px 0;
}

.gdt-section--soft {
  background: var(--gdt-paper);
}

.gdt-section--dark {
  background: var(--gdt-dark);
  color: var(--gdt-white);
}

.gdt-section__head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.65fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 40px;
}

.gdt-section__head h2,
.gdt-split h2,
.gdt-contact h2 {
  margin: 0;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

.gdt-section__head p,
.gdt-split p,
.gdt-contact p {
  margin: 0;
  color: var(--gdt-muted);
  font-size: 17px;
}

.gdt-section--dark .gdt-section__head p,
.gdt-section--dark .gdt-contact p {
  color: rgba(255, 255, 255, 0.72);
}

.gdt-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: 52px;
  align-items: center;
}

.gdt-split__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--gdt-radius);
  box-shadow: var(--gdt-shadow);
}

.gdt-split__image img,
.gdt-machine img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gdt-feature-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.gdt-feature-list li {
  position: relative;
  padding-left: 28px;
  color: #33434a;
  font-weight: 650;
}

.gdt-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gdt-orange);
  box-shadow: inset 0 0 0 4px #ffe2cf;
}

.gdt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gdt-card {
  display: block;
  min-height: 238px;
  padding: 28px;
  border: 1px solid var(--gdt-line);
  border-radius: var(--gdt-radius);
  background: var(--gdt-white);
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.gdt-card--link:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 109, 40, 0.45);
  box-shadow: 0 14px 34px rgba(13, 23, 27, 0.1);
}

.gdt-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 6px;
  background: #e9f0ed;
  color: var(--gdt-green);
  font-weight: 900;
}

.gdt-card h3,
.gdt-machine h3,
.gdt-step h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.18;
}

.gdt-card p,
.gdt-machine p,
.gdt-step p {
  margin: 0;
  color: var(--gdt-muted);
}

.gdt-machines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gdt-machine {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--gdt-radius);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.gdt-machine--link:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 178, 27, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.gdt-machine__image {
  height: 265px;
  background: #263238;
}

.gdt-machine__body {
  padding: 24px;
}

.gdt-machine p {
  color: rgba(255, 255, 255, 0.68);
}

.gdt-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.gdt-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.gdt-pill-list li {
  padding: 10px 13px;
  border: 1px solid var(--gdt-line);
  border-radius: 6px;
  background: var(--gdt-white);
  color: #2d3e45;
  font-weight: 700;
}

.gdt-pill-list a,
.gdt-title-link {
  color: inherit;
}

.gdt-pill-list a:hover,
.gdt-title-link:hover {
  color: var(--gdt-orange);
}

.gdt-title-link::after {
  content: " ->";
  color: var(--gdt-orange);
  font-size: 0.72em;
  white-space: nowrap;
}

.gdt-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: gdt-step;
}

.gdt-step {
  position: relative;
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--gdt-line);
  border-radius: var(--gdt-radius);
  background: var(--gdt-white);
  counter-increment: gdt-step;
}

.gdt-step::before {
  content: counter(gdt-step, decimal-leading-zero);
  display: block;
  margin-bottom: 32px;
  color: var(--gdt-orange);
  font-weight: 900;
  font-size: 15px;
}

.gdt-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.55fr);
  gap: 44px;
  align-items: start;
}

.gdt-contact__box {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--gdt-radius);
  background: rgba(255, 255, 255, 0.06);
}

.gdt-contact__box a,
.gdt-footer a {
  color: #ffb37b;
}

.gdt-contact__rows {
  display: grid;
  gap: 16px;
  margin: 0;
}

.gdt-contact__rows div {
  display: grid;
  gap: 3px;
}

.gdt-contact__rows dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.gdt-contact__rows dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  font-weight: 700;
}

.gdt-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.68);
  background: #071013;
  font-size: 14px;
}

.gdt-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.gdt-page {
  padding: 74px 0;
}

.gdt-page__content {
  max-width: 820px;
}

.gdt-page__content h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

@media (max-width: 920px) {
  .gdt-menu-toggle {
    display: inline-block;
  }

  .gdt-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 16px;
    border-bottom: 1px solid var(--gdt-line);
    background: var(--gdt-white);
    box-shadow: var(--gdt-shadow);
  }

  .gdt-nav.is-open {
    display: grid;
  }

  .gdt-nav ul {
    display: grid;
    gap: 10px;
  }

  .gdt-section,
  .gdt-page {
    padding: 68px 0;
  }

  .gdt-section__head,
  .gdt-split,
  .gdt-contact {
    grid-template-columns: 1fr;
  }

  .gdt-grid,
  .gdt-machines,
  .gdt-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gdt-topbar__inner,
  .gdt-footer__inner {
    display: grid;
  }

  .gdt-hero {
    min-height: 720px;
  }

  .gdt-stats,
  .gdt-grid,
  .gdt-machines,
  .gdt-process,
  .gdt-pill-grid {
    grid-template-columns: 1fr;
  }

  .gdt-stat,
  .gdt-card,
  .gdt-step,
  .gdt-contact__box {
    padding: 22px;
  }

  .gdt-machine__image {
    height: 220px;
  }
}
