/* Emr Makina - Ana Stil Dosyası */

/* Genel Stiller */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Üst Bilgi Bar */
.bg-dark.text-light {
  font-size: 0.875rem;
}

.bg-dark.text-light .container > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bg-dark.text-light i {
  margin-right: 5px;
}

/* Navbar */
.navbar-brand img { 
  height: 150px; 
  max-width: 100%;
  object-fit: contain;
}

.fiyat-btn { 
  background: #198754; 
  color: #fff !important; 
  border-radius: 25px; 
  padding: 8px 24px; 
  font-weight: bold; 
  transition: all 0.3s ease;
}

.fiyat-btn:hover {
  background: #146c43;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Slider */
.slider-img { 
  height: 400px; 
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.carousel-item {
  position: relative;
}

.carousel-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.carousel-caption {
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.carousel-caption h5 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.carousel-caption p {
  font-size: 1.2rem;
  font-weight: 400;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.carousel-control-prev,
.carousel-control-next {
  z-index: 3;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 20px;
}

/* Ürün Kartları */
.product-card { 
  transition: all 0.3s ease;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.product-card .card-img-top {
  height: 250px;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.product-img { 
  height: 250px; 
  object-fit: cover;
  object-position: center;
}

.product-card .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

.product-card .card-title {
  min-height: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-card .card-text {
  flex-grow: 1;
  font-size: 0.95rem;
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  margin-bottom: 1rem;
}

.product-card .btn {
  margin-top: auto;
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.product-card .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Hero Banner */
.hero-banner { 
  background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1200&q=80') center/cover; 
  color: #fff; 
  padding: 80px 0; 
  text-align: center; 
  position: relative;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-banner .container {
  position: relative;
  z-index: 2;
}

.hero-about { 
  background: url('https://images.unsplash.com/photo-1464983953574-0892a716854b?auto=format&fit=crop&w=1200&q=80') center/cover; 
  color: #fff; 
  padding: 70px 0; 
  text-align: center; 
  position: relative;
}

.hero-about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-about .container {
  position: relative;
  z-index: 2;
}

.hero-products { 
  background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1200&q=80') center/cover; 
  color: #fff; 
  padding: 70px 0; 
  text-align: center; 
  position: relative;
}

.hero-products::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-products .container {
  position: relative;
  z-index: 2;
}

.hero-contact { 
  background: url('https://images.unsplash.com/photo-1519125323398-675f0ddb6308?auto=format&fit=crop&w=1200&q=80') center/cover; 
  color: #fff; 
  padding: 70px 0; 
  text-align: center; 
  position: relative;
}

.hero-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-contact .container {
  position: relative;
  z-index: 2;
}

/* Neden Biz İkonları */
.neden-biz-ikon { 
  font-size: 2.5rem; 
  color: #198754; 
}

/* WhatsApp Floating Button */
.whatsapp-float { 
  position: fixed; 
  right: 24px; 
  bottom: 24px; 
  z-index: 999; 
}

.whatsapp-float a { 
  background: #25d366; 
  color: #fff; 
  border-radius: 50%; 
  padding: 16px 18px; 
  font-size: 2rem; 
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  display: inline-block;
}

.whatsapp-float a:hover {
  background: #20ba5a;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Footer */
.footer-logo img { 
  height: 140px; 
  max-width: 100%;
  object-fit: contain;
}

.footer { 
  background: #222; 
  color: #fff; 
  padding: 40px 0 10px 0; 
}

.footer a { 
  color: #fff; 
  text-decoration: none; 
  transition: color 0.3s ease;
}

.footer a:hover { 
  color: #198754;
  text-decoration: underline; 
}

/* Hakkımızda Sayfa */
.about-section { 
  background: #f8f9fa; 
  padding: 40px 0; 
}

.about-icon { 
  font-size: 2.5rem; 
  color: #198754; 
}

/* İletişim Sayfa */
.contact-section { 
  background: #f8f9fa; 
  padding: 40px 0; 
}

.contact-icon { 
  font-size: 2rem; 
  color: #198754; 
}

.form-control, 
.btn { 
  border-radius: 20px; 
}

/* Responsive */
@media (max-width: 768px) {
  .bg-dark.text-light .container {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .bg-dark.text-light .container > div {
    justify-content: center;
    font-size: 0.75rem;
  }
  
  .navbar-brand img {
    height: 80px;
  }
  
  .slider-img {
    height: 250px;
  }
  
  .carousel-caption h5 {
    font-size: 1.2rem;
  }
  
  .carousel-caption p {
    font-size: 0.9rem;
  }
  
  .product-card .card-img-top,
  .product-img {
    height: 200px;
  }
  
  .product-card .card-title {
    min-height: auto;
    font-size: 1rem;
  }
  
  .product-card .card-text {
    font-size: 0.9rem;
    -webkit-line-clamp: 3;
  }
  
  .hero-banner,
  .hero-about,
  .hero-products,
  .hero-contact {
    padding: 50px 0;
  }
  
  .neden-biz-ikon,
  .about-icon {
    font-size: 2rem;
  }
  
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }
  
  .whatsapp-float a {
    padding: 12px 14px;
    font-size: 1.5rem;
  }
  
  .footer-logo img {
    height: 80px;
  }
}

/* Animasyonlar */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeIn 0.5s ease-in-out;
}

