﻿/*
Theme Name: Makelsan Izmir v14
Theme URI: https://makelsanizmir.com/
Author: Codex
Description: Aytemiz Makelsan Izmir Bolge Mudurlugu icin eklentisiz kurumsal WordPress temasi.
Version: 1.0.14
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: makelsan-izmir
*/

:root {
  --red: #e30613;
  --red-dark: #b9040d;
  --ink: #111216;
  --muted: #666c75;
  --line: #e8eaee;
  --panel: #f6f7f9;
  --white: #fff;
  --shadow: 0 18px 55px rgba(16, 18, 24, .11);
  --radius: 8px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  background: var(--white);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }

.topbar {
  background: #111216;
  color: #fff;
  font-size: 14px;
}
.topbar .wrap {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.topbar a { color: #fff; font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.navrow {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { width: min(260px, 46vw); }
.main-nav { display: flex; align-items: center; gap: 22px; font-weight: 800; font-size: 14px; }
.main-nav a { color: #252831; }
.main-nav a:hover { color: var(--red); }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font-weight: 900;
  border: 1px solid var(--red);
  box-shadow: 0 12px 25px rgba(227, 6, 19, .22);
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn.alt {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background-color: #111216;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: #fff;
}
.hero .wrap {
  min-height: 690px;
  display: flex;
  align-items: center;
  padding: 76px 0 84px;
}
.hero .wrap > div {
  max-width: 760px;
}
.eyebrow {
  color: var(--red);
  font-weight: 1000;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
}
.hero h1, .page-hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .98;
  letter-spacing: 0;
}
.hero p {
  max-width: 660px;
  margin: 0 0 28px;
  color: rgba(255,255,255,.82);
  font-size: 19px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 42px;
  max-width: 680px;
}
.stat {
  border: 1px solid rgba(255,255,255,.16);
  border-top: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.8);
  font-weight: 700;
}
.stat strong { display: block; color: #fff; font-size: 30px; line-height: 1; margin-bottom: 8px; }
.hero-visual {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.hero-visual img { width: 100%; }
.hero-visual .hero-product {
  margin-top: 22px;
  height: 250px;
  object-fit: contain;
  border-radius: var(--radius);
  background: #f2f3f5;
  padding: 18px;
}
.hero-card {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mini {
  padding: 16px;
  border-radius: var(--radius);
  background: #f2f3f5;
  color: var(--ink);
  font-weight: 800;
}
.mini span { display: block; color: var(--muted); font-size: 13px; font-weight: 700; }

.section { padding: 86px 0; }
.section.alt { background: var(--panel); }
.quick-links {
  width: min(var(--wrap), calc(100% - 40px));
  margin: -54px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.quick-card {
  min-height: 150px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111216;
  color: #fff;
  position: relative;
  box-shadow: var(--shadow);
}
.quick-card img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  opacity: .62;
}
.quick-card span {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  font-weight: 1000;
  font-size: 20px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.section-head h2, .content-page h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}
.section-head p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
}

.grid-4, .grid-3, .grid-2 { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
}
.card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(227, 6, 19, .1);
  color: var(--red);
  font-weight: 1000;
}
.card h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.2; }
.card p { margin: 0; color: var(--muted); }
.card a { display: inline-block; margin-top: 18px; color: var(--red); font-weight: 900; }

.service-band {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 44px;
  align-items: center;
}
.service-photo {
  min-height: 440px;
  border-radius: var(--radius);
  background: #111216;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  display: flex;
  align-items: end;
  padding: 34px;
}
.service-photo strong { font-size: 42px; line-height: 1; }
.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0;
  margin: 26px 0;
  list-style: none;
}
.checklist li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-weight: 800;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}
.checklist li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 14px;
  border-right: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  transform: rotate(45deg);
  margin: -4px 4px 0 2px;
}

.product {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.product .thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, #fff, #eef0f4);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product .thumb img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}
.product-card {
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.product-card .product-label {
  color: var(--red);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.product-card .thumb {
  width: 100%;
}
.product-card .thumb img {
  margin: auto;
}
.product-card p {
  color: var(--muted);
}
.ups-box {
  width: 52%;
  height: 68%;
  border-radius: 6px;
  background: linear-gradient(145deg, #fefefe, #d7dbe2);
  border: 1px solid #cfd4dc;
  box-shadow: 18px 22px 35px rgba(17,18,22,.16);
  position: relative;
}
.ups-box::before {
  content: "";
  position: absolute;
  inset: 16px 18px auto;
  height: 18px;
  background: var(--red);
  border-radius: 4px;
}
.ups-box::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 20px;
  height: 42px;
  border-radius: 4px;
  background: #20232a;
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.client-logo {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 126px;
  padding: 18px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  background: #fff;
  text-align: center;
  font-weight: 800;
  color: #383d46;
}
.client-logo img {
  max-width: 140px;
  max-height: 46px;
  object-fit: contain;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 54px;
}
.category-chip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-weight: 900;
}
.category-chip:hover {
  border-color: rgba(227, 6, 19, .45);
  color: var(--red);
}
.category-chip small {
  color: var(--muted);
  white-space: nowrap;
}
.catalog-section {
  padding: 34px 0 54px;
  border-top: 1px solid var(--line);
}
.archive-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.side-nav {
  position: sticky;
  top: 112px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.side-nav a {
  display: block;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: #343842;
  font-weight: 800;
}
.side-nav a:last-child { border-bottom: 0; }
.side-nav a:hover {
  background: rgba(227, 6, 19, .08);
  color: var(--red);
}
.product-detail-page {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 28px;
}
.product-main-image {
  width: min(520px, 100%);
  max-height: 380px;
  object-fit: contain;
  margin: 0 auto 28px;
  padding: 24px;
  border-radius: var(--radius);
  background: #f4f5f7;
}
.product-detail,
.product-gallery,
.spec-panel {
  display: grid;
  gap: 18px;
}
.product-gallery {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 24px;
}
.product-gallery figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: #f7f8fa;
}
.product-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}
.product-gallery figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}
.product-detail .lead {
  font-size: 19px;
  color: #343842;
}
.spec-panel {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.spec-panel h2,
.quote-box h2 {
  margin: 0;
  font-size: 28px;
}
.spec-panel ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}
.spec-panel li { margin: 8px 0; }
.quote-box {
  margin-top: 30px;
  border-radius: var(--radius);
  background: #111216;
  color: #fff;
  padding: 28px;
}
.quote-box p { color: rgba(255,255,255,.76); }

.cta {
  background: #111216;
  color: #fff;
  padding: 70px 0;
}
.cta .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta .btn {
  min-width: 178px;
  white-space: nowrap;
}
.cta h2 { margin: 0; font-size: clamp(30px, 4vw, 52px); line-height: 1.04; }
.cta p { margin: 12px 0 0; color: rgba(255,255,255,.74); }

.page-hero {
  background: #111216;
  color: #fff;
  padding: 78px 0;
}
.page-hero p { max-width: 760px; color: rgba(255,255,255,.78); font-size: 19px; }
.content-page { padding: 74px 0; }
.contact-list { display: grid; gap: 16px; }
.contact-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: #fff;
}
.contact-item span { display: block; color: var(--muted); font-weight: 800; font-size: 13px; text-transform: uppercase; }
.contact-item strong { font-size: 22px; }

.site-footer {
  background: #0d0e12;
  color: rgba(255,255,255,.76);
  padding: 58px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
}
.site-footer img { width: 260px; margin-bottom: 18px; filter: brightness(1.08); }
.site-footer h4 { margin: 0 0 12px; color: #fff; }
.site-footer a { display: block; margin: 7px 0; color: rgba(255,255,255,.72); }
.copyright {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 34px;
  padding-top: 20px;
  font-size: 14px;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: grid;
  gap: 10px;
}
.floating-contact a {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 1000;
  box-shadow: 0 14px 32px rgba(0,0,0,.22);
}
.floating-contact .wa { background: #24d366; }
.floating-contact .call { background: var(--red); }

@media (max-width: 980px) {
  .topbar .wrap { align-items: flex-start; flex-direction: column; padding: 10px 0; gap: 4px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  body.nav-open .main-nav { display: flex; }
  .hero .wrap, .service-band { grid-template-columns: 1fr; }
  .hero .wrap { min-height: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .quick-links, .client-logos, .category-grid { grid-template-columns: repeat(2, 1fr); }
  .archive-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; }
  .product-gallery { grid-template-columns: repeat(2, 1fr); }
  .cta .wrap, .section-head { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, var(--wrap)); }
  .hero .wrap { padding: 48px 0 58px; }
  .hero h1, .page-hero h1 { font-size: 40px; }
  .hero p, .page-hero p { font-size: 17px; }
  .hero-visual { padding: 20px; }
  .stats, .quick-links, .grid-4, .grid-3, .grid-2, .checklist, .hero-card, .footer-grid, .client-logos, .category-grid, .product-gallery { grid-template-columns: 1fr; }
  .quick-links { margin-top: 18px; }
  .section { padding: 58px 0; }
  .service-photo { min-height: 320px; }
  .floating-contact { right: 12px; bottom: 12px; }
}








