/* 
 * 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 */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--success-color);
  color: white;
  border-radius: 50%;
  font-size: 2rem;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float a:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
  color: white;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 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 {
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

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

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

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

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

.contact-icon:hover {
  background-color: var(--primary-color);
  color: white !important;
  transform: scale(1.1);
}

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

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

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

.contact-icon-email:hover {
  background-color: var(--info-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;
  }
  
  .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);
}