/* === RENK DEĞİŞKENLERİ === */
:root {
  --primary-color: #e76f51;
  --secondary-color: #2a9d8f;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --text-color: #212529;
  --white: #ffffff;
}

/* === GENEL AYARLAR === */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--light-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

/* product card kısmı bütün ürünler sayfası  */
  .product-card .card {
  transition: all 0.3s ease-in-out;
  border: none;
  border-radius: 10px;
}



.product-card .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.product-card .product-img {
  height: 220px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.product-card .card:hover .product-img {
  transform: scale(1.05);
}

.product-card .card-body {
  transition: background-color 0.3s ease;
}

.product-card .card:hover .card-body {
  background-color: #fdfdfd;
}

.product-card .card-title {
  transition: color 0.3s ease;
}

.product-card .card:hover .card-title {
  color: var(--primary-color);
}



/* navbar logo  */
.navbar-logo {
  height: 80px;       /* 🔼 Eskisinden büyük */
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.navbar-logo:hover {
  transform: scale(1.05); /* 👈 Hafif büyüme efekti */
}

/* === NAVBAR === */
.navbar {
  padding: 0.8rem 1rem;
}

.navbar .nav-link {
  position: relative;
  transition: all 0.3s ease-in-out;
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: var(--primary-color);
  left: 0;
  bottom: 0;
  transition: width 0.3s ease-in-out;
}

.navbar .nav-link:hover::after {
  width: 100%;
}

.navbar .nav-link:hover {
  color: var(--primary-color) !important;
}

.navbar .dropdown-menu {
  animation: fadeIn 0.3s ease-in-out;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  border: none;
  padding: 0.5rem 0;
  min-width: 220px;
}

.navbar .dropdown-item {
  padding: 0.6rem 1.2rem;
  transition: background-color 0.2s;
}

.navbar .dropdown-item:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar-brand img {
  height: 50px;
  object-fit: contain;
}

/* === HERO / HEADER === */
#hero-section {
  background: url("img/canta/bordo-baskisiz.jpg") no-repeat center center/cover;
  position: relative;
  color: var(--white);
  padding: 100px 0;
  z-index: 1;
  overflow: hidden;
}

.img-fluid {
  max-width: 80%;
}

#hero-section .overlay {
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

#hero-section h1,
#hero-section p,
#hero-section .btn {
  z-index: 1;
  position: relative;
}

#hero-section .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transition: all 0.3s ease-in-out;
}

#hero-section .btn-primary:hover {
  background-color: #cf5b3f;
  border-color: #cf5b3f;
  transform: scale(1.05);
}

/* === SLIDER WRAPPER === */
.slider-wrapper {
  max-width: 1000px; /* Ortalanmış dar yapı */
  margin: 0 auto;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

/* === SLIDER GÖRSELLER === */
#mainCarousel {
  max-height: 400px;
}

.slider-img {
  height: 400px; /* Görsel yüksekliği */
  width: 100%;
  object-fit: cover;
}

/* SLIDER YAZILARI */
.carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  padding: 1.2rem;
  border-radius: 8px;
  bottom: 15px;
}

.carousel-caption h5 {
  font-size: 1.6rem;
  font-weight: bold;
}

.carousel-caption p {
  font-size: 1rem;
}

/* === KATEGORİ MENÜSÜ === */
.kategori-menu a {
  transition: all 0.3s ease-in-out;
}

.kategori-menu a:hover {
  background-color: #e76f51;
  color: white;
}






/* FOOTER  */
footer {
  background-color: #212529;
  color: white;
  padding: 60px 0 20px;
  margin-top: 60px;
  font-size: 0.95rem;
}

footer h5 {
  margin-bottom: 1rem;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-color);
}

footer .social-icons a {
  font-size: 1.4rem;
  transition: transform 0.3s;
}

footer .social-icons a:hover {
  transform: scale(1.2);
  color: #e76f51;
}

footer hr {
  border-color: #444;
}

footer .btn-outline-light {
  border-radius: 30px;
  font-size: 0.9rem;
  transition: 0.3s ease;
}

footer .btn-outline-light:hover {
  background-color: #e76f51;
  border-color: #e76f51;
  color: white;
}

@media (max-width: 768px) {
  footer {
    text-align: center;
  }

  footer .social-icons {
    justify-content: center;
  }
}

/* === RESPONSIVE / MOBİL === */
@media (max-width: 768px) {
  .slider-wrapper {
    max-width: 95%;
  }

  .slider-img {
    height: 250px;
  }

  .carousel-caption h5 {
    font-size: 1.2rem;
  }

  .carousel-caption p {
    font-size: 0.9rem;
  }

  footer {
    text-align: center;
  }
}

/* === PORTFOLIO === */
#portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  padding: 10px;
}

#portfolio .image-zoom-wrapper {
  width: 100%;
  height: auto; /* Görselin yüksekliği içeriğe göre ayarlanır */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background-color: #fff;
}

#portfolio .image-zoom-wrapper img {
  width: 100%;
  height: auto;
  max-height: 230px; /* Taşmayı engeller, oranı korur */
  object-fit: contain; /* Görseli tam gösterir */
  transition: transform 0.3s ease;
}

#portfolio .image-zoom:hover img {
  transform: scale(1.03);
}

#portfolio .iconbox {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px 14px;
  border-radius: 50%;
  opacity: 0;
  transition: 0.3s ease;
  font-size: 20px;
}

#portfolio .image-zoom:hover .iconbox {
  opacity: 1;
}

@media (max-width: 768px) {
  #portfolio .image-zoom-wrapper {
    padding: 8px;
  }

  #portfolio .image-zoom-wrapper img {
    max-height: 180px;
  }
}

/* sabit butonlar  */
.fixed-contact-buttons {
  position: fixed;
  right: 15px;
  bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
  max-width: 100vw; /* ✨ Taşmayı önlemek için kritik */
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: 0.3s ease-in-out;
  background-color: gray; /* varsayılan renk, aşağıda özel renkler eklendi */
  overflow: hidden;
}

/* Renkler */
.contact-btn.whatsapp {
  background-color: #25d366;
}
.contact-btn.phone {
  background-color: #0d6efd;
}
.contact-btn.email {
  background-color: #f39c12;
}

/* Hover Efekti */
.contact-btn:hover {
  transform: scale(1.1);
}

/* sayfada tasmalar icin onlem   */
body {
  overflow-x: hidden;
}

/* Mobil uyumlu görünürlük */
@media (max-width: 767px) {
  .fixed-contact-buttons {
    right: 10px;
    bottom: 10px;
  }

  .contact-btn {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}

/* Footer link hover efekti */
footer .list-unstyled a {
  transition: all 0.3s ease-in-out;
}

footer .list-unstyled a:hover {
  color: #fff !important; /* Yazı beyaz olur */
  text-decoration: underline; /* Altı çizilir */
}

/* Footer buton hover efekti */
footer .btn-outline-light {
  transition: all 0.3s ease;
}

footer .btn-outline-light:hover {
  background-color: #fff;
  color: #000;
  border-color: #fff;
}

/* === VİZYON - MİSYON STİLİ === */
.vizyon-misyon h3 {
  font-size: 2rem;
  position: relative;
}

.vizyon-misyon p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

/* Görsel Hover Efekti */
.hover-zoom {
  transition: transform 0.5s ease-in-out;
  border-radius: 12px;
}

.hover-zoom:hover {
  transform: scale(1.05);
}

/* Fade In Up Animasyon */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.fade-in-up.delay-1 {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#about .iconbox {
  width: 55px;
  height: 55px;
  background-color: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .hakkimizda-img-center {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

#about ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

#about ul li {
  margin-bottom: 0.4rem;
}

.section-padding {
  padding: 80px 0;
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
}

/* === Hakkımızda Özel Bölümler (yatay yapılar) === */
.custom-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.custom-section img {
  max-width: 70%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.no-shadow {
  box-shadow: none !important;
}


@media (max-width: 768px) {
  .custom-section h1 {
    font-size: 1.8rem;
  }

  .custom-section .lead {
    font-size: 1rem;
  }
}

.btn-custom {
  background-color: #e76f51;
  border-color: #e76f51;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
}

.btn-custom:hover {
  background-color: #cf5b3f;
  border-color: #cf5b3f;
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  color: white;
}

/* body {
  font-family: "Poppins", sans-serif;
} */

.section-title-custom {
  font-size: 2.5rem;
  font-weight: 700;
  color: #e76f51;
}

.lead-custom {
  font-size: 1.2rem;
  color: #333;
  font-weight: 400;
  line-height: 1.7;
}

/* deneme   */

/* Fade-in başlık animasyonu */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Uygulanacak sınıf */
.animate-fadeIn {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

/* Gecikmeler (isteğe bağlı) */
.delay-1 {
  animation-delay: 0.3s;
}
.delay-2 {
  animation-delay: 0.6s;
}
.delay-3 {
  animation-delay: 0.9s;
}

/* Yazı gölge efekti */
.shadow-text {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}
.logo-item {
  height: 110px;
  max-height: 110px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease-in-out;
  border-radius: 80px;
  filter: grayscale(0%);
}

.logo-item:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.logo-marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo-marquee {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 40px;
  animation: scrollLogos 40s linear infinite;
  width: max-content;
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .logo-item {
    height: 60px;
    max-height: 60px;
  }
}
