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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background: #f4f4f4;
}

a { text-decoration: none; color: inherit; }

/* ── RENK PALETİ ── */
:root {
  --orange: #F5821F;
  --purple: #7B2FC9;
  --blue: #1AA8E8;
  --dark: #0D1530;
  --dark2: #1a1a3a;
}

/* ── ANNOUNCEMENT BAR ── */
.announcement-bar {
  background: var(--purple);
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 8px 16px;
  letter-spacing: 0.3px;
}

.announcement-bar span {
  color: #FFD700;
  font-weight: 700;
}

/* ── HEADER ── */
header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 48px;
  gap: 24px;
}

.logo {
  height: 80px;
  width: auto;
  display: block;
}

.search-bar {
  flex: 1;
  max-width: 520px;
  display: flex;
  border: 2px solid var(--orange);
  border-radius: 8px;
  overflow: hidden;
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 16px;
  font-size: 14px;
  color: #333;
}

.search-bar button {
  background: var(--orange);
  border: none;
  padding: 0 20px;
  cursor: pointer;
  color: #fff;
  font-size: 18px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  color: #555;
  cursor: pointer;
  gap: 3px;
  transition: color 0.2s;
}

.action-btn:hover { color: var(--orange); }

.action-btn .icon { font-size: 22px; }

.cart-btn {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── NAV ── */
.header-nav {
  background: #fff;
  border-top: 1px solid #f0f0f0;
  padding: 0 48px;
  display: flex;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: block;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-item > a:hover,
.nav-item:hover > a {
  color: var(--orange);
  background: #fff8f4;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #eee;
  border-top: 2px solid var(--orange);
  border-radius: 0 0 8px 8px;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  z-index: 300;
}

.nav-item:hover .dropdown { display: block; }

.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: #444;
  border-bottom: 1px solid #f9f9f9;
  transition: background 0.15s, color 0.15s;
}

.dropdown a:hover {
  background: #fff8f4;
  color: var(--orange);
}

/* ── HERO BANNER ── */
.hero {
  background: linear-gradient(120deg, #0D1530 0%, #1a1a3a 50%, #0D1530 100%);
  padding: 64px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 400px;
}

.hero-text h1 {
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  max-width: 500px;
}

.hero-text h1 span { color: var(--orange); }

.hero-text p {
  margin-top: 16px;
  font-size: 16px;
  color: #aab;
  max-width: 420px;
  line-height: 1.7;
}

.hero-btn {
  display: inline-block;
  margin-top: 32px;
  background: var(--orange);
  color: #fff;
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s, transform 0.1s;
}

.hero-btn:hover {
  background: #d4691a;
  transform: translateY(-2px);
}

.hero-visual { font-size: 140px; line-height: 1; }

/* ── SECTION ── */
.section {
  padding: 48px 48px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  color: #222;
  border-left: 4px solid var(--orange);
  padding-left: 12px;
}

.see-all {
  font-size: 13px;
  color: var(--orange);
  font-weight: 600;
  transition: opacity 0.2s;
}

.see-all:hover { opacity: 0.75; }

/* ── PRODUCT GRID ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.1);
}

.product-img-wrap {
  position: relative;
  background: #f9f9f9;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 88px;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e53935;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.favorite-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.favorite-btn:hover { border-color: var(--orange); }

.product-info {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.product-name {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
  flex: 1;
  margin-bottom: 12px;
}

.product-name:hover { color: var(--orange); }

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.price-old {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
}

.price-new {
  font-size: 18px;
  font-weight: 800;
  color: var(--orange);
}

.price-kdv {
  font-size: 10px;
  color: #aaa;
}

.add-to-cart {
  display: block;
  width: 100%;
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 11px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s;
}

.add-to-cart:hover { background: #d4691a; }

/* ── CATEGORY CARDS ── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  text-decoration: none;
  background: #fff;
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid #e8e8e8;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
  box-shadow: 0 6px 20px rgba(242, 101, 34, 0.12);
}

.category-card .icon { font-size: 44px; display: block; margin-bottom: 10px; }

.category-card h3 { font-size: 14px; font-weight: 700; color: #333; }

/* ── BANNER ── */
.promo-banner {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  margin: 0 48px;
  border-radius: 12px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.promo-banner h2 { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.promo-banner p { font-size: 16px; opacity: 0.9; }

.promo-btn {
  background: #fff;
  color: var(--orange);
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
  transition: transform 0.2s;
}

.promo-btn:hover { transform: translateY(-2px); }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: #aaa;
  padding: 56px 48px 28px;
  margin-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  font-size: 26px;
  margin-bottom: 14px;
  display: block;
}

.footer-brand p { font-size: 13px; line-height: 1.8; max-width: 260px; }

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid #333;
}

.footer-col a {
  display: block;
  color: #999;
  font-size: 13px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--orange); }

.footer-contact p {
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.social-links { display: flex; gap: 12px; }

.social-links a {
  background: #2a2a2a;
  color: #aaa;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: background 0.2s, color 0.2s;
}

.social-links a:hover { background: var(--orange); color: #fff; }

/* ── WHATSAPP ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25d366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* ── TABLET (max 1024px) ── */
@media (max-width: 1024px) {
  .header-top { padding: 12px 24px; gap: 16px; }
  .header-nav { padding: 0 24px; }
  .section { padding: 40px 24px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .promo-banner { margin: 0 24px; padding: 36px; }
  .hero { padding: 48px 24px; }
  .hero-text h1 { font-size: 34px; }
  .hero-visual { font-size: 100px; }
}

/* ── MOBİL (max 768px) ── */
@media (max-width: 768px) {
  .announcement-bar { font-size: 11px; padding: 7px 12px; }

  /* Header */
  .header-top {
    padding: 10px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .logo { height: 52px; }

  .search-bar {
    order: 3;
    width: 100%;
    max-width: 100%;
    flex: none;
  }

  .header-actions { gap: 12px; }
  .action-btn span:not(.icon):not(.cart-count) { display: none; }
  .action-btn .icon { font-size: 26px; }

  /* Nav — yatay scroll */
  .header-nav {
    padding: 0 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .header-nav::-webkit-scrollbar { display: none; }
  .nav-item > a { padding: 11px 12px; font-size: 13px; }
  .dropdown { display: none !important; }

  /* Hero */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
    min-height: auto;
    gap: 24px;
  }
  .hero-text h1 { font-size: 26px; max-width: 100%; }
  .hero-text p { font-size: 14px; max-width: 100%; }
  .hero-btn { padding: 12px 28px; font-size: 14px; }
  .hero-visual { font-size: 72px; }

  /* Sections */
  .section { padding: 28px 16px; }
  .section-title { font-size: 18px; }

  /* Grids */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Product card */
  .product-img-wrap { height: 150px; font-size: 64px; }
  .product-info { padding: 10px; }
  .product-name { font-size: 12px; }
  .price-new { font-size: 15px; }
  .add-to-cart { font-size: 12px; padding: 9px; }

  /* Category card */
  .category-card { padding: 20px 12px; }
  .category-card .icon { font-size: 36px; }
  .category-card h3 { font-size: 13px; }

  /* Promo banner */
  .promo-banner {
    margin: 0 16px;
    padding: 28px 20px;
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .promo-banner h2 { font-size: 22px; }
  .promo-banner p { font-size: 14px; }

  /* Footer */
  footer { padding: 40px 16px 20px; margin-top: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  /* WhatsApp */
  .whatsapp-float { width: 48px; height: 48px; font-size: 24px; bottom: 20px; right: 20px; }
}

/* ── KÜÇÜK MOBİL (max 400px) ── */
@media (max-width: 400px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 22px; }
}
