/* =====================================================
   nemlendirme.net - Ana Stil Dosyası
   Renk Teması: Soğuk Mavi + Siyah
   ===================================================== */

:root {
  --primary:       #0a74da;
  --primary-dark:  #0556a8;
  --primary-light: #3a9bef;
  --accent:        #00c6ff;
  --bg-dark:       #0b0f14;
  --bg-card:       #111922;
  --bg-nav:        #070b10;
  --text-main:     #e8f0fe;
  --text-muted:    #8eacc8;
  --border:        #1a2d44;
  --white:         #ffffff;
  --gradient:      linear-gradient(135deg, #0a74da 0%, #00c6ff 100%);
  --shadow:        0 4px 24px rgba(10, 116, 218, 0.18);
  --radius:        10px;
  --transition:    0.3s ease;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
}

h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

p { color: var(--text-muted); margin-bottom: 1rem; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; }
.section-alt { background: var(--bg-card); }

.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 { margin-bottom: 12px; }
.section-title p { max-width: 600px; margin: 0 auto; }

.section-title .underline {
  display: inline-block;
  width: 60px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
  margin: 14px auto 0;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: var(--bg-dark); }

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  gap: 12px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo span { color: var(--accent); }
.nav-logo .logo-icon {
  width: 32px; height: 32px;
  background: var(--gradient);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 1px;
  align-items: center;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a {
  display: block;
  padding: 6px 9px;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition);
  line-height: 1.4;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(10, 116, 218, 0.15);
}

.nav-links .btn-nav {
  background: var(--gradient);
  color: var(--white) !important;
  padding: 7px 13px;
  border-radius: 7px;
  font-size: 0.8rem;
  margin-left: 4px;
}
.nav-links .btn-nav:hover { opacity: 0.85; background: var(--gradient) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-main);
  border-radius: 3px;
  transition: all var(--transition);
}

/* ---- HERO SLIDER ---- */
.slider {
  position: relative;
  overflow: hidden;
  height: 560px;
  background: var(--bg-dark);
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  padding: 0;
}
.slide.active { opacity: 1; z-index: 2; }

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.32);
  z-index: 0;
}

.slide-1 .slide-bg { background: linear-gradient(135deg, #0b1a2e 0%, #0a2d5a 50%, #0b0f14 100%); }
.slide-2 .slide-bg { background: linear-gradient(135deg, #0b1a2e 0%, #003d6b 50%, #0b0f14 100%); }
.slide-3 .slide-bg { background: linear-gradient(135deg, #070b10 0%, #0a4070 50%, #0b0f14 100%); }

.slide-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 40px;
}
.slide-content h1 { margin-bottom: 18px; font-size: clamp(2rem, 5vw, 3.5rem); }
.slide-content h1 span { color: var(--accent); }
.slide-content p { font-size: 1.15rem; max-width: 580px; margin-bottom: 32px; color: #b0c8e4; }
.slide-content .slide-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.slider-controls {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.dot.active { background: var(--accent); border-color: var(--accent); transform: scale(1.3); }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(10, 116, 218, 0.3);
  border: 1px solid rgba(10, 116, 218, 0.5);
  color: var(--white);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: var(--primary); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* ---- FEATURES / CARDS ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 64px; height: 64px;
  background: rgba(10, 116, 218, 0.12);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  border: 1px solid rgba(10, 116, 218, 0.25);
}

.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: 0.92rem; }

/* ---- STATS ---- */
.stats-bar {
  background: var(--gradient);
  padding: 50px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  text-align: center;
}
.stat-item h3 { font-size: 2.4rem; color: var(--white); margin-bottom: 6px; }
.stat-item p { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin: 0; }

/* ---- CONTENT ARTICLE ---- */
.article-content {
  max-width: 860px;
  margin: 0 auto;
}
.article-content h2 { margin: 2rem 0 1rem; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.article-content h3 { margin: 1.5rem 0 0.7rem; color: var(--accent); }
.article-content ul, .article-content ol { padding-left: 20px; margin-bottom: 1rem; }
.article-content ul li, .article-content ol li { margin-bottom: 6px; color: var(--text-muted); }
.article-content ul li::marker { color: var(--accent); }
.article-content blockquote {
  border-left: 4px solid var(--accent);
  background: var(--bg-card);
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article-content blockquote p { margin: 0; font-style: italic; color: var(--text-main); }

.info-box {
  background: rgba(10, 116, 218, 0.1);
  border: 1px solid rgba(10, 116, 218, 0.3);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}
.info-box p { margin: 0; color: var(--text-main); }

/* ---- GALLERY ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}
.gallery-item:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }

.gallery-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #0a2d5a, #0a74da);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}
.gallery-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.gallery-info { padding: 18px 20px; }
.gallery-info h3 { font-size: 1rem; margin-bottom: 6px; }
.gallery-info p { font-size: 0.85rem; margin: 0; }

/* ---- BLOG CARDS ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }

.blog-thumb {
  height: 180px;
  background: linear-gradient(135deg, #0a2d5a, #00c6ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-body { padding: 22px; }
.blog-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.blog-meta span { display: flex; align-items: center; gap: 4px; }
.tag {
  display: inline-block;
  background: rgba(10, 116, 218, 0.15);
  color: var(--accent);
  border: 1px solid rgba(0,198,255,0.25);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}

.blog-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.blog-body p { font-size: 0.88rem; margin-bottom: 16px; }
.read-more { font-size: 0.88rem; font-weight: 600; color: var(--accent); }
.read-more:hover { color: var(--primary-light); }

/* ---- CONTACT FORM ---- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 28px; }

.contact-details { display: flex; flex-direction: column; gap: 18px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-detail .ci {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(10, 116, 218, 0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  border: 1px solid rgba(10, 116, 218, 0.25);
}
.contact-detail div strong { display: block; color: var(--white); font-size: 0.9rem; margin-bottom: 2px; }
.contact-detail div span { font-size: 0.85rem; color: var(--text-muted); }

.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form-box h3 { margin-bottom: 26px; }

.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 116, 218, 0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg-dark); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-error { color: #ff6b6b; font-size: 0.8rem; margin-top: 5px; display: none; }
.form-group.has-error input,
.form-group.has-error textarea { border-color: #ff6b6b; }
.form-group.has-error .form-error { display: block; }

.form-success {
  display: none;
  background: rgba(0, 198, 100, 0.1);
  border: 1px solid rgba(0, 198, 100, 0.3);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  color: #4ade80;
  margin-bottom: 20px;
}

/* ---- PAGE HERO ---- */
.page-hero {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--bg-nav) 0%, #0a1929 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero .breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 14px;
}
.page-hero .breadcrumb a { color: var(--accent); }
.page-hero .breadcrumb span { color: var(--text-muted); }

/* ---- TABLE OF CONTENTS ---- */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 36px;
}
.toc h4 { margin-bottom: 14px; color: var(--accent); }
.toc ul { padding-left: 0; }
.toc ul li { padding: 4px 0; }
.toc ul li a { color: var(--text-muted); font-size: 0.92rem; }
.toc ul li a:hover { color: var(--accent); }

/* ---- PRODUCT CARDS ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: all var(--transition);
}
.product-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card .prod-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
}
.product-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.product-card p { font-size: 0.87rem; margin-bottom: 18px; }
.product-card .specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 18px;
}
.product-card .spec-badge {
  background: rgba(10,116,218,0.12);
  color: var(--accent);
  border: 1px solid rgba(0,198,255,0.2);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ---- ACCORDION ---- */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.accordion-header {
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background var(--transition);
}
.accordion-header:hover { background: rgba(10,116,218,0.08); }
.accordion-header h4 { font-size: 0.98rem; color: var(--white); }
.accordion-header .acc-icon { color: var(--accent); font-size: 1.2rem; transition: transform var(--transition); }
.accordion-item.open .acc-icon { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.accordion-item.open .accordion-body { max-height: 400px; }
.accordion-body-inner { padding: 0 22px 20px; }
.accordion-body-inner p { font-size: 0.92rem; margin: 0; }

/* ---- FOOTER ---- */
.footer {
  background: var(--bg-nav);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand .nav-logo { margin-bottom: 16px; font-size: 1.2rem; }
.footer-brand p { font-size: 0.88rem; }

.footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 18px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--text-muted); font-size: 0.88rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }

.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.social-link:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ---- UTILITY ---- */
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }

/* ---- SCROLL TO TOP ---- */
#scrollTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px; height: 44px;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: var(--shadow);
}
#scrollTop.visible { opacity: 1; transform: translateY(0); }
#scrollTop:hover { opacity: 0.85; transform: translateY(-3px); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1280px) {
  .nav-inner { padding: 0 16px; }
  .nav-links a { padding: 6px 8px; font-size: 0.78rem; }
  .nav-links .btn-nav { padding: 6px 12px; }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
  /* Navbar mobil moda geç */
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--bg-nav);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px 16px;
    gap: 2px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { padding: 11px 16px; width: 100%; border-radius: 8px; font-size: 0.9rem; }
  .nav-links .btn-nav { text-align: center; }
}

@media (max-width: 768px) {
  .slider { height: 420px; }
  .slide-content { padding: 0 24px; }
  .slide-content h1 { font-size: 1.8rem; }

  .section { padding: 50px 0; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-box { padding: 24px; }

  .slider-arrow { display: none; }
}

@media (max-width: 480px) {
  .slider { height: 340px; }
  .slide-content { padding: 0 16px; }
  .slide-content .slide-btns { flex-direction: column; align-items: flex-start; }
  .btn { padding: 11px 22px; font-size: 0.92rem; }
}
