* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.navbar {
  position: fixed;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.8rem 0 !important; /* Tüm sayfalarda aynı padding */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  height: 70px; /* Sabit yükseklik */
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%; /* Container'ı navbar yüksekliğine eşitle */
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%; /* Logo alanını navbar yüksekliğine eşitle */
}

.logo h1 {
  font-size: 1.5rem !important;
  font-weight: 600;
  color: #333;
  margin: 0 !important;
  padding: 0;
  line-height: 1;
}

.nav-logo {
  height: 40px !important;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  height: 100%; /* Nav linklerini navbar yüksekliğine eşitle */
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 400;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #007bff;
}

.slider-container {
  padding-top: 100px; /* Navbar'ın altında kalması için */
  max-width: 1200px;
  margin: 0 auto;
}

.swiper {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Logo için özel stil */
.swiper-slide img[src*="logo"] {
  object-fit: contain;
  padding: 50px;
  background: rgba(
    255,
    255,
    255,
    0.95
  ); /* Opsiyonel: Logo için beyaz arka plan */
}

.footer {
  background: #f8f8f8; /* Kırık beyaz renk */
  padding: 3rem 0;
  margin-top: 4rem;
  margin-bottom: 0;
  width: 100%;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05); /* Üst kısımda hafif gölge */
}

.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 0 2rem;
}

.contact-info h3 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #333;
}

.contact-info p {
  margin: 0.5rem 0;
  color: #444; /* Biraz daha koyu metin rengi */
  font-weight: 300;
}

.contact-info i {
  margin-right: 10px;
  color: #007bff;
}

.map-container {
  width: 100%;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
}

.social-media {
  margin-top: 2rem;
}

.social-media h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-weight: 400;
  transition: all 0.3s ease;
  margin-right: 1rem;
  padding: 8px 15px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.social-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

.social-link span {
  font-size: 14px;
}

.social-link i {
  font-size: 24px;
  margin-right: 8px;
  color: #e1306c; /* Instagram'ın kurumsal rengi */
}

.social-link:hover i {
  transform: scale(1.1);
}

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

  .nav-links {
    display: none;
  }

  .nav-logo {
    height: 30px !important;
  }

  .logo h1 {
    font-size: 1.2rem !important;
  }

  .slider-container {
    padding-top: 80px; /* Navbar'ın altındaki boşluğu azalt */
  }

  .swiper {
    height: 300px; /* Slider yüksekliğini azalt */
  }

  .swiper-slide img {
    height: 100%;
    object-fit: contain; /* Görsellerin oranını koru */
    padding: 20px; /* Kenarlarda boşluk bırak */
    background: rgba(255, 255, 255, 0.95); /* Arka plan ekle */
  }

  /* Logo için özel stil */
  .swiper-slide img[src*="logo"] {
    padding: 30px; /* Logo için padding'i azalt */
  }
}

.instagram-feed-container {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.instagram-feed-container h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
  font-weight: 600;
}

.phone-link {
  text-decoration: none;
  color: #666;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.phone-link:hover {
  color: #25d366;
}

.contact-link {
  position: relative;
}

.contact-link:hover::after {
  content: "WhatsApp'tan Mesaj Gönder";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.whatsapp-icon {
  color: #25d366; /* WhatsApp'ın yeşil rengi */
  margin-right: 5px;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #25d366;
  font-size: 0.9rem;
  margin-left: 15px;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
  background-color: rgba(37, 211, 102, 0.1);
}

.whatsapp-link:hover {
  background-color: rgba(37, 211, 102, 0.2);
  transform: translateY(-2px);
}

.whatsapp-link .whatsapp-icon {
  font-size: 1.2rem;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background-color: #25d366;
  color: white;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  margin-left: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(37, 211, 102, 0.3);
}

.whatsapp-button i {
  font-size: 20px;
  margin-right: 8px;
  color: white;
}

.whatsapp-button:hover {
  background-color: #22c15e;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
}

.whatsapp-button:hover i {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.whatsapp-button img.whatsapp-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  filter: brightness(0) invert(1); /* Logoyu beyaza çevirir */
  display: inline-block; /* Görünürlük için eklendi */
  vertical-align: middle; /* Dikey hizalama için */
}

.whatsapp-button:hover img.whatsapp-icon {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.email-link {
  text-decoration: none;
  color: #666;
  transition: all 0.3s ease;
}

.email-link:hover {
  color: #007bff;
  text-decoration: underline;
}

.services-container {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.services-container h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: #333;
  font-weight: 600;
}

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

.service-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 1.5rem;
  text-align: center;
}

.service-card h3 {
  color: #333;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 200;
}

.working-hours p {
  margin: 0.5rem 0;
}

.working-hours span {
  font-weight: 400;
  color: #333;
}

/* Mobil responsive düzenleme */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    margin-bottom: 1rem;
  }
}

/* Hamburger menü */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 2px 0;
  transition: all 0.3s ease;
}

/* Mobil görünüm için */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 10px;
  }

  .navbar {
    height: auto; /* Mobilde otomatik yükseklik */
    padding: 0.6rem 0 !important;
  }

  .nav-links {
    padding: 1rem 0;
  }

  .hamburger {
    padding: 0.5rem;
  }
}

/* Dropdown menü */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  min-width: 280px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 10px 0;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.dropdown-menu a:hover {
  background: rgba(0, 123, 255, 0.1);
  color: #007bff;
}

/* Mobil görünüm için dropdown */
@media (max-width: 768px) {
  .dropdown-menu {
    width: 100%;
    min-width: 100%;
  }

  .dropdown-menu a {
    padding-left: 30px;
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }
}

/* 3D Ürünler sayfası için stiller */
.main-content {
  padding-top: 100px;
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.products-container h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: #333;
  font-weight: 600;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Kartların eşit yükseklikte olmasını sağlar */
}

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

.product-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #f8f8f8;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  padding: 0;
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: calc(100% - 250px); /* Görsel yüksekliğini çıkar */
}

.product-info h3 {
  color: #333;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.product-info p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1; /* Metni dikey olarak ortalar */
}

/* Mobil responsive düzenleme */
@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 200px;
  }

  .product-image img {
    padding: 0;
  }
}

/* Mobil responsive düzenleme */
@media (max-width: 768px) {
  .accordion-container {
    padding: 0 1rem;
  }

  .accordion-button {
    font-size: 1rem;
    padding: 1.2rem;
  }
}

/* Mobil için düzenleme */
@media (max-width: 576px) {
  .download-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Navbar içindeki sağ alan düzeni */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobil görünüm için düzenleme */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    align-items: center;
  }
}
