/*
Theme Name: Weprof Kurumsal
Theme URI: https://weprof.com/
Author: Disalab
Description: Weprof profesyonel kozmetik markası için hızlı, erişilebilir ve mobil uyumlu kurumsal tema.
Version: 1.0.0
Text Domain: weprof
*/

:root {
  --ink: #171717;
  --muted: #686868;
  --paper: #ffffff;
  --soft: #f5f5f2;
  --line: #deded8;
  --accent: #f4a000;
  --accent-dark: #c57d00;
  --sage: #657a68;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 999; background: #fff; padding: 10px 14px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav-row { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 190px; height: auto; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 650; }
.main-nav a { padding: 28px 0 24px; border-bottom: 3px solid transparent; }
.main-nav a:hover, .main-nav a:focus-visible { border-color: var(--accent); }
.shop-link, .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 750;
  transition: .2s ease;
}
.shop-link:hover, .button:hover { background: var(--accent); border-color: var(--accent); color: #111; }
.button.secondary { background: transparent; color: var(--ink); }
.button.secondary:hover { background: var(--ink); color: #fff; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--ink); }

.hero { min-height: 620px; display: grid; align-items: end; color: #fff; background: #1b101e center/cover no-repeat; position: relative; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,8,14,.82), rgba(12,8,14,.20) 66%, rgba(12,8,14,.05)); }
.hero-copy { position: relative; z-index: 1; padding: 92px 0 78px; max-width: 650px; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-family: Georgia, serif; font-size: clamp(42px, 6vw, 78px); line-height: 1.02; font-weight: 500; letter-spacing: 0; }
.hero p { max-width: 590px; font-size: 19px; color: #f0ecec; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .button.secondary { color: #fff; border-color: #fff; }
.hero .button.secondary:hover { background: #fff; color: #111; }

.section { padding: 86px 0; }
.section.soft { background: var(--soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.section-head h2, .story h2 { margin-bottom: 8px; font-family: Georgia, serif; font-size: clamp(32px, 4vw, 50px); line-height: 1.12; font-weight: 500; }
.section-head p { max-width: 570px; margin-bottom: 0; color: var(--muted); }
.categories { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.category { min-height: 184px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.category strong { display: block; margin-bottom: 42px; color: var(--accent-dark); font-size: 13px; }
.category h3 { margin-bottom: 8px; font-size: 21px; }
.category p { margin: 0; color: var(--muted); font-size: 14px; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(0,0,0,.09); }
.product-image { aspect-ratio: 1 / 1; padding: 20px; background: #fafafa; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: contain; }
.product-copy { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.product-copy small { color: var(--accent-dark); font-weight: 750; }
.product-copy h3 { margin: 7px 0 10px; font-size: 18px; line-height: 1.25; }
.product-copy p { color: var(--muted); font-size: 14px; }
.product-copy .card-link { margin-top: auto; font-weight: 800; }
.product-copy .card-link::after { content: " \2192"; color: var(--accent-dark); }

.story { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.story-media { aspect-ratio: 4 / 3; overflow: hidden; background: #eee; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story p { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 32px; background: var(--line); border: 1px solid var(--line); }
.fact { padding: 18px; background: #fff; }
.fact strong { display: block; font-size: 25px; }
.fact span { color: var(--muted); font-size: 13px; }

.cta-band { padding: 64px 0; background: var(--ink); color: #fff; }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta-row h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(28px, 4vw, 44px); font-weight: 500; }

.site-footer { padding: 58px 0 24px; background: #0d0d0d; color: #ddd; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; }
.footer-logo { width: 180px; padding: 10px; background: #fff; }
.site-footer h3 { color: #fff; font-size: 14px; text-transform: uppercase; }
.site-footer p, .site-footer a { color: #aaa; font-size: 14px; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 18px; border-top: 1px solid #292929; font-size: 12px; color: #777; }

.cookie-banner { position: fixed; z-index: 200; left: 20px; right: 20px; bottom: 20px; display: none; max-width: 760px; margin: auto; padding: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0,0,0,.22); }
.cookie-banner.is-open { display: flex; align-items: center; gap: 18px; }
.cookie-banner p { margin: 0; font-size: 13px; color: var(--muted); }
.cookie-banner button { flex: 0 0 auto; border: 0; padding: 11px 16px; background: var(--ink); color: #fff; font-weight: 750; cursor: pointer; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 78px 0 auto; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 18px 20px 28px; background: #fff; border-bottom: 1px solid var(--line); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 0; }
  .main-nav .shop-link { margin-top: 10px; padding: 0 20px; }
  .categories, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .nav-row { min-height: 68px; }
  .brand img { width: 160px; }
  .main-nav { top: 68px; }
  .hero { min-height: 580px; background-position: 40% center; }
  .hero-copy { padding: 68px 0 52px; }
  .hero p { font-size: 16px; }
  .section { padding: 60px 0; }
  .section-head, .cta-row { align-items: flex-start; flex-direction: column; }
  .categories, .product-grid { grid-template-columns: 1fr; }
  .category { min-height: 150px; }
  .facts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .cookie-banner.is-open { align-items: stretch; flex-direction: column; }
}

