/* ═══════════════════════════════════════════
   invakum – Ana Sayfa CSS
═══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

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

:root {
  --primary:      #1a3c6e;
  --primary-dark: #0f2447;
  --accent:       #e63946;
  --text:         #2d3748;
  --text-light:   #718096;
  --bg:           #f7f8fc;
  --white:        #ffffff;
  --border:       #e2e8f0;
  --shadow:       0 4px 20px rgba(0,0,0,0.08);
  --radius:       12px;
  --max:          1280px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

/* ── GENEL BÖLÜM BAŞLIKLARI ── */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.section-label.light { color: rgba(255,255,255,0.6); }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 40px;
  line-height: 1.3;
}
.section-title.light { color: var(--white); }

/* ── BUTONLAR ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: var(--accent);
  color: var(--white);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s, transform .2s;
}
.btn-primary:hover { background: #c0303c; transform: translateY(-2px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ═══════════════════════ HERO ═══════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,20,50,0.85) 0%, rgba(10,20,50,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px 40px 60px;
  gap: 40px;
  width: 100%;
}

.hero-text { flex: 1; min-width: 0; }

.hero-title {
  font-size: clamp(3rem, 10vw, 9rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 20px;
  transition: opacity .4s;
}

.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-products {
  flex: 0 0 380px;
  position: relative;
  height: 440px;
}

.hero-prod {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-prod.active { opacity: 1; }
.hero-prod img {
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

.hero-dots {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-bottom: 32px;
}

.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  transition: background .3s, border-color .3s;
  padding: 0;
}
.hero-dot.active {
  background: var(--white);
  border-color: var(--white);
}

/* ═══════════════════════ ACCORDION ═══════════════════════ */
.section-accordion {
  padding: 80px 0;
  background: var(--white);
}

.accordion { display: flex; flex-direction: column; gap: 10px; }

.accordion details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.accordion summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  background: var(--white);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  color: var(--primary-dark);
  transition: background .2s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { background: #f0f4ff; }
.accordion summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
}
.accordion details[open] summary::after { content: '−'; }
.accordion details[open] summary { background: #f0f4ff; }

.accordion-body {
  padding: 20px 24px;
  background: #fafbff;
  border-top: 1px solid var(--border);
}
.accordion-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.85;
}

/* ═══════════════════════ HİZMETLER ═══════════════════════ */
.section-services {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.services-header {
  margin-bottom: 48px;
}

.services-intro {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  max-width: 580px;
  margin-bottom: 16px;
}

.services-list-text {
  list-style: none;
  padding: 0;
}
.services-list-text li {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  padding: 4px 0 4px 20px;
  position: relative;
}
.services-list-text li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.service-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(4px);
  transition: background .3s, transform .3s;
}
.service-card:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg {
  width: 26px; height: 26px;
  fill: var(--white);
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
}

/* ═══════════════════════ ÜRÜNLER ═══════════════════════ */
.section-products {
  padding: 80px 0;
  background: var(--bg);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  display: block;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.product-img {
  overflow: hidden;
  height: 220px;
  background: #f0f4ff;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.product-card:hover .product-img img { transform: scale(1.05); }

.product-info {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
}

.product-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.product-link svg {
  width: 14px; height: 14px;
  fill: var(--accent);
}

/* ═══════════════════════ MÜŞTERİ YORUMU ═══════════════════════ */
.section-testimonial {
  padding: 80px 0;
  background: var(--white);
}

.testimonial {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 40px 48px;
  box-shadow: var(--shadow);
}
.testimonial p {
  font-size: 16px;
  line-height: 1.85;
  font-style: italic;
  color: var(--text);
  margin-bottom: 20px;
}
.testimonial footer {
  font-size: 14px;
  font-style: normal;
  color: var(--text-light);
  font-weight: 600;
}

/* ═══════════════════════ REFERANSLAR ═══════════════════════ */
.section-references {
  padding: 80px 0;
  background: var(--bg);
  overflow: hidden;
}

.ref-track-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.ref-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: scrollLeft 30s linear infinite;
}
.ref-track-reverse { animation-direction: reverse; }

@keyframes scrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ref-track img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(70%);
  opacity: 0.7;
  transition: filter .3s, opacity .3s;
  flex-shrink: 0;
}
.ref-track img:hover { filter: grayscale(0); opacity: 1; }

/* ═══════════════════════ BLOG ═══════════════════════ */
.section-blog {
  padding: 80px 0;
  background: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s;
}
.blog-card:hover { transform: translateY(-4px); }

.blog-img-link {
  display: block;
  position: relative;
  overflow: hidden;
  height: 200px;
}
.blog-img-link img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.blog-card:hover .blog-img-link img { transform: scale(1.05); }

.blog-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.blog-body { padding: 20px; }

.blog-body h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}
.blog-body h3 a { color: var(--primary-dark); }
.blog-body h3 a:hover { color: var(--accent); }

.blog-meta {
  font-size: 12px;
  color: var(--text-light);
}

/* ═══════════════════════ FOOTER ═══════════════════════ */
.site-footer {
  background: var(--primary-dark);
  color: var(--white);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 40px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.footer-brand { flex: 0 0 220px; }

.footer-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.footer-social a:hover { background: var(--accent); }
.footer-social svg {
  width: 15px; height: 15px;
  fill: var(--white);
}

.footer-col { flex: 1; min-width: 140px; }

.footer-col h6 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color .2s;
}
.footer-col a:hover { color: var(--white); }

.footer-map { flex: 0 0 280px; }
.footer-map iframe {
  width: 100%;
  height: 180px;
  border: none;
  border-radius: var(--radius);
  display: block;
}

.footer-bottom {
  background: rgba(0,0,0,0.2);
  text-align: center;
  padding: 16px 40px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* ═══════════════════════ RESPONSIVE ═══════════════════════ */
@media (max-width: 991px) {
  .container { padding: 0 24px; }
  .hero-content { flex-direction: column; padding: 100px 24px 40px; }
  .hero-products { flex: 0 0 auto; height: 280px; width: 100%; }
  .hero-prod img { max-height: 280px; }
  .section-accordion,
  .section-services,
  .section-products,
  .section-testimonial,
  .section-references,
  .section-blog { padding: 56px 0; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { padding: 40px 24px 32px; gap: 28px; }
  .footer-brand { flex: 0 0 100%; }
  .footer-map { flex: 0 0 100%; }
}

@media (max-width: 600px) {
  .hero-title { letter-spacing: -1px; }
  .hero-products { height: 200px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .testimonial { padding: 24px 20px; }
  .footer-col { flex: 0 0 100%; }
  .footer-map { flex: 0 0 100%; }
}
