/* styles.css */
:root {
  --modul-margin: 30px;
  --header-height: 100px;
  --section-bg: #fff;
  --section-radius: 20px;
  --section-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  color: #333;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: white;
  color: #2C873A;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  z-index: 1000;
  transition: background-color 0.3s, color 0.3s;
}

header.scrolled {
  background-color: #2C873A;
  color: white;
}

header .logo img {
  height: 90px;
  transition: filter 0.3s ease;
}

header.scrolled .logo img {
  filter: brightness(0) invert(1);
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: inherit;
  font-weight: bold;
}

header.scrolled nav a {
  color: white;
}

.contact-btn {
  background-color: #2C873A;
  color: white;
  padding: 8px 12px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 16px;
}

.hamburger {
  font-size: 24px;
  cursor: pointer;
  display: none;
  color: #2C873A;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 250px;
  height: 100vh;
  background: white;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  padding: 20px;
  transition: left 0.3s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.mobile-menu.show {
  left: 0;
}

.mobile-menu .logo img {
  max-width: 200px;
  margin: 0 auto 20px;
}

.mobile-menu .close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
  color: #2C873A;
}

.mobile-menu a {
  text-decoration: none;
  color: #333;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

@media (max-width: 768px) {
  nav, .contact-btn, .logo.desktop {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .logo.mobile {
    display: block;
  }
  .logo.mobile img {
    height: 80px;
  }
  .contact-btn-mobile {
    display: block;
    background: none;
    border: none;
    font-size: 20px;
    color: #2C873A;
    cursor: pointer;
  }
  header.scrolled .hamburger,
  header.scrolled .contact-btn-mobile {
    color: white;
  }
}

@media (min-width: 769px) {
  .logo.mobile,
  .contact-btn-mobile,
  .hamburger {
    display: none;
  }
}

/* HERO */
.hero {
  background-image: url('https://images.unsplash.com/photo-1580587771525-78b9dba3b914?auto=format&fit=crop&w=1950&q=80');
  background-size: cover;
  background-position: center;
  height: 700px;
  margin-top: var(--header-height);
  position: relative;
}

.hero-overlay {
  background-color: rgba(0,0,0,0.45);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-text {
  text-align: center;
  padding: 30px 20px;
  color: white;
  max-width: 90%;
}

.hero-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 15px;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

.hero-sub {
  font-size: 20px;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 28px;
  }



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

/* SECTIONS */
.section {
  margin: var(--modul-margin) auto;
  padding: 40px 20px;
  background-color: var(--section-bg);
  border-radius: var(--section-radius);
  box-shadow: var(--section-shadow);
  width: 90%;
  max-width: 1200px;
}

.section-title {
  font-size: 26px;
  text-align: center;
  margin-bottom: 30px;
}

.section-text {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  width: 250px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card-icon {
  font-size: 36px;
  margin-bottom: 10px;
  color: #2C873A;
}
.process-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 maddeyi yanyana yerleştirir */
  gap: 20px;
  margin-top: 30px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1200px) {
  .process-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .process-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .process-container {
    grid-template-columns: 1fr;
  }
}
.process-step {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
}

.step-number {
  background-color: #2C873A;
  color: white;
  width: 48px;
  height: 48px;
  line-height: 48px;
  margin: 0 auto 15px;
  font-size: 20px;
  border-radius: 50%;
  font-weight: bold;
}
/* GENEL KART STİLİ */
.step-box, .feature-box {
  background-color: white;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.step-box i, .feature-box i {
  font-size: 32px;
  margin-bottom: 10px;
  color: #2C873A;
}

.step-box h4, .feature-box h4 {
  margin: 10px 0 5px;
  font-size: 18px;
}

.step-box p, .feature-box p {
  font-size: 14px;
  color: #444;
}

/* NEDEN PROFIX */
.why-profix {
  max-width: 1400px;
  margin: 40px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.why-profix-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.why-box {
  background: #f9f9f9;
  padding: 25px 20px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}

.why-box:hover {
  transform: translateY(-5px);
}

.why-box i {
  font-size: 32px;
  color: #2C873A;
  margin-bottom: 10px;
}

.why-box h4 {
  font-size: 16px;
  color: #222;
  margin: 10px 0 6px;
}

.why-box p {
  font-size: 14px;
  color: #555;
  margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
  .why-profix-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .why-profix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .why-profix-grid {
    grid-template-columns: 1fr;
  }
}
/* NASIL ÇALIŞIYORUZ */
.nasil-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 40px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nasil-container .card {
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  background-color: #f9f9f9;
  transition: transform 0.2s ease;
}

.nasil-container .card:hover {
  transform: translateY(-5px);
}

.nasil-container .card i {
  font-size: 36px;
  color: #2C873A;
  margin-bottom: 12px;
}

.nasil-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1400px;
  margin: 40px auto;
  padding: 20px;
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

@media (max-width: 1200px) {
  .nasil-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nasil-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.whatsapp-fab {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 9999;
  background: #2C873A;
  color: #fff;
  font-size: 32px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 32px #0002;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
}
.whatsapp-fab:hover {
  background: #219150;
  box-shadow: 0 8px 36px #0003;
  transform: scale(1.06);
}
@media (max-width: 600px) {
  .whatsapp-fab {
    right: 12px;
    bottom: 12px;
    font-size: 26px;
    width: 50px;
    height: 50px;
  }
}
.anchor-fix {
  display: block;
  height: var(--header-height);
  margin-top: calc(-1 * var(--header-height));
  visibility: hidden;
}




/* ===== GPT PATCH START: header hover/scroll white theme, CTA fixes, hero responsive ===== */

/* Header: hover + scrolled -> white bg, black text */
header:hover,
header.scrolled {
  background-color: #fff !important;
  color: #111 !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
header:hover nav a,
header.scrolled nav a,
header:hover .hamburger,
header.scrolled .hamburger,
header:hover .contact-btn,
header.scrolled .contact-btn {
  color: #111 !important;
}
header.scrolled .logo img,
header:hover .logo img {
  filter: none !important; /* invert kapat */
}

/* HERO: esnek yükseklik */
.hero {
  height: auto !important;
  min-height: clamp(340px, 50vw, 700px);
  background-size: cover;
  background-position: center;
}

/* CTA satırları için modern hizalama */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 36px 0 0;
  text-align: center;
}
.cta-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 24px;
  text-decoration: none;
  font-size: 1.1rem;
  line-height: 1.2;
  white-space: nowrap;
}
@media (max-width: 640px){
  .cta-row a { width: 100%; max-width: 420px; }
  .cta-row span { display: none; }
}

/* Genel fallback: içerikteki tel/whatsapp linklerini taşmadan hizala */
main a[href^="tel:"],
main a[href*="wa.me"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 24px;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}
@media (max-width: 640px){
  main a[href^="tel:"],
  main a[href*="wa.me"] {
    width: 100%;
    max-width: 420px;
    margin-bottom: 8px;
  }
  main span { /* araya konmuş '|' karakterini mobilde gösterme */
    display: none;
  }
}

/* ===== GPT PATCH END ===== */
