:root {
  --orange-dark: #c2410b;
  --orange-base: #d9480f;
  --orange-light: #f9dcc8;
  --grey-light: #f4f1ed;
  --grey-dark: #3a3a3a;
}

body {
  background-color: var(--grey-light);
  color: var(--grey-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

footer {
  margin-top: auto;
}

.navbar-theme {
  background-color: var(--orange-dark);
}

.header-hero-video {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-video {
    /* Mobil cihazlarda dikey ekrana daha iyi uyum sağlaması için videoyu hafifçe zoom yapar */
    transform: scale(1.2);
    transform-origin: center center;
  }
  .header-hero-video {
    height: 100dvh; /* Mobil tarayıcı arayüz elementlerine göre yüksekliği dinamik ayarlar */
  }
}

.header-hero-video .container {
  z-index: 3;
  position: relative;
  height: 100%;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--orange-overlay),
    var(--orange-dark)
  );
  z-index: 2;
  opacity: 50%;
}

.header-hero {
  background-image: linear-gradient(
    135deg,
    var(--orange-dark),
    var(--orange-base)
  );
}

.header-hero h1,
.header-hero p,
.header-hero .btn,
.navbar-theme .nav-link,
.navbar-theme .navbar-brand {
  color: #fff !important;
}

.badge.bg-warning {
  background-color: var(--orange-base) !important;
  color: #fff !important;
}

.feature-card,
.card,
.bg-white {
  background-color: #ffffff;
}

.btn-light {
  background-color: #ffffff;
  color: var(--orange-dark) !important;
  border-color: var(--orange-base);
}

.btn-light:hover,
.btn-light:focus {
  background-color: #f8eedf;
  color: var(--orange-dark) !important;
  border-color: var(--orange-dark);
}

.btn-outline-light {
  background-color: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff !important;
  border-color: #fff;
}

.feature-card {
  border: 1px solid rgba(196, 65, 11, 0.18);
}

.card {
  background-color: #fff8f0;
}

.card-title,
.text-warning {
  color: var(--orange-dark) !important;
}

.navbar-theme .nav-link {
  color: #fff !important;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem !important;
  margin: 0 0.5rem;
}

.navbar-theme .nav-link.active,
.navbar-theme .nav-link:hover {
  background-color: #ffffff;
  color: var(--orange-dark) !important;
  border-radius: 0.375rem;
  padding: 0.5rem 1rem !important;
  margin: 0 0.5rem;
}

.btn-warning {
  background-color: var(--orange-dark);
  border-color: var(--orange-dark);
  color: #fff;
}

.btn-warning:hover,
.btn-warning:focus {
  background-color: var(--orange-dark);
  border-color: var(--orange-dark);
}

.btn-outline-warning {
  color: var(--orange-dark);
  border-color: var(--orange-dark);
}

.btn-outline-warning:hover,
.btn-outline-warning:focus {
  background-color: var(--orange-subtle);
  border-color: var(--orange-dark);
}

.border-warning-subtle {
  border-color: rgba(196, 65, 11, 0.25) !important;
}

.border-warning {
  --bs-border-opacity: 1;
  border-color: var(--orange-dark) !important;
}

.stat-card {
  transition: transform 0.3s ease;
  border-bottom: 4px solid var(--orange-base);
}

.stat-card:hover {
  transform: translateY(-10px);
}

.testimonial-card {
  border-left: 5px solid var(--orange-base);
  background: #fff;
}

.accordion-button:not(.collapsed) {
  background-color: var(--orange-light);
  color: var(--orange-dark);
}

.accordion-button:focus {
  border-color: var(--orange-light);
  box-shadow: 0 0 0 0.25rem rgba(194, 65, 11, 0.25);
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: var(--orange-base);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
  margin-bottom: 1rem;
}

.featured-product-card {
  transition: all 0.3s ease;
}

.featured-product-card:hover {
  box-shadow: 0 10px 20px var(--orange-subtle) !important;
  transform: translateY(-5px);
}

/* Ürün kartlarındaki görselleri eşitleme (Ana sayfa ve Ürünler sayfası) */
.featured-product-card .card-img-top {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

/* Ürün detay sayfasındaki galeri görsellerini eşitleme */
#productGallery .carousel-item img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  background-color: var(--grey-light);
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}

.newsletter-section {
  background:
    linear-gradient(var(--orange-overlay), var(--orange-overlay)),
    url("https://images.unsplash.com/photo-1557804506-669a67965ba0?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
  color: white;
}

/* Promosyon Banner Tasarımı */
.promo-banner {
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  min-height: 350px;
  display: flex;
  align-items: center;
  margin: 4rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.promo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 1;
}

.promo-content {
  position: relative;
  z-index: 2;
  padding: 3.5rem;
  color: white;
  max-width: 650px;
}

/* Modal Özelleştirme */
.modal-marketing-img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 1rem 1rem 0 0;
}

/* Modal geçiş animasyonu */
.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
  transform: scale(0.9);
}
.modal.show .modal-dialog {
  transform: scale(1);
}

/* Carousel Kontrol Stilleri */
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  filter: invert(100%);
}

.product-carousel-card {
  transition: transform 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.category-hover {
  transition: all 0.2s ease;
  cursor: pointer;
}

.category-hover:hover {
  background-color: var(--orange-light) !important;
  border-color: var(--orange-base) !important;
  transform: scale(1.05);
}

.navbar-theme input::placeholder {
  color: #6c757d !important;
}

input::placeholder {
  color: #6c757d !important;
}

.filter-sidebar {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  position: sticky;
  top: 20px;
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--orange-base);
  color: white;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

/* Input alanları için ince gri border */
/* Global Form Standartları - Tüm Inputlar */
input:not([type="checkbox"]):not([type="radio"]),
textarea,
select,
.form-control,
.form-select {
  padding: 0.7rem 1.2rem;
  font-size: 0.95rem;
  border-radius: 0.6rem !important;
  transition: all 0.2s ease-in-out;
  border: 1.5px solid #adb5bd !important; /* Daha koyu ve belirgin border */
  background-color: #ffffff !important;
  color: var(--grey-dark) !important; /* Yazılan yazının görünür olması için koyu renk */
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05); /* Hafif iç derinlik */
}

.btn {
  padding: 0.7rem 1.2rem;
  font-size: 0.95rem;
  border-radius: 0.6rem !important;
  transition: all 0.2s ease-in-out;
}

.btn2 {
  border: 1px solid grey !important;
}

.btn-sm,
.form-control-sm,
.form-select-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

.btn-lg,
.form-control-lg,
.form-select-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

input:focus,
textarea:focus,
select:focus,
.form-control:focus,
.form-select:focus {
  border-color: var(
    --orange-base
  ) !important; /* Temaya uygun turuncu odaklanma */
  box-shadow: 0 0 0 0.25rem rgba(217, 72, 15, 0.25) !important;
  background-color: #fff !important;
  outline: none !important;
}
