/* ============================================================
   Luvian Industry — Titanium theme
   ============================================================ */
:root {
  /* titanium palette */
  --ti-950: #101216;
  --ti-900: #14171c;
  --ti-850: #1a1e24;
  --ti-800: #23272e;
  --ti-700: #2e333b;
  --ti-500: #6b7280;
  --ti-400: #8b9096;
  --ti-300: #b6bac0;
  --ti-200: #d3d6da;
  --ti-100: #e8eaec;
  --ti-050: #f4f5f6;
  --accent: #e87722;          /* logo orange */
  --accent-dark: #c95f10;
  --navy: #1e3a5f;            /* logo navy */
  --font-head: "Rajdhani", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", sans-serif;
  --header-h: 76px;
  --radius: 10px;
  --shadow: 0 18px 50px rgba(8, 10, 14, .35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ti-200);
  background: var(--ti-900);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container { width: min(1200px, 92%); margin-inline: auto; }

/* ---------- typography ---------- */
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  color: var(--ti-050);
  letter-spacing: .5px;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.35rem; }

.section-kicker {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: .85rem;
  color: var(--accent);
  margin-bottom: .8rem;
}

.section-sub { max-width: 640px; color: var(--ti-400); margin-bottom: 3rem; }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

.section-dark { background: var(--ti-950); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: .95rem;
  padding: .95rem 2.1rem;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 8px 24px rgba(232, 119, 34, .25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(232, 119, 34, .4); }

.btn-ghost {
  border-color: rgba(255, 255, 255, .35);
  color: var(--ti-100);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .35s ease, box-shadow .35s ease, height .35s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(10, 14, 20, .14);
  height: 64px;
}

.header-inner { display: flex; align-items: center; gap: 2.2rem; }

.brand { display: flex; align-items: center; gap: .7rem; }

.brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 2.5px;
  color: var(--ti-050);
}
.brand-text em { font-style: normal; color: var(--accent); margin-left: .45rem; }

/* Orijinal logo koyu zeminde okunabilsin diye beyaz plaket icinde durur;
   header beyaza dondugunde plaket gorunmez olur. */
.brand-logo {
  height: 64px;
  width: auto;
  background: #fff;
  border-radius: 8px;
  padding: 6px 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .28);
  transition: box-shadow .35s ease, height .35s ease;
}
.site-header.scrolled .brand-logo { box-shadow: none; height: 56px; }

/* beyaz header durumunda menu koyulasir */
.site-header.scrolled .main-nav a { color: #4a5260; }
.site-header.scrolled .main-nav a:hover,
.site-header.scrolled .main-nav a.active { color: var(--navy); }
.site-header.scrolled .nav-toggle span { background: var(--navy); }

.main-nav { display: flex; gap: 1.7rem; margin-left: auto; }

.main-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: .9rem;
  color: var(--ti-300);
  padding: .4rem 0;
  position: relative;
  transition: color .25s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .3s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--ti-050); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-cta { padding: .7rem 1.5rem; font-size: .85rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px; height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  margin-left: auto;
}
.nav-toggle span { display: block; height: 2px; width: 26px; background: var(--ti-100); transition: .3s; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.85) contrast(1.05);
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero-video.is-active { opacity: 1; }

.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(13, 15, 19, .6), transparent 20%),
    linear-gradient(100deg, rgba(13, 15, 19, .93) 25%, rgba(13, 15, 19, .55) 60%, rgba(13, 15, 19, .35)),
    linear-gradient(to top, var(--ti-900) 0%, transparent 30%);
}

.hero-content { position: relative; z-index: 2; padding-top: var(--header-h); }

.hero-kicker {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  font-size: .9rem;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(120deg, #f5f6f8 10%, #b9bec5 45%, #8b9096 60%, #e6e8eb 90%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-sub {
  max-width: 620px;
  margin-top: 1.4rem;
  font-size: 1.08rem;
  color: var(--ti-300);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.hero-stats {
  display: flex;
  gap: 3.2rem;
  margin-top: 3.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  width: fit-content;
  padding-right: 3rem;
}

.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ti-050);
  line-height: 1;
}
.stat span { font-size: .82rem; text-transform: uppercase; letter-spacing: 2px; color: var(--ti-400); }

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 14px;
  z-index: 2;
}
.scroll-hint span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0% { top: 8px; opacity: 1; } 70% { top: 24px; opacity: 0; } 100% { top: 8px; opacity: 0; } }

/* ---------- marquee ---------- */
.marquee {
  background: var(--ti-950);
  border-block: 1px solid var(--ti-800);
  overflow: hidden;
  padding: 1.05rem 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee-track span {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .95rem;
  color: var(--ti-400);
  white-space: nowrap;
}
.marquee-track i { color: var(--accent); font-style: normal; font-size: .7rem; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- about ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.about-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-media video { width: 100%; height: 100%; min-height: 480px; object-fit: cover; filter: saturate(.9); }

.about-badge {
  position: absolute;
  left: 1.2rem; bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  background: rgba(16, 18, 22, .88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  padding: .8rem 1.1rem;
}
.about-badge strong { display: block; font-family: var(--font-head); letter-spacing: 1px; color: var(--ti-050); }
.about-badge span { font-size: .78rem; color: var(--ti-400); }

.feature-list { list-style: none; margin-top: 2rem; display: grid; gap: 1.3rem; }

.feature-list li { display: flex; gap: 1rem; align-items: flex-start; }

.f-ico {
  flex: 0 0 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--ti-850);
  border: 1px solid var(--ti-700);
  border-radius: 8px;
  font-size: 1.2rem;
  color: var(--accent);
}
.feature-list strong { color: var(--ti-100); font-family: var(--font-head); letter-spacing: .5px; font-size: 1.05rem; text-transform: uppercase; }
.feature-list p { color: var(--ti-400); font-size: .93rem; }

/* ---------- products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.product-card {
  background: var(--ti-850);
  border: 1px solid var(--ti-800);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 119, 34, .55);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .45);
}

.product-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #282c33; /* gorsellerin koyu degrade kenar rengiyle uyumlu */
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-media img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform .5s ease;
}
.product-card:hover .product-media img { transform: scale(1.06); }

.product-info { padding: 1.4rem 1.5rem 1.6rem; }
.product-info h3 { margin-bottom: .5rem; }
.product-info p { color: var(--ti-400); font-size: .93rem; min-height: 3.4em; }

.product-link {
  display: inline-block;
  margin-top: .9rem;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: .85rem;
  color: var(--accent);
  transition: letter-spacing .25s;
}
.product-link:hover { letter-spacing: 2.5px; }

.product-extra {
  margin-top: 2.6rem;
  text-align: center;
  color: var(--ti-400);
}
.product-extra a { color: var(--accent); border-bottom: 1px solid currentColor; }

/* ---------- distributor ---------- */
.dist { position: relative; overflow: hidden; text-align: center; }

.dist-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.8);
}

.dist-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(13, 15, 19, .88), rgba(13, 15, 19, .82));
}

.dist-content { position: relative; z-index: 2; max-width: 760px; }

.dist-logo {
  display: inline-block;
  background: #fff;
  border-radius: 10px;
  padding: .9rem 1.6rem;
  margin-bottom: 1.4rem;
}
.dist-logo img { height: 58px; width: auto; }
.dist-content p { color: var(--ti-300); margin-bottom: 1.6rem; }
.dist-content h2 { color: #fff; }
.dist-content h2::after {
  content: "";
  display: block;
  width: 72px; height: 3px;
  background: var(--accent);
  margin: 1.1rem auto 0;
}

/* ---------- references ---------- */
.refs { background: var(--ti-900); text-align: center; }
.refs .section-sub { margin-inline: auto; }

.ref-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.ref-card {
  border: 1px solid var(--ti-800);
  background: #fff;
  border-radius: 8px;
  padding: 1.6rem 1.2rem 1.2rem;
  display: grid;
  place-items: center;
  gap: .9rem;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.ref-card:hover {
  border-color: rgba(232, 119, 34, .5);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

.ref-card img {
  height: 54px;
  width: auto;
  max-width: 86%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .8;
  transition: filter .3s, opacity .3s;
}
.ref-card:hover img { filter: none; opacity: 1; }

.ref-card span {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 2px;
  font-size: .82rem;
  color: var(--ti-500);
  text-transform: uppercase;
}
.ref-card:hover span { color: var(--navy); }

/* ---------- contact ---------- */
.contact .grid-2 { align-items: start; }

.contact-list { list-style: none; margin-top: 2rem; display: grid; gap: 1.4rem; }
.contact-list li { display: flex; align-items: center; gap: 1rem; }

.c-ico {
  flex: 0 0 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--ti-850);
  border: 1px solid var(--ti-700);
  border-radius: 8px;
  color: var(--accent);
}
.contact-list strong { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; font-size: .85rem; color: var(--ti-400); }
.contact-list a, .contact-list div > span { color: var(--ti-100); font-size: 1.02rem; }
.contact-list a:hover { color: var(--accent); }

.contact-form {
  background: var(--ti-850);
  border: 1px solid var(--ti-800);
  border-radius: var(--radius);
  padding: 2rem;
  display: grid;
  gap: 1.1rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.form-field { display: grid; gap: .4rem; }

.form-field label {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: .78rem;
  color: var(--ti-400);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--ti-900);
  border: 1px solid var(--ti-700);
  border-radius: 6px;
  color: var(--ti-100);
  font-family: var(--font-body);
  font-size: .98rem;
  padding: .75rem .9rem;
  transition: border-color .25s;
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-note { font-size: .9rem; color: var(--accent); min-height: 1.2em; }

/* ---------- footer ---------- */
.site-footer { background: var(--ti-950); border-top: 1px solid var(--ti-800); }

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
}

.footer-brand p { color: var(--ti-400); font-size: .93rem; margin-top: 1rem; max-width: 320px; }

.footer-nav, .footer-products, .footer-contact { display: grid; gap: .55rem; align-content: start; }

.footer-inner strong {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ti-100);
  margin-bottom: .4rem;
}

.footer-inner a, .footer-contact span { color: var(--ti-400); font-size: .95rem; transition: color .25s; }
.footer-inner a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--ti-800);
  padding: 1.1rem 0;
  font-size: .85rem;
  color: var(--ti-500);
}

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .ref-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(320px, 80vw);
    background: rgba(16, 18, 22, .98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 2.4rem;
    gap: 1.6rem;
    transform: translateX(100%);
    transition: transform .4s ease;
    box-shadow: -20px 0 60px rgba(0,0,0,.5);
  }
  .main-nav.open { transform: none; }
  .main-nav a { font-size: 1.2rem; }
  body.nav-open { overflow: hidden; }
  .nav-toggle { z-index: 120; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .grid-2 { grid-template-columns: 1fr; }
  .about-media video { min-height: 320px; }
  .hero-stats { gap: 2rem; flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .brand-logo { height: 48px; padding: 5px 12px; }
}
