/* ==========================================================================
   AZ-Technik — yeni site
   Temiz, modern, Flexbox/Grid tabanlı
   ========================================================================== */

:root {
  --red: #d70006;
  --red-dark: #a40004;
  --dark: #0d0d0f;
  --dark-2: #16161a;
  --dark-3: #1e1e24;
  --muted: #6e6e76;
  --light: #f5f6f8;
  --white: #ffffff;
  --border: #e7e8ec;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Bai Jamjuree", "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: #26262b;
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; font-weight: 700; }

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

.section { padding: 90px 0; }
.section--tight { padding: 64px 0; }
.section--dark { background: var(--dark); color: var(--white); }
.section--light { background: var(--light); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn--outline { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn--outline:hover { background: #fff; color: var(--dark); }
.btn--ghost { border-color: var(--dark); color: var(--dark); }
.btn--ghost:hover { background: var(--dark); color: #fff; }
.btn--sm { padding: 10px 20px; font-size: 13px; }

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */
.topbar {
  background: #000;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  flex-wrap: wrap;
}
.topbar__info {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar__info a:hover { color: var(--red); }
.topbar__info .item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__info svg { flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Language switcher
   -------------------------------------------------------------------------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch button {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-switch button.active {
  background: var(--red);
  color: #fff;
}
.lang-switch button:not(.active):hover { color: #fff; }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.header {
  background: #000;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease;
}
.header.is-scrolled { box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; }
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo img { height: 74px; width: auto; }
.nav__logo-text { color: #fff; font-family: var(--font-head); font-weight: 800; letter-spacing: 0.5px; font-size: 18px; line-height: 1.1; }
.nav__logo-text small { display: block; font-size: 10px; font-weight: 500; color: var(--red); letter-spacing: 2px; text-transform: uppercase; }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  color: rgba(255,255,255,0.82);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 8px;
  position: relative;
  transition: color 0.2s ease;
}
.nav__links a:hover,
.nav__links a.active { color: #fff; }
.nav__links a.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__phone { display: flex; align-items: center; gap: 10px; color: #fff; }
.nav__phone .phone-label { font-size: 11px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; }
.nav__phone a { font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.nav__phone a:hover { color: var(--red); }
.nav__cta { white-space: nowrap; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.hamburger span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.25s ease; }

/* Mobile menu */
.mobile-menu {
  display: none;
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 10px 0 18px;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; color: rgba(255,255,255,0.85); padding: 13px 6px; font-family: var(--font-head); font-weight: 500; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-menu a:hover { color: var(--red); }
.mobile-menu .lang-switch { margin: 16px 6px 4px; }
.mobile-menu .nav__phone { padding: 14px 6px 4px; }

/* --------------------------------------------------------------------------
   Hero slider
   -------------------------------------------------------------------------- */
.hero { position: relative; min-height: 78vh; overflow: hidden; background: var(--dark); }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
  display: flex; align-items: center;
}
.hero__slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); transition: transform 6s ease; }
.hero__slide.active .hero__bg { transform: scale(1); }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.25) 100%); }
.hero__content { position: relative; z-index: 3; padding: 90px 0; max-width: 780px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600;
  margin-bottom: 18px;
}
.hero__eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--red); }
.hero__title { color: #fff; font-size: clamp(30px, 5vw, 58px); line-height: 1.12; margin-bottom: 22px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__controls { position: absolute; right: 40px; bottom: 40px; z-index: 5; display: flex; gap: 10px; }
.hero__arrow {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35); background: rgba(0,0,0,0.3); color: #fff;
  font-size: 18px; cursor: pointer; transition: all 0.25s ease;
}
.hero__arrow:hover { background: var(--red); border-color: var(--red); }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 44px; z-index: 5; display: none; justify-content: center; gap: 10px; }
.hero__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.35); cursor: pointer; transition: all 0.3s ease; }
.hero__dots button.active { background: var(--red); width: 28px; border-radius: 999px; }

/* --------------------------------------------------------------------------
   Section headings
   -------------------------------------------------------------------------- */
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head__eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--red); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; margin-bottom: 12px; }
.sec-head__eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); }
.sec-head--center .sec-head__eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--red); }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 14px; }
.sec-head p { color: var(--muted); }

/* --------------------------------------------------------------------------
   About / intro (homepage)
   -------------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-grid__img { position: relative; }
.about-grid__img img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1/1; object-fit: cover; }
.about-grid__badge {
  position: absolute; right: -18px; bottom: 26px;
  background: var(--red); color: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  font-family: var(--font-head);
}
.about-grid__badge strong { display: block; font-size: 30px; line-height: 1; }
.about-grid__badge span { font-size: 12px; opacity: 0.9; }
.about-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin: 28px 0 32px; }
.about-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.about-list li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.about-grid h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 18px; }
.about-grid > div > p.lead { color: var(--muted); }

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee { background: var(--red); color: #fff; overflow: hidden; padding: 20px 0; transform: rotate(-1.2deg) scale(1.02); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 28s linear infinite; }
.marquee__track span { font-family: var(--font-head); font-weight: 700; font-size: clamp(18px, 2.4vw, 28px); text-transform: uppercase; display: inline-flex; align-items: center; gap: 48px; }
.marquee__track span::after { content: "◆"; font-size: 0.5em; opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Stats / counters
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.stat { text-align: center; padding: 36px 20px; background: var(--dark-2); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); }
.stat__icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 14px; background: rgba(215,0,6,0.12); display: grid; place-items: center; color: var(--red); }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(34px, 4vw, 48px); line-height: 1; color: #fff; }
.stat__num .plus { color: var(--red); }
.stat__label { margin-top: 10px; color: rgba(255,255,255,0.65); font-weight: 500; }

/* --------------------------------------------------------------------------
   Why us (icon boxes)
   -------------------------------------------------------------------------- */
.why { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr; gap: 20px; align-items: center; }
.why__col { display: flex; flex-direction: column; gap: 20px; }
.why__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.why__img img { aspect-ratio: 3/5; object-fit: cover; width: 100%; }
.feature-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all 0.3s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card__icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(215,0,6,0.08); color: var(--red); display: grid; place-items: center; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 15px; }

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero { position: relative; background: var(--dark); color: #fff; padding: 110px 0 90px; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.78); }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 52px); margin-bottom: 12px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.6); }
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span::before { content: "/"; margin-inline: 10px; color: rgba(255,255,255,0.4); }
.breadcrumb .sep { color: rgba(255,255,255,0.4); }

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */
.about-text p { color: #444; margin-bottom: 18px; max-width: 760px; }
.about-media { display: flex; align-items: center; justify-content: center; gap: 56px; margin-top: 36px; flex-wrap: wrap; }
.about-media img { height: 88px; width: auto; max-width: 100%; object-fit: contain; border-radius: 8px; }
@media (max-width: 720px) { .about-media img { height: 56px; } }
.about-cert { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.about-cert img { border-radius: var(--radius); box-shadow: var(--shadow); width: min(420px, 100%); margin-inline: auto; }
.about-cert h3 { font-size: 26px; margin-bottom: 14px; }
.about-cert p { color: var(--muted); }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcard { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 18px; transition: all 0.3s ease; }
.tcard:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.tcard__stars { color: #f5b301; letter-spacing: 3px; font-size: 15px; }
.tcard blockquote { color: #444; font-size: 15.5px; font-style: italic; }
.tcard__author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.tcard__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.tcard__author strong { display: block; font-family: var(--font-head); font-size: 15px; }
.tcard__author span { color: var(--muted); font-size: 13px; }

/* References (logo strip) */
.refs { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; padding-top: 8px; }
.refs img {
  height: 88px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.7;
  filter: grayscale(1);
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.refs img:hover { opacity: 1; filter: grayscale(0); }
@media (max-width: 720px) { .refs img { height: 60px; } }

/* --------------------------------------------------------------------------
   Services page
   -------------------------------------------------------------------------- */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.service-row + .service-row { margin-top: 90px; }
.service-row--flip .service-row__media { order: 2; }
.service-row__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-row h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; }
.service-row p { color: #444; margin-bottom: 14px; }
.service-row ul { margin: 18px 0 24px; display: grid; gap: 10px; }
.service-row ul li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.service-row ul li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex-shrink: 0; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery a { border-radius: var(--radius); overflow: hidden; position: relative; display: block; }
.gallery img { aspect-ratio: 1/1; object-fit: cover; transition: transform 0.5s ease; }
.gallery a:hover img { transform: scale(1.07); }
.gallery a::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; color: #fff; background: rgba(215,0,6,0.45); opacity: 0; transition: opacity 0.3s ease; }
.gallery a:hover::after { opacity: 1; }

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.contact-cards { display: grid; gap: 18px; }
.contact-cards--grid { grid-template-columns: repeat(2, 1fr); }
.contact-card { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: all 0.3s ease; }
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.contact-card__icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 12px; background: rgba(215,0,6,0.08); color: var(--red); display: grid; place-items: center; }
.contact-card h3 { font-size: 16px; margin-bottom: 4px; }
.contact-card p, .contact-card a { color: var(--muted); }
.contact-card a:hover { color: var(--red); }

.form-card h2 { margin-bottom: 24px; font-size: 26px; }

.map { margin-top: 48px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.map iframe { width: 100%; height: 380px; border: 0; display: block; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band { background: linear-gradient(120deg, var(--red) 0%, #7d0003 100%); color: #fff; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 6px; }
.cta-band p { opacity: 0.9; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: #000; color: rgba(255,255,255,0.72); }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; padding: 64px 0 48px; }
.footer h4 { color: #fff; font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 20px; }
.footer__logo img { height: 46px; width: auto; margin-bottom: 16px; }
.footer__brand p { font-size: 14.5px; max-width: 300px; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { transition: color 0.2s ease, padding-left 0.2s ease; }
.footer__links a:hover { color: var(--red); padding-left: 6px; }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 14.5px; align-items: flex-start; }
.footer__contact svg { flex-shrink: 0; color: var(--red); margin-top: 4px; }
.footer__contact a:hover { color: var(--red); }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); display: grid; place-items: center; transition: all 0.25s ease; }
.footer__social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; font-size: 13.5px; }
.footer__bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--red); }

/* Scroll top */
.scroll-top { position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; border: 0; font-size: 18px; cursor: pointer; z-index: 60; opacity: 0; visibility: hidden; transition: all 0.3s ease; box-shadow: var(--shadow); }
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-4px); }

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

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .why { grid-template-columns: 1fr; }
  .why__img { order: -1; }
  .why__img img { aspect-ratio: 16/9; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .service-row, .service-row--flip { grid-template-columns: 1fr; gap: 32px; }
  .service-row--flip .service-row__media { order: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .about-cert { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__links, .nav__phone, .nav__cta { display: none; }
  .hamburger { display: flex; }
  .topbar__info .hours, .topbar__info .address { display: none; }
  .topbar__inner { justify-content: center; }
  .nav__logo img { height: 54px; }
  .stats { grid-template-columns: 1fr; }
  .about-list { grid-template-columns: 1fr; }
  .contact-cards--grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { min-height: 82vh; }
  .hero__controls { right: 20px; bottom: 20px; }
  .hero__dots { display: flex; }
  .gallery { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
