/*
Theme Name: LiBlade
Theme URI: https://www.liblade.com
Author: LiBlade Team
Author URI: https://www.liblade.com
Description: Premium WordPress theme for LiBlade — precision EDC knives. Clean, modern, conversion-optimized design for international knife trade.
Version: 1.0.0
License: Proprietary
Text Domain: liblade
*/

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

:root {
  --color-black: #0f0f0f;
  --color-dark: #1a1a2e;
  --color-gold: #c0a060;
  --color-gold-light: #d4b870;
  --color-white: #ffffff;
  --color-bg: #f8f8f6;
  --color-text: #1a1a1a;
  --color-text-muted: #666666;
  --color-text-light: #999999;
  --color-border: #e0e0dc;
  --color-red: #c0392b;
  --color-blue: #2563eb;
  --color-purple: #6b21a8;
  --color-tag-red: #fce4e4;
  --color-tag-blue: #e4f0fc;
  --color-tag-purple: #ede4fc;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,.1);
  --max-width: 1200px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.site-header {
  background: var(--color-black);
  color: var(--color-white);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-branding .logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-white);
}
.site-branding .logo span { font-weight: 300; color: var(--color-text-light); }
.site-branding .site-description { display: none; }

/* Navigation */
.main-nav .nav-menu { display: flex; gap: 32px; list-style: none; }
.main-nav .nav-menu a { color: var(--color-text-light); font-size: 14px; transition: color .2s; }
.main-nav .nav-menu a:hover,
.main-nav .nav-menu .current-menu-item a { color: var(--color-white); }
.mobile-menu-toggle {
  display: none; background: none; border: none;
  color: var(--color-white); font-size: 24px; cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark) 50%, #16213e 100%);
  color: var(--color-white);
  text-align: center;
  padding: 100px 24px 80px;
}
.hero-content { max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 56px; font-weight: 700; letter-spacing: 6px; margin-bottom: 16px; }
.hero h1 span { color: var(--color-gold); }
.hero .hero-desc { font-size: 18px; color: #aaa; max-width: 600px; margin: 0 auto 24px; }
.hero-features { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.hero-features span {
  font-size: 13px; color: #888;
  padding: 6px 16px; border: 1px solid #333; border-radius: 20px;
}

/* Sections */
.section { max-width: var(--max-width); margin: 0 auto; padding: 72px 24px; }
.section-title { font-size: 32px; font-weight: 700; text-align: center; margin-bottom: 8px; letter-spacing: -0.5px; }
.section-subtitle { text-align: center; color: var(--color-text-muted); font-size: 15px; margin-bottom: 48px; }

/* Intro */
.intro .section-subtitle { max-width: 700px; margin: 0 auto 48px; }

/* Product Grid */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: var(--color-white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card .card-img { width: 100%; height: 260px; object-fit: cover; display: block; }
.product-card .card-body { padding: 20px 24px 24px; }
.product-card .badge {
  display: inline-block; padding: 3px 10px; font-size: 11px; font-weight: 600;
  letter-spacing: 1px; border-radius: 3px; margin-bottom: 10px;
}
.badge-red { background: var(--color-tag-red); color: var(--color-red); }
.badge-blue { background: var(--color-tag-blue); color: var(--color-blue); }
.badge-purple { background: var(--color-tag-purple); color: var(--color-purple); }
.product-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.product-card .specs { font-size: 13px; color: var(--color-text-muted); margin-bottom: 8px; }
.product-card .price { font-size: 22px; font-weight: 700; color: var(--color-black); margin-bottom: 8px; }
.product-card .price small { font-size: 13px; font-weight: 400; color: var(--color-text-light); }
.product-desc { font-size: 13px; color: #555; line-height: 1.7; margin-bottom: 14px; }
.card-features { display: flex; flex-wrap: wrap; gap: 6px; }
.card-features span {
  font-size: 11px; color: #666;
  padding: 3px 10px; background: #f5f5f5; border-radius: 3px;
}

/* Craft Section */
.craftsmanship { background: #f0efeb; padding: 80px 24px; max-width: 100%; }
.craftsmanship .section { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.craft-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; max-width: var(--max-width); margin: 0 auto; padding: 0; }
.craft-item { text-align: center; padding: 20px; }
.craft-icon { font-size: 36px; margin-bottom: 12px; }
.craft-item h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.craft-item p { font-size: 13px; color: var(--color-text-muted); line-height: 1.6; }

/* About Section */
.about-section .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about-text h3 { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.about-text p { font-size: 14px; color: #555; line-height: 1.8; margin-bottom: 12px; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.highlight-card {
  background: var(--color-white); border-radius: var(--radius-md);
  padding: 20px; box-shadow: var(--shadow-sm);
}
.highlight-card strong { display: block; font-size: 14px; margin-bottom: 4px; }
.highlight-card p { font-size: 13px; color: var(--color-text-muted); }

/* Contact Section */
.contact-section { text-align: center; }
.contact-cards { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.contact-card {
  background: var(--color-white); border-radius: var(--radius-lg);
  padding: 32px 40px; box-shadow: var(--shadow-sm);
  min-width: 220px; text-align: center;
}
.contact-card h3 { font-size: 14px; color: var(--color-text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.contact-card p { font-size: 16px; font-weight: 600; }

/* Footer */
.site-footer {
  background: var(--color-black); color: var(--color-text-muted);
  text-align: center; padding: 40px 24px; font-size: 13px;
}
.site-footer .footer-brand { font-size: 20px; font-weight: 700; color: #888; letter-spacing: 2px; margin-bottom: 8px; }
.site-footer .footer-brand span { color: var(--color-gold); }

/* Blog */
.entry-title { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.entry-meta { font-size: 13px; color: var(--color-text-light); margin-bottom: 24px; }
.entry-content { font-size: 15px; line-height: 1.8; color: #444; }

/* Widgets */
.widget { margin-bottom: 32px; }
.widget-title { font-size: 16px; font-weight: 600; margin-bottom: 12px; }

/* Responsive */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .craft-grid { grid-template-columns: 1fr 1fr; }
  .about-section .about-grid { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 36px; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; }
  .craft-grid { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
  .main-nav .nav-menu { display: none; }
  .mobile-menu-toggle { display: block; }
  .main-nav.toggled .nav-menu {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--color-black);
    padding: 16px 24px; gap: 16px;
  }
  .contact-cards { flex-direction: column; align-items: center; }
}

/* WordPress Core */
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin-right: 16px; }
.alignright { float: right; margin-left: 16px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--color-text-muted); text-align: center; margin-top: 8px; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
