/* CSS kodları yukarıda zaten gömülüydü, ayrıca ayırdık */
:root {
  --primary-color: #1a1a1a;
  --accent-color: #e6b800;
  --background-color: #f8f8f8;
  --card-shadow: rgba(0, 0, 0, 0.1);
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: var(--background-color);
  color: var(--primary-color);
  opacity: 0;
  transition: opacity 0.4s ease-in;
}

body.loaded {
  opacity: 1;
}

header {
  padding: 1rem;
  text-align: center;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: var(--background-color);
  color: var(--primary-color);
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  margin: 0;
  padding: 0;
}

.sticky-header .logo {
  height: 85px;
  display: block;
  margin: 0 auto;
  padding: 10px 0;
}

/* 🔥 Tam genişlikte, sıfır boşluklu şerit */
.juice-strip {
  width: 100vw;
  margin: 0;
  padding: 6px 0;
  background-color: #001f3f;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  gap: 8px;
  box-sizing: border-box;
}

.juice-strip img {
  height: 24px;
  width: 24px;
  border-radius: 50%;
  object-fit: cover;
}

@media screen and (min-width: 768px) {
  .sticky-header .logo {
    height: 72px;
    padding: 12px 0;
  }

  .juice-strip {
    font-size: 13px;
    gap: 6px;
    padding: 5px 0;
  }

  .juice-strip img {
    height: 20px;
    width: 20px;
  }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

.product-card {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px var(--card-shadow);
  overflow: hidden;
  transition: transform 0.2s;
  cursor: pointer;
}

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

.product-card img {
  width: 100%;
  height: 220px; /* Sabit yükseklik */
  object-fit: cover; /* Oran bozulmaz, kırpar */
  display: block;
}

.product-info {
  padding: 1rem;
}

.product-name {
  font-size: 1.1rem;
  font-weight: bold;
  color: #20214F;
}

.product-content,
.product-price {
  font-size: 0.95rem;
  margin-top: 0.5rem;
  color: #20214F;
}

footer {
  text-align: center;
  padding: 1rem;
}

.instagram-link img {
  width: 28px;
  height: 28px;
}

.modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal.hidden {
  display: none;
}

.modal-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}