body {
  box-sizing: border-box;
}

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

html, body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f5f5;
  color: #333;
  overflow-x: hidden;
  width: 100%;
  height: 100%;
  position: relative;
}

.stars-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.star {
  position: absolute;
  background: linear-gradient(to bottom, rgba(220, 38, 38, 0.8), rgba(220, 38, 38, 0.2));
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(220, 38, 38, 0.6), 0 0 12px rgba(220, 38, 38, 0.4);
}

.star.small {
  width: 1px;
  height: 40px;
}

.star.medium {
  width: 2px;
  height: 60px;
}

.star.large {
  width: 2px;
  height: 80px;
}

@keyframes moveStar {
  0% {
    transform: translateY(100vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(100px) rotate(5deg);
    opacity: 0;
  }
}

.star.moving {
  animation: moveStar linear infinite;
}

.page {
  display: none;
  min-height: 100%;
  width: 100%;
  animation: fadeIn 0.5s ease-in;
  position: relative;
  z-index: 1;
}

.page.active {
  display: block;
}

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

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

.navbar {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  width: 100%;
  position: relative;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #dc2626;
  animation: slideInLeft 0.8s ease-out;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.logo-text {
  display: inline-block;
}

.logo span {
  color: #f5f5f5;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  animation: slideInRight 0.8s ease-out;
  flex-wrap: wrap;
}

.nav-link {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  background: #dc2626;
  transform: translateY(-2px);
}

.hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 50%, #dc2626 100%);
  padding: 6rem 2rem;
  text-align: center;
  color: #f5f5f5;
  width: 100%;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  animation: fadeIn 1s ease-out;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: slideInLeft 1s ease-out;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  color: #e5e5e5;
  animation: slideInRight 1s ease-out;
}

.cta-button {
  background: #dc2626;
  color: #f5f5f5;
  padding: 1rem 3rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}

.cta-button:hover {
  background: #b91c1c;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.6);
}

.section {
  padding: 5rem 1.5rem;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  scroll-margin-top: 80px;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #000000;
  position: relative;
  animation: fadeIn 0.8s ease-out;
}

.section-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: #dc2626;
  margin: 1rem auto 0;
  border-radius: 2px;
}

.category-section {
  margin-bottom: 4rem;
}

.category-section.hidden {
  display: none;
}

/* Kategori Filtre Butonları */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.filter-button {
  background: white;
  color: #333;
  border: 2px solid #e5e5e5;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-button:hover {
  border-color: #dc2626;
  color: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

.filter-button.active {
  background: #dc2626;
  color: white;
  border-color: #dc2626;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.filter-button i {
  font-size: 0.9rem;
}

#products .section-title {
  margin-bottom: 3rem;
}

.products-category-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: white;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border-left: 4px solid #dc2626;
  transition: all 0.3s ease;
}

.products-category-header:hover {
  transform: translateX(3px);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.12);
}

.category-icon {
  font-size: 2.5rem;
  min-width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border-radius: 12px;
}

.category-icon i {
  font-size: 2.5rem;
  color: #dc2626;
}

.category-info h3 {
  font-size: 1.75rem;
  color: #000;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.category-info p {
  color: #666;
  font-size: 1rem;
  margin: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

#categories .products-grid {
  grid-template-columns: repeat(4, 1fr);
}

#products .products-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.15);
  border-color: #dc2626;
}

.product-image-container {
  width: 100%;
  height: 260px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  background: #ffffff;
  transition: transform 0.4s ease;
}

/* Dokunmatik ekran kategorisindeki ürünler için resimlerin tam görünmesi */
.product-img.touchscreen-img {
  object-fit: contain;
  padding: 10px;
  background: #ffffff;
}

.product-card:hover .product-img {
  transform: scale(1.1);
}

.product-image-fallback {
  font-size: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #dc2626;
}

.product-image-fallback i {
  font-size: 5rem;
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #000;
  font-weight: 600;
  line-height: 1.3;
}

.product-info p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  flex-grow: 1;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.feature-badge {
  background: #fee2e2;
  color: #dc2626;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
}

.product-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: #dc2626;
  margin-bottom: 1rem;
}

.btn-secondary {
  background: #000;
  color: #fff;
  padding: 0.85rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-size: 0.95rem;
  margin-top: auto;
}

.btn-secondary:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
  padding: 2.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid #fee2e2;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #dc2626 0%, #b91c1c 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.2);
  border-color: #dc2626;
  background: linear-gradient(135deg, #ffffff 0%, #fee2e2 100%);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #dc2626;
}

.feature-icon i {
  font-size: 3rem;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #000;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

.about-content {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  line-height: 1.8;
  animation: fadeIn 0.8s ease-out;
}

.about-content p {
  margin-bottom: 1.5rem;
  color: #333;
  font-size: 1.1rem;
}

.contact-form {
  background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
  padding: 4rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  max-width: 1000px;
  margin: 0 auto;
  animation: fadeIn 0.8s ease-out;
  border: 2px solid #fee2e2;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #dc2626 0%, #b91c1c 100%);
}

.whatsapp-button {
  background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
  color: white;
  padding: 1.2rem 3rem;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  margin-top: 2rem;
  width: 100%;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.whatsapp-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.whatsapp-button:hover::before {
  width: 300px;
  height: 300px;
}

.whatsapp-button:hover {
  background: linear-gradient(135deg, #20BA5A 0%, #1DA851 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-button i {
  font-size: 1.8rem;
  position: relative;
  z-index: 1;
}

.whatsapp-button span {
  position: relative;
  z-index: 1;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-weight: bold;
  color: #000;
  font-size: 1.1rem;
}

.form-group label i {
  color: #dc2626;
  font-size: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  font-family: inherit;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
  transform: translateY(-2px);
}

.form-group textarea {
  resize: vertical;
  min-height: 180px;
}

.contact-info {
  margin-top: 3rem;
  text-align: center;
}

.contact-info p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #333;
}

.contact-info strong {
  color: #dc2626;
}

.contact-form-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-form-header h3 {
  font-size: 2rem;
  color: #000;
  margin-bottom: 0.5rem;
}

.contact-form-header p {
  color: #666;
  font-size: 1.1rem;
}

footer {
  background: #000;
  color: #f5f5f5;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
  width: 100%;
}

footer p {
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.social-links a {
  color: #f5f5f5;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  color: #dc2626;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .nav-menu {
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .logo-img {
    height: 35px;
  }
  
  .hero {
    padding: 3rem 1rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .category-filters {
    gap: 0.75rem;
    padding: 0 0.5rem;
  }
  
  .filter-button {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .products-category-header {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .category-icon {
    font-size: 3rem;
  }
  
  .category-info h3 {
    font-size: 1.6rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  #categories .products-grid {
    grid-template-columns: 1fr;
  }
  
  .product-info h3 {
    min-height: auto;
  }
  
  .about-content,
  .contact-form {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .category-icon {
    font-size: 2.5rem;
    min-width: 60px;
    height: 60px;
  }
  
  .category-info h3 {
    font-size: 1.3rem;
  }
  
  .product-image-container {
    height: 220px;
  }
}

/* Ürün Detay Modal */
.product-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

.product-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.product-modal-content {
  background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.4s ease;
  border: 2px solid #fee2e2;
  display: flex;
  flex-direction: column;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2.5rem;
  border-bottom: 2px solid #fee2e2;
  background: linear-gradient(135deg, #ffffff 0%, #fee2e2 100%);
  border-radius: 20px 20px 0 0;
}

.product-modal-title {
  font-size: 2rem;
  color: #000;
  font-weight: 700;
  margin: 0;
}

.product-modal-close {
  background: #dc2626;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.product-modal-close:hover {
  background: #b91c1c;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

.product-modal-body {
  padding: 2.5rem;
  overflow-y: auto;
  flex: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.product-modal-image-container {
  width: 100%;
  height: 500px;
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid #fee2e2;
  position: sticky;
  top: 0;
}

.product-modal-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-modal-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-modal-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  text-align: left;
}

.product-modal-description strong {
  color: #000;
  font-size: 1.15rem;
}

.product-modal-description ul {
  margin-top: 0.5rem;
  padding-left: 1.5rem;
}

.product-modal-description li {
  margin-bottom: 0.5rem;
  color: #555;
  line-height: 1.6;
}

.product-modal-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.product-modal-feature-badge {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid #fecaca;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.15);
}

.product-modal-price-button {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-align: center;
  margin: 2rem 0 0 0;
  padding: 1.5rem 2.5rem;
  background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
  border-radius: 50px;
  border: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
}

.product-modal-price-button:hover {
  background: linear-gradient(135deg, #20BA5A 0%, #1DA851 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.product-modal-price-button i {
  font-size: 1.8rem;
}

@media (max-width: 768px) {
  .product-modal.active {
    padding: 1rem;
  }
  
  .product-modal-content {
    max-height: 95vh;
  }
  
  .product-modal-header {
    padding: 1.5rem;
  }
  
  .product-modal-title {
    font-size: 1.5rem;
  }
  
  .product-modal-body {
    padding: 1.5rem;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .product-modal-image-container {
    height: 300px;
    padding: 1.5rem;
    position: relative;
  }
  
  .product-modal-description {
    font-size: 1rem;
  }
  
  .product-modal-price-button {
    font-size: 1.2rem;
    padding: 1.2rem 2rem;
  }
  
  .product-modal-price-button i {
    font-size: 1.5rem;
  }
}

/* Referanslar Bölümü */
.references-section {
  background: transparent;
  padding: 2rem 1.5rem;
}

.references-section .section-title {
  margin-bottom: 1.5rem;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.reference-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  padding: 0.5rem;
}

.reference-item:hover {
  transform: translateY(-5px);
}

.reference-image-wrapper {
  width: 100%;
  max-width: 160px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 0;
  margin: 0 0 0.5rem 0;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  overflow: hidden;
}

.reference-item:hover .reference-image-wrapper {
  background: #ffffff;
  border-color: #dc2626;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.1);
}

.reference-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin: 0;
  padding: 0;
  display: block;
}

.reference-name {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .references-section {
    padding: 1.5rem 1rem;
  }
  
  .references-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.2rem;
  }
  
  .reference-image-wrapper {
    max-width: 140px;
    height: 120px;
    padding: 0;
  }
  
  .reference-name {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .references-section {
    padding: 1rem 0.5rem;
  }
  
  .references-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .reference-image-wrapper {
    max-width: 120px;
    height: 100px;
    padding: 0;
  }
}