:root {
  --primary: #59a5cc;
  --primary-dark: #071521;
  --navy: #0e2438;
  --accent: #25d366;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
}

* { margin:0; padding:0; box-sizing:border-box; font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; scroll-behavior: smooth; }
body { background: #ffffff; color: var(--text-dark); line-height: 1.6; }

/* Header & Nav */
header { background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); box-shadow: 0 4px 25px rgba(0,0,0,0.06); position: sticky; top:0; z-index:1000; border-bottom: 1px solid rgba(89, 165, 204, 0.15); }
.navbar { max-width: 1300px; margin: auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 25px; }
.logo img { height: 85px; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.1)); }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--navy); font-weight: 600; font-size: 0.92rem; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

.social-group { display: flex; gap: 10px; align-items: center; border-left: 1px solid #e2e8f0; padding-left: 15px; }
.soc-btn { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; font-size: 0.95rem; }
.soc-ig { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.soc-fb { background: #1877f2; }

.btn-wa { background: var(--accent); color: white !important; padding: 12px 25px; border-radius: 50px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3); transition: 0.3s; }
.btn-wa:hover { transform: translateY(-2px); }

/* Hero */
.hero { background: radial-gradient(circle at 50% 20%, #163e5f 0%, var(--primary-dark) 85%); color: white; padding: 90px 20px 110px; text-align: center; }
.hero-content { max-width: 900px; margin: auto; }
.hero-logo-box img { max-width: 440px; width: 90%; margin-bottom: 20px; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5)); }
.hero-badge { display: inline-block; background: rgba(89, 165, 204, 0.15); border: 1px solid var(--primary); color: #a5d8f3; padding: 6px 18px; border-radius: 50px; font-weight: 700; letter-spacing: 2px; font-size: 0.85rem; text-transform: uppercase; margin-bottom: 15px; }
.hero h1 { font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 18px; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 1.2rem; color: #cbd5e1; max-width: 750px; margin: 0 auto 30px; }

/* 3'lü İstatistik Barı */
.stats-bar { max-width: 1050px; margin: -45px auto 70px; background: white; border-radius: 16px; box-shadow: 0 15px 40px rgba(0,0,0,0.1); display: grid; grid-template-columns: repeat(3, 1fr); padding: 25px 20px; border: 1px solid #e2e8f0; position: relative; z-index: 10; }
.stat-box { text-align: center; border-right: 1px solid #e2e8f0; padding: 0 15px; }
.stat-box:last-child { border-right: none; }
.stat-number { font-size: 2.2rem; font-weight: 800; color: var(--navy); display: block; line-height: 1; margin-bottom: 5px; }
.stat-text { font-size: 0.88rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }

/* Tarihçe */
.history-wrap { max-width: 1250px; margin: 0 auto 90px; padding: 0 25px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.history-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.history-cards img { width: 100%; height: 300px; object-fit: cover; border-radius: 14px; box-shadow: 0 10px 25px rgba(0,0,0,0.12); border: 4px solid #fff; }

/* İmalat Süreci (4 Adım) */
.process-section { background: #f8fafc; padding: 80px 20px; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.process-grid { max-width: 1200px; margin: 40px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.process-card { background: white; padding: 30px 20px; border-radius: 14px; border: 1px solid #e2e8f0; position: relative; text-align: center; transition: 0.3s; }
.process-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.06); }
.step-num { width: 45px; height: 45px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; margin: 0 auto 15px; box-shadow: 0 4px 10px rgba(89,165,204,0.4); }
.process-card h4 { color: var(--navy); font-size: 1.15rem; margin-bottom: 10px; }
.process-card p { font-size: 0.9rem; color: var(--text-muted); }

/* Akvaryum Hesaplama Aracı */
.calc-section { padding: 80px 20px; background: #ffffff; }
.calc-box { max-width: 850px; margin: auto; background: linear-gradient(145deg, #0f2334, #071521); border-radius: 20px; padding: 40px; color: white; box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 25px 0; }
.calc-input-group label { display: block; font-size: 0.85rem; color: #94a3b8; margin-bottom: 6px; font-weight: 600; text-transform: uppercase; }
.calc-input-group input { width: 100%; padding: 12px; border-radius: 8px; border: 1px solid #334155; background: #1e293b; color: white; font-size: 1.1rem; text-align: center; font-weight: bold; }
.calc-result-box { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 20px; text-align: center; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; align-items: center; }
.calc-val { font-size: 2rem; font-weight: 800; color: var(--primary); display: block; }
.calc-lbl { font-size: 0.85rem; color: #cbd5e1; }

/* Portfolyo & Vitrin */
.portfolio-section { background: #f8fafc; padding: 90px 20px; }
.cards-grid { max-width: 1250px; margin: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 30px; }
.aquarium-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.06); border: 1px solid #edf2f7; display: flex; flex-direction: column; }
.card-img-wrap { height: 250px; overflow: hidden; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.thumb-row { display: flex; gap: 8px; padding: 10px 15px; background: #fff; border-bottom: 1px solid #f1f5f9; overflow-x: auto; }
.thumb-row img { width: 50px; height: 38px; object-fit: cover; border-radius: 4px; cursor: pointer; border: 1px solid #cbd5e1; }
.card-content { padding: 22px; flex-grow: 1; display: flex; flex-direction: column; }
.card-content h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: 8px; }
.card-content p { color: #64748b; font-size: 0.95rem; margin-bottom: 18px; flex-grow: 1; }

/* S.S.S. Akordiyon */
.faq-section { max-width: 900px; margin: 90px auto; padding: 0 20px; }
.faq-item { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px; margin-bottom: 15px; overflow: hidden; }
.faq-header { padding: 18px 22px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--navy); background: #f8fafc; }
.faq-body { padding: 18px 22px; display: none; color: #475569; font-size: 0.98rem; border-top: 1px solid #e2e8f0; }

.floating-wa { position: fixed; bottom: 30px; right: 30px; background: var(--accent); color: white; width: 68px; height: 68px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(37,211,102,0.45); z-index: 9999; font-size: 35px; text-decoration: none; }

@media (max-width: 900px) {
  .hero h1 { font-size: 2.2rem; }
  .process-grid, .stats-bar { grid-template-columns: 1fr; }
  .history-wrap { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .navbar { flex-direction: column; gap: 15px; }
}
/* ========================================================
   %100 KUSURSUZ MOBİL VE TABLET UYUM MOTORU (RESPONSIVE)
   ======================================================== */

@media (max-width: 820px) {
  /* Üst Menü */
  .navbar {
    flex-direction: column;
    padding: 12px 15px;
    gap: 12px;
  }
  .logo img {
    height: 70px; /* Telefonda kibar ama belirgin logo */
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .nav-links a:not(.btn-wa) {
    font-size: 0.85rem;
  }
  .social-group {
    border-left: none;
    padding-left: 0;
  }
  .btn-wa {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-size: 0.95rem;
  }

  /* Hero Alanı */
  .hero {
    padding: 60px 15px 80px;
  }
  .hero-logo-box img {
    max-width: 310px;
  }
  .hero h1 {
    font-size: 2.1rem;
    line-height: 1.25;
  }
  .hero p {
    font-size: 1.05rem;
    margin-bottom: 25px;
  }

  /* 3'lü Sayaç Şeridi (Telefonda Dikey ve Şık) */
  .stats-bar {
    grid-template-columns: 1fr;
    margin: -35px 15px 50px;
    gap: 15px;
    padding: 20px;
  }
  .stat-box {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
  }
  .stat-box:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* Tarihçe ve Usta Fotoğrafları */
  .history-wrap {
    grid-template-columns: 1fr;
    padding: 0 15px;
    gap: 35px;
  }
  .history-cards {
    grid-template-columns: 1fr; /* Fotoğraflar telefonda üst üste tam ekran */
  }
  .history-cards img {
    height: 250px;
  }

  /* 4 Adımlı Süreç */
  .process-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* Hesaplama Aracı */
  .calc-box {
    padding: 25px 15px;
    border-radius: 14px;
  }
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .calc-result-box {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .calc-val {
    font-size: 1.7rem;
  }

  /* Kartlar & Vitrin */
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .card-img-wrap {
    height: 220px;
  }

  /* Sabit WhatsApp Butonu */
  .floating-wa {
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    font-size: 30px;
  }
}