/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #111;
}

/* =========================
   NAVBAR
========================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #eee;
}

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

.logo {
  font-weight: 600;
  font-size: 20px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
}

.nav-links a.active {
  opacity: 0.6;
}

/* =========================
   HAMBURGER
========================= */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111;
  margin: 5px 0;
}

/* =========================
   HERO (DESKTOP FIX)
========================= */
.hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  text-align: center;
}

.hero h1 {
  font-size: 56px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero p {
  font-size: 20px;
  opacity: 0.7;
}

/* CTA */
.cta-btn {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 34px;
  background: #0071e3;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 500;
}

.cta-btn:hover {
  background: #005bb8;
}

/* =========================
   HOME TOOLS
========================= */
.home-tools {
  max-width: 1100px;
  margin: 120px auto;
  padding: 0 24px;
  text-align: center;
}

.home-tools h2 {
  font-size: 40px;
  margin-bottom: 12px;
}

.home-tools p {
  font-size: 18px;
  opacity: 0.7;
}

.home-tools-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tool-card {
  background: #fff;
  padding: 24px;
  border-radius: 18px;
  cursor: pointer;
  transition: 0.25s;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

/* =========================
   CONTENT (TOOL / ABOUT / CONTACT)
========================= */
.tool-detail {
  max-width: 820px;
  margin: 80px auto 120px;
  padding: 0 24px;
  line-height: 1.7;
}

/* =========================
   FOOTER
========================= */
footer {
  text-align: center;
  padding: 60px 20px;
  font-size: 14px;
  opacity: 0.6;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

  .hero {
    padding: 80px 20px 60px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 17px;
  }

  .home-tools-grid {
    grid-template-columns: 1fr;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    display: none;
    border-bottom: 1px solid #eee;
  }

  .nav-links.open {
    display: flex;
  }
}


/* Prevent device-based layout split */
@media (min-width: 769px) {
  .hero {
    padding: 120px 20px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero p {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 20px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .nav-links {
    background: #fff;
  }
}

/* =========================
   GLOBAL DESKTOP CONTAINER FIX
========================= */

@media (min-width: 769px) {
  .nav-inner {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }

  .home-tools {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }

  .tool-detail {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
  }

  footer {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================
   OP-28 ADIM 2 – SPACING TUNE
========================= */

.tool-detail h2 {
  margin-top: 56px;
  margin-bottom: 16px;
}

.tool-detail h3 {
  margin-top: 40px;
  margin-bottom: 12px;
}

.tool-detail p,
.tool-detail ul,
.tool-detail ol {
  margin-bottom: 20px;
}

.tool-detail ul li,
.tool-detail ol li {
  margin-bottom: 8px;
}

/* Hero sonrası boşluk kontrol */
.hero + .tool-detail {
  margin-top: 40px;
}
/* =========================
   OP-35 MICRO SPACING TUNE
   ========================= */

/* Hero -> Popular Tools arası boşluk */
.hero + .home-tools {
  margin-top: 80px; /* önceki 120px yerine */
}

/* Popular Tools -> Footer arası boşluk */
.home-tools {
  margin-bottom: 80px; /* önceki 120px yerine */
}

