@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue-900:  #0F2560;
  --blue-800:  #1B3F8A;
  --blue-700:  #1E4FA0;
  --blue-600:  #2D6BC4;
  --blue-400:  #3B9EE8;
  --blue-200:  #93C5FD;
  --blue-100:  #DBEAFE;
  --blue-50:   #EFF6FF;
  --dark:      #0D1B2A;
  --gray-800:  #1F2937;
  --gray-600:  #4B5563;
  --gray-500:  #6B7280;
  --gray-300:  #D1D5DB;
  --gray-100:  #F3F4F6;
  --white:     #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:    0 4px 12px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.14);
  --radius:    8px;
  --radius-lg: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-800);
  line-height: 1.65;
  background: var(--white);
}

img { display: block; max-width: 100%; }
a  { color: inherit; }

/* ── Layout Helpers ───────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
  margin-bottom: 3rem;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue-800);
  color: var(--white);
  border-color: var(--blue-800);
}
.btn-primary:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(27,63,138,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--blue-800);
  border-color: var(--white);
}

.btn-outline-blue {
  background: transparent;
  color: var(--blue-800);
  border-color: var(--blue-800);
}
.btn-outline-blue:hover {
  background: var(--blue-800);
  color: var(--white);
}

.btn-lg { padding: .9rem 2.2rem; font-size: 1rem; }

/* ── Navigation ───────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 46px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: .45rem .9rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--gray-600);
  font-size: .93rem;
  font-weight: 500;
  transition: all .15s;
}
.nav-links a:hover { color: var(--blue-800); background: var(--blue-50); }
.nav-links a.active { color: var(--blue-800); font-weight: 600; }

.nav-cta {
  background: var(--blue-800) !important;
  color: var(--white) !important;
  padding: .5rem 1.2rem !important;
  border-radius: var(--radius) !important;
}
.nav-cta:hover { background: var(--blue-700) !important; }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('kepek/telephely-legifoto.jpg');
  background-size: cover;
  background-position: center;
  opacity: .3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15,37,96,.92) 0%, rgba(27,63,138,.7) 50%, rgba(43,110,196,.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  padding: .35rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-200);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -.02em;
}

.hero-title span { color: var(--blue-400); }

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,.75);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-stats {
  position: absolute;
  bottom: 3rem;
  left: 0;
  right: 0;
  z-index: 2;
}

.hero-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 3.5rem;
}

.stat-item {}
.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-top: .3rem;
}

/* ── Cards ────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ── Services Section ─────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .4s ease;
}
.service-card:hover .service-card-bg { transform: scale(1.04); }

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,.88) 0%, rgba(13,27,42,.2) 60%, transparent 100%);
}

.service-card-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.service-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-600);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.service-icon svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; }

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .4rem;
}
.service-card p {
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
}

/* ── Process Section ──────────────────────────────────── */
.process-bg { background: var(--blue-50); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--blue-200);
}

.step {
  text-align: center;
  padding: 1rem;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-800);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--blue-50), 0 0 0 8px var(--blue-200);
}

.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.step p { font-size: .87rem; color: var(--gray-500); line-height: 1.6; }

/* ── CTA Banner ───────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  padding: 4.5rem 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: .75rem;
}
.cta-banner p {
  color: rgba(255,255,255,.7);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Products Page ────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--blue-900) 100%);
  padding: 4.5rem 0 3.5rem;
  color: var(--white);
}
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: .5rem;
  letter-spacing: -.02em;
}
.page-header p { color: rgba(255,255,255,.65); font-size: 1.05rem; }

/* Filter bar */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
  padding: 1rem 0;
  position: sticky;
  top: 74px;
  z-index: 100;
}
.filter-inner {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.filter-btn {
  padding: .4rem 1rem;
  border-radius: 100px;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  font-family: inherit;
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: all .15s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--blue-800);
  color: var(--white);
  border-color: var(--blue-800);
}

/* Product List */
.product-list { display: flex; flex-direction: column; gap: 1.5rem; }

.product-item {
  display: grid;
  grid-template-columns: 380px 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: transform .25s, box-shadow .25s;
}
.product-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.product-item-img {
  position: relative;
  overflow: hidden;
  height: 260px;
}
.product-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-item:hover .product-item-img img { transform: scale(1.04); }

.product-item-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--blue-800);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 100px;
}

.product-item-body {
  padding: 2.2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-item-category {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: .5rem;
}

.product-item-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: .75rem;
  letter-spacing: -.01em;
}

.product-item-desc {
  color: var(--gray-500);
  font-size: .93rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}

.product-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--blue-800);
}
.product-price-label {
  font-size: .78rem;
  color: var(--gray-500);
  font-weight: 400;
  margin-left: .25rem;
}

.product-specs-mini {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.spec-mini {
  display: flex;
  flex-direction: column;
}
.spec-mini-val {
  font-size: .93rem;
  font-weight: 700;
  color: var(--dark);
}
.spec-mini-key {
  font-size: .75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Product Detail Page ──────────────────────────────── */
.breadcrumb {
  padding: 1.25rem 0;
  font-size: .85rem;
  color: var(--gray-500);
}
.breadcrumb a { text-decoration: none; color: var(--gray-500); }
.breadcrumb a:hover { color: var(--blue-800); }
.breadcrumb span { margin: 0 .4rem; }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3.5rem;
  align-items: start;
}

.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-100);
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .3s;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin-top: .75rem;
}
.gallery-thumb {
  aspect-ratio: 4/3;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: border-color .2s;
}
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--blue-600); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-detail-sidebar {
  position: sticky;
  top: 100px;
}

.detail-category {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: .5rem;
}

.detail-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}

.detail-price-box {
  background: var(--blue-50);
  border: 1.5px solid var(--blue-100);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: .5rem;
}
.detail-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--blue-800);
}
.detail-price-note { font-size: .83rem; color: var(--gray-500); }

.detail-desc {
  color: var(--gray-600);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.detail-ctas { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
.detail-ctas .btn { justify-content: center; }

.detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-300);
}
.meta-item {}
.meta-key { font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; color: var(--gray-500); margin-bottom: .15rem; }
.meta-val { font-size: .93rem; font-weight: 600; color: var(--dark); }

/* Specs Table */
.specs-section { margin-top: 3.5rem; padding-top: 3rem; border-top: 1px solid var(--gray-300); }
.specs-section h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 1.5rem; }

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
.specs-table tr { border-bottom: 1px solid var(--gray-100); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table th {
  text-align: left;
  padding: .85rem 1.2rem;
  background: var(--blue-50);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue-800);
  width: 35%;
}
.specs-table td { padding: .85rem 1.2rem; color: var(--gray-600); }
.specs-table tr:nth-child(even) td { background: var(--gray-100); }

/* ── About Page ───────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue-800);
}
.value-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-50);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.value-icon svg { width: 24px; height: 24px; stroke: var(--blue-800); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.value-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.value-card p { font-size: .87rem; color: var(--gray-500); line-height: 1.6; }

.contact-map-section { background: var(--gray-100); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 420px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact-info h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: .75rem; }
.contact-info p { color: var(--gray-500); margin-bottom: 2rem; }

.contact-items { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-800);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-item-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; color: var(--gray-500); margin-bottom: .2rem; }
.contact-item-val { font-size: .97rem; font-weight: 600; color: var(--dark); }
.contact-item-val a { text-decoration: none; color: var(--blue-800); }
.contact-item-val a:hover { text-decoration: underline; }

/* ── Footer ───────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: var(--white);
}
.footer-main { padding: 4rem 0 2.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand {}
.footer-logo { height: 42px; width: auto; margin-bottom: 1rem; }
.footer-tagline { color: #9CA3AF; font-size: .88rem; max-width: 260px; line-height: 1.65; }

.footer-col h4 {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #6B7280;
  margin-bottom: 1.1rem;
}
.footer-col a {
  display: block;
  color: #9CA3AF;
  text-decoration: none;
  font-size: .88rem;
  margin-bottom: .55rem;
  transition: color .15s;
}
.footer-col a:hover { color: var(--white); }
.footer-col p {
  color: #9CA3AF;
  font-size: .88rem;
  line-height: 1.65;
}

.footer-bottom {
  border-top: 1px solid #1F2937;
  padding: 1.5rem 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: #6B7280;
}

/* ── Price display ────────────────────────────────────── */
.price-gross {
  display: block;
  font-size: .78rem;
  font-weight: 400;
  color: var(--gray-500);
  margin-top: .1rem;
  line-height: 1.4;
}

/* ── Tag ──────────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: .25rem .7rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.tag-blue { background: var(--blue-100); color: var(--blue-800); }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-detail-sidebar { position: static; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .nav-links { display: none; }
  .hero { min-height: 70vh; }
  .hero-stats { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .product-item { grid-template-columns: 1fr; }
  .product-item-img { height: 220px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; gap: .5rem; text-align: center; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .detail-meta { grid-template-columns: 1fr 1fr; }
}
