@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light: #38bdf8;
  --accent: #06b6d4;
  --bg-dark: #090d16;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --success: #22c55e;
  --warning: #f59e0b;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.2s ease, background 0.2s ease;
}

.navbar.scrolled { padding: 12px 40px; background: rgba(9, 13, 22, 0.96); }

.logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.5rem; font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.logo span {
  color: var(--primary-light);
}

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-weight: 500;
  font-size: 0.95rem; transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

.nav-cta {
  padding: 10px 22px; border: none; border-radius: 8px; cursor: pointer;
  font-weight: 600; font-size: 0.9rem; font-family: inherit;
  background: var(--primary);
  color: white; transition: background 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-cta:hover { background: var(--primary-dark); }

.cart-badge-count {
  background: #ef4444; color: white;
  font-size: 0.75rem; padding: 2px 6px; border-radius: 10px;
  font-weight: 700;
}

.mobile-toggle { display: none; background: none; border: none; color: white; font-size: 1rem; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 85vh;
  display: flex; align-items: center;
  padding: 120px 40px 80px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.25; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,13,22,0.7) 0%, rgba(9,13,22,0.95) 100%);
}

.hero-content { position: relative; z-index: 1; max-width: 760px; }

.hero-badge {
  display: inline-block;
  padding: 6px 14px; border-radius: 6px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.25);
  color: var(--primary-light); font-size: 0.85rem; font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3.2rem; font-weight: 800; line-height: 1.15;
  margin-bottom: 20px; letter-spacing: -0.5px;
}
.hero h1 span {
  color: var(--primary-light);
}

.hero p {
  font-size: 1.1rem; color: var(--text-muted); margin-bottom: 32px;
  max-width: 600px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  padding: 12px 28px; border-radius: 8px; border: none; cursor: pointer;
  font-weight: 600; font-size: 0.95rem; font-family: inherit;
  transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary-light); color: var(--primary-light); }

.hero-stats {
  display: flex; gap: 48px; margin-top: 50px;
  border-top: 1px solid var(--border); padding-top: 30px;
}
.stat h3 { font-size: 1.8rem; font-weight: 800; color: var(--primary-light); }
.stat p { font-size: 0.85rem; color: var(--text-muted); }

/* ===== SECTIONS ===== */
section { padding: 80px 40px; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; }
.section-header h2 span { color: var(--primary-light); }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 1rem; }

/* ===== PRODUCTS ===== */
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px; max-width: 1200px; margin: 0 auto;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden; transition: border-color 0.2s, transform 0.2s;
}
.product-card:hover { border-color: var(--primary-dark); transform: translateY(-4px); }

.product-img-wrap { overflow: hidden; position: relative; }
.product-img { width: 100%; height: 210px; object-fit: cover; }
.product-badge {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 10px; border-radius: 4px;
  background: var(--primary-dark); color: white;
  font-size: 0.75rem; font-weight: 700;
}

.product-info { padding: 20px; }
.product-info h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.product-info p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 16px; min-height: 42px; }
.product-price { font-size: 1.4rem; font-weight: 800; color: var(--primary-light); margin-bottom: 16px; }
.product-price small { font-size: 0.85rem; color: var(--text-muted); font-weight: 400; }

.product-actions { display: flex; gap: 8px; }
.btn-add {
  flex: 1; padding: 10px; border: none; border-radius: 6px; cursor: pointer;
  font-weight: 600; font-family: inherit; font-size: 0.9rem;
  background: var(--primary);
  color: white; transition: background 0.2s;
}
.btn-add:hover { background: var(--primary-dark); }
.btn-qty {
  width: 38px; height: 38px; border: 1px solid var(--border);
  border-radius: 6px; background: var(--bg-glass); color: white;
  font-size: 1.1rem; cursor: pointer; transition: border-color 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.btn-qty:hover { border-color: var(--primary); }
.qty-display { width: 34px; height: 38px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; }

/* ===== FEATURES ===== */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px; max-width: 1200px; margin: 0 auto;
}
.feature-card {
  padding: 28px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
}
.feature-title {
  color: var(--primary-light); font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 8px;
}
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ===== ORDER FORM ===== */
#siparis { background: rgba(15, 23, 42, 0.4); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.order-container {
  max-width: 800px; margin: 0 auto;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px;
}

.order-summary {
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: 8px; padding: 20px; margin-bottom: 28px;
}
.order-summary h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
#cart-items { list-style: none; }
#cart-items li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
#cart-items li:last-child { border: none; }
.cart-item-name { color: var(--text); }
.cart-item-price { color: var(--primary-light); font-weight: 600; }
.cart-item-remove {
  background: none; border: 1px solid var(--border); color: #f87171;
  cursor: pointer; font-size: 0.75rem; padding: 2px 6px; border-radius: 4px;
}
.cart-item-remove:hover { border-color: #f87171; }
.cart-total {
  display: flex; justify-content: space-between;
  padding-top: 14px; margin-top: 8px; border-top: 2px solid var(--border);
  font-size: 1.1rem; font-weight: 700;
}
.cart-total span:last-child { color: var(--primary-light); }
.empty-cart { color: var(--text-muted); font-size: 0.88rem; text-align: center; padding: 12px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 500; font-size: 0.85rem; color: var(--text-muted); }
.form-group input, .form-group textarea, .form-group select {
  padding: 12px 14px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--bg-dark);
  color: var(--text); font-family: inherit; font-size: 0.9rem;
  outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group select option { background: var(--bg-dark); }

.btn-submit {
  width: 100%; padding: 14px; border: none; border-radius: 8px;
  background: var(--primary);
  color: white; font-size: 1rem; font-weight: 700;
  font-family: inherit; cursor: pointer; margin-top: 20px;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--primary-dark); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; max-width: 1000px; margin: 0 auto;
}
.contact-card {
  padding: 28px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
  text-align: center;
}
.contact-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.contact-card p { color: var(--text-muted); font-size: 0.9rem; }
.contact-card a { color: var(--primary-light); text-decoration: none; font-weight: 500; }

/* ===== FOOTER ===== */
.footer {
  padding: 32px; text-align: center;
  border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.85rem;
}

/* ===== TOAST ===== */
.toast-container { position: fixed; top: 80px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast {
  padding: 12px 20px; border-radius: 8px;
  background: #1e293b; border: 1px solid var(--primary);
  color: var(--text); font-size: 0.88rem; font-weight: 500;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

/* ===== MODAL ===== */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px; text-align: center;
  max-width: 420px; width: 90%;
}
.modal h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; }
.modal p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar { padding: 12px 20px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #090d16; padding: 20px;
    border-bottom: 1px solid var(--border);
  }
  .hero { padding: 100px 20px 50px; min-height: auto; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  section { padding: 50px 20px; }
  .section-header h2 { font-size: 1.7rem; }
  .form-grid { grid-template-columns: 1fr; }
  .order-container { padding: 20px; }
}
