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

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #212529;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

/* Light Theme */
body.light {
  background: #fff;
  color: #212529;
}

/* Dark Theme */
body.dark {
  background: #1a1a1a;
  color: #e0e0e0;
}

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

/* Sidebar */
.sidebar {
  position: fixed;
  top: 100px;
  left: -220px;
  width: 220px;
  background: #00fefb;
  padding: 20px;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
  transition: left 0.3s ease, width 0.3s ease;
  z-index: 999;
  border-radius: 0 10px 10px 0;
  overflow: hidden;
  white-space: nowrap;
}

.dark .sidebar {
  background: #1b1a35;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}

.sidebar.active {
  left: 0;
}

.sidebar.icon-only {
  width: 60px;
}

.sidebar.icon-only a span {
  opacity: 0;
  width: 0;
}

.sidebar a {
  display: flex;
  align-items: center;
  gap: 12px;
  color:  #1b1a35;
  text-decoration: none;
  margin-bottom: 15px;
  font-size: 16px;
  padding: 10px;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
}

.dark .sidebar a {
  color: #00fefb;;
}

.sidebar a:hover {
  background:#1b1a35;
  color: #00fefb;
}
.dark .sidebar a:hover {
  background:#00fefb;
  color: #1b1a35;
}

.sidebar a i {
  font-size: 18px;
  min-width: 24px;
}

/* Header */
header {
  background: #1b1a35;
  box-shadow: 0 2px 5px rgba(225, 225, 225, 0.1);
  position: relative;
  z-index: 1000;
  transition: transform 0.3s ease;
}

header.hidden {
  transform: translateY(-100%);
}

header.dark {
  background: #2c2c2c;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 85px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav a {
  text-decoration: none;
  color: #868686;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: #00fefb;
}

.dark nav a {
  color: #e0e0e0;
}

.nav-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #00fefb;
}

.dark .nav-toggle {
  color: #00fefb;
}

.theme-lang {
  display: flex;
  align-items: center;
  gap: 20px;
}

#theme-toggle {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #00fefb;
}

.dark #theme-toggle {
  color: #00fefb;
}

#lang-switch {
  padding: 8px;
  border-radius: 5px;
  font-size: 16px;
  border: 1px solid #ddd;
  background: #fff;
  display: flex;
  align-items: center;
}

.dark #lang-switch {
  background: #3a3a3a;
  border-color: #555;
  color: #e0e0e0;
}

#lang-switch option {
  display: flex;
  align-items: center;
}

/* Hero Slider */
.hero {
  height: 100vh;
  position: relative;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-content {
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 10px;
  transform: translateY(20px);
  animation: slideUp 0.8s ease forwards;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
  }
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background:  #00fefb ;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

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

section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
}

/* About */
.about-img {
  margin-bottom: 40px;
}

.about-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 16px;
  text-align: justify;
}

/* Products */
.products {
  background: #f8f9fa;
}

.dark .products {
  background: #2c2c2c;
}

.product-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 24px;
  border: none;
  background: #ddd;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background:  #00fefb;
  color: #1b1a35;
  box-shadow: 0 2px 5px rgba(0, 123, 255, 0.3);
}

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

.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.dark .product-card {
  background: #3a3a3a;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

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

.product-card-content {
  padding: 20px;
  text-align: center;
}

.product-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.product-card p {
  color: #666;
  margin-bottom: 15px;
}

.dark .product-card p {
  color: #b0b0b0;
}

/* Services */
.services {
  background: #f8f9fa;
}

.dark .services {
  background: #2c2c2c;
}

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

.service-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.dark .service-card {
  background: #3a3a3a;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.service-card i {
  font-size: 40px;
  color: #00fefb;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: #666;
}

.dark .service-card p {
  color: #b0b0b0;
}

/* Contact */
.contact-info {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.contact-details {
  display: flex;
  gap: 40px;
  width: 100%;
  max-width: 600px;
  margin-left: 50px; /* İletişim kısmını sağa kaydırır */
}

.contact-phones,
.contact-emails {
  flex: 1;
}

.contact-phones h4,
.contact-emails h4 {
  font-size: 18px;
  color: #007bff;
  margin-bottom: 15px;
}

.contact-phones ul,
.contact-emails ul {
  list-style: none;
}

.contact-phones ul li,
.contact-emails ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-phones ul li a,
.contact-emails ul li a {
  color: #212529;
  text-decoration: none;
  font-size: 16px;
}

.dark .contact-phones ul li a,
.dark .contact-emails ul li a {
  color: #e0e0e0;
}

.contact-phones ul li a:hover,
.contact-emails ul li a:hover {
  color: #007bff;
}

form {
  max-width: 600px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input,
form textarea {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s;
}

form input:focus,
form textarea:focus {
  border-color: #007bff;
  outline: none;
}

.dark form input,
.dark form textarea {
  background: #3a3a3a;
  border-color: #555;
  color: #e0e0e0;
}

form textarea {
  resize: none;
  min-height: 150px;
}

form button {
  align-self: center;
}

.form-notification {
  text-align: center;
  font-size: 16px;
  margin-top: 10px;
  padding: 10px;
  border-radius: 5px;
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}

.form-notification.success {
  background: #28a745;
  color: #fff;
}

.form-notification.error {
  background: #dc3545;
  color: #fff;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.contact-map {
  text-align: center;
}

.contact-map h3 {
  margin-bottom: 20px;
  font-size: 24px;
}

.contact-map iframe {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.contact-map .btn {
  background: #28a745;
}

.contact-map .btn:hover {
  background: #218838;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #212529 0%, #2c2c2c 100%);
  color: #fff;
  padding: 60px 0 20px;
  font-size: 14px;
}

.dark footer {
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.footer-logo-img {
  width: 300px;
  height: 100px;
}

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

.footer-column {
  text-align: left;
}

.footer-grid h3 {
  font-size: 18px;
  color: #007bff;
  margin-bottom: 15px;
  margin-top: 0; /* Başlıkları aynı hizaya getirir */
  line-height: 1.2; /* Hizalamayı sabit tutar */
}

.footer-grid ul {
  list-style: none;
}

.footer-grid ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-grid a {
  color: #ddd;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.footer-grid a:hover {
  color: #007bff;
}

.footer-products-grid {
  display: flex;
  gap: 20px;
}

.footer-products-grid ul {
  flex: 1;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.social-icons a {
  color: #fff;
  font-size: 24px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #007bff;
}

.footer-copyright {
  text-align: center;
  font-size: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.furkatech-logo {
  height: 30px;
}

.footer-copyright .furkatech {
  color: #fff;
  font-weight: 700;
}

.footer-copyright .tecnology {
  color: #00fefb; /* Turkuaz */
  font-weight: 700;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  max-width: 800px;
  width: 90%;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  animation: modalPop 0.3s ease;
}

.dark .modal-content {
  background: #3a3a3a;
}

@keyframes modalPop {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #212529;
}

.dark .modal-close {
  color: #e0e0e0;
}

.modal-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
}

.modal-slider {
  margin-bottom: 20px;
}

.modal-slider img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 5px;
}

.modal-close-btn {
  margin-top: 20px;
  width: 100%;
}

/* RTL for Arabic */
body[lang="ar"] {
  direction: rtl;
  text-align: right;
}

body[lang="ar"] .sidebar {
  left: auto;
  right: -220px;
  border-radius: 10px 0 0 10px;
}

body[lang="ar"] .sidebar.active {
  right: 0;
}

body[lang="ar"] .contact-details {
  flex-direction: row-reverse;
  margin-right: 50px; /* RTL için sağa kaydırma */
  margin-left: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .sidebar {
    display: none;
  }
}

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

  nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
  }

  .dark nav {
    background: #2c2c2c;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .theme-lang {
    gap: 10px;
  }

  .logo-img {
    height: 65px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .modal-content {
    width: 95%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    margin-bottom: 20px;
  }

  .footer-products-grid {
    flex-direction: column;
    gap: 10px;
  }

  .product-filter {
    flex-direction: column;
    align-items: center;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .contact-details {
    flex-direction: column;
    gap: 20px;
    margin-left: 0; /* Mobilde kaydırma kaldırlır */
  }
}

.footer-copyright-a {
    text-decoration: none; /* Mavi alt çizgiyi kaldırır */
    color: inherit; /* Varsayılan mavi rengi kaldırır, üst elementin rengini alır */
}