/* surefootskisocks.com — master stylesheet
   Design language inspired by alpinsokker.no
   Black hero · white type · red accent · premium technical */

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

:root {
  --black: #0a0a0a;
  --dark: #1a1a1a;
  --dark-2: #2a2a2a;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --red: #E63946;
  --red-dark: #c12734;
  --gray: #888;
  --gray-light: #ccc;
  --max-width: 1280px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}

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

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

.accent { color: var(--red); }

p { margin-bottom: 1rem; }

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.site-header.transparent {
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
}

.site-header.transparent .nav a,
.site-header.transparent .logo {
  color: var(--white);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--black);
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.nav a:hover { color: var(--red); }
.nav a.active { color: var(--red); border-bottom: 2px solid var(--red); padding-bottom: 4px; }

.lang-switcher {
  display: flex;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 2rem;
}
.lang-switcher a {
  padding: 0.25rem 0.5rem;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.lang-switcher a:hover, .lang-switcher a.active { opacity: 1; color: var(--red); }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%), url('https://images.unsplash.com/photo-1551524559-8af4e6624178?w=1920') center/cover;
  background-blend-mode: overlay;
  color: var(--white);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  color: var(--gray-light);
}

.hero p.lead {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  max-width: 480px;
  color: rgba(255,255,255,0.85);
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-dark); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-secondary:hover { background: var(--white); color: var(--black); }

.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover { background: var(--red); }

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
  color: var(--gray-light);
}

/* Product card floating on hero */
.hero-product {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
}
.hero-product .sock-img {
  width: 100%;
  max-width: 220px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(180deg, #2a2a2a 0%, #0a0a0a 100%);
  aspect-ratio: 1 / 1.5;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  opacity: 0.8;
}
.hero-product .product-name { font-size: 0.75rem; letter-spacing: 0.1em; opacity: 0.6; }
.hero-product .product-title { font-weight: 800; font-size: 1.1rem; margin: 0.5rem 0; }
.hero-product .product-price { color: var(--red); font-weight: 700; }

/* === TRUST BANNER (red bar) === */
.trust-banner {
  background: var(--red);
  color: var(--white);
  padding: 1rem 2rem;
}
.trust-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.trust-item { display: flex; align-items: center; gap: 0.5rem; }

/* === SECTIONS === */
section { padding: 5rem 2rem; }
section.dark { background: var(--black); color: var(--white); }
section.dark p { color: rgba(255,255,255,0.8); }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 1rem;
}
.section-intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-intro h2 { margin-bottom: 1rem; }

/* === PRODUCT GRID === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.product-card {
  background: var(--off-white);
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s;
  border: 1px solid #eee;
}
.product-card:hover { transform: translateY(-4px); }
.product-card .sock-img {
  width: 100%;
  aspect-ratio: 1 / 1.5;
  background: linear-gradient(180deg, #2a2a2a 0%, #0a0a0a 100%);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  opacity: 0.8;
  color: white;
}
.product-card .product-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.product-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.product-card .price { font-size: 1.25rem; font-weight: 700; margin: 1rem 0; }

/* === FEATURE BLOCKS === */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
}
.feature h3 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.feature .feature-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  display: block;
}

/* === CONTENT PAGES (long-form articles) === */
.article-hero {
  background: var(--black);
  color: var(--white);
  padding: 8rem 2rem 5rem;
}
.article-hero-inner { max-width: 800px; margin: 0 auto; }
.article-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}
.article-hero .lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  max-width: 680px;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.article-body h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: 1.75rem;
  text-transform: none;
  letter-spacing: -0.01em;
}
.article-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  text-transform: none;
}
.article-body p, .article-body ul, .article-body ol {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  color: var(--dark);
}
.article-body ul, .article-body ol { padding-left: 1.5rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-body strong { color: var(--black); font-weight: 700; }
.article-body blockquote {
  border-left: 4px solid var(--red);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--dark);
}

/* In-article product callout */
.product-callout {
  background: var(--off-white);
  border: 2px solid var(--red);
  padding: 2rem;
  margin: 3rem 0;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
.product-callout .sock-mini {
  background: linear-gradient(180deg, #2a2a2a 0%, #0a0a0a 100%);
  aspect-ratio: 1 / 1.5;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
}
.product-callout h4 { font-size: 1rem; text-transform: uppercase; margin-bottom: 0.25rem; }
.product-callout p { font-size: 0.9rem; margin-bottom: 0; color: var(--gray); }

/* === FOOTER === */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
footer ul { list-style: none; }
footer li { margin-bottom: 0.5rem; font-size: 0.9rem; }
footer a:hover { color: var(--red); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 1rem;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-product { max-width: 320px; margin: 0 auto; }
  .nav { gap: 1rem; }
  .nav a { font-size: 0.75rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .product-callout { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 600px) {
  .header-inner { padding: 0.75rem 1rem; }
  .nav { display: none; }
  .lang-switcher { margin-left: 0; }
  .hero { padding: 0 1rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .trust-inner { font-size: 0.7rem; gap: 0.75rem; }
  section { padding: 3rem 1rem; }
  .footer-inner { grid-template-columns: 1fr; }
}
