/* --- Genel Reset & Tipografi --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Tahoma, sans-serif; line-height: 1.6; color: #333; }

/* --- Üst Bar (Header) --- */
header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; background: #fafafa; border-bottom: 1px solid #e0e0e0; position: sticky; top: 0; z-index: 10; }
.logo img { width: 120px; height: auto; display: block; }
nav { position: relative; }
nav ul { display: flex; gap: 1rem; list-style: none; }
nav a { text-decoration: none; padding: 0.5rem 1rem; border-radius: 4px; transition: background 0.2s, transform 0.1s; color: #333; }
nav a:hover { background: #e0e0e0; transform: translateY(-2px); }

/* Hamburger */
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* Sipariş Ver Butonu */
.order-btn { background: #25d366; color: #fff; font-weight: bold; }
.order-btn:hover { background: #1ebe57; }

/* --- Sineklik Çeşitleri --- */
.types { padding: 2rem 1rem; text-align: center; }
.types h2 { font-size: 2rem; margin-bottom: 1rem; }
.types ul { display: inline-flex; gap: 1rem; flex-wrap: wrap; list-style: none; }
.types li { background: #f5f5f5; padding: 0.75rem 1.25rem; border-radius: 20px; cursor: pointer; transition: background 0.2s, transform 0.1s; }
.types li:hover { background: #e0e0e0; transform: translateY(-2px); }

/* Renk Seçenekleri */
.color-options { text-align: center; font-size: 1rem; font-weight: 600; margin: 1rem 0; color: #333; }

/* --- Galeri --- */
.gallery { padding: 2rem 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.gallery-item img { width: 100%; height: auto; object-fit: cover; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.gallery-item figcaption { margin-top: 0.5rem; font-size: 0.9rem; text-align: center; color: #555; }

/* Instagram Notu */
.insta-note { text-align: center; margin: 1.5rem 0 2rem; font-size: 1rem; }
.insta-note a { color: #E1306C; text-decoration: none; font-weight: 600; }
.insta-note a:hover { text-decoration: underline; }

/* Footer */
footer { text-align: center; padding: 1rem; background: #fafafa; border-top: 1px solid #e0e0e0; font-size: 0.9rem; }

/* --- Hesaplama Sayfası --- */
.calculator { padding: 2rem 1rem; max-width: 500px; margin: 2rem auto; background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); text-align: center; }
.calculator h2 { margin-bottom: 1.5rem; }
.calc-inputs { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.calc-inputs label { display: flex; flex-direction: column; font-size: 0.9rem; text-align: left; }
.calc-inputs input { padding: 0.5rem; width: 120px; border: 1px solid #ccc; border-radius: 4px; }
#calculate { padding: 0.6rem 1.5rem; background: #007bff; color: #fff; border: none; border-radius: 4px; cursor: pointer; transition: background 0.2s, transform 0.1s; }
#calculate:hover { background: #0056b3; transform: translateY(-2px); }
#result { margin-top: 1.5rem; font-size: 1.1rem; }
.warning { background-color: #fff3cd; color: #856404; border: 1px solid #ffeeba; padding: 1rem; border-radius: 4px; margin-bottom: 1.5rem; font-size: 0.95rem; line-height: 1.4; }

/* --- Responsive --- */
@media (max-width: 800px) {
  .nav-toggle { display: block; }
  nav ul {
    position: absolute; top: 100%; right: 2rem; background: #fafafa;
    flex-direction: column; width: 200px; padding: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
  }
  nav ul.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
}
@media (max-width: 600px) {
  .types ul { flex-direction: column; }
  .calc-inputs { flex-direction: column; }
}
