:root {
  --blue: #1f425d;
  --blue-dark: #163247;
  --text: #1d3557;
  --muted: #5a6675;
  --bg: #eef1f4;
  --white: #ffffff;
  --line: #8c96a6;
  --shadow: 0 12px 30px rgba(19, 45, 76, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: #e8edf1;
}

img { display: block; width: 100%; }
a { text-decoration: none; color: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.center { text-align: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(31, 66, 93, 0.9);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-weight: 800;
  font-size: 30px;
  color: #fff;
  letter-spacing: .5px;
}
.logo span { color: #d8e7ff; }

.logo-image {
  display: block;
  width: auto;
  height: 52px;
  max-width: 240px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  color: rgba(255,255,255,.88);
  font-weight: 600;
  font-size: 16px;
  padding: 8px 0;
  position: relative;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex: 1;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.header-phone:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.38);
  transform: translateY(-1px);
}

.header-phone svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background: #2c5d82;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 760px;
  background: url('assets/hero_bg.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -84px;
  padding-top: 84px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(16,39,71,.62), rgba(16,39,71,.1) 40%, rgba(16,39,71,.35));
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.hero h1 {
  margin: 0 0 28px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.08;
  font-weight: 800;
  text-shadow: 0 4px 24px rgba(0,0,0,.25);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 16px 28px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2c5d82, var(--blue));
  color: #fff;
  font-weight: 800;
  font-size: 28px;
  box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { min-width: 330px; }
.btn-dark {
  min-width: 280px;
  background: linear-gradient(180deg, #2c5d82, var(--blue-dark));
}

.features {
  position: relative;
  z-index: 2;
  margin-top: -56px;
}
.card {
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(20, 44, 79, 0.08);
  box-shadow: var(--shadow);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 22px 26px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 18px;
}
.feature-item + .feature-item { border-left: 1px solid #d9e1ea; }
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e8eff4;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 26px;
}
.feature-item h3 { margin: 0 0 6px; font-size: 28px; }
.feature-item p { margin: 0; font-size: 18px; color: var(--muted); }

.main-bg {
  background: linear-gradient(180deg, #f4f6f8 0%, #eef2f6 100%);
  padding-bottom: 52px;
}
.section { padding: 48px 0 10px; }
.section-tight { padding-top: 20px; }
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 28px;
}
.section-title span {
  width: 140px;
  max-width: 16vw;
  height: 2px;
  background: rgba(29,53,87,.35);
}
.section-title h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  color: var(--blue);
}
.section-title.light h2,
.section-title.light span { color: #fff; background: rgba(255,255,255,.45); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-grid-four {
  grid-template-columns: repeat(4, 1fr);
}
.usage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.product-card,
.usage-card {
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}
.product-card img { aspect-ratio: 1.38 / 1; object-fit: cover; }
.usage-card img { aspect-ratio: 1.28 / 1; object-fit: cover; }
.card-caption {
  background: linear-gradient(180deg, #2c5d82, var(--blue-dark));
  color: #fff;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  padding: 16px 12px;
}

.section .btn {
  margin-top: 22px;
  min-width: 420px;
  font-size: 24px;
  padding: 14px 24px;
}

.facility-wrapper { padding-bottom: 24px; }
.facility {
  position: relative;
  margin-top: 12px;
  min-height: 420px;
  background: url('assets/maden_paketleme_bg.png') center/cover no-repeat;
  display: flex;
  align-items: center;
}
.facility-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,46,81,.16), rgba(18,46,81,.26));
}
.facility-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  width: 100%;
}
.facility p {
  margin: 0 0 28px;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 500;
  text-shadow: 0 3px 16px rgba(0,0,0,.18);
}
.facility-actions { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }

.refs-section { padding-top: 24px; padding-bottom: 56px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.blog-card {
  background: #fff;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--blue);
  overflow: hidden;
}
.blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.blog-body {
  padding: 24px 22px 26px;
}
.blog-meta {
  color: #789;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}
.blog-card h3 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.2;
}
.blog-card p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}
.blog-card a {
  color: var(--blue);
  font-weight: 800;
}
.site-footer {
  background: linear-gradient(180deg, #1f425d, #163247);
  color: rgba(255,255,255,.92);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.15fr) max-content max-content;
  justify-content: space-between;
  column-gap: 28px;
  row-gap: 36px;
  padding: 60px 0 36px;
  align-items: start;
}
.footer-col {
  min-width: 0;
}
.footer-links-col,
.footer-social-col {
  min-width: 140px;
}
.footer-logo {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 28px;
}
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  margin-bottom: 18px;
  max-width: 100%;
}
.footer-logo-image {
  max-width: 180px;
  max-height: 72px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}
.footer-col h4 {
  margin: 0 0 20px;
  font-size: 20px;
  line-height: 1.3;
  color: #fff;
}
.footer-brand p,
.footer-col p {
  margin: 0;
  color: rgba(255,255,255,.76);
  line-height: 1.85;
  font-size: 16px;
}
.footer-link-list,
.footer-social-list,
.footer-contact-list {
  display: flex;
  flex-direction: column;
}
.footer-link-list {
  gap: 14px;
}
.footer-link-list a,
.footer-social-list a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .2s ease, transform .2s ease;
}
.footer-link-list a:hover,
.footer-social-list a:hover {
  color: #fff;
  transform: translateX(2px);
}
.footer-contact-list {
  gap: 16px;
}
.footer-contact-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.footer-contact-label {
  color: #fff;
  font-weight: 700;
  line-height: 1.7;
}
.footer-contact-value {
  display: block;
  min-width: 0;
  margin: 0;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
  transition: color .2s ease;
}
.footer-contact-value:hover {
  color: #fff;
}
.footer-contact-value--address {
  white-space: normal;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px 0;
}
.footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 1024px) {
  .nav-wrap { min-height: 84px; padding: 10px 0; }
  .nav-actions { gap: 16px; }
  .main-nav { justify-content: center; gap: 16px; }
  .hero { min-height: 640px; }
  .feature-grid,
  .product-grid,
  .usage-grid,
  .blog-grid,
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid {
    justify-content: stretch;
    column-gap: 32px;
    row-gap: 28px;
  }
  .footer-links-col,
  .footer-social-col {
    min-width: 0;
  }
  .feature-item + .feature-item { border-left: 0; }
}

@media (max-width: 700px) {
  .logo { font-size: 24px; }
  .nav-actions { gap: 12px; }
  .main-nav { gap: 12px; }
  .main-nav a { font-size: 14px; }
  .hero { min-height: 520px; background-position: 58% center; }
  .hero h1 { font-size: 34px; }
  .btn, .btn-primary, .section .btn, .btn-dark { min-width: auto; width: 100%; max-width: 100%; font-size: 18px; }
  .feature-grid,
  .product-grid,
  .usage-grid,
  .blog-grid,
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-item { padding-inline: 0; }
  .section-title { gap: 12px; }
  .section-title span { width: 56px; }
  .section-title h2 { font-size: 30px; }
  .facility-actions { flex-direction: column; }
  .blog-image { height: 200px; }
  .blog-body { padding: 20px 18px 22px; }
  .refs-box { grid-template-columns: 50px 1fr 50px; }
}



.page-section{padding-top:48px;padding-bottom:72px}
.page-content{padding:32px 36px;line-height:1.8;font-size:16px;color:#2d2d2d}
.page-content p{margin:0 0 16px}
.page-content h3{margin:24px 0 12px}
.page-content img { max-width: 100%; height: auto; border-radius: 14px; }
.page-featured-media{margin:0 0 28px}
.page-featured-media img{width:100%;max-height:460px;object-fit:cover;border-radius:18px}
@media (max-width: 768px) {
  .page-content{padding:24px 20px}
  .page-featured-media img{max-height:320px;border-radius:14px}
}



.site-header{background:rgba(31,66,93,.92)}
.main-nav a.active::after,.main-nav a:hover::after{background:#2c5d82}
.btn,.btn-primary{background:linear-gradient(180deg,#2c5d82,#1f425d)}
.btn-dark{background:linear-gradient(180deg,#2c5d82,#163247)}
.btn:hover,.btn-primary:hover,.btn-dark:hover{filter:brightness(1.04)}
.card-caption,.blog-card{border-color:#1f425d}
.site-footer{background:linear-gradient(180deg,#1f425d,#163247)}
.footer-col h4,.footer-logo{color:#fff}


.page-gallery-block{margin-top:32px}
.page-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.page-gallery-card{appearance:none;border:1px solid rgba(19,45,76,.08);padding:0;background:#fff;border-radius:18px;overflow:hidden;cursor:pointer;box-shadow:0 14px 34px rgba(19,45,76,.08);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.page-gallery-card:hover{transform:translateY(-4px);box-shadow:0 20px 38px rgba(19,45,76,.14);border-color:rgba(31,66,93,.22)}
.page-gallery-media{display:block;aspect-ratio:1/1;background:#f3f6f9}
.page-gallery-media img{width:100%;height:100%;object-fit:cover;display:block}
.gallery-modal-open{overflow:hidden}
.gallery-modal{position:fixed;inset:0;z-index:9999}
.gallery-modal[hidden]{display:none}
.gallery-modal__backdrop{position:absolute;inset:0;background:rgba(7,18,30,.88);backdrop-filter:blur(6px)}
.gallery-modal__viewport{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:42px}
.gallery-modal__figure{margin:0;display:flex;align-items:center;justify-content:center;max-width:100%;max-height:100%}
.gallery-modal__image{display:block;max-width:min(92vw,1600px);max-height:86vh;width:auto;height:auto;border-radius:16px;box-shadow:0 28px 72px rgba(0,0,0,.36);background:#fff}
.gallery-modal__close{appearance:none;border:0;position:absolute;top:18px;right:18px;width:52px;height:52px;border-radius:999px;background:rgba(255,255,255,.12);backdrop-filter:blur(6px);color:#fff;font-size:34px;line-height:1;cursor:pointer;display:grid;place-items:center;transition:background .2s ease,transform .2s ease}
.gallery-modal__close:hover{background:rgba(255,255,255,.2);transform:translateY(-1px)}
.gallery-modal__nav{appearance:none;border:0;position:absolute;top:50%;transform:translateY(-50%);width:56px;height:56px;border-radius:999px;background:rgba(255,255,255,.14);backdrop-filter:blur(6px);color:#fff;font-size:38px;line-height:1;display:grid;place-items:center;cursor:pointer;transition:background .2s ease,transform .2s ease;box-shadow:0 12px 24px rgba(0,0,0,.22)}
.gallery-modal__nav:hover{background:rgba(255,255,255,.24);transform:translateY(calc(-50% - 2px))}
.gallery-modal__nav--prev{left:18px}
.gallery-modal__nav--next{right:18px}
.gallery-modal__meta{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);display:inline-flex;align-items:center;gap:14px;padding:12px 18px;border-radius:999px;background:rgba(7,18,30,.55);backdrop-filter:blur(10px);color:#fff;box-shadow:0 12px 30px rgba(0,0,0,.2)}
.gallery-modal__meta strong{font-size:15px;font-weight:700}
.gallery-modal__meta span{font-size:14px;color:rgba(255,255,255,.82)}
@media (max-width:1100px){.page-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:820px){.page-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-modal__viewport{padding:24px}.gallery-modal__image{max-width:94vw;max-height:80vh}.gallery-modal__nav{width:48px;height:48px;font-size:32px}.gallery-modal__nav--prev{left:12px}.gallery-modal__nav--next{right:12px}.gallery-modal__meta{bottom:14px;max-width:calc(100% - 28px);padding:10px 14px;gap:10px}}
@media (max-width:560px){.page-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gallery-modal__viewport{padding:16px}.gallery-modal__close{top:12px;right:12px;width:46px;height:46px;font-size:30px}.gallery-modal__nav{top:auto;bottom:18px;transform:none}.gallery-modal__nav:hover{transform:translateY(-2px)}.gallery-modal__nav--prev{left:12px}.gallery-modal__nav--next{right:12px}.gallery-modal__meta{bottom:72px;border-radius:16px;padding:10px 12px;flex-direction:column;gap:4px;text-align:center}.gallery-modal__meta strong{font-size:14px}}


.header-phone-mobile-wrap{display:none}
.header-phone--mobile{display:none}
.nav-toggle{display:none;align-items:center;justify-content:center;gap:0;width:52px;height:52px;padding:0;border:1px solid rgba(255,255,255,.22);border-radius:14px;background:rgba(255,255,255,.08);color:#fff;cursor:pointer;flex-direction:column}
.nav-toggle span{display:block;width:20px;height:2px;background:currentColor;border-radius:999px}
.nav-toggle span + span{margin-top:5px}

@media (max-width: 900px){
  body.nav-open{overflow:hidden}
  .site-header{position:sticky}
  .nav-wrap{min-height:72px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 0 10px}
  .logo{font-size:24px;max-width:calc(100vw - 96px)}
  .logo-image{height:44px;max-width:min(200px, 100%)}
  .nav-toggle{display:inline-flex;justify-self:end}
  .nav-actions{display:none;grid-column:1 / -1;flex-direction:column;align-items:stretch;gap:12px;padding:4px 0 6px;width:100%;flex:unset}
  .site-header.nav-open .nav-actions{display:flex}
  .main-nav{flex-direction:column;align-items:stretch;gap:6px;width:100%;padding:10px;border-radius:18px;background:rgba(9,24,40,.22);backdrop-filter:blur(8px)}
  .main-nav a{display:block;padding:12px 14px;border-radius:12px;font-size:15px}
  .main-nav a.active::after,.main-nav a:hover::after{display:none}
  .main-nav a:hover,.main-nav a.active{background:rgba(255,255,255,.12)}
  .header-phone--desktop{display:none}
  .header-phone-mobile-wrap{display:block;padding:0 0 12px}
  .header-phone--mobile{display:inline-flex;width:100%;justify-content:center;padding:11px 16px;font-size:15px}
  .hero{margin-top:0;padding-top:0;min-height:560px}
  .features{margin-top:-32px}
}

@media (max-width: 700px){
  .container{width:min(100% - 24px,1180px)}
  .section{padding:36px 0 8px}
  .section-title{gap:8px;margin-bottom:20px}
  .section-title span{width:22px;max-width:none;flex:0 0 22px}
  .section-title h2{font-size:clamp(22px,6vw,26px);line-height:1.2;text-align:center;text-wrap:balance}
  .feature-item h3{font-size:22px}
  .feature-item p{font-size:15px}
  .card-caption{font-size:17px;padding:14px 10px}
  .blog-card h3{font-size:22px}
  .blog-card p{font-size:15px;line-height:1.65}
  .footer-grid{gap:24px}
  .header-phone--mobile span{overflow-wrap:anywhere}
}
