/*
Theme Name: Northline Men
Theme URI: https://example.com/northline-men
Author: Enes Yazılım
Author URI: https://example.com
Description: Premium erkek giyim mağazaları için WooCommerce uyumlu WordPress teması.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: northline-men
Tags: e-commerce, custom-logo, custom-menu, featured-images, block-styles, wide-blocks
*/

:root {
  --ink: #080808;
  --muted: #62676f;
  --line: #dedede;
  --soft: #f7f4f0;
  --cherry: #8f1732;
  --gold: #c7a25a;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
img, video { display: block; max-width: 100%; }
.container { width: min(100% - 48px, 1460px); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid rgba(8,8,8,.08);
  box-shadow: 0 18px 45px rgba(8,8,8,.08);
}
.site-header::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg,#050505,var(--cherry),#050505); }
.header-inner { min-height: 104px; display: grid; grid-template-columns: minmax(210px,260px) minmax(420px,1fr) auto; gap: 44px; align-items: center; }
.brand { position: relative; color: var(--ink); font-size: 28px; font-weight: 900; text-decoration: none; text-transform: uppercase; line-height: 1; }
.brand img { max-height: 58px; width: auto; }
.brand small { display: block; margin-top: 5px; color: #9a9a9a; font-size: 12px; font-weight: 400; }
.brand::after { content: "Premium"; position: absolute; left: 0; top: calc(100% + 7px); padding: 4px 9px; border: 1px solid rgba(143,23,50,.28); border-radius: 999px; color: var(--cherry); background: #fff8fa; font-size: 11px; font-weight: 900; }
.nav { justify-self: center; display: flex; justify-content: center; gap: 6px; padding: 8px; border: 1px solid rgba(8,8,8,.08); border-radius: 999px; background: var(--soft); box-shadow: inset 0 1px 0 rgba(255,255,255,.8),0 10px 24px rgba(8,8,8,.05); color: #6a6e75; font-size: 14px; font-weight: 900; text-transform: uppercase; }
.nav ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nav a { min-height: 38px; display: inline-grid; place-items: center; padding: 0 14px; border-radius: 999px; color: inherit; text-decoration: none; transition: .2s ease; }
.nav a:hover, .nav .current-menu-item > a { color: #fff; background: #050505; box-shadow: 0 8px 18px rgba(8,8,8,.18); }
.header-search { display: grid; grid-template-columns: 220px 82px; border: 1px solid rgba(8,8,8,.12); border-radius: 999px; overflow: hidden; background: #fff; box-shadow: 0 10px 24px rgba(8,8,8,.06); }
.header-search input { min-width: 0; border: 0; padding: 0 18px; outline: 0; }
.header-search button { min-height: 44px; border: 0; border-left: 1px solid rgba(8,8,8,.12); background: #050505; color: #fff; font-weight: 800; }

.hero { min-height: 680px; display: grid; align-items: stretch; background: #050505; color: #fff; }
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; min-height: 680px; }
.hero-copy { display: grid; align-content: center; padding: 80px max(48px, calc((100vw - 1460px) / 2)) 80px 48px; background: #050505; }
.hero-copy .kicker, .section-kicker { color: var(--cherry); font-size: 13px; font-weight: 900; letter-spacing: 5px; text-transform: uppercase; }
.hero h1 { max-width: 720px; margin: 16px 0 24px; font-size: clamp(54px,7vw,104px); line-height: .92; }
.hero p { max-width: 620px; color: #ddd; font-size: 20px; line-height: 1.7; }
.hero-media { position: relative; overflow: hidden; min-height: 520px; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.solid-btn, .outline-btn, .button, .wp-element-button { min-height: 48px; display: inline-grid; place-items: center; padding: 0 22px; border: 1px solid #050505; text-decoration: none; font-weight: 900; }
.solid-btn, .button, .wp-element-button { background: #050505; color: #fff; }
.outline-btn { background: #fff; color: #050505; }
.compact { min-height: 42px; margin-top: 16px; font-size: 14px; }

.section { padding: 72px 0; }
.soft-band { background: var(--soft); padding: 64px 0; }
.blog-section { padding-top: 64px; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2 { margin: 12px 0 18px; font-size: clamp(38px,5vw,68px); line-height: .98; }
.lead, .section-head p { color: var(--muted); font-size: 19px; line-height: 1.7; }
.category-layout { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 28px; }
.category-box { border: 1px solid var(--line); background: #fff; padding: 22px; }
.category-box h3 { margin: 0 0 18px; font-size: 24px; }
.category-box ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.category-box a { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); color: #394150; text-decoration: none; font-weight: 800; }

.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.product-card { position: relative; background: #fff; text-align: center; box-shadow: 0 18px 48px rgba(8,8,8,.08); }
.product-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.product-card div { padding: 22px; }
.product-card h3 { margin: 0 0 10px; font-size: 22px; }
.price { display: block; font-weight: 900; color: #050505; }
.badge { position: absolute; top: 14px; right: 14px; background: #f10d0d; color: #fff; padding: 8px 14px; font-weight: 900; }

.split-feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.feature-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.feature-list span { min-height: 78px; display: grid; align-items: center; padding: 20px; border: 1px solid rgba(8,8,8,.1); background: #fff; font-weight: 900; }
.post-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.post-grid article, .post-card { overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 18px 46px rgba(8,8,8,.06); }
.post-grid article img, .post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-grid article h2, .post-card h2 { margin: 0; padding: 22px 22px 8px; font-size: 24px; }
.post-grid article h2 a { text-decoration: none; }
.post-grid article p, .post-card p { margin: 0; padding: 0 22px 24px; color: var(--muted); line-height: 1.65; }
.text-link { display: inline-flex; margin: 0 22px 24px; color: var(--cherry); font-weight: 900; text-decoration: none; }
.text-link:hover { color: #050505; }

.site-footer { padding: 48px 0 0; background: #050505; color: #e9e9e9; font-family: Georgia,"Times New Roman",serif; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 30px; }
.site-footer h3 { margin: 0 0 15px; color: var(--cherry); font-size: 22px; }
.site-footer p, .site-footer a, .site-footer li { color: #e2e2e2; font-size: 15px; line-height: 1.5; text-decoration: none; }
.site-footer ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.footer-bottom { border-top: 1px solid rgba(143,23,50,.42); padding: 14px 0; color: #aaa; text-align: center; font-size: 14px; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.social-links a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(143,23,50,.55); border-radius: 50%; color: #fff; background: var(--cherry); font-size: 0; }
.social-links a::first-letter { font-size: 16px; font-weight: 900; }
.floating-contact { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 58px; height: 58px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: var(--cherry); color: #fff; box-shadow: 0 18px 38px rgba(8,8,8,.28); font-size: 0; text-decoration: none; }
.floating-contact::before { content: "WA"; font-size: 15px; font-weight: 900; }

.entry-content { max-width: 920px; margin: 60px auto; line-height: 1.8; font-size: 18px; }
.entry-content img { height: auto; }
.entry-content h1 { font-size: clamp(42px,6vw,78px); line-height: .98; }
.entry-content a { color: var(--cherry); }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { text-align: center; }

@media (max-width: 980px) {
  .header-inner, .hero-grid, .category-layout, .footer-grid, .split-feature { grid-template-columns: 1fr; gap: 22px; }
  .nav { justify-content: flex-start; flex-wrap: wrap; border-radius: 18px; }
  .nav ul { flex-wrap: wrap; }
  .header-search { grid-template-columns: 1fr 82px; }
  .product-grid, .post-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1460px); }
  .product-grid, .post-grid, .feature-list { grid-template-columns: 1fr; }
  .hero-copy { padding: 56px 28px; }
  .hero h1 { font-size: 52px; }
}
