/* ============================================
   SAFE STAR - Ana Stiller
   Renk Paleti: #F5C400 Sarı | #C41230 Kırmızı | #111111 Siyah
   ============================================ */

:root {
  --yellow:      #F5C400;
  --yellow-dark: #D4A800;
  --red:         #C41230;
  --red-light:   #E01535;
  --black:       #111111;
  --dark:        #1A1A1A;
  --dark2:       #222222;
  --dark3:       #2A2A2A;
  --white:       #FFFFFF;
  --muted:       rgba(255,255,255,0.55);
  --border:      rgba(255,255,255,0.08);
  --border-y:    rgba(245,196,0,0.25);

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 6px;
  --radius-lg: 10px;
  --transition: 0.22s ease;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font); border: none; outline: none; }

/* ── TYPOGRAPHY ── */
h1 { font-size: clamp(28px, 5vw, 42px); font-weight: 600; line-height: 1.15; }
h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 600; line-height: 1.2; }
h3 { font-size: 18px; font-weight: 500; }
p  { font-size: 14px; line-height: 1.75; }

/* ── NAVBAR ── */
#navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--black);
  border-bottom: 2px solid var(--yellow);
  padding: 0 32px;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.5); }

.nav-logo { display: flex; align-items: center; gap: 8px; }
.nav-logo img { height: 38px; width: auto; }

.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  font-size: 13px; color: var(--muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--yellow);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; gap: 8px; align-items: center; }

#lang-toggle {
  font-size: 11px; padding: 5px 12px;
  border: 1px solid var(--border-y);
  border-radius: var(--radius);
  color: var(--yellow);
  background: transparent;
  transition: background var(--transition);
}
#lang-toggle:hover { background: rgba(245,196,0,0.08); }

.btn-wa-nav {
  font-size: 12px; font-weight: 500;
  padding: 8px 16px;
  background: var(--yellow);
  color: var(--black);
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}
.btn-wa-nav:hover { background: var(--yellow-dark); transform: translateY(-1px); }

/* Mobile menu button */
#menu-toggle {
  display: none; background: transparent;
  flex-direction: column; gap: 4px; padding: 4px;
}
#menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all var(--transition);
}
#mobile-menu {
  display: none; position: fixed; top: 60px; left: 0; right: 0;
  background: var(--dark); border-bottom: 1px solid var(--border);
  padding: 16px 24px; z-index: 999;
  flex-direction: column; gap: 12px;
}
#mobile-menu.open { display: flex; }
#mobile-menu a { font-size: 14px; color: var(--muted); padding: 6px 0; border-bottom: 1px solid var(--border); }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--yellow); color: var(--black);
  font-size: 13px; font-weight: 500;
  padding: 12px 24px; border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-2px); }

.btn-whatsapp {
  background: transparent; color: #25D366;
  border: 1px solid #25D366;
  font-size: 13px; font-weight: 500;
  padding: 12px 24px; border-radius: var(--radius);
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-whatsapp:hover { background: #25D366; color: var(--white); transform: translateY(-2px); }

.btn-ghost {
  background: transparent; color: var(--muted);
  border: 1px solid var(--border);
  font-size: 13px; padding: 12px 24px; border-radius: var(--radius);
  transition: all var(--transition);
}
.btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,0.3); }

/* ── SECTION LAYOUT ── */
.section { padding: 72px 32px; }
.section-sm { padding: 48px 32px; }
.container { max-width: 1140px; margin: 0 auto; }

.section-label {
  font-size: 11px; font-weight: 500;
  color: var(--red-light);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.section-heading {
  font-size: clamp(22px, 3vw, 30px); font-weight: 600;
  color: var(--white); margin-bottom: 8px;
}
.section-sub {
  font-size: 14px; color: var(--muted); margin-bottom: 40px;
}

/* ── HERO ── */
.hero {
  background: var(--black);
  padding: 80px 32px 72px;
  position: relative; overflow: hidden;
}
.hero-bg-accent {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(196,18,48,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 20%, rgba(245,196,0,0.03) 0%, transparent 60%);
}
.hero-line {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--yellow) 0%, var(--red) 60%, transparent 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 640px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--yellow);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 22px;
}
.hero-badge::before { content: ''; display: block; width: 20px; height: 2px; background: var(--yellow); }
.hero-title { margin-bottom: 20px; }
.hero-title .accent-yellow { color: var(--yellow); }
.hero-title .accent-red    { color: var(--red-light); }
.hero-subtitle {
  font-size: 14px; color: var(--muted);
  line-height: 1.8; max-width: 500px; margin-bottom: 32px;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── STATS ── */
.stats-band {
  background: var(--yellow);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 24px 16px; text-align: center;
  border-right: 1px solid rgba(0,0,0,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 32px; font-weight: 700;
  color: var(--black); line-height: 1;
}
.stat-label { font-size: 12px; color: rgba(0,0,0,0.55); margin-top: 4px; }

/* ── CATEGORIES ── */
.categories-section { background: var(--black); }
.categories-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden;
}
.category-card {
  background: var(--dark2);
  padding: 20px 18px;
  display: flex; align-items: center; gap: 14px;
  cursor: pointer;
  transition: background var(--transition);
  border-bottom: 2px solid transparent;
  text-decoration: none;
}
.category-card:hover {
  background: var(--dark3);
  border-bottom-color: var(--yellow);
}
.cat-icon { font-size: 24px; flex-shrink: 0; }
.cat-name { font-size: 14px; font-weight: 500; color: var(--white); }
.cat-desc { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ── WHY US ── */
.why-section { background: var(--dark2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
  background: var(--dark);
  padding: 24px 20px;
  border-radius: var(--radius);
  border-top: 3px solid var(--yellow);
}
.why-icon { font-size: 26px; margin-bottom: 12px; }
.why-title { font-size: 14px; font-weight: 500; color: var(--white); margin-bottom: 8px; }
.why-desc { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── ATELIER ── */
.atelier-section {
  background: var(--black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.atelier-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.atelier-left { flex: 1; min-width: 280px; }
.atelier-label { font-size: 11px; color: var(--red-light); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.atelier-heading { font-size: clamp(22px,3vw,28px); font-weight: 600; color: var(--white); margin-bottom: 12px; }
.atelier-heading .hl { color: var(--yellow); }
.atelier-desc { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.atelier-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.atelier-tag {
  font-size: 12px; padding: 5px 12px;
  background: rgba(245,196,0,0.08);
  border: 1px solid rgba(245,196,0,0.2);
  border-radius: 20px; color: rgba(245,196,0,0.85);
}
.atelier-right { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
.atelier-stat {
  background: var(--dark2); border-radius: var(--radius-lg);
  padding: 18px 30px; text-align: center;
  border-top: 2px solid var(--red);
  min-width: 130px;
}
.atelier-stat-num { font-size: 28px; font-weight: 700; color: var(--white); }
.atelier-stat-label { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ── CTA BAND ── */
.cta-band {
  background: var(--yellow);
  padding: 44px 32px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-text .cta-heading { font-size: clamp(18px,2.5vw,24px); font-weight: 600; color: var(--black); margin-bottom: 4px; }
.cta-text .cta-sub { font-size: 13px; color: rgba(0,0,0,0.55); }
.cta-buttons { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.btn-cta-dark {
  background: var(--black); color: var(--white);
  font-size: 13px; font-weight: 500;
  padding: 12px 24px; border-radius: var(--radius);
  transition: background var(--transition);
}
.btn-cta-dark:hover { background: var(--dark2); }
.btn-cta-wa {
  background: #25D366; color: var(--white);
  font-size: 13px; font-weight: 500;
  padding: 12px 24px; border-radius: var(--radius);
  transition: background var(--transition);
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-cta-wa:hover { background: #1fa855; }

/* ── PRODUCT CARDS ── */
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.product-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(245,196,0,0.3); }
.product-img { height: 200px; overflow: hidden; background: var(--dark3); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-body { padding: 18px; }
.product-certs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.cert-badge {
  font-size: 10px; padding: 2px 7px;
  border: 1px solid rgba(245,196,0,0.3);
  border-radius: 3px; color: rgba(245,196,0,0.8);
}
.product-name { font-size: 15px; font-weight: 500; color: var(--white); margin-bottom: 8px; }
.product-desc { font-size: 12px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.product-actions { display: flex; gap: 8px; }
.btn-wa-product {
  flex: 1; background: var(--yellow); color: var(--black);
  font-size: 12px; font-weight: 500;
  padding: 9px 12px; border-radius: var(--radius);
  transition: background var(--transition);
}
.btn-wa-product:hover { background: var(--yellow-dark); }
.btn-detail {
  background: transparent; color: var(--muted);
  border: 1px solid var(--border);
  font-size: 12px; padding: 9px 12px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.btn-detail:hover { color: var(--white); border-color: rgba(255,255,255,0.3); }

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  padding: 56px 32px 24px;
  border-top: 3px solid var(--yellow);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-logo { font-size: 17px; font-weight: 600; color: var(--white); margin-bottom: 12px; }
.footer-logo .hl { color: var(--yellow); }
.footer-desc { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.footer-certs { display: flex; gap: 6px; flex-wrap: wrap; }
.footer-cert {
  font-size: 10px; padding: 3px 8px;
  border: 1px solid rgba(245,196,0,0.3);
  border-radius: 3px; color: rgba(245,196,0,0.7);
}
.footer-col-title { font-size: 13px; font-weight: 500; color: var(--white); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: var(--muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }

/* ── FLOATING WHATSAPP ── */
.float-wa {
  position: fixed; bottom: 24px; right: 24px;
  width: 54px; height: 54px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; cursor: pointer;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 9999;
  transition: transform var(--transition);
  animation: wa-pulse 3s ease-in-out infinite;
}
.float-wa:hover { transform: scale(1.1); }
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 4px 32px rgba(37,211,102,0.65); }
}

/* ── ANIMATIONS ── */
.animate-on-scroll {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
