/* ===== Değişkenler & Sıfırlama ===== */
:root {
  --primary: #0d47a1;
  --primary-dark: #082f6e;
  --primary-light: #1976d2;
  --accent: #ff6b35;
  --dark: #101828;
  --gray: #667085;
  --gray-light: #f2f4f7;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(13, 71, 161, 0.12);
  --shadow-lg: 0 20px 50px rgba(13, 71, 161, 0.18);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ===== Butonlar ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(13, 71, 161, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(13, 71, 161, 0.45); }

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

.btn-light { background: var(--white); color: var(--primary); }
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.2); }

.btn-whatsapp { background: #25d366; color: var(--white); }
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4); }

.btn-small { padding: 10px 22px; font-size: 0.85rem; background: var(--primary); color: var(--white); }
.btn-small:hover { background: var(--primary-dark); }

.btn-block { width: 100%; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.header.scrolled {
  background: var(--white);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  color: var(--white);
  transition: var(--transition);
}
.header.scrolled .logo { color: var(--primary); }
.logo-icon { font-size: 1.6rem; }
.logo-text { font-weight: 500; }
.logo-text strong { font-weight: 700; }

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

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

.nav-link {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}
.header.scrolled .nav-link { color: var(--dark); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover { color: var(--accent); }

.nav-call {
  background: var(--accent);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.nav-call:hover { transform: scale(1.05); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}
.nav-toggle span {
  width: 26px; height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}
.header.scrolled .nav-toggle span,
.nav-toggle.active span { background: var(--primary); }

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, rgba(8,47,110,0.95), rgba(13,71,161,0.85)),
              url('https://images.unsplash.com/photo-1557862921-37829c790f19?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: var(--white);
  padding: 140px 0 80px;
}

.hero-content { position: relative; z-index: 2; }

.hero-subtitle {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-title span { color: var(--accent); }

.hero-desc {
  max-width: 580px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 34px;
  font-weight: 300;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 70px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.stat-number, .stat-plus {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
}
.stat p { font-size: 0.9rem; color: rgba(255,255,255,0.75); }

/* ===== Bölüm Genel ===== */
.section { padding: 100px 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-subtitle {
  color: var(--primary-light);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.section-subtitle.light { color: var(--accent); }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
}
.section-title.light { color: var(--white); }

.section-desc { color: var(--gray); margin-top: 14px; }

/* ===== Hakkımızda ===== */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-image { position: relative; }

.about-img-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
}
.about-img-icon { font-size: 5rem; margin-bottom: 12px; }

.about-badge {
  position: absolute;
  bottom: -24px; right: -14px;
  background: var(--accent);
  color: var(--white);
  padding: 20px 26px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 10px 30px rgba(255,107,53,0.4);
}
.badge-number { display: block; font-size: 1.8rem; font-weight: 700; }
.badge-text { font-size: 0.8rem; }

.about-text h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--primary-dark);
}
.about-text p { color: var(--gray); margin-bottom: 14px; }

.about-list { margin: 22px 0 30px; }
.about-list li {
  padding: 8px 0;
  color: var(--dark);
  font-weight: 500;
}

/* ===== Hizmetler ===== */
.services { background: var(--gray-light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid transparent;
}
.service-card:hover {
  transform: translateY(-8px);
  border-top-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 22px;
}

.service-card h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--primary-dark); }
.service-card p { color: var(--gray); font-size: 0.94rem; margin-bottom: 18px; }

.service-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.service-link:hover { letter-spacing: 1px; }

/* ===== Ürünler ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.product-image {
  height: 170px;
  background: linear-gradient(135deg, var(--gray-light), #e4e9f2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.product-info { padding: 24px; }
.product-info h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--primary-dark); }
.product-info p { font-size: 0.87rem; color: var(--gray); margin-bottom: 16px; }

/* ===== Süreç ===== */
.process {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.process-step {
  text-align: center;
  padding: 30px 18px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
  transition: var(--transition);
}
.process-step:hover { background: rgba(255,255,255,0.13); transform: translateY(-6px); }

.step-number {
  width: 58px; height: 58px;
  margin: 0 auto 18px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
}

.process-step h3 { margin-bottom: 10px; font-size: 1.15rem; }
.process-step p { font-size: 0.9rem; color: rgba(255,255,255,0.8); }

/* ===== Referanslar ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  padding: 34px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.stars { color: #fbbf24; font-size: 1.1rem; margin-bottom: 14px; }
.testimonial-card > p { color: var(--gray); font-size: 0.95rem; margin-bottom: 22px; font-style: italic; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.testimonial-author strong { display: block; font-size: 0.95rem; }
.testimonial-author span { font-size: 0.82rem; color: var(--gray); }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, #e8551f, var(--accent));
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.cta h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 12px; }
.cta p { margin-bottom: 30px; opacity: 0.9; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== İletişim ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
}

.info-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}

.info-icon {
  width: 52px; height: 52px;
  min-width: 52px;
  background: var(--gray-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.info-item h4 { margin-bottom: 4px; color: var(--primary-dark); }
.info-item p { color: var(--gray); font-size: 0.95rem; }
.info-item a:hover { color: var(--primary-light); }

.contact-form {
  background: var(--gray-light);
  padding: 40px;
  border-radius: var(--radius);
}

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

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.87rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #d0d5dd;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(25, 118, 210, 0.12);
}

.form-group textarea { resize: vertical; }

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px;
  background: #d1fadf;
  color: #027a48;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
}
.form-success.show { display: block; }

.form-error {
  display: none;
  margin-top: 16px;
  padding: 14px;
  background: #fee4e2;
  color: #b42318;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
}
.form-error.show { display: block; }

#submitBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-logo { color: var(--white); margin-bottom: 16px; }
.footer-col p { font-size: 0.92rem; }
.footer-col h4 {
  color: var(--white);
  margin-bottom: 18px;
  font-size: 1.05rem;
}
.footer-col ul li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  text-align: center;
  font-size: 0.88rem;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 58px; height: 58px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 900;
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.12); }

/* ===== Animasyon (scroll reveal) ===== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-badge { right: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 85%);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 36px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transition: right 0.4s ease;
  }
  .nav.open { right: 0; }

  .nav-list { flex-direction: column; align-items: center; gap: 22px; }
  .nav-link { color: var(--dark); font-size: 1.1rem; }

  .section { padding: 70px 0; }
  .hero { padding: 120px 0 60px; }
  .contact-form { padding: 28px 22px; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-buttons .btn { width: 100%; }
  .cta-buttons .btn { width: 100%; max-width: 320px; }
}
