/* Google Font */
body {
  font-family: "Poppins", sans-serif;
  background: var(--vinzer-light);
  color: #23272f;
  font-size: 1.05rem;
}

/* Renk Değişkenleri */
:root {
  --vinzer-orange: #ff9800;
  --vinzer-dark: #434949;
  --vinzer-light: #f4f6fb;
  --vinzer-white: #fff;
  --vinzer-gray: #e0e3e7;
  --vinzer-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

/* Üst Bilgi Barı */
.top-bar {
  background: linear-gradient(
    90deg,
    var(--vinzer-dark) 900px,
    var(--vinzer-orange) 100%
  );
  color: var(--vinzer-white);
  padding: 1.2rem 0;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
}
.top-bar a {
  color: var(--vinzer-white);
  /* margin-left: 1.5rem; */
  transition: color 0.3s;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
}
.top-bar a:hover {
  color: var(--vinzer-orange);
}
.company-name-top {
  font-weight: 700;
  letter-spacing: 1px;
  font-weight: 500;
  font-size: 1rem;

  color: var(--vinzer-white);
  text-shadow: 0 2px 8px rgba(255, 152, 0, 0.1);
  text-align: center;
  white-space: nowrap;
}

/* Navbar  */
/* .navbar.bg-dark {
  background: linear-gradient(
    90deg,
    rgba(43, 48, 58, 0.97) 60%,
    rgba(255, 152, 0, 0.1) 100%
  ) !important; */
  box-shadow: 0 4px 24px 0 rgba(31, 38, 135, 0.1);
  border-radius: 0 0 24px 24px;
  backdrop-filter: blur(4px);
  border-bottom: 2.5px solid var(--vinzer-orange);
}
.navbar-dark .navbar-nav .nav-link {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s, background 0.3s, border-bottom 0.2s;
  border-radius: 8px 8px 0 0;
  padding: 0.6rem 1.2rem 0.4rem 1.2rem;
  font-size: 1.08rem;
  border-bottom: 2.5px solid transparent;
  letter-spacing: 0.2px;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--vinzer-orange);
  background: rgba(255, 152, 0, 0.08);
  border-bottom: 2.5px solid var(--vinzer-orange);
  text-shadow: 0 2px 8px rgba(255, 152, 0, 0.1);
}
.navbar-dark .dropdown-menu {
  background: rgba(43, 48, 58, 0.98);
  border-radius: 14px;
  border: none;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.13);
  margin-top: 8px;
}
.navbar-dark .dropdown-item {
  color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  font-weight: 600;
  font-size: 1.01rem;
}
.navbar-dark .dropdown-item:hover {
  background: var(--vinzer-orange);
  color: var(--vinzer-dark);
}

/* Modern Carousel Tasarımı */
.carousel-container {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  max-width: 98vw;
  width: 100%;
  margin: 0 auto;
}
#heroCarousel {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 48px 0 rgba(31, 38, 135, 0.18);
  background: var(--vinzer-white);
  width: 100%;
  max-width: 2100px;
  margin: 0 auto;
}
.carousel-item {
  height: 420px;
  background: var(--vinzer-light);
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
  filter: brightness(0.97) contrast(1.04);
  transition: filter 0.4s;
}
.carousel-item.active img,
.carousel-item:hover img {
  filter: brightness(1) contrast(1.08) saturate(1.08);
}
.carousel-control-prev,
.carousel-control-next {
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--vinzer-orange);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background 0.2s, box-shadow 0.2s;
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--vinzer-orange);
  box-shadow: 0 4px 16px rgba(255, 152, 0, 0.18);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(0.7) sepia(0.2) saturate(2.5) hue-rotate(-10deg);
  width: 1.6rem;
  height: 1.6rem;
}
.carousel-indicators [data-bs-target] {
  background-color: var(--vinzer-orange);
  width: 16px;
  height: 6px;
  border-radius: 8px;
  margin: 0 6px;
  opacity: 0.5;
  transition: opacity 0.2s, width 0.2s;
}
.carousel-indicators .active {
  opacity: 1;
  width: 100px;
}
@media (max-width: 1400px) {
  .carousel-container,
  #heroCarousel {
    max-width: 100vw;
  }
}
@media (min-width: 1200px) {
  .carousel-item {
    height: 480px;
  }
}
@media (max-width: 991px) {
  .carousel-item {
    height: 200px;
    background: var(--vinzer-light);
  }
  .carousel-item img {
    object-fit: fill !important;
    background: none;
  }
  .carousel-caption {
    padding: 1.2rem 0.8rem 0.8rem 0.8rem;
    border-radius: 0 0 18px 18px;
    background: rgba(255,255,255,0.92); /* Daha opak beyaz kutu */
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100vw;
    text-align: center;
  }
  .carousel-caption h5 {
    font-size: 1.32rem;
    font-weight: 800;
    color: #23272f;
    text-shadow: 0 2px 8px rgba(255,255,255,0.25);
    letter-spacing: 0.5px;
  }
  .carousel-caption p {
    font-size: 1.12rem;
    font-weight: 600;
    color: #23272f;
    text-shadow: 0 2px 8px rgba(255,255,255,0.18);
  }
}
@media (max-width: 575px) {
  .carousel-item {
    height: 180px;
  }
  .carousel-caption h5 {
    font-size: 1.12rem;
  }
  .carousel-caption p {
    font-size: 1.01rem;
  }
}

/* Genel Bölüm Başlıkları */
.section-title {
  font-weight: 800;
  font-size: 2.2rem;
  position: relative;
  display: inline-block;
  padding-bottom: 25px;
  letter-spacing: 0.5px;
}

.section-title-2 {
  position: relative;
  content: "";
  bottom: 0;
  left: 50%;
  top: 1px;
  transform: translateX(-50%);
  width: 310px;
  height: 3.5px;
  background: linear-gradient(90deg, var(--vinzer-orange), var(--vinzer-dark));
  border-radius: 2px;
}

.bg-dark .section-title,
.dark-section .section-title {
  color: var(--vinzer-white);
}

/* Kategori Kartları */
.category-card {
  min-height: 340px;
  max-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  border: none;
  background: linear-gradient(135deg, #3e5165 60%, #23272f 100%);
  box-shadow: var(--vinzer-shadow);
  border-radius: 18px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.category-card:hover {
  transform: translateY(-7px) scale(1.03);
  box-shadow: 0 12px 32px rgba(255, 152, 0, 0.18);
  border-color: var(--vinzer-orange);
}
.category-card img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 0;
  background: var(--vinzer-white);
  max-width: 100%;
  max-height: 250px;
}
.category-card .card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.category-card .card-title {
  color: var(--vinzer-white);
  font-weight: 700;
  font-size: 1.2rem;
}

/* Ürünler Alanı */
#products-section {
  background: var(--vinzer-light);
}
.category-header {
  font-weight: 700;
  color: var(--vinzer-dark);
  border-left: 5px solid var(--vinzer-orange);
  padding-left: 18px;
  margin-bottom: 2.2rem;
  font-size: 1.3rem;
}
.product-card {
  cursor: pointer;
  border: none;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 2, 0.3, 1);
  background: var(--vinzer-white);
  box-shadow: var(--vinzer-shadow);
}
.product-card:hover {
  transform: translateY(-7px) scale(1.03);
  box-shadow: 0 12px 32px rgba(255, 152, 0, 0.13);
  border-color: var(--vinzer-orange);
}
.product-card .card-footer {
  background: transparent;
  border-top: 1px solid var(--vinzer-gray);
}
.product-card .text-primary {
  color: var(--vinzer-orange) !important;
  font-weight: 700;
}

/* Modern Butonlar */
.btn,
.btn-primary,
.btn-outline-primary {
  border-radius: 12px !important;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  font-size: 1.08rem;
  box-shadow: 0 2px 8px rgba(255, 152, 0, 0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn-primary {
  background: linear-gradient(90deg, var(--vinzer-orange), #ffb74d);
  border: none;
  color: var(--vinzer-dark);
}
.btn-primary:hover {
  background: var(--vinzer-dark);
  color: var(--vinzer-orange);
}
.btn-outline-primary {
  border: 2px solid var(--vinzer-orange);
  color: var(--vinzer-orange);
  background: transparent;
}
.btn-outline-primary:hover {
  background: var(--vinzer-orange);
  color: var(--vinzer-dark);
}

/* Footer */
.footer-area {
  background: linear-gradient(
    120deg,
    rgba(43, 48, 58, 0.92) 60%,
    rgba(255, 152, 0, 0.1) 100%
  );
  color: rgba(255, 255, 255, 0.92);
  padding: 72px 0 36px 0;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.13);
  margin-top: 56px;
  position: relative;
  z-index: 1;
  border-top: 4px solid var(--vinzer-orange);
}
.footer-area .widget-title {
  color: var(--vinzer-orange);
  font-weight: 900;
  margin-bottom: 26px;
  letter-spacing: 0.7px;
  font-size: 1.32rem;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(255, 152, 0, 0.08);
}
.footer-area a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s, border-bottom 0.2s;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.footer-area a:hover {
  color: var(--vinzer-orange);
  text-shadow: 0 2px 8px rgba(255, 152, 0, 0.18);
  border-bottom: 2px solid var(--vinzer-orange);
}
.footer-area ul li {
  padding: 7px 0;
  font-size: 1.08rem;
  letter-spacing: 0.1px;
}
.footer-area .contact-info i {
  color: var(--vinzer-orange);
  margin-right: 12px;
  font-size: 1.18em;
  vertical-align: middle;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff 0%, var(--vinzer-orange) 100%);
  margin-right: 12px;
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(255, 152, 0, 0.13);
  font-size: 1.5rem;
  color: #23272f !important;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
}
.footer-social a:hover {
  background: linear-gradient(135deg, var(--vinzer-orange) 60%, #fff 100%);
  color: var(--vinzer-dark) !important;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 4px 16px rgba(255, 152, 0, 0.22);
}
.copyright-text {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 2px dashed rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.04rem;
  letter-spacing: 0.3px;
  font-weight: 500;
}
.footer-logo img {
  max-width: 170px;
  max-height: 60px;
  width: auto;
  height: auto;
  display: block;
  margin: 22px 0 0 0;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}
.footer-widget p {
  font-size: 1.01rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 18px;
  line-height: 1.7;
}
.footer-widget {
  margin-bottom: 32px;
}
@media (max-width: 991px) {
  .footer-area {
    padding: 44px 0 18px 0;
    border-radius: 18px 18px 0 0;
  }
  .footer-logo img {
    max-width: 110px;
    max-height: 40px;
  }
  .footer-widget {
    margin-bottom: 24px;
  }
}
@media (max-width: 575px) {
  .footer-area {
    padding: 22px 0 8px 0;
    border-radius: 8px 8px 0 0;
  }
  .footer-logo img {
    max-width: 70px;
    max-height: 28px;
  }
  .footer-area .widget-title {
    font-size: 1.01rem;
  }
  .footer-area ul li {
    font-size: 0.95rem;
  }
  .copyright-text {
    font-size: 0.85rem;
  }
  .footer-widget {
    margin-bottom: 14px;
  }
}

/* Modal Tablosu */
.modal-body .table {
  margin-top: 1rem;
}
.modal-header {
  background-color: var(--vinzer-orange);
  color: var(--vinzer-white);
}
.modal-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

/* Modern Galeri Kartı */
.gallery-card {
  border: none;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--vinzer-shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  background: var(--vinzer-white);
}
.gallery-card:hover {
  transform: translateY(-7px) scale(1.03);
  box-shadow: 0 12px 32px rgba(255, 152, 0, 0.13);
}
.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 0;
  background: transparent;
  max-width: 100%;
  max-height: 220px;
  transition: transform 0.25s;
}
.gallery-card:hover img {
  transform: scale(1.04);
}

/* İletişim Kartı Modernleştirme */
.card.h-100.shadow-sm.border-0,
.card.h-100.shadow-sm {
  border-radius: 18px !important;
  box-shadow: var(--vinzer-shadow) !important;
  background: var(--vinzer-white);
  transition: box-shadow 0.3s, transform 0.3s;
}
.card.h-100.shadow-sm.border-0:hover,
.card.h-100.shadow-sm:hover {
  box-shadow: 0 12px 32px rgba(255, 152, 0, 0.13) !important;
  transform: translateY(-7px) scale(1.03);
}
.card-body {
  padding: 2.5rem 2rem;
}

/* Form Alanları (Varsa) */
.form-control,
.form-select {
  border-radius: 12px;
  border: 1.5px solid var(--vinzer-gray);
  padding: 0.7rem 1.1rem;
  font-size: 1.08rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--vinzer-orange);
  box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.15);
}

/* Modal büyük görsel için */
.gallery-modal-img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.navbar-brand img {
  max-height: 90px;
  max-width: 250px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: max-height 0.2s, transform 0.25s cubic-bezier(0.4, 2, 0.3, 1);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
  margin-right: 12px;
}
.navbar-brand:hover img,
.navbar-brand:focus img {
  transform: scale(1.1);
  z-index: 2;
}
.navbar-nav .nav-item.d-flex a {
  background: linear-gradient(135deg, #fff 0%, var(--vinzer-orange) 100%);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  font-size: 1.25rem;
  color: #23272f !important;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  transition: background 0.3s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.navbar-nav .nav-item.d-flex a:hover {
  background: linear-gradient(135deg, var(--vinzer-orange) 60%, #fff 100%);
  color: var(--vinzer-dark) !important;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 2px 8px rgba(255, 152, 0, 0.18);
}
@media (max-width: 991px) {
  .navbar.bg-dark {
    border-radius: 0 0 12px 12px;
    padding: 0.5rem 0;
  }
  .navbar-brand img {
    max-height: 38px;
    max-width: 100px;
  }
}
@media (max-width: 575px) {
  .navbar.bg-dark {
    border-radius: 0 0 6px 6px;
    padding: 0.2rem 0;
  }
  .navbar-brand img {
    max-height: 66px;
    max-width: 150px;
  }
  .navbar-dark .navbar-nav .nav-link {
    font-size: 0.98rem;
    padding: 0.5rem 0.7rem 0.3rem 0.7rem;
  }
}

/* Modern Turuncu Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  background: #f4f6fb;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ff9800 60%, #ffb74d 100%);
  border-radius: 8px;
  border: 2px solid #f4f6fb;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #ff9800 80%, #ffa726 100%);
}
::-webkit-scrollbar-corner {
  background: #f4f6fb;
}

html {
  scrollbar-width: thin;
  scrollbar-color: #ff9800 #f4f6fb;
}

/* WhatsApp Sabit Buton */
.whatsapp-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 9999;
  background: linear-gradient(135deg, #25d366 60%, #128c7e 100%);
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.18);
  font-size: 2.2rem;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.28);
  background: linear-gradient(135deg, #128c7e 80%, #25d366 100%);
}
@media (max-width: 575px) {
  .whatsapp-float {
    left: 12px;
    bottom: 12px;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
}

/* Scroll to Top Buton */
.scrolltop-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  background: linear-gradient(135deg, #ff9800 60%, #ffb74d 100%);
  color: #fff;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(255, 152, 0, 0.18);
  font-size: 2rem;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  opacity: 0;
  pointer-events: none;
  border: none;
}
.scrolltop-float.show {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1.08);
}
.scrolltop-float:hover {
  background: linear-gradient(135deg, #ffb74d 80%, #ff9800 100%);
  box-shadow: 0 8px 32px rgba(255, 152, 0, 0.28);
}
@media (max-width: 575px) {
  .scrolltop-float {
    right: 12px;
    bottom: 12px;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }
}

/* Modal içindeki ürün görsellerini ortala */
.modal .modal-body img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Üst bar iletişim ikonları ve metin hizalama */
.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  margin-left: 1.1rem;
  font-size: 1rem;
}
.contact-item i {
  font-size: 1.13em;
  margin-right: 0.18em;
  vertical-align: middle;
}
@media (max-width: 575px) {
  .top-bar .container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.12rem;
  }
  .top-bar .company-name-top {
    margin-bottom: 0.13rem;
    font-size: 0.97rem;
    width: 100%;
    text-align: center;
  }
  .top-bar > .container > span:last-child {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    justify-content: flex-start;
  }
  .contact-item {
    margin-top: 0.5rem;
    margin-left: 0;
    margin-bottom: 0.1rem;
    width: 100%;
    max-width: none;
    white-space: nowrap;
    overflow: visible;
    text-overflow: unset;
    justify-content: center;
    display: flex;
  }
  .contact-item a {
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.18em;
    font-size: 0.8rem;
    padding: 0.05rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
