/* 
 * Bonus Boya - Yerli Boya Üreticisi
 * Custom CSS Stylesheet
 */

/* Genel Stiller - Bonus Boya Logo Renklerine Uygun */
:root {
  --primary-color: #e74c3c;      /* Logo Kırmızısı - Ana renk */
  --secondary-color: #c0392b;    /* Koyu Kırmızı */
  --accent-color: #3498db;       /* Logo Mavisi - Vurgu */
  --light-color: #f8fafc;        /* Açık Gri */
  --dark-color: #2c3e50;         /* Koyu Gri */
  --success-color: #27ae60;      /* Logo Yeşili - Başarı */
  --warning-color: #f39c12;      /* Turuncu - Uyarı */
  --info-color: #3498db;         /* Mavi - Bilgi */
  --danger-color: #e74c3c;       /* Kırmızı - Hata */
  --gray-color: #7f8c8d;         /* Orta Gri */
  --paint-red: #e74c3c;          /* Boya Kırmızısı */
  --paint-blue: #3498db;         /* Boya Mavisi */
  --paint-green: #27ae60;        /* Boya Yeşili */
  --paint-orange: #f39c12;       /* Boya Turuncusu */
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --navbar-height: 80px; /* Navbar yüksekliği */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
}

/* Header Stilleri */
.top-bar {
  font-size: 0.9rem;
}

.contact-info span {
  margin-right: 15px;
}

.contact-info i {
  margin-right: 5px;
}

.social-links a {
  font-size: 1rem;
  transition: var(--transition);
}

.social-links a:hover {
  transform: translateY(-3px);
  color: var(--accent-color) !important;
}

/* Navigation */
.navbar {
  background: linear-gradient(to right, white 0%, white 20%, #e74c3c 40%, #f39c12 60%, #27ae60 80%, #3498db 100%); /* Beyazdan renklere geçişli gradyan */
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: white !important; /* Aktif link rengi beyaz yapıldı */
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: white; /* Alt çizgi rengi beyaz yapıldı */
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--navbar-height)); /* Navbar yüksekliği kadar azaltıldı */
}

 

.hero-section .container {
  padding-top: var(--navbar-height); /* Navbar'ın altından başlaması için */
}

.hero-content {
  padding: 1rem; /* Padding azaltıldı */
  background-color: rgba(255, 255, 255, 0.7); /* Şeffaf beyaz arka plan */
  border-radius: var(--border-radius); /* Köşeleri yuvarla */
  position: relative; /* Z-index için gerekli */
  z-index: 3; /* Metni baloncukların önüne almak için */
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem; /* Azaltıldı */
  color: var(--dark-color);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 1rem; /* Azaltıldı */
  color: var(--primary-color); /* Kırmızı renk */
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.feature-item i {
  margin-right: 10px;
  font-size: 1.2rem;
}

.hero-buttons .btn {
  padding: 0.8rem 1.5rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.hero-buttons .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.hero-buttons .btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.hero-buttons .btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.hero-buttons .btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4; /* Baloncukları en öne almak için */
}

.floating-bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  animation: float 8s infinite ease-in-out;
}

.bubble-1 {
  width: 100px;
  height: 100px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.bubble-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.bubble-3 {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 15%;
  animation-delay: 4s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(10px, 15px) rotate(5deg);
  }
  50% {
    transform: translate(20px, 10px) rotate(0deg);
  }
  75% {
    transform: translate(10px, 5px) rotate(-5deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

/* Section Titles */
.section-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  color: var(--dark-color);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-color);
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Services Preview */
.services-preview {
  background-color: white;
}

.service-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.service-icon i {
  font-size: 2rem;
  color: var(--primary-color);
}

.service-card:hover .service-icon {
  background: var(--primary-color);
  transform: scale(1.1);
}

.service-card:hover .service-icon i {
  color: white;
}

.service-card h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.service-card p {
  color: var(--gray-color);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Products Preview */
.products-preview {
  background-color: #f8fafc;
}

.product-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.product-icon {
  width: 60px;
  height: 60px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: var(--transition);
}

.product-icon i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.product-card:hover .product-icon {
  background: var(--primary-color);
  transform: scale(1.1);
}

.product-card:hover .product-icon i {
  color: white;
}

.product-card h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--dark-color);
}

.product-card .btn {
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
}

/* About Preview */
.about-preview {
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(37, 99, 235, 0.2), transparent);
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.7; /* Saydamlık eklendi */
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 1.5rem;
}

.about-content .section-title::after {
  left: 0;
  transform: none;
}

.about-features .feature-item h5 {
  margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonials {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(30, 64, 175, 0.03) 100%);
}

.testimonial-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.testimonial-content {
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-content::before {
  content: """;
  position: absolute;
  top: -20px;
  left: -15px;
  font-size: 5rem;
  color: rgba(37, 99, 235, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-content p {
  font-style: italic;
  color: var(--gray-color);
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-info h5 {
  margin-bottom: 0.25rem;
  color: var(--dark-color);
}

.author-info p {
  margin-bottom: 0;
  color: var(--gray-color);
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.cta-section h2 {
  color: white;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
}

.cta-buttons .btn {
  padding: 0.8rem 1.5rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: var(--transition);
  margin: 0.5rem;
}

.cta-buttons .btn-success {
  background-color: var(--success-color);
  border-color: var(--success-color);
}

.cta-buttons .btn-success:hover {
  background-color: #059669;
  border-color: #059669;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.cta-buttons .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.cta-buttons .btn-outline-light:hover {
  background-color: white;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
}

/* WhatsApp Floating Button - GÖRÜNÜR VE AKTİF */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 99999;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.whatsapp-float a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  background-color: #25D366;
  color: white !important;
  border-radius: 50%;
  font-size: 2.2rem;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  transition: all 0.3s ease;
  animation: whatsappPulse 2s infinite;
  text-decoration: none;
  border: 3px solid white;
}

.whatsapp-float a:hover {
  transform: scale(1.15) translateY(-5px);
  box-shadow: 0 10px 35px rgba(37, 211, 102, 0.7);
  color: white !important;
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.8);
  }
  70% {
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5), 0 0 0 20px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Contact Section */
.contact-card, .map-card {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.contact-card:hover, .map-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-header {
  background-color: var(--primary-color);
}

.contact-item h5 {
  color: var(--dark-color);
  font-size: 1.1rem;
}

/* Yeni İletişim İkonları */
.contact-icon-simple {
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.contact-icon-simple i {
  /* İkonu tam ortalamak için */
  display: flex;
  align-items: center;
  justify-content: center;
  /* İkonun ebeveynine göre tam ortalı olduğundan emin olmak için */
  width: 100%;
  height: 100%;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.contact-icon-map i {
  color: var(--primary-color);
}

.contact-icon-phone i {
  color: var(--accent-color);
}

.contact-icon-whatsapp i {
  color: var(--success-color);
}

.contact-icon-email i {
  color: var(--info-color);
}

.contact-icon-simple:hover i {
  transform: scale(1.2);
  color: var(--dark-color);
}

.map-embed {
  border-radius: 0;
  overflow: hidden;
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: rgba(255, 255, 255, 0.7);
}

.footer h5 {
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
}

.contact-item {
  display: flex;
  margin-bottom: 1rem;
}

.contact-item i {
  color: var(--primary-color);
  margin-right: 10px;
  margin-top: 4px;
  min-width: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.working-hours .hour-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.working-hours .hour-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  margin-right: 10px;
  transition: var(--transition);
}

.footer .social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0.5rem 0;
  }
  
  .product-card {
    padding: 1.25rem 0.75rem;
  }
  
  .product-icon {
    width: 50px;
    height: 50px;
  }
  
  .product-icon i {
    font-size: 1.25rem;
  }
  
  .product-card h4 {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .service-card,
  .product-card {
    padding: 1.5rem;
  }
  
  .top-bar .contact-info {
    text-align: center;
    margin-bottom: 10px;
  }
  
  .top-bar .social-links {
    text-align: center;
  }
  
  
  
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    display: block !important;
    visibility: visible !important;
  }
  
  .whatsapp-float a {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .product-card .btn {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .service-card,
  .product-card,
  .testimonial-card {
    padding: 1.25rem;
  }
  
  .top-bar .contact-info {
    text-align: center;
    margin-bottom: 10px;
    font-size: 0.8rem;
  }
  
  .top-bar .social-links {
    text-align: center;
  }
  
  .product-card {
    padding: 1rem 0.5rem;
  }
  
  .product-icon {
    width: 40px;
    height: 40px;
  }
  
  .product-icon i {
    font-size: 1rem;
  }
  
  .product-card h4 {
    font-size: 0.8rem;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
  }
}

/* "2003'ten Beri" Amblemi - Final Tasarım v3 */
.navbar-brand-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding-bottom: 20px; /* Alttaki yazı için boşluk */
}

.yerli-uretim-logo-side {
    width: 65px;
    height: auto;
    margin-left: 20px;
    transform: rotate(-10deg);
    transition: transform 0.3s ease;
}

.yerli-uretim-logo-side:hover {
    transform: rotate(0deg) scale(1.1);
}

.since-text-under {
    position: absolute;
    bottom: -5px;
    left: 0;
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
    font-size: 1.4rem;
    color: var(--gray-color);
    white-space: nowrap;
}

/* Referanslar Bölümü */
.reference-logo img {
    max-height: 60px;
    filter: grayscale(100%);
    transition: var(--transition);
}

.reference-logo img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Modern Product Detail Modal System - FIXED LAYOUT */
.product-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.product-modal {
    width: 95%;
    max-width: 1200px;
    max-height: calc(100vh - 40px);
    margin: 0;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-modal-overlay.active .product-modal {
    transform: scale(1);
}

/* Compact Modal Header - DARALTILMIŞ */
.modal-header.compact-header {
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    flex-shrink: 0;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header.compact-header h2 {
    font-size: 1.4rem;
    margin-bottom: 0;
    color: white;
    line-height: 1.2;
}

.modal-header.compact-header .header-title-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.modal-header.compact-header .product-category {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    background: var(--accent-color);
    color: white;
    border-radius: 4px;
    font-weight: 500;
    flex-shrink: 0;
}

/* Modal Content - 5 BLOK LAYOUT - GENIŞLETILMIŞ */
.modal-content {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 120px);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    flex: 1;
    padding: 0.6rem;
    gap: 0.6rem;
}

/* Üst Satır: 2 Blok (Sol: Bilgiler, Sağ: Görsel) */
.product-main-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 0.8rem;
    flex: 0.5;
    min-height: 0;
}

/* Sol Üst Blok: Ürün Bilgileri - İYİLEŞTİRİLMIŞ RENKLER */
.product-details {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e74c3c;
    border-radius: 12px;
    padding: 0.7rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.1);
}

.product-details p {
    font-size: 0.85rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0.4rem 0 0 0;
}

.product-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.3rem;
    padding: 0.3rem 0.5rem;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.05), rgba(231, 76, 60, 0.02));
    border-radius: 6px;
    font-size: 0.8rem;
    border-left: 3px solid #e74c3c;
    line-height: 1.2;
}

.product-features i {
    color: #e74c3c;
    margin-right: 0.7rem;
    width: 16px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Sağ Üst Blok: Ürün Görseli - İYİLEŞTİRİLMIŞ RENKLER */
.product-image-panel {
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    border: 1px solid #3498db;
    border-radius: 12px;
    padding: 0.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.1);
    overflow: hidden;
}

.product-image-panel .product-main-image {
    width: 100%;
    height: 100%;
    min-height: 240px;
    max-height: 290px;
    object-fit: contain;
    object-position: center;
    background: transparent;
    border-radius: 8px;
    padding: 0.1rem;
    margin: 0;
}

/* Navigation arrows - PENCERE KENARLARINDA */
.product-modal .navigation-arrows {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.95), rgba(41, 128, 185, 0.95));
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.product-modal .navigation-arrows:hover {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.95), rgba(192, 57, 43, 0.95));
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.5);
}

.product-modal-overlay.active .nav-prev {
    left: 30px;
}

.product-modal-overlay.active .nav-next {
    right: 30px;
}

/* Alt Satır: 3 Teknik Detay Bloğu */
.tech-specs-row {
    flex: 1;
    padding: 0;
    min-height: 0;
}

.tech-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    height: 100%;
}

.spec-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0fff4 100%);
    border: 1px solid #27ae60;
    border-radius: 12px;
    padding: 0.6rem;
    box-shadow: 0 4px 20px rgba(39, 174, 96, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.spec-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(39, 174, 96, 0.15);
}

.spec-card h4 {
    color: #27ae60;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 2px solid rgba(39, 174, 96, 0.2);
    padding-bottom: 0.3rem;
}

.spec-item {
    margin-bottom: 0.3rem;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid rgba(39, 174, 96, 0.1);
    font-size: 0.85rem;
}

.spec-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.spec-label {
    font-weight: 600;
    color: #2c3e50;
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
}

.spec-value {
    color: #5a6c7d;
    line-height: 1.4;
    font-size: 0.85rem;
}

/* RESPONSIVE DESIGN - CLEAR LAYOUTS */

/* RESPONSIVE DESIGN - 5 BLOK LAYOUT */

/* TABLET - 5 blok responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .modal-content {
        gap: 1rem;
        padding: 1rem;
    }
    
    .product-main-row {
        grid-template-columns: 1.3fr 1fr;
        gap: 1rem;
    }
    
    .product-details {
        padding: 1rem;
    }
    
    .product-details p {
        font-size: 0.95rem;
    }
    
    .product-features li {
        font-size: 0.85rem;
    }
    
    .product-image-panel {
        padding: 0.4rem;
    }
    
    .product-image-panel .product-main-image {
        min-height: 220px;
        max-height: 260px;
    }
    
    .tech-specs {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .spec-card {
        padding: 0.8rem;
    }
    
    .spec-card h4 {
        font-size: 0.9rem;
    }
    
    .modal-header.compact-header h2 {
        font-size: 1.6rem;
    }
}

/* MOBİL - Stack layout */
@media (max-width: 768px) {
    .product-modal-overlay {
        padding: 10px;
    }
    
    .product-modal {
        width: 100%;
        max-height: calc(100vh - 20px);
        border-radius: 15px;
    }
    
    .modal-content {
        gap: 0.8rem;
        padding: 0.8rem;
        overflow-y: auto;
        height: calc(100vh - 100px);
        max-height: calc(100vh - 100px);
        display: flex;
        flex-direction: column;
    }
    
    .product-main-row {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        flex: none;
        display: flex;
        flex-direction: column;
    }
    
    .product-image-panel {
        order: -1;
        padding: 1rem;
        height: 220px;
        flex-shrink: 0;
    }
    
    .product-image-panel .product-main-image {
        height: 100%;
        width: 100%;
        object-fit: contain;
        object-position: center;
    }
    
    .product-details {
        padding: 1rem;
        flex: 1;
        min-height: 0;
        overflow-y: auto;
    }
    
    .product-details p {
        font-size: 0.95rem;
    }
    
    .product-features li {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }
    
    .tech-specs {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }
    
    .spec-card {
        padding: 0.6rem;
    }
    
    .spec-card h4 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    /* Navigation arrows'ları mobilde gizle */
    .product-modal .navigation-arrows {
        display: none !important;
    }
    
    .modal-header.compact-header {
        padding: 0.4rem 1rem;
        min-height: 40px;
    }
    
    .modal-header.compact-header h2 {
        font-size: 1.2rem;
    }
    
    .modal-header.compact-header .header-title-row {
        gap: 0.6rem;
    }
    
    .modal-header.compact-header .product-category {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
}

/* Loading Animation */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.loading-spinner {
    display: flex;
    gap: 0.5rem;
}

.loading-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    animation: loading-bounce 1.4s infinite ease-in-out both;
}

.loading-dot:nth-child(1) { animation-delay: -0.32s; }
.loading-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes loading-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Modal Responsive Design */
@media (max-width: 768px) {
    .product-info {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons {
        grid-template-columns: 1fr;
    }
    
    .tech-specs {
        grid-template-columns: 1fr;
    }
    
    .navigation-arrows {
        display: none;
    }
    
    .modal-content {
        padding: 1rem;
    }
    
    .product-modal {
        width: 98%;
        max-height: 98vh;
    }
}

/* Header Actions for Modal */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-actions .native-share-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.header-actions .native-share-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    color: white;
}

.header-actions .whatsapp-btn {
    background: #25D366;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.header-actions .whatsapp-btn:hover {
    background: #1da851;
    transform: translateY(-2px);
    color: white;
}

/* Improved Modal Close Button */
.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}



/* Updated Product Info Layout */
.product-info {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    margin-bottom: 2rem;
}



.product-image-panel .product-gallery {
    position: relative;
    margin-bottom: 0;
}



/* Updated Navigation Arrows for Image Panel */
.product-image-panel .navigation-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 0.8rem;
}

.product-image-panel .navigation-arrows:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.product-image-panel .nav-prev {
    left: -17px;
}

.product-image-panel .nav-next {
    right: -17px;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .product-info {
        grid-template-columns: 1fr;
    }
    
    .product-image-panel {
        order: -1;
        position: relative;
        top: auto;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    
    .header-actions .native-share-btn,
    .header-actions .whatsapp-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}
/
* Share Modal Styles */
.share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    backdrop-filter: blur(5px);
}

.share-modal {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.share-modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.share-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.share-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.share-modal-content {
    padding: 1.5rem;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-color);
}

.share-option:hover {
    border-color: var(--primary-color);
    background: rgba(22, 103, 222, 0.05);
    transform: translateY(-2px);
}

.share-option i {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.share-option:nth-child(1) i { color: #25D366; } /* WhatsApp */
.share-option:nth-child(2) i { color: #0088cc; } /* Telegram */
.share-option:nth-child(3) i { color: #1877f2; } /* Facebook */
.share-option:nth-child(4) i { color: #1da1f2; } /* Twitter */
.share-option:nth-child(5) i { color: #666; } /* Copy */

@media (max-width: 480px) {
    .share-options {
        grid-template-columns: 1fr;
    }
    
    .share-option {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }
    
    .share-option i {
        margin-bottom: 0;
        margin-right: 1rem;
    }
}