/* BATIYAY ORTAK RESPONSIVE TASARIM SISTEMI
   Bu dosya tum sayfalarda style.css dosyasindan sonra yuklenir. */

:root {
  --fluid-edge: clamp(16px, 4vw, 72px);
  --fluid-section: clamp(46px, 7vw, 104px);
  --fluid-gap: clamp(14px, 2.2vw, 28px);
  --fluid-title: clamp(34px, 6vw, 76px);
  --fluid-subtitle: clamp(28px, 4.2vw, 58px);
  --fluid-text: clamp(14px, 1.25vw, 18px);
  --content-max: 1480px;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  min-width: 0;
}

img,
video,
svg,
iframe {
  max-width: 100%;
}

.mobile-products-heading,
.mobile-product-list {
  display: none;
}

p,
h1,
h2,
h3,
li,
a,
span,
strong {
  overflow-wrap: break-word;
}

.section,
.catalog-section,
.applications,
.products-premium,
.products-image-section,
.products-concept-section,
.media-section,
.detailed-contact,
.contact-section,
.quality-methods,
.certificates,
.about-capability,
.about-values,
.about-cta {
  padding-block: var(--fluid-section);
}

.section,
.catalog-section,
.applications,
.media-section,
.detailed-contact,
.contact-section {
  padding-inline: var(--fluid-edge);
}

.product-grid,
.product-grid-nine,
.catalog-grid,
.application-grid,
.contact-grid,
.methods-grid,
.certificate-grid,
.capability-grid,
.values-grid,
.check-grid {
  gap: var(--fluid-gap);
}

.hero-copy h1,
.catalog-hero-copy h1,
.product-detail-copy h1,
.about-hero h1,
.quote-hero h1 {
  font-size: var(--fluid-title);
  letter-spacing: clamp(-3px, -.22vw, -1px);
}

.section-head h2,
.split-copy h2,
.quality-copy h2,
.contact-section h2,
.process-overlay h2,
.catalog-heading h2,
.product-intro h2,
.spec-copy h2,
.product-cta h2,
.about-story-copy h2,
.about-capability h2,
.about-values h2,
.quality-content h2,
.quality-preview-copy h2 {
  font-size: var(--fluid-subtitle);
}

.hero-copy p,
.catalog-hero-copy p,
.product-detail-copy p,
.product-intro p,
.product-story p,
.quality-content p,
.quality-preview-copy p,
.about-hero p,
.about-story-copy p,
.about-sectors-copy p {
  font-size: var(--fluid-text);
}

.btn,
button,
input,
select,
textarea {
  max-width: 100%;
}

@media (max-width: 1000px) {
  .product-grid,
  .product-grid-nine,
  .catalog-grid,
  .capability-grid,
  .values-grid,
  .methods-grid,
  .certificate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .product-intro,
  .spec-section,
  .product-story,
  .product-story.reverse,
  .about-story,
  .quality-hero,
  .quality-band {
    min-height: 0;
  }
}

@media (max-width: 700px) {
  :root {
    --fluid-edge: clamp(16px, 5vw, 24px);
    --fluid-section: clamp(42px, 12vw, 64px);
    --fluid-gap: clamp(12px, 4vw, 18px);
    --fluid-title: clamp(32px, 9.2vw, 44px);
    --fluid-subtitle: clamp(28px, 8vw, 38px);
    --fluid-text: clamp(14px, 3.8vw, 16px);
  }

  .nav-wrap {
    top: 8px;
  }

  .hero {
    height: auto !important;
    min-height: clamp(640px, 86svh, 710px) !important;
  }

  .hero-copy {
    top: clamp(102px, 15svh, 126px) !important;
    left: var(--fluid-edge);
    right: var(--fluid-edge);
  }

  .hero-copy h1 {
    margin: 10px 0 13px;
    line-height: 1.02;
  }

  .hero-copy p {
    line-height: 1.48;
  }

  .hero-actions {
    margin-top: 16px;
    gap: 8px;
  }

  .hero-actions .btn {
    min-height: 40px;
    padding-inline: clamp(13px, 4vw, 18px);
    font-size: clamp(10px, 2.8vw, 12px);
  }

  .metric-strip {
    left: var(--fluid-edge);
    right: var(--fluid-edge);
    bottom: 12px !important;
  }

  .metric-strip div {
    padding: 11px 13px;
  }

  .metric-strip strong {
    font-size: clamp(20px, 6vw, 25px);
  }

  .metric-strip span {
    font-size: clamp(9px, 2.6vw, 11px);
  }

  .catalog-hero,
  .product-detail-hero {
    display: flex;
    min-height: clamp(500px, 72svh, 610px) !important;
    align-items: flex-end;
  }

  .catalog-hero-copy,
  .product-detail-copy {
    width: 100%;
    padding: 126px var(--fluid-edge) 52px !important;
  }

  .product-detail-copy > a:first-child {
    margin-bottom: 20px;
  }

  .catalog-hero-copy p,
  .product-detail-copy p {
    margin-bottom: 0;
    line-height: 1.55;
  }

  .product-grid,
  .product-grid-nine,
  .catalog-grid,
  .application-grid,
  .contact-grid,
  .capability-grid,
  .values-grid,
  .methods-grid,
  .certificate-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-card,
  .premium-card,
  .catalog-card {
    height: auto !important;
    min-height: clamp(300px, 92vw, 410px);
  }

  .products-wrap,
  .products-image-wrap,
  .products-concept-wrap {
    width: calc(100% - (var(--fluid-edge) * 2));
  }

  .products-image-wrap,
  .products-concept-wrap {
    overflow: hidden !important;
  }

  .products-image-wrap > img,
  .products-concept-wrap img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .product-hotspots {
    width: 100% !important;
    height: 100% !important;
  }

  .feature-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-band article {
    padding: 22px 18px;
  }

  .product-intro,
  .spec-section,
  .product-story,
  .product-story.reverse,
  .about-story {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .product-intro,
  .spec-copy,
  .product-story div,
  .split-copy,
  .about-story-copy {
    padding: var(--fluid-section) var(--fluid-edge);
  }

  .spec-image,
  .product-story img,
  .product-story.reverse img,
  .about-story-media {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
  }

  .spec-image img,
  .product-story img,
  .product-story.reverse img,
  .about-story-media img {
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover;
  }

  .spec-copy ul,
  .split-copy ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-panel,
  .quality-section,
  .quality-preview,
  .about-sectors {
    min-height: clamp(480px, 125vw, 610px) !important;
  }

  .process-overlay,
  .quality-copy {
    margin-inline: var(--fluid-edge);
  }

  .quality-preview-copy,
  .quality-content,
  .about-sectors-copy {
    width: auto !important;
    padding: clamp(190px, 52vw, 240px) var(--fluid-edge) var(--fluid-section) !important;
  }

  .quality-hero,
  .quality-band {
    min-height: 0 !important;
  }

  .quality-hero > img,
  .quality-band > img {
    min-height: 0 !important;
    aspect-ratio: 16 / 10;
  }

  .about-hero {
    min-height: clamp(500px, 130vw, 620px) !important;
  }

  .about-hero-copy {
    width: auto;
    padding: 150px var(--fluid-edge) 50px !important;
  }

  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-stats div {
    padding: 22px var(--fluid-edge);
  }

  .about-sectors {
    align-items: flex-end;
  }

  .about-capability,
  .about-values,
  .quality-methods,
  .certificates {
    padding-inline: var(--fluid-edge) !important;
  }

  .quote-hero {
    min-height: 0;
    padding: 118px var(--fluid-edge) 54px;
  }

  .quote-layout {
    width: calc(100% - (var(--fluid-edge) * 2));
  }

  .product-cta,
  .contact-section {
    padding: var(--fluid-section) var(--fluid-edge);
  }

  .site-footer {
    padding-inline: var(--fluid-edge);
  }
}

@media (max-width: 420px) {
  .hero {
    min-height: 660px !important;
  }

  .hero-copy {
    top: 104px !important;
  }

  .hero-copy p {
    font-size: 13px;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .feature-band {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-stats {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 370px) {
  .hero {
    min-height: 690px !important;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* 2026-10-17 MOBIL KULLANILABILIRLIK DUZELTMELERI
   Bu bolum dosyanin sonunda tutulur; onceki mobil kurallardaki
   gereksiz yukseklikleri ve birbiriyle cakisan olculeri dengeler. */
@media (max-width: 700px) {
  html {
    scroll-padding-top: 74px;
  }

  body {
    overflow-x: hidden;
  }

  .nav-wrap {
    top: 6px;
    width: calc(100% - 12px);
    height: 60px;
    min-height: 60px;
    padding: 4px 8px 4px 10px;
    border-radius: 14px;
  }

  .brand {
    width: 136px;
    height: 52px;
    overflow: hidden;
  }

  .brand img {
    width: auto;
    height: 120px;
    max-width: none;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 11px;
    font-size: 20px;
  }

  .main-nav {
    top: 65px;
    max-height: calc(100svh - 78px);
    gap: 2px;
    padding: 9px;
    border-radius: 12px;
  }

  .main-nav a {
    min-height: 43px;
    padding: 9px 12px;
  }

  .hero {
    height: 560px !important;
    min-height: 560px !important;
  }

  .hero-copy {
    top: 86px !important;
    left: 18px;
    right: 18px;
  }

  .hero-copy h1 {
    margin: 9px 0 12px;
    font-size: clamp(30px, 9vw, 38px) !important;
    line-height: .98;
    letter-spacing: -1.4px;
  }

  .hero-copy p {
    max-width: 34ch;
    font-size: 13px;
    line-height: 1.42;
  }

  .kicker {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .hero-actions {
    display: flex;
    flex-flow: row wrap;
    align-items: stretch;
    gap: 8px;
    margin-top: 14px;
  }

  .hero-actions .btn {
    flex: 1 1 132px;
    min-height: 39px;
    padding: 0 11px;
    font-size: 10px;
    white-space: normal;
    text-align: center;
  }

  .hero-arrow {
    top: 42%;
    width: 29px;
    height: 46px;
    font-size: 25px;
    background: rgba(0, 0, 0, .38);
  }

  .metric-strip {
    left: 12px;
    right: 12px;
    bottom: 10px !important;
    border-radius: 13px;
  }

  .metric-strip div {
    padding: 9px 11px;
  }

  .metric-strip strong {
    font-size: 20px;
  }

  .metric-strip span {
    margin-top: 3px;
    font-size: 9px;
    line-height: 1.25;
  }

  .section,
  .catalog-section,
  .applications,
  .products-premium,
  .media-section,
  .detailed-contact,
  .contact-section,
  .quality-methods,
  .certificates,
  .about-capability,
  .about-values,
  .about-cta {
    padding-block: 48px;
  }

  .products-image-section,
  .products-concept-section {
    position: relative;
    padding: 42px 0 48px;
  }

  .products-concept-section::before {
    content: "Ürünleri görmek için yatay kaydırın  ↔";
    display: block;
    margin: 0 14px 12px;
    color: #9eb0c5;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
    text-align: center;
  }

  .products-concept-wrap {
    width: calc(100% - 16px) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border-radius: 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .products-concept-wrap img {
    width: 900px !important;
    max-width: none !important;
    height: auto !important;
  }

  .products-image-section {
    padding: 42px 0 50px;
  }

  .products-image-wrap {
    display: none;
  }

  .mobile-products-heading {
    display: block;
    width: calc(100% - 32px);
    margin: 0 auto 22px;
  }

  .mobile-products-heading > span {
    color: #f01f2a;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
  }

  .mobile-products-heading h2 {
    margin: 7px 0 6px;
    color: #fff;
    font-size: clamp(28px, 8.5vw, 36px);
    line-height: 1.05;
    letter-spacing: -1px;
  }

  .mobile-products-heading p {
    margin: 0;
    color: #9eb0c5;
    font-size: 13px;
  }

  .mobile-product-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    width: calc(100% - 24px);
    margin: 0 auto;
  }

  .mobile-product-card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(154, 207, 240, .30);
    border-radius: 16px;
    background: #04101c;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .30), inset 0 1px 0 rgba(255, 255, 255, .05);
    color: #fff;
    text-decoration: none;
  }

  .mobile-product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(1, 8, 15, .02) 38%, rgba(1, 8, 15, .92) 100%);
    pointer-events: none;
  }

  .mobile-product-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mobile-product-number {
    position: absolute;
    z-index: 2;
    top: 13px;
    left: 13px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .30);
    border-radius: 50%;
    background: rgba(2, 10, 18, .72);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    backdrop-filter: blur(6px);
  }

  .mobile-product-copy {
    position: absolute;
    z-index: 2;
    right: 17px;
    bottom: 15px;
    left: 17px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
  }

  .mobile-product-copy strong {
    color: #fff;
    font-size: clamp(19px, 6vw, 25px);
    line-height: 1.05;
    letter-spacing: -.4px;
  }

  .mobile-product-copy small {
    flex: 0 0 auto;
    color: #d7e3ee;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
  }

  .mobile-product-copy b {
    color: #f01f2a;
    font-size: 16px;
  }

  .process-panel,
  .quality-section {
    min-height: 470px !important;
  }

  .process-overlay,
  .quality-copy {
    margin: 18px;
    padding: 25px 20px;
  }

  .split-section > img {
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .split-copy,
  .product-intro,
  .spec-copy,
  .product-story div,
  .about-story-copy {
    padding: 46px 20px;
  }

  .media-section,
  .detailed-contact {
    gap: 26px;
  }

  .site-footer {
    gap: 24px 18px;
    padding-top: 44px;
  }

  .catalog-hero,
  .product-detail-hero {
    min-height: 510px !important;
  }

  .catalog-hero-copy,
  .product-detail-copy {
    padding: 112px 18px 40px !important;
  }

  .catalog-hero-copy h1,
  .product-detail-copy h1 {
    font-size: clamp(34px, 10vw, 44px);
    letter-spacing: -1.4px;
  }

  .catalog-card,
  .premium-card {
    min-height: 350px;
  }

  .feature-band {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-band article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-band article:last-child {
    border-bottom: 0;
  }

  .product-story img,
  .product-story.reverse img,
  .spec-image,
  .about-story-media {
    aspect-ratio: 4 / 3;
  }

  .application-grid span,
  .capability-card,
  .value-card,
  .method-card,
  .certificate-card,
  .contact-grid article {
    padding: 20px 18px;
  }

  .quote-layout {
    width: calc(100% - 20px);
    margin-bottom: 48px;
  }

  .quote-form {
    padding: 21px 14px;
  }

  input,
  select,
  textarea,
  .submit-btn {
    font-size: 16px;
  }
}

@media (max-width: 360px) {
  .brand {
    width: 122px;
  }

  .brand img {
    height: 112px;
  }

  .hero {
    height: 610px !important;
    min-height: 610px !important;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    flex-basis: auto;
  }
}

/* 2026-10-30 — MOBILDE GEREKSIZ BOSLUK VE ARKA PLAN CAKISMASI DUZELTMESI */
@media (max-width: 700px) {
  body.quality-detail .hero,
  body.quality-detail .products,
  body.quality-detail .process-panel,
  body.quality-detail .split-section,
  body.quality-detail .media-section,
  body.quality-detail .contact-section {
    display: none !important;
  }

  main > section,
  main > div,
  .quality-page > div {
    margin-top: 0;
    margin-bottom: 0;
  }

  .hero {
    height: 480px !important;
    min-height: 480px !important;
  }

  .hero-copy {
    top: 78px !important;
  }

  .metric-strip {
    bottom: 8px !important;
  }

  .process-panel {
    display: flex !important;
    min-height: 0 !important;
    height: auto !important;
    flex-direction: column;
    align-items: stretch;
    background: #07111f;
  }

  .process-panel > img {
    position: static !important;
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    filter: brightness(.72);
  }

  .process-overlay {
    position: static !important;
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 28px 20px 34px !important;
    border-left: 0;
    border-top: 3px solid var(--red);
    background: linear-gradient(145deg, #050b14, #0a1728);
    backdrop-filter: none;
  }

  .split-section {
    min-height: 0 !important;
  }

  .split-section > img {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3;
  }

  .product-intro,
  .spec-section,
  .product-story,
  .product-story.reverse,
  .about-story,
  .quality-hero,
  .quality-band,
  .quality-preview {
    min-height: 0 !important;
    height: auto !important;
  }

  .product-story img,
  .product-story.reverse img,
  .spec-image,
  .spec-image img,
  .about-story-media,
  .about-story-media img {
    min-height: 0 !important;
    height: auto !important;
  }

  .about-sectors {
    display: flex !important;
    min-height: 0 !important;
    height: auto !important;
    flex-direction: column;
    align-items: stretch !important;
  }

  .about-sectors > img {
    position: static !important;
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .about-sectors::after {
    display: none;
  }

  .about-sectors-copy {
    position: static !important;
    width: 100% !important;
    padding: 28px 20px 36px !important;
    background: linear-gradient(145deg, #050b14, #0a1728);
  }

  .section,
  .catalog-section,
  .applications,
  .products-premium,
  .media-section,
  .detailed-contact,
  .contact-section,
  .quality-methods,
  .certificates,
  .about-capability,
  .about-values,
  .about-cta {
    padding-block: 42px;
  }

  .products-image-section {
    padding-block: 36px 42px;
  }

  .media-section,
  .detailed-contact,
  .site-footer {
    gap: 20px;
  }
}

@media (max-width: 360px) {
  .hero {
    height: 520px !important;
    min-height: 520px !important;
  }
}
