/* =========================================================
   AXISMETAL KFT. – statikus bemutatkozó oldal
   A fő színeket a :root blokkban a leggyorsabb módosítani.
   ========================================================= */

:root {
  --blue-950: #082943;
  --blue-900: #0b3554;
  --blue-800: #0f466e;
  --blue-700: #155d8e;
  --blue-600: #247fb5;

  --ink: #111820;
  --text: #283541;
  --muted: #64717d;

  --white: #ffffff;
  --silver-50: #f7f9fa;
  --silver-100: #eef2f4;
  --silver-200: #dfe5e9;
  --silver-300: #cbd4da;
  --silver-500: #8b979f;

  --max-width: 1440px;
  --shadow: 0 18px 60px rgba(5, 31, 50, 0.12);
  --radius: 3px;
}

/* ---------- Alapbeállítások ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: -0.03em;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 0.98;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--blue-700);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #91cceb;
}

.section {
  padding: 84px 0;
}

.section-light {
  background:
    linear-gradient(120deg, rgba(255,255,255,0.98), rgba(239,244,247,0.96)),
    repeating-linear-gradient(
      100deg,
      rgba(12,54,84,0.02) 0,
      rgba(12,54,84,0.02) 1px,
      transparent 1px,
      transparent 7px
    );
}

/* ---------- Gombok ---------- */

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  color: var(--white);
  border-color: var(--blue-900);
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  box-shadow: 0 10px 28px rgba(8, 41, 67, 0.18);
}

.button-light {
  color: var(--blue-900);
  border-color: var(--silver-300);
  background: rgba(255, 255, 255, 0.9);
}

.button-outline-light {
  color: var(--white);
  border-color: rgba(255,255,255,0.65);
  background: transparent;
}

.button-outline-light:hover {
  background: rgba(255,255,255,0.1);
}

.text-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--blue-800);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* ---------- Fejléc ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(10, 51, 81, 0.09);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  grid-template-columns: 300px 1fr auto;
  align-items: center;
  min-height: 92px;
  gap: 28px;
}

.brand {
  display: block;
  width: 270px;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 74px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.main-nav a {
  position: relative;
  padding: 35px 0 31px;
  color: #253746;
  font-size: 0.86rem;
  font-weight: 700;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue-600);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  white-space: nowrap;
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 52%) minmax(0,48%);
  background: var(--silver-50);
}

.hero-copy {
  display: flex;
  align-items: center;
  padding: 58px max(48px, calc((100vw - var(--max-width)) / 2));
  padding-right: 54px;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.98) 12%, rgba(241,246,249,0.92) 100%),
    repeating-linear-gradient(
      105deg,
      rgba(12,54,84,0.025) 0,
      rgba(12,54,84,0.025) 1px,
      transparent 1px,
      transparent 8px
    );
}

.hero-copy-inner {
  width: min(650px, 100%);
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 3.8vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0,035rem;
}

.hero h1 span {
  display: block;
  color: var(--ink);
}

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

.lead {
  max-width: 650px;
  margin-bottom: 8px;
  color: #384957;
  font-size: 1.08rem;
}

.hero-note {
  color: #263845;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 48px;
  gap: 18px;
}

.trust-item {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 12px;
  min-width: 150px;
  padding-right: 20px;
  border-right: 1px solid var(--silver-300);
}

.trust-item strong {
  color: var(--blue-700);
  font-size: 1.45rem;
}

.trust-item span {
  color: #344b5c;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero-image {
  position: relative;
  min-height: 650px;
  background:
    linear-gradient(90deg, rgba(7,33,52,0.10), rgba(7,33,52,0.05)),
    url("../images/hero-welding.png") center / cover no-repeat;
}

.hero-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent 55%, rgba(4, 27, 45, 0.74));
}

.hero-side-copy {
  position: absolute;
  top: 50%;
  right: 7%;
  z-index: 2;
  display: flex;
  width: 180px;
  flex-direction: column;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.16em;
  line-height: 1.8;
  transform: translateY(-50%);
}

.hero-side-copy i {
  width: 80px;
  height: 2px;
  margin: 18px 0;
  background: #61b7e6;
}

.hero-side-copy .muted {
  color: rgba(255,255,255,0.72);
  font-size: 0.86rem;
}

/* ---------- Fémipari blokk ---------- */

.section-heading-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 58px;
  align-items: start;
}

.section-heading-grid > div:first-child p:not(.eyebrow) {
  color: var(--muted);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.image-card {
  position: relative;
  margin: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.image-card::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 5px;
  height: 100%;
  content: "";
  background: linear-gradient(var(--blue-600), var(--blue-900));
}

.image-card img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.image-card:hover img {
  transform: scale(1.035);
}

.image-card h3 {
  min-height: 66px;
  margin: 0;
  padding: 16px 18px 18px 22px;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ---------- Címsor elrendezések ---------- */

.section-title-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: end;
  gap: 48px;
  margin-bottom: 32px;
}

.section-title-row > p {
  max-width: 680px;
  margin-bottom: 20px;
  color: var(--muted);
}

.section-title-row-services {
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 36px;
}

.section-title-row-services .section-intro {
  max-width: 980px;
}

.section-title-row-services .section-intro > p:not(.eyebrow) {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.section-title-row-services h2 {
  margin-bottom: 24px;
}

/* ---------- Szolgáltatások ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--silver-200);
  background: var(--white);
  box-shadow: 0 20px 55px rgba(10, 50, 80, 0.07);
}

.service-card {
  min-height: 250px;
  padding: 32px 26px;
  border-right: 1px solid var(--silver-200);
  background: linear-gradient(180deg, #ffffff, #f7fafb);
}

.service-card:last-child {
  border-right: 0;
}

.service-thumb {
  width: 100%;
  height: 125px;
  margin-bottom: 22px;
  overflow: hidden;
  background: var(--silver-100);
}

.service-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.service-thumb {
  width: 100%;
  height: 125px;
  margin-bottom: 22px;
  overflow: hidden;
  border-bottom: 3px solid var(--blue-700);
  background: var(--silver-100);
}

.service-card h3 {
  min-height: 56px;
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- 3D nyomtatás ---------- */

.print-section {
  padding: 0;
  color: var(--white);
  background:
    linear-gradient(130deg, rgba(6,35,57,0.98), rgba(15,78,118,0.96));
}

.print-grid {
  display: grid;
  min-height: 420px;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: stretch;
}

.print-image {
  min-height: 420px;
}

.print-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
}

.print-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 42px;
}

.print-copy h2 {
  color: var(--white);
}

.print-copy p {
  max-width: 650px;
  color: rgba(255,255,255,0.78);
}

.print-description {
  max-width: 720px;
  margin: 10px 0 32px;
}

.print-description p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.65;
}

.print-description strong {
  color: #ffffff;
  font-weight: 700;
}

.print-usecases {
  margin: 8px 0 30px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid rgba(145, 204, 235, 0.85);
}

.print-usecases h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
}

.print-usecases ul {
  margin: 0;
  padding-left: 20px;
}

.print-usecases li {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.print-usecases li:last-child {
  margin-bottom: 0;
}

.print-usecases ul {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 32px;
}

@media (max-width: 700px) {
  .print-usecases ul {
    columns: 1;
  }
}

/* ---------- Referenciák ---------- */

.reference-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.reference-card {
  overflow: hidden;
  border-bottom: 3px solid var(--blue-700);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(8, 41, 67, 0.08);
}

.reference-card img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}

.reference-card div {
  padding: 17px 16px 19px;
}

.reference-card h3 {
  margin-bottom: 4px;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.reference-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ---------- Rólunk ---------- */

.about-section {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.about-copy {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.04rem;
}

/* ---------- Kapcsolat ---------- */

.contact-cta {
  padding: 58px 0;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(4,34,57,0.98), rgba(16,87,132,0.96)),
    repeating-linear-gradient(
      105deg,
      rgba(255,255,255,0.04) 0,
      rgba(255,255,255,0.04) 1px,
      transparent 1px,
      transparent 9px
    );
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 65px;
  align-items: center;
}

.contact-grid h2 {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--white);
}

.contact-grid > div:last-child > p {
  color: rgba(255,255,255,0.76);
}

.contact-items {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 24px;
}

.contact-items a,
.contact-items span {
  color: var(--white);
  font-weight: 700;
}

/* ---------- Lábléc ---------- */

.site-footer {
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  background: #061e31;
  color: rgba(255,255,255,0.72);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.86rem;
}

.footer-inner strong {
  color: var(--white);
}

/* =========================================================
   RESZPONZÍV NÉZETEK
   ========================================================= */

@media (max-width: 1250px) {
  .header-inner {
    grid-template-columns: 230px 1fr;
  }

  .brand {
    width: 220px;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    justify-content: flex-end;
    gap: 18px;
  }

  .hero {
    grid-template-columns: 1fr 1fr;
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card {
    border-bottom: 1px solid var(--silver-200);
  }

  .reference-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .site-header {
    position: static;
  }

  .header-inner {
    display: flex;
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 0;
  }

  .brand {
    width: 220px;
    margin-inline: auto;
  }

  .main-nav {
    justify-content: center;
    gap: 8px 18px;
  }

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

  .main-nav a::after {
    bottom: 0;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 64px 24px;
  }

  .hero-image {
    min-height: 480px;
  }

  .section-heading-grid,
  .section-title-row,
  .about-grid,
  .contact-grid,
  .print-grid {
    grid-template-columns: 1fr;
  }

  .industry-grid,
  .reference-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .print-image {
    min-height: 340px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 62px 0;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-image {
    min-height: 380px;
  }

  .hero-side-copy {
    right: 22px;
  }

  .industry-grid,
  .services-grid,
  .reference-grid {
    grid-template-columns: 1fr;
  }

  .trust-row {
    flex-direction: column;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--silver-300);
    padding: 0 0 14px;
  }

  .print-copy {
    padding: 48px 24px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
