:root {
  --navbar-height: 70px;
  --logo-margin: 10px;
  --footer-bg-color: #000000;
}

body {
  font-family: Arial, sans-serif;
  margin-top: var(--navbar-height);
}

.navbar-brand img {
  height: 60px;
  margin-left: var(--logo-margin);
  margin-right: var(--logo-margin);
}

.navbar-dark {
  background-color: var(--footer-bg-color) !important;
}

header .carousel-item img {
  height: 500px;
  object-fit: cover;
}

/* Slider navigation buttons styling */
.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #000000 !important;
  border-radius: 50% !important;
  padding: 10px !important;
  width: 40px !important;
  height: 40px !important;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev {
  left: 20px !important;
}

.carousel-control-next {
  right: 20px !important;
}

/* Navigation icon styling */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: transparent !important;
  border: none !important;
  width: 20px !important;
  height: 20px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Custom arrow icons */
.carousel-control-prev::after {
  content: "<";
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: bold !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.carousel-control-next::after {
  content: ">";
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: bold !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Card image sizing */
.card img {
  height: 200px !important;
  width: 100% !important;
  object-fit: contain !important;
  max-width: 100% !important;
}

/* Product detail image sizing */
#product-image {
  height: 450px !important;
  width: 100% !important;
  object-fit: contain !important;
  max-width: 100% !important;
}

/* Card styling */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px !important;
  border-radius: 8px !important;
}

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

/* Footer için tam kaplama ve renk uygulama */
footer {
  background-color: var(--footer-bg-color) !important;
  color: white !important;
  padding: 20px 0;
  width: 100%;
  margin: 0;
  position: relative;
}

/* Bootstrap class override */
footer.bg-dark {
  background-color: var(--footer-bg-color) !important;
}

footer.text-light {
  color: white !important;
}

footer .container {
  background-color: var(--footer-bg-color) !important;
  padding: 20px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

footer .row {
  background-color: var(--footer-bg-color) !important;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

footer .col-md-4 {
  background-color: var(--footer-bg-color) !important;
  padding: 15px;
  margin: 0;
  width: 33.3333%;
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
}

footer hr {
  background-color: var(--footer-bg-color) !important;
  border: none;
  height: 1px;
  margin: 20px 0;
  width: 100%;
}

footer h5 {
  color: white !important;
  font-weight: bold;
  margin-bottom: 15px;
}

footer ul li a {
  color: white !important;
  text-decoration: none;
  display: block;
  margin-bottom: 5px;
}

footer ul li {
  color: white !important;
  margin-bottom: 5px;
}

footer p {
  color: white !important;
  margin-bottom: 10px;
}

footer .text-center {
  color: white !important;
  width: 100%;
  margin-top: 20px;
}

.container {
  max-width: 1100px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .card img {
    height: 150px !important;
    max-width: 100% !important;
  }

  #product-image {
    height: 300px !important;
    width: 100% !important;
    object-fit: contain !important;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 30px !important;
    height: 30px !important;
    padding: 5px !important;
  }
}

/* Carousel item sizing */
.carousel-item .row {
  margin: 0;
  padding: 0;
}

/* Product carousel card sizing */
.carousel-item .card {
  margin-bottom: 15px !important;
  border-radius: 8px !important;
}

.carousel-item .card img {
  height: 150px !important;
  width: 100% !important;
  object-fit: contain !important;
}

/* Mobile Optimization */
@media (max-width: 768px) {

  /* Navbar adjustments */
  .navbar-brand img {
    height: 40px;
    /* Logo size reduction */
  }

  /* Slider adjustments */
  header .carousel-item img {
    height: 250px;
    /* Reduce slider height on mobile */
    object-fit: cover;
  }

  /* Typography adjustments */
  h2 {
    font-size: 1.5rem;
    /* Smaller headings */
  }

  h3 {
    font-size: 1.25rem;
  }

  /* Spacing adjustments */
  section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Product cards */
  .card img {
    height: 180px !important;
    /* Adjust product card image height */
  }

  /* Carousel controls */
  .carousel-control-prev,
  .carousel-control-next {
    width: 30px !important;
    height: 30px !important;
    padding: 5px !important;
  }

  .carousel-control-prev::after,
  .carousel-control-next::after {
    font-size: 18px !important;
  }
}

/* WhatsApp Button Styling */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #25D366;
  color: white !important;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 27px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  color: white !important;
}

/* For inline text usage if needed, or specific container adjustments */
.contact-whatsapp-container {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
}