/* Genel Ayarlar */
body {
  margin: 0;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  background: var(--main-gray);
  color: var(--main-black);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

h1, h2, h3 {
  font-weight: 700;
  margin-bottom: 0.5em;
}

.btn-primary {
  background: var(--main-blue);
  color: #fff !important;
  padding: 0.7em 1.6em;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-primary:hover {
  background: var(--main-blue-light);
}

/* Header */
.header {
  background: var(--main-black);
  color: #fff;
  padding: 0.7em 0;
  z-index: 100;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.7em;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
}
.nav a {
  color: #fff;
  margin-left: 2em;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav a:hover {
  color: var(--main-blue-light);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #f7f9fb 60%, #e0e7ef 100%);
  padding: 4em 0 3em 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #27ae60 0%, #2563eb 60%, #18181b 100%);
  z-index: 0;
  opacity: 0.85;
  filter: blur(0.5px) saturate(1.1);
  pointer-events: none !important;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.hero-text {
  flex: 1 1 350px;
  max-width: 540px;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 2em 2.5em;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}
.hero-text h1 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
}
.hero-text p {
  font-size: 1.2em;
  margin-bottom: 1.5em;
}
.hero-image {
  flex: 1 1 300px;
  text-align: right;
}
.hero-image img {
  max-width: 350px;
  width: 100%;
}

/* Fade-in animasyonları */
.fade-in {
  opacity: 0;
  animation: fadeIn 1.2s ease 0.2s forwards;
}
.fade-in-up {
  opacity: 0;
  transform: scale(1.8) translateY(60px);
  animation: fadeInUp 1.5s ease 0.4s forwards;
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes fadeInUp {
  to { opacity: 1; transform: scale(1.3) translateY(0); }
}

/* Testimonial Slider */
.testimonial-slider {
  position: relative;
  max-width: 520px;
  margin: 2em auto 0 auto;
  min-height: 180px;
}
.testimonial {
  display: none;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 2em 2.5em;
  font-size: 1.1em;
  text-align: center;
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  margin: auto;
  opacity: 0;
  transition: opacity 0.5s;
}
.testimonial.active {
  display: block;
  opacity: 1;
  position: relative;
}
.testimonial-slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.3em;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
}
.testimonial-prev { left: -50px; }
.testimonial-next { right: -50px; }
.testimonial-slider button:hover { background: #1d4ed8; }
@media (max-width: 600px) {
  .testimonial-slider button { left: 0 !important; right: 0 !important; top: 100%; transform: none; margin: 0 0.5em; position: static; }
  .testimonial-slider { min-height: 220px; }
}

/* Referanslar */
.references {
  background: #fff;
  padding: 2em 0 1.5em 0;
  text-align: center;
}
.reference-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
  flex-wrap: wrap;
  margin-top: 1em;
}
.reference-logos img {
  height: 36px;
  opacity: 0.8;
  filter: grayscale(1);
  transition: filter 0.2s, opacity 0.2s;
}
.reference-logos img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* Referanslar Slider */
.reference-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2em;
  overflow: hidden;
  max-width: 700px;
  margin: 1.5em auto 0 auto;
  min-height: 60px;
}
.reference-logo {
  min-width: 120px;
  max-width: 140px;
  opacity: 0.7;
  filter: grayscale(1);
  transition: opacity 0.3s, filter 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reference-logo.active {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.1);
}
.reference-slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
}
.reference-prev { left: -40px; }
.reference-next { right: -40px; }
.reference-slider button:hover { background: #1d4ed8; }
@media (max-width: 600px) {
  .reference-slider { gap: 0.5em; }
  .reference-logo { min-width: 80px; max-width: 90px; }
  .reference-slider button { left: 0 !important; right: 0 !important; top: 100%; transform: none; margin: 0 0.5em; position: static; }
}

/* Nasıl Çalışır */
.how-it-works {
  background: #18181b;
  color: #fff;
  padding: 2.5em 0;
  text-align: center;
}
.workflow {
  display: flex;
  justify-content: center;
  gap: 2em;
  margin-top: 1.5em;
  flex-wrap: wrap;
}
.step {
  background: #23232a;
  padding: 1.2em 2em;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.1em;
  min-width: 160px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Hizmetler */
.services {
  background: #f7f9fb;
  padding: 3em 0 2em 0;
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2em;
  justify-items: center;
  margin-top: 2em;
}
.service-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 2em 1.5em;
  min-width: 220px;
  max-width: 260px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  width: 100%;
}
.service-card:hover {
  box-shadow: 0 4px 24px rgba(37,99,235,0.10);
  transform: translateY(-4px) scale(1.03);
}
.service-card .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1em;
}
@media (min-width: 901px) {
  .service-cards .service-card:nth-child(4) {
    grid-column: 1 / span 2;
  }
  .service-cards .service-card:nth-child(5) {
    margin-left: -400px;
  }
}
@media (max-width: 900px) {
  .service-cards {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .container {
    width: 100%;
    padding: 0 0.7em;
  }
  .header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }
  .nav {
    display: none;
    flex-direction: column;
    background: var(--main-black);
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 1em 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  }
  .nav.open {
    display: flex;
  }
  .hamburger {
    display: block;
    background: none;
    border: none;
    font-size: 2em;
    color: #fff;
    margin-left: auto;
    cursor: pointer;
    z-index: 1001;
  }
  .nav a {
    margin: 0;
    font-size: 1.1em;
    padding: 1em 1.5em;
    border-bottom: 1px solid #222;
    text-align: left;
  }
  .logo-img {
    height: 48px;
  }
  .service-card, .portfolio-item, .blog-post {
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    margin-bottom: 1.2em;
  }
  .product-feature-img img {
    border-radius: 16px;
  }
  .contact-form {
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 1em 0.5em;
  }
  h1 {
    font-size: 1.1em;
  }
  h2 {
    font-size: 1em;
  }
  .hero-text h1 {
    font-size: 1.1em;
  }
  .service-cards, .portfolio-items, .blog-posts {
    grid-template-columns: 1fr !important;
    flex-direction: column;
    align-items: stretch;
  }
  .service-card, .portfolio-item, .blog-post {
    min-width: 98%;
    max-width: 100%;
    margin: 0 auto 1.2em auto;
    padding: 1.2em 0.7em;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  }
  .product-feature {
    gap: 1.2em;
    margin-top: 0.7em;
  }
  .product-feature-row, .product-feature-row.reverse {
    flex-direction: column !important;
    gap: 0.7em;
    text-align: center;
    margin-bottom: 1.2em;
  }
  .product-feature-img, .product-feature-content {
    min-width: 0;
    max-width: 100%;
  }
  .product-feature-img img {
    max-width: 100%;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  }
  .contact-form {
    max-width: 100%;
    padding: 0 0.5em;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  }
  .contact-form input, .contact-form textarea {
    font-size: 1em;
    padding: 0.7em 0.8em;
    border-radius: 8px;
  }
  .footer-menu {
    gap: 0.7em;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-social {
    gap: 0.3em;
  }
}

/* Ürünler */
.products {
  background: #fff;
  padding: 3em 0 2em 0;
}
.product-cards {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2em;
}
.product-card {
  background: #f7f9fb;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(37,99,235,0.07);
  padding: 2.5em 2em 2em 2em;
  min-width: 260px;
  max-width: 370px;
  flex: 1 1 300px;
  text-align: left;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.product-card:hover {
  box-shadow: 0 8px 32px rgba(37,99,235,0.13);
  transform: translateY(-6px) scale(1.03);
}
.product-card .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1em;
}
.product-card h3 {
  margin-top: 0;
  margin-bottom: 0.6em;
  font-size: 1.3em;
  color: var(--main-blue);
}
.product-card p {
  margin-bottom: 1em;
  color: #333;
}
.product-card ul {
  padding-left: 1.2em;
  margin: 0;
  color: #444;
  font-size: 1em;
}
.product-card ul li {
  margin-bottom: 0.5em;
  line-height: 1.5;
}

/* Eski ürün sekmesi stillerini kaldır */
.product-tabs, .tab, .product-content { display: none !important; }

/* Müşteri Yorumları */
.testimonials {
  background: #f7f9fb;
  padding: 3em 0 2em 0;
  text-align: center;
}
.testimonial {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  display: inline-block;
  padding: 2em 2.5em;
  margin-top: 1.5em;
  font-size: 1.1em;
}
.testimonial span {
  display: block;
  margin-top: 1em;
  color: var(--main-blue);
  font-weight: 600;
}

/* Portföy */
.portfolio {
  background: #fff;
  padding: 3em 0 2em 0;
}
.portfolio-items {
  display: flex;
  gap: 1.5em;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2em;
}
.portfolio-item {
  background: #f7f9fb;
  border-radius: 12px;
  padding: 2em 1.5em;
  min-width: 220px;
  max-width: 320px;
  text-align: left;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  gap: 1em;
  transition: box-shadow 0.2s, transform 0.2s;
}
.portfolio-item:hover {
  box-shadow: 0 8px 32px rgba(37,99,235,0.13);
  transform: translateY(-4px) scale(1.03);
}
.portfolio-item .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1em;
}
.portfolio-item h4 {
  margin: 0 0 0.3em 0;
  color: var(--main-blue);
  font-size: 1.1em;
  font-weight: 700;
}
.portfolio-item p {
  margin: 0;
  color: #444;
  font-size: 0.98em;
  font-weight: 400;
}

/* Blog */
.blog {
  background: #f7f9fb;
  padding: 3em 0 2em 0;
}
.blog-posts {
  display: flex;
  gap: 1.5em;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2em;
}
.blog-post {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 1.5em 2em;
  min-width: 220px;
  max-width: 260px;
  flex: 1 1 220px;
  text-align: center;
}

/* İletişim */
.contact {
  background: #fff;
  padding: 3em 0 2em 0;
  position: relative;
  z-index: 2;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1em;
  max-width: 400px;
  margin: 0 auto 2em auto;
}
.contact-form input,
.contact-form textarea {
  padding: 0.8em 1em;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 1em;
  font-family: inherit;
  resize: none;
  position: relative;
  z-index: 3;
}
.contact-form textarea {
  min-height: 100px;
}
.contact-form button {
  align-self: flex-end;
}
.contact-info {
  text-align: center;
  color: #555;
  font-size: 1em;
}

/* Footer */
.footer {
  background: var(--main-black);
  color: #fff;
  padding: 1.5em 0;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.footer-right a {
  color: #fff;
  margin-left: 1.5em;
  text-decoration: none;
  font-size: 1em;
  transition: color 0.2s;
}
.footer-right a:hover {
  color: var(--main-blue-light);
}

/* Footer sosyal ikonlar ve menü */
.footer-social {
  margin-top: 1em;
  display: flex;
  gap: 1em;
}
.footer-social img {
  width: 28px;
  height: 28px;
  opacity: 0.85;
  transition: opacity 0.2s, filter 0.2s;
  filter: grayscale(1);
}
.footer-social a:hover img {
  opacity: 1;
  filter: grayscale(0);
}
.footer-menu {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1em;
  transition: color 0.2s;
}
.footer-menu a:hover {
  color: var(--main-blue-light);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content, .service-cards, .portfolio-items, .blog-posts {
    flex-direction: column;
    align-items: center;
  }
  .hero-image {
    text-align: center;
    margin-top: 2em;
  }
  .portfolio-items {
    flex-direction: column;
    align-items: center;
  }
  .portfolio-item {
    min-width: 90%;
    max-width: 100%;
  }
}

/* Koyu Mod */
body.dark-mode {
  background: #111;
  color: #f7f9fb;
}
body.dark-mode .header, body.dark-mode .footer {
  background: #111;
}
body.dark-mode .hero-bg {
  opacity: 0.85;
}
body.dark-mode .service-card, body.dark-mode .product-card, body.dark-mode .portfolio-item, body.dark-mode .testimonial {
  background: #23232a;
  color: #f7f9fb;
  box-shadow: 0 2px 16px rgba(37,99,235,0.10);
}
body.dark-mode .product-card h3, body.dark-mode .portfolio-item h4 {
  color: var(--main-green);
}
body.dark-mode .btn-primary {
  background: var(--main-green);
  color: #18181b !important;
}
body.dark-mode .testimonial-slider button {
  background: var(--main-green);
  color: #18181b;
}
body.dark-mode .nav a:hover, body.dark-mode .footer-menu a:hover {
  color: var(--main-green);
}

/* Dark mode toggle button */
.darkmode-btn {
  background: none;
  border: none;
  font-size: 1.5em;
  margin-left: 1.5em;
  cursor: pointer;
  color: #fff;
  transition: color 0.2s;
}
body.dark-mode .darkmode-btn { color: var(--main-green); }

/* Footer sosyal ikonlar ve menü */
.footer-social {
  margin-top: 1em;
  display: flex;
  gap: 1em;
}
.footer-social img {
  width: 28px;
  height: 28px;
  opacity: 0.85;
  transition: opacity 0.2s, filter 0.2s;
  filter: grayscale(1);
}
.footer-social a:hover img {
  opacity: 1;
  filter: grayscale(0);
}
.footer-menu {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1em;
  transition: color 0.2s;
}
.footer-menu a:hover {
  color: var(--main-green);
}
@media (max-width: 700px) {
  .footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5em;
  }
  .footer-menu {
    gap: 1em;
  }
}

.logo-img {
  height: 70px;
  width: auto;
  transition: transform 0.3s;
}

.logo-img:hover {
  transform: scale(1.05);
}

/* Renk paleti güncellemesi */
:root {
  --main-blue: #2563eb;
  --main-blue-light: #3b82f6;
  --main-green: #10b981;
  --main-gray: #f8fafc;
  --main-black: #1e293b;
}

body {
  background: var(--main-gray);
  color: var(--main-black);
}

.btn-primary {
  background: var(--main-blue);
  color: #fff !important;
}
.btn-primary:hover {
  background: var(--main-blue-light);
}

.header, .footer {
  background: var(--main-black);
}

.nav a:hover, .footer-menu a:hover, .footer-right a:hover {
  color: var(--main-blue-light);
}

.product-card h3, .portfolio-item h4 {
  color: var(--main-blue);
}

.service-card .icon, .product-card .icon, .portfolio-item .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1em;
}

a.logo {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.5em;
  letter-spacing: 1px;
}

.product-feature {
  display: flex;
  flex-direction: column;
  gap: 3em;
  margin-top: 2em;
}
.product-feature-row {
  display: flex;
  align-items: center;
  gap: 2.5em;
  margin-bottom: 2em;
}
.product-feature-row.reverse {
  flex-direction: row-reverse;
}
.product-feature-img {
  flex: 1 1 350px;
  max-width: 480px;
  min-width: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-feature-img img {
  width: 100%;
  max-width: 600px;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.10);
}
.product-feature-content {
  flex: 1 1 350px;
  min-width: 260px;
}
.product-feature-content h3 {
  font-size: 2em;
  margin-bottom: 0.5em;
  color: var(--main-blue);
}
.product-feature-content p {
  font-size: 1.15em;
  margin-bottom: 1em;
}
.product-feature-content ul {
  padding-left: 1.2em;
  color: #444;
  font-size: 1em;
}
.product-feature-content ul li {
  margin-bottom: 0.5em;
}
@media (max-width: 900px) {
  .product-feature-row, .product-feature-row.reverse {
    flex-direction: column !important;
    gap: 1.5em;
    text-align: center;
  }
  .product-feature-img, .product-feature-content {
    min-width: 0;
    max-width: 100%;
  }
  .product-feature-img img {
    max-width: 100%;
  }
}

img.icon[src$=".png"] {
  /* Removing the drop shadow effect */
}

.icon {
  max-width: 48px;
  max-height: 48px;
  width: auto;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

.icon.large-icon {
  width: 72px;
  height: 72px;
  max-width: 90px;
  max-height: 90px;
  margin-bottom: 1em;
  margin-right: 0.5em;
  vertical-align: middle;
}

.footer-social img[alt="Instagram"] {
  width: 50px;
  height: 50px;
}

/* Hamburger menü masaüstünde gizli */
.hamburger {
  display: none;
}

html, body {
  overflow-x: hidden !important;
} 