* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body, html {
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-banner {
  background: url('images/KonveyorBantlar.jpg') no-repeat center center;
  background-size: cover;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 40px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}
.slide-caption {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  text-align: left;
  color: #fff;
  z-index: 10;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* yazının arkasına koyu zemin */
  border-left: 6px solid #e74c3c;
  max-width: 600px;
  border-radius: 10px;
}

.slide-caption h2 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
}

.slide-caption p {
  font-size: 24px;
  line-height: 1.6;
}
@media screen and (max-width: 768px) {
  .slide-caption {
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 90%;
    border-left: none;
  }

  .slide-caption h2 {
    font-size: 32px;
  }

  .slide-caption p {
    font-size: 18px;
  }
}
.hero-banner {
  position: relative;
  height: 400px;
  background: url("images/KonveyorBantlar.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-overlay {
  background-color: rgba(78, 78, 78, 0.85);
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
  max-width: 900px;
  padding: 30px 0; /* sola padding vermiyoruz */
  color: #fff;
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  .hero-overlay {
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 100%);
  }
}
.text-wrapper {
  padding-left: 40px; /* ✅ sola hizayı burada net tanımlıyoruz */
}
.text-wrapper p {
  font-size: 20px; 
  line-height: 1.4;
  margin: 0;
  padding: 0;
  text-align: left;
}
.text-wrapper h1,
.text-wrapper p {
  margin: 0;
  padding: 0;
  text-align: left;

}
.hero-overlay .text-wrapper p {
  word-wrap: break-word; /* Uzun metinleri alt satıra taşır */
  white-space: normal; /* Metnin doğal akışını sağlar */
  max-width: 90%; /* Genişlik sınırı ekleyebiliriz */
}
@media (max-width: 768px) {
  .hero-overlay .text-wrapper p {
    max-width: 85%; /* Daha fazla yer kaplayabilir */
    font-size: 0.9rem; /* Yazı biraz daha küçülebilir */
  }
}
.text-wrapper h1 {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 14px;
    margin-top: 20px; /* Başlık için üstten boşluk */

}



.scroll-indicator-below {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

.arrow-down {
  width: 20px;  /* boyutu büyüttüm */
  height: 20px; /* boyutu büyüttüm */
  border-right: 4px solid rgb(255, 255, 255); /* kalınlığı artırdım */
  border-bottom: 4px solid white; /* kalınlığı artırdım */
  transform: rotate(45deg);
  margin: 0px 0; /* biraz daha boşluk verdim */
  animation: bounce 3.5s infinite;
  opacity: 5; /* daha belirgin hale getirdim */
}

.arrow-down.second {
  animation-delay: 0.2s;
}

.arrow-down.third {
  animation-delay: 0.4s;
}


@keyframes bounce {
  0%, 100% {
    transform: translateY(0) rotate(45deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(8px) rotate(45deg);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .hero-overlay {
    padding: 20px;
  }

  .hero-overlay h1 {
    font-size: 28px;
  }

  .hero-overlay p {
    font-size: 16px;
  }
}



/* HEADER */
.header-wrapper {
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 100;
}
.top-bar {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 8px 40px;
  font-size: 14px;
}
.top-bar .right a {
  color: white;
  margin-left: 15px;
  text-decoration: none;
}
.top-bar .left a i {
  font-size: 20px !important;  /* ikon boyutu */
  color: white !important;     /* ikon rengi */
  margin-right: 10px !important; /* ikonlar arası boşluk */
  transition: color 0.3s ease !important;
}

.top-bar .left a i:hover {
  color: #c8102e !important; /* hover durumunda kırmızıya döner */
}

.bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255,255,255,0.3);
}
.logo-block {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-block img {
  height: 60px;
}
.logo-text {
  color: white;
  line-height: 1.2;
}
.logo-text .tc {
  font-size: 14px;
  font-weight: bold;
}
.logo-text .name {
  font-size: 18px;
  font-weight: bold;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}
.main-nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  position: relative;
}
.main-nav a::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #ffc107;
  position: absolute;
  bottom: -5px;
  left: 0;
  transition: 0.3s;
}
.main-nav a:hover::after {
  width: 100%;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}
.hero-slider {
  height: 100%;
}
.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  z-index: 10;
  pointer-events: none;
}
.center-content h1 {
  font-size: 42px;
  line-height: 1.4;
}
.center-content .big {
  font-size: 90px;
  color: #ffc107;
  font-weight: bold;
}
.city {
  font-family: 'Brush Script MT', cursive;
  font-size: 36px;
  display: block;
  margin-top: 10px;
}
.unesco {
  max-width: 120px;
  margin-bottom: 20px;
}
/* === SWIPER MODERN OK BUTONLARI === */
.swiper-button-prev,
.swiper-button-next {
  width: 40px;
  height: 40px;
  background: transparent;
  color: white;
  font-size: 16px;
  transition: transform 0.2s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  transform: scale(1.1);
}

/* Sadece sade beyaz ok işaretleri */
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 20px;
  font-weight: bold;
  color: white;
}


/* === ALTTAKİ KATEGORİ KUTULARI === */
.kategori-container {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 20;
}

.kategori {
  flex: 1;
  text-align: center;
  color: white;
  padding: 20px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.kategori:last-child {
  border-right: none;
}

.kategori img {
  width: 50px;
  height: auto;
  margin-bottom: 10px;
}

.kategori span {
  display: block;
  font-size: 16px;
  font-weight: bold;
}
/* Dropdown Menüler */
.has-dropdown {
  position: relative;
}

.has-dropdown .dropdown {
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  background-color: rgba(0, 0, 0, 0.85);
  padding: 10px 0;
  min-width: 180px;
  display: none;
  flex-direction: column;
  z-index: 999;
}

.has-dropdown:hover .dropdown {
  display: flex;
}

.has-dropdown .dropdown li {
  padding: 5px 20px;
  white-space: nowrap;
}

.has-dropdown .dropdown a {
  color: white;
  text-decoration: none;
  font-weight: normal;
  font-size: 14px;
  display: block;
  transition: background 0.3s;
}

.has-dropdown .dropdown a:hover {
  background-color: #ffc107;
  color: black;
}
/* === FOOTER === */
.footer {
  background: linear-gradient(135deg, #111, #1c1c1c);
  color: #fff;
  padding-top: 60px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 60px 40px;
  gap: 50px;
  max-width: 1400px;
  margin: auto;
}

.footer-logo h2 {
  color: #ffc107;
  font-weight: bold;
  font-size: 26px;
  margin-bottom: 10px;
}

.footer-logo p {
  color: #bbb;
  font-size: 14px;
  max-width: 280px;
}

.footer-links h4 {
  color: #ffc107;
  font-size: 18px;
  margin-bottom: 12px;
  border-bottom: 2px solid #ffc107;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #ffc107;
}

.footer-links .contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #ccc;
}

.footer-links .contact-info i {
  color: #ffc107;
  min-width: 20px;
}
@media (max-width: 768px) {
  .footer-links .contact-info li {
    justify-content: center;
  }
}

.footer-social {
  text-align: center;
  padding-bottom: 20px;
}

.footer-social .social-icons a {
  font-size: 20px;
  color: #ddd;
  margin: 0 10px;
  display: inline-block;
  transition: color 0.3s;
}

.footer-social .social-icons a:hover {
  color: #ffc107;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  font-size: 14px;
  background-color: #000;
  color: #bbb;
}

@media screen and (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    padding: 0 20px 40px;
    text-align: center;
  }

  .footer-links ul li {
    font-size: 16px;
  }

  .footer-logo h2 {
    font-size: 22px;
  }
  .footer-logo p {
    text-align: center;
    margin: auto;
  }
}
/* === 4 KUTULU SLIDER === */
.info-slider {
  padding: 50px 20px;
  background-color: #f9f9f9;
}

.infoSwiper {
  max-width: 1200px;
  margin: auto;
}

.info-box {
  background-color: white;
  padding: 40px 20px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  min-height: 260px; /* 📏 YÜKSEKLİK arttırıldı */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-box:hover {
  transform: scale(1.05); /* %5 büyüme */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* daha belirgin gölge */
}

.info-box i {
  font-size: 36px;
  color: #ffc107;
  margin-bottom: 15px;
}

.info-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

.info-box p {
  font-size: 14px;
  color: #666;
}

/* Swiper ayarı: 4 kutu görünür */
.swiper.infoSwiper .swiper-wrapper {
  display: flex;
}
.top-bar select {
  margin-left: 15px;
  padding: 4px 8px;
  border-radius: 4px;
  border: none;
  font-size: 13px;
  background-color: #fff;
  color: #333;
  cursor: pointer;
}

/* Tablet */
@media screen and (max-width: 992px) {
  .swiper.infoSwiper .swiper-slide {
    width: 50%; /* 2 kutu */
  }
}

/* Telefon */
@media screen and (max-width: 576px) {
  .swiper.infoSwiper .swiper-slide {
    width: 100%; /* 1 kutu */
  }
}

/* 📱 Telefon modunda .info-slider'ı Swiper olmadan dikey sıralar */
@media screen and (max-width: 576px) {
  .info-slider .swiper-wrapper {
    display: block !important;
    transform: none !important;
  }

  .info-slider .swiper-slide {
    display: block;
    width: 100% !important;
    margin-bottom: 20px;
  }

  /* Gereksiz scroll ve butonları gizle */
  .info-slider .swiper-button-prev,
  .info-slider .swiper-button-next,
  .info-slider .swiper-pagination {
    display: none !important;
  }
}

/* Hamburger sadece mobilde görünsün */
.menu-toggle {
  display: none;
}

@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    top: 18px;
    left: 15px;
    font-size: 26px;
    color: white;
    cursor: pointer;
    z-index: 1100;
  }
}


/* Mobil Menü - Sidenav */
.side-menu {
  position: fixed;
  top: 0;
  left: -250px; /* gizli başlangıç */
  width: 250px;
  height: 100%;
  background-color: #111;
  color: white;
  z-index: 1050;
  transition: left 0.3s ease;
  padding: 20px;
  overflow-y: auto;
}

.side-menu.open {
  left: 0; /* açık hali */
}

.side-menu .close-btn {
  font-size: 26px;
  text-align: right;
  cursor: pointer;
  margin-bottom: 20px;
}

.side-menu ul {
  list-style: none;
  padding: 0;
}

.side-menu ul li {
  margin-bottom: 15px;
}

.side-menu ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.side-menu .dropdown {
  margin-top: 8px;
  padding-left: 15px;
}

.side-menu .dropdown li a {
  font-size: 16px;
}

/* Sadece mobilde görünsün */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .main-nav {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  .bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    position: relative; 
  }

  .menu-toggle {
    display: block;
    font-size: 26px;
    color: white;
    cursor: pointer;
    flex: 0 0 auto;
    margin-top: 28px;
    margin-left: 10px;
  }

  .main-nav {
    display: none !important;
  }

  .logo-block {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 8px;
  }

  .logo-block img {
    height: 45px;
  }

  .logo-text {
    text-align: left;
    line-height: 1.2;
  }

  .logo-text .tc {
    font-size: 13px;
    font-weight: bold;
    color: white;
  }

  .logo-text .name {
    font-size: 16px;
    font-weight: bold;
    color: white;
  }
}

.hizmetlerimiz-section {
  padding: 60px 20px;
  background: #f5f5f5;
  text-align: center;
}
.hizmetlerimiz-section h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #333;
}
.hizmetlerimiz-section p {
  font-size: 16px;
  margin-bottom: 30px;
  color: #666;
}

.hizmet-box {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.hizmet-box:hover {
  transform: scale(1.05);
}

.hizmet-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.hizmet-box h3 {
  font-size: 20px;
  margin: 10px 0 5px;
}

.hizmet-box p {
  font-size: 14px;
  margin-bottom: 15px;
  color: #666;
}

/* Mobilde slider kapalı, alt alta */
@media screen and (max-width: 576px) {
  .hizmetlerSwiper .swiper-wrapper {
    display: block !important;
    transform: none !important;
  }

  .hizmetlerSwiper .swiper-slide {
    width: 100% !important;
    margin-bottom: 20px;
    display: block;
  }

  .hizmetlerSwiper .swiper-button-prev,
  .hizmetlerSwiper .swiper-button-next,
  .hizmetlerSwiper .swiper-pagination {
    display: none !important;
  }
}


/* Swiper özel ayarları */
.swiper.hizmetSwiper .swiper-wrapper {
  display: flex;
}

@media screen and (max-width: 576px) {
  .swiper.hizmetSwiper .swiper-wrapper {
    display: block !important;
    transform: none !important;
  }

  .swiper.hizmetSwiper .swiper-slide {
    display: block;
    width: 100% !important;
    margin-bottom: 20px;
  }

  .swiper.hizmetSwiper .swiper-button-prev,
  .swiper.hizmetSwiper .swiper-button-next {
    display: none !important;
  }
}

@media screen and (max-width: 576px) {
  .whatsapp-button {
    bottom: 70px !important;
    right: 15px;
    width: 60px !important;
    height: 60px !important;
    font-size: 42px !important;
    padding: 0;
    right: 3px !important;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease;
  }
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 70px;
  height: 70px;
  background-color: #25D366;
  color: white;
  font-size: 58px;
  border: none;
  border-radius: 50%;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
}

.whatsapp-button:hover {
  transform: scale(1.15);
  background-color: #1ebe5d;
}

.accordion {
  max-width: 1000px;
  margin: 30px auto;
  font-family: 'Segoe UI', sans-serif;
}

.accordion-item {
  background: white;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
}

.accordion-header {
  padding: 20px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: #f0f0f0;
}

.accordion-header i {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  text-align: center;
}

.accordion-item.active .accordion-content {
  max-height: 800px; /* ihtiyaca göre artır */
  padding: 15px 20px;
}

.accordion-content img {
  width: 90%;
  border-radius: 10px;
}

.spinner-loading {
  background: url('https://i.gifer.com/ZZ5H.gif') center center no-repeat;
  background-size: 50px 50px;
}

.mobile-bottom-nav {
  display: none;
}
@media (max-width: 768px) {
 .mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65px;
  background-color: #1f1f1f;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  z-index: 1000;
}
.mobile-bottom-nav .nav-item {
  color: white;
  text-align: center;
  font-size: 12px;
  text-decoration: none;
  flex-direction: column;
  display: flex;
  align-items: center;
}
.mobile-bottom-nav .nav-item i {
  font-size: 20px;
  margin-bottom: 4px;
}
}
.zoom-icon {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 24px;
  color: rgb(0, 0, 0);
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

/* Modal yapısı */
.zoom-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  position: relative;
  margin: 5% auto;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  width: 90%;
  max-width: 1000px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

/* Görünür ve büyük kapatma butonu */
.modal-content .close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 32px;
  color: #666;
  cursor: pointer;
  font-weight: bold;
  z-index: 10000;
}

.modal-content .close:hover {
  color: black;
}
.spinner-label {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 14px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 12px;
  z-index: 10;
  pointer-events: none;
  font-family: Arial, sans-serif;
}
.spinner-label:not(.modal-label) {
  top: 10px;
  right: 10px;
}

/* Modal içindeki için sol üst */
.modal-label {
  top: 10px;
  left: 10px;
}
@media (max-width: 768px) {
  .modal-content {
    margin: 20px auto;
    width: 95%;
    height: auto;
    padding: 10px;

    top: 50%;
    transform: translateY(-50%);
  }

  #spinner-fullscreen {
    height: 300px !important;
  }
}