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

:root {
  --primary: #0ea5e9;
  --primary-light: #e0f2fe;
  --secondary: #0f172a;
  --bg-main: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --text-main: #334155;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  
  --header-height: 80px;
  --container-width: 1200px;
  --border-radius: 16px;
  --transition-speed: 0.3s;
  
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  --box-shadow-hover: 0 15px 40px rgba(14, 165, 233, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--header-height);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed);
}

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -1px;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.text-primary {
  color: var(--primary);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--bg-main);
  border-bottom: 1px solid #e2e8f0;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition-speed);
}

header.scrolled {
  box-shadow: var(--box-shadow);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  color: var(--primary);
  font-size: 1.8rem;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}

/* Mobile Menu Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 1.8rem;
  z-index: 1001;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed);
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 6px rgba(14, 165, 233, 0.2);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(14, 165, 233, 0.3);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
}

/* Hero Section */
.hero {
  min-height: calc(90vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 60px 0;
  position: relative;
  background-color: var(--bg-secondary);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-main) 100%);
  z-index: 0;
  opacity: 0.5;
  border-bottom-left-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  width: 100%;
}

.hero-text {
  text-align: left;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 600px;
}

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

.hero-img-box {
  text-align: center;
}

.hero-img-box img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

/* Sections */
.section-padding {
  padding: 80px 0;
}

.section-bg-alt {
  background-color: var(--bg-secondary);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title p {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* Clean Cards */
.clean-card {
  background: var(--bg-main);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  border: 1px solid #f1f5f9;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  display: flex;
  flex-direction: column;
}

.clean-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
  border-color: var(--primary-light);
}

.clickable-card {
  cursor: pointer;
}

/* Services & Blog Grid */
.grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

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

.blog-grid-minimal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-img-minimal {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.card-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-icon-inline {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 15px;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: 8px;
}

/* Accordion SSS */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 15px;
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
  font-family: inherit;
}

.accordion-header:hover {
  color: var(--primary);
}

.accordion-header i {
  color: var(--primary);
  transition: transform 0.3s;
}

.accordion-header.active i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-body {
  padding-bottom: 20px;
  color: var(--text-muted);
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 65px;
  height: 65px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: transform 0.3s;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

.whatsapp-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(37, 211, 102, 0.4));
}

/* Footer */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid #e2e8f0;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.footer-col p, .footer-col a {
  color: var(--text-muted);
  margin-bottom: 12px;
  display: block;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #e2e8f0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom a {
  margin: 0 10px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text {
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero::after {
    width: 100%;
    border-radius: 0;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-main);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: left 0.4s ease;
    z-index: 1000;
    box-shadow: 5px 0 15px rgba(0,0,0,0.05);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .blog-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .blog-grid .card-img {
    height: 120px;
  }

  .blog-grid h3 {
    font-size: 1rem;
  }
  
  .blog-grid p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* TOAST BILDIRIMLERI */
.toast-kapsayici {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 380px;
  padding: 16px 20px;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(16px);
  opacity: 0;
  transition: all var(--transition-speed) ease;
  pointer-events: auto;
}

.toast.gorunur {
  transform: translateY(0);
  opacity: 1;
}

.toast i {
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.toast-basari { background-color: #059669; }
.toast-hata { background-color: #dc2626; }
.toast-bilgi { background-color: var(--primary); }

@media (max-width: 600px) {
  .toast-kapsayici { left: 16px; right: 16px; bottom: 16px; }
  .toast { min-width: 0; max-width: none; }
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
}

/* BLOG EKLERI */
.blog-search-form {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  width: 100%;
}

.blog-meta-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.blog-meta-row .etiket {
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.8rem;
  font-weight: 600;
}

.kategori-listesi {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.kategori-listesi a {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--bg-tertiary);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-speed);
}

.kategori-listesi a:hover,
.kategori-listesi a.aktif {
  background: var(--primary);
  color: #fff;
}

.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb li::after {
  content: '/';
  margin-left: 8px;
  color: #cbd5e1;
}

.breadcrumb li:last-child::after { content: ''; }

.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }

.sayfalama {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.sayfalama a,
.sayfalama span {
  min-width: 42px;
  padding: 10px 14px;
  text-align: center;
  border-radius: 10px;
  background: var(--bg-main);
  border: 1px solid #e2e8f0;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-speed);
}

.sayfalama a:hover { border-color: var(--primary); color: var(--primary); }
.sayfalama .aktif { background: var(--primary); border-color: var(--primary); color: #fff; }

.bos-durum {
  background: var(--bg-main);
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius);
  padding: 60px 30px;
  text-align: center;
  color: var(--text-muted);
}

.yasal-icerik h2,
.yasal-icerik h3 {
  margin: 30px 0 12px;
  color: var(--text-dark);
}

.yasal-icerik p { margin-bottom: 15px; }
.yasal-icerik ul,
.yasal-icerik ol { padding-left: 22px; margin-bottom: 15px; }
.yasal-icerik li { margin-bottom: 8px; }

.son-guncelleme {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 25px;
}

.ilgili-yazilar { margin-top: 60px; }

.hakkimizda-metin {
  color: var(--text-muted);
  margin-bottom: 15px;
}
