/* Reset ve Base Stiller */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2c3e50;
  --secondary-color: #e74c3c;
  --accent-color: #f39c12;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --bg-light: #ffffff;
  --bg-section: #f8f9fa;
  --border-color: #ecf0f1;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px; /* kenarlarda az boşluk */
  box-sizing: border-box;
}


/* Header */
.main-header {
  background: var(--bg-light);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.main-header .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  text-decoration: none;
  color: var(--text-dark);
}

.logo h1 {
  font-family: 'Pacifico', cursive;
  font-size: 1.8rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.logo:hover h1 {
  color: var(--secondary-color);
  transform: scale(1.05);
}

/* Hero Section */
.hero-section {
  background: var(--gradient);
  color: white;
  padding: 80px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.03"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.hero-section h2 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-btn {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-btn:hover {
  background: #c0392b;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.cta-btn i {
  font-size: 1.2rem;
}

.products-section {
  padding: 60px 20px;
  background: #fafafa;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}


.products-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr); 
  gap: 30px;
  justify-content: center; /* son satırda ortala */
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Tablet */
@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 sütun */
  }
}

/* Telefon */
@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr; /* 1 sütun */
  }
}


.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.product-card img {
  width: 100%;
  height: 200px;       /* aynı yükseklikte olsun */
  object-fit: cover;   /* taşma olmasın */
  display: block;
}

.product-card h3 {
  font-size: 1.2rem;
  padding: 15px;
  color: #444;
}

/* Tablet görünümü */
@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 sütun */
  }
}

/* Telefon görünümü */
@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr; /* tek sütun */
  }
}


.section-description {
  text-align: center;      /* Ortalar */
  font-size: 1.1rem;       /* Okunaklı boyut */
  color: #555;             /* Daha yumuşak koyu gri */
  line-height: 1.6;        /* Satırlar arası boşluk */
  max-width: 800px;        /* Satır genişliğini sınırlayarak okunabilirliği artır */
  margin: 0 auto 40px;     /* Ortala ve alt boşluk bırak */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern, temiz font */
}


.testimonials-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.slider-container {
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.slider-content img {
  box-shadow: var(--shadow);

}


/* Footer */
.main-footer {
  background: var(--primary-color);
  color: white;
  text-align: center;
  padding: 2rem 0;
}

.main-footer p {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .logo h1 {
    font-size: 1.5rem;
  }
  
  .hero-section {
    padding: 120px 0 60px;
  }
  
  .hero-section h2 {
    font-size: 2rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  .cta-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .product-card img {
    height: 200px;
  }
  
  .product-card h3 {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
  
  .products-section,
  .testimonials-section {
    padding: 60px 0;
  }
  
  .slider-content img {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-section h2 {
    font-size: 1.8rem;
  }
  
  .hero-section p {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .slider-content img {
    height: 250px;
  }
}

/* Hover Effects ve Mikroanimasyonlar */
.product-card {
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition);
  z-index: 1;
}

.product-card:hover::before {
  left: 100%;
}

/* Scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Focus states for accessibility */
.cta-btn:focus,
.logo:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Loading states */
.product-card img {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.product-card img[src] {
  animation: none;
  background: none;
}

/* Print styles */
@media print {
  .main-header,
  .cta-btn,
  .slider-container {
    display: none;
  }
  
  .hero-section {
    background: none;
    color: var(--text-dark);
    padding: 2rem 0;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
}