/*
Theme Name: OhShitCo
Theme URI: https://ohshitco.com
Author: OhShitCo
Description: Bold consumer advocacy brand. Dark hero sections, clean white content, high contrast. The place for all your oh shit moments.
Version: 2.0.0
Text Domain: ohshitco
*/

/* ===== VARIABLES ===== */
:root {
  --black: #0a0a0a;
  --near-black: #111113;
  --dark: #18181b;
  --dark-card: #1c1c1f;
  --dark-surface: #222225;
  --red: #e63232;
  --red-hover: #d42b2b;
  --red-dark: #b52828;
  --red-glow: rgba(230, 50, 50, 0.12);
  --red-subtle: rgba(230, 50, 50, 0.06);
  --white: #ffffff;
  --off-white: #fafaf9;
  --cream: #f5f5f0;
  --light-surface: #eeeeea;
  --text-white: #ffffff;
  --text-dark: #1a1a1a;
  --text-body: #3d3d3d;
  --text-light: #6b6b6b;
  --text-muted: #999999;
  --text-on-dark: #b0b0b0;
  --text-on-dark-bright: #d4d4d4;
  --border-dark: #2a2a2d;
  --border-light: #e0e0dc;
  --green: #22c55e;
  --amber: #f59e0b;
  --navy: #1a2a4a;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-dark: 0 12px 40px rgba(0,0,0,0.5);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --max-width: 1200px;
  --content-width: 800px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--text-body); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--red-hover); }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; }
p { margin-bottom: 1rem; }

/* ===== LAYOUT ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--content-width); margin: 0 auto; }
.section-dark { background: var(--black); color: var(--text-white); }
.section-light { background: var(--white); color: var(--text-dark); }
.section-cream { background: var(--cream); color: var(--text-dark); }
.section-pad { padding: 80px 0; }
.section-pad-lg { padding: 100px 0; }

/* ===== HEADER ===== */
.site-header {
  background: var(--black);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-dark);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10, 10, 10, 0.92);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.logo-icon {
  width: 38px; height: 38px; border-radius: 10px; background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 11px; color: white; letter-spacing: 0.5px;
  transition: var(--transition);
}
.site-logo:hover .logo-icon { transform: scale(1.05); box-shadow: 0 0 20px var(--red-glow); }

.logo-wordmark {
  font-family: var(--font-heading); font-weight: 800; font-size: 18px; color: white; letter-spacing: -0.3px;
}
.logo-wordmark span { color: var(--red); }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  color: var(--text-on-dark); font-size: 14px; font-weight: 500; padding: 8px 14px;
  border-radius: 6px; transition: var(--transition); font-family: var(--font-body);
}
.main-nav a:hover { color: white; background: rgba(255,255,255,0.06); }
.main-nav a.active { color: white; }

.nav-dropdown { position: relative; }
.nav-dropdown-trigger { cursor: pointer; display: flex; align-items: center; gap: 4px; }
.nav-dropdown-trigger::after { content: '▾'; font-size: 10px; opacity: 0.5; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0; background: var(--dark); border: 1px solid var(--border-dark);
  border-radius: var(--radius); padding: 8px; min-width: 220px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: var(--transition); box-shadow: var(--shadow-dark);
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; font-size: 13px;
}
.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.06); }
.nav-dropdown-menu .dd-icon { font-size: 18px; width: 24px; text-align: center; }

.nav-cta {
  background: var(--red) !important; color: white !important; font-weight: 600 !important;
  padding: 8px 20px !important; border-radius: 6px !important;
}
.nav-cta:hover { background: var(--red-hover) !important; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(230,50,50,0.3); }

.mobile-toggle { display: none; background: none; border: none; color: white; font-size: 24px; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  background: var(--black);
  padding: 140px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(230,50,50,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: 'OH SHIT';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 20vw;
  color: rgba(255,255,255,0.015);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 15px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--red); border: none;
  padding: 12px 32px; border-radius: 100px;
  font-size: 15px; font-weight: 700; color: white;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 28px; font-family: var(--font-body);
  box-shadow: 0 4px 20px rgba(230,50,50,0.4);
}
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: white; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
  font-size: clamp(3.5rem, 9vw, 7rem);
  color: white;
  line-height: 0.95;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -2px;
}
.hero h1 .accent { color: var(--red); }
.hero h1 .thin { font-weight: 300; color: var(--text-on-dark-bright); }

.hero-sub {
  font-size: 18px; color: var(--text-on-dark); max-width: 580px; margin: 0 auto 40px; line-height: 1.7;
}

.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 8px; font-size: 15px; font-weight: 600;
  font-family: var(--font-body); text-decoration: none; transition: var(--transition);
  cursor: pointer; border: none; position: relative;
}
.btn-red { background: var(--red); color: white; }
.btn-red:hover { background: var(--red-hover); color: white; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(230,50,50,0.35); }
.btn-white { background: white; color: var(--text-dark); }
.btn-white:hover { background: var(--off-white); color: var(--text-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.2); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.04); color: white; }
.btn-outline-dark { background: transparent; color: var(--text-dark); border: 1.5px solid var(--border-light); }
.btn-outline-dark:hover { border-color: var(--text-dark); background: var(--cream); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--dark); border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark);
  padding: 16px 0;
}
.trust-items { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; }
.trust-item { font-size: 13px; color: var(--text-on-dark); display: flex; align-items: center; gap: 8px; font-weight: 500; }
.trust-check { color: var(--green); font-size: 14px; }

/* ===== CATEGORY SELECTOR ===== */
.category-section { background: var(--white); padding: 80px 0; }
.section-eyebrow {
  font-size: 12px; font-weight: 700; color: var(--red); letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 12px; font-family: var(--font-body);
}
.section-title { font-size: 2.5rem; color: var(--text-dark); margin-bottom: 8px; letter-spacing: -1px; }
.section-subtitle { font-size: 17px; color: var(--text-light); max-width: 500px; margin-bottom: 40px; line-height: 1.7; }

.category-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}

.category-card {
  background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-xl);
  padding: 28px 24px; text-align: center; transition: var(--transition); text-decoration: none; display: block;
  position: relative; overflow: hidden;
}
.category-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.category-card:hover { border-color: rgba(230,50,50,0.3); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.category-card:hover::before { transform: scaleX(1); }

.cat-icon { font-size: 36px; margin-bottom: 14px; display: block; }
.category-card h3 { font-family: var(--font-heading); font-size: 16px; color: var(--text-dark); margin-bottom: 6px; font-weight: 700; text-transform: none; letter-spacing: -0.3px; }
.category-card p { font-size: 13px; color: var(--text-light); margin: 0; line-height: 1.5; }

/* ===== SITUATION CARDS (wider, within category pages) ===== */
.situation-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.situation-card {
  background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 24px; transition: var(--transition); text-decoration: none; display: block;
}
.situation-card:hover { border-color: rgba(230,50,50,0.3); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.situation-card h3 { font-family: var(--font-heading); font-size: 15px; color: var(--text-dark); margin-bottom: 6px; font-weight: 600; }
.situation-card p { font-size: 13px; color: var(--text-light); margin: 0; }

/* ===== FEATURES SECTION ===== */
.features-section { background: var(--black); padding: 80px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.feature-card {
  background: var(--dark-card); border: 1px solid var(--border-dark); border-radius: var(--radius-lg);
  padding: 28px; transition: var(--transition);
}
.feature-card:hover { border-color: var(--border-dark); background: var(--dark-surface); }
.feature-icon { font-size: 28px; margin-bottom: 14px; display: block; }
.feature-card h3 { font-family: var(--font-heading); color: white; font-size: 16px; margin-bottom: 6px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.feature-card p { font-size: 14px; color: var(--text-on-dark); margin: 0; line-height: 1.6; }

/* ===== ABOUT / STORY ===== */
.story-section { background: var(--cream); padding: 80px 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.story-quote {
  font-family: var(--font-heading); font-size: 2.75rem; color: var(--text-dark); line-height: 1.1;
  font-weight: 800; letter-spacing: -1.5px;
}
.story-quote .accent { color: var(--red); }
.story-text p { font-size: 16px; color: var(--text-body); line-height: 1.8; }

/* ===== PRODUCTS ===== */
.products-section { background: var(--white); padding: 80px 0; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 32px; }
.product-card {
  background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-xl);
  padding: 28px; text-align: center; transition: var(--transition); position: relative;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-card.featured { border-color: var(--red); }
.product-badge {
  display: inline-block; background: var(--red); color: white; font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px;
}
.product-card h3 { font-family: var(--font-heading); font-size: 17px; color: var(--text-dark); margin-bottom: 4px; font-weight: 700; }
.product-price { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; color: var(--text-dark); margin: 8px 0; letter-spacing: -1px; }
.product-price .old { font-size: 1.2rem; color: var(--text-muted); text-decoration: line-through; font-weight: 400; }
.product-card p { font-size: 13px; color: var(--text-light); margin-bottom: 16px; }
.product-features { list-style: none; padding: 0; margin: 16px 0; text-align: left; }
.product-features li {
  padding: 5px 0; font-size: 13px; color: var(--text-body); display: flex; align-items: flex-start; gap: 8px;
}
.product-features li::before { content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ===== CTA BANNER ===== */
.cta-section {
  background: var(--red); padding: 64px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(0,0,0,0.15) 0%, transparent 60%);
}
.cta-section h2 { font-family: var(--font-heading); color: white; font-size: 2.5rem; margin-bottom: 12px; letter-spacing: -1px; position: relative; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 17px; max-width: 500px; margin: 0 auto 28px; position: relative; }

/* ===== EMAIL CAPTURE ===== */
.email-bar {
  background: var(--cream); border: 1px solid var(--border-light); border-radius: var(--radius-xl);
  padding: 24px 28px; display: flex; align-items: center; gap: 20px;
}
.email-bar-icon { font-size: 32px; flex-shrink: 0; }
.email-bar-content { flex: 1; }
.email-bar-content h4 { font-family: var(--font-heading); font-size: 16px; color: var(--text-dark); margin-bottom: 2px; }
.email-bar-content p { font-size: 13px; color: var(--text-light); margin: 0; }

/* ===== CONTENT PAGES ===== */
.page-hero { background: var(--black); padding: 120px 0 56px; text-align: center; position: relative; }
.page-hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(230,50,50,0.06) 0%, transparent 50%);
}
.page-hero h1 { color: white; font-size: 2.75rem; margin-bottom: 10px; letter-spacing: -1px; position: relative; }
.page-hero p { color: var(--text-on-dark); font-size: 17px; margin: 0; position: relative; }
.page-hero-breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; position: relative; }
.page-hero-breadcrumb a { color: var(--red); }

.page-content { padding: 56px 0; }
.content-with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 48px; }
.main-content h2 { font-family: var(--font-heading); color: var(--red); font-size: 1.5rem; margin-top: 40px; margin-bottom: 12px; padding-top: 24px; border-top: 1px solid var(--border-light); font-weight: 700; letter-spacing: -0.5px; }
.main-content h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.main-content h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; color: var(--text-dark); }
.main-content ul, .main-content ol { margin: 0 0 16px 20px; }
.main-content li { margin-bottom: 6px; line-height: 1.7; }

/* ===== STEP BOXES ===== */
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: white;
  font-weight: 700; font-size: 15px; font-family: var(--font-heading); flex-shrink: 0;
}
.step-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.step-header h2, .step-header h3 { margin: 0 !important; padding: 0 !important; border: none !important; }

/* ===== TIP / WARNING / DANGER BOXES ===== */
.tip-box { background: #f0fdf4; border-left: 4px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; margin: 20px 0; }
.tip-box strong { color: #166534; }
.warning-box { background: #fffbeb; border-left: 4px solid var(--amber); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; margin: 20px 0; }
.warning-box strong { color: #92400e; }
.danger-box { background: #fef2f2; border-left: 4px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; margin: 20px 0; }
.danger-box strong { color: var(--red); }

/* ===== SIDEBAR ===== */
.sidebar-widget { background: var(--cream); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 20px; }
.sidebar-widget h4 { font-family: var(--font-heading); font-size: 14px; color: var(--text-dark); margin-bottom: 12px; font-weight: 700; }
.sidebar-cta {
  background: var(--black); color: white; border-radius: var(--radius-xl); padding: 28px; margin-bottom: 20px;
}
.sidebar-cta h4 { color: white; font-family: var(--font-heading); font-size: 17px; margin-bottom: 8px; }
.sidebar-cta p { color: var(--text-on-dark); font-size: 13px; margin-bottom: 16px; }

/* ===== TABLES ===== */
.styled-table { width: 100%; border-collapse: collapse; margin: 20px 0; border-radius: var(--radius); overflow: hidden; }
.styled-table th { background: var(--black); color: white; padding: 12px 16px; text-align: left; font-size: 13px; font-weight: 600; font-family: var(--font-heading); }
.styled-table td { padding: 10px 16px; border-bottom: 1px solid var(--border-light); font-size: 14px; }
.styled-table tr:nth-child(even) { background: var(--cream); }

/* ===== BLOG ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.blog-card {
  background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-xl);
  overflow: hidden; transition: var(--transition); text-decoration: none; display: block;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-card-image { height: 180px; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.blog-card-content { padding: 20px; }
.blog-card-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.blog-card-content h3 { font-family: var(--font-heading); font-size: 17px; color: var(--text-dark); margin-bottom: 6px; font-weight: 600; }
.blog-card-content p { font-size: 14px; color: var(--text-light); margin: 0; }

/* ===== FOOTER ===== */
.site-footer { background: var(--black); color: var(--text-on-dark); padding: 56px 0 0; border-top: 1px solid var(--border-dark); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 12px; color: var(--text-muted); }
.footer-col h4 { color: white; font-family: var(--font-heading); font-size: 13px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-muted); font-size: 14px; padding: 4px 0; }
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid var(--border-dark); padding: 20px 0; font-size: 11px; color: var(--text-muted);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
}
.footer-disclaimer { max-width: 640px; line-height: 1.6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .content-with-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 968px) {
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
  .main-nav.open {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--near-black); padding: 16px; border-bottom: 1px solid var(--border-dark); gap: 2px;
  }
  .nav-dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: transparent; }
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 640px) {
  .hero { padding: 110px 0 64px; }
  .hero h1 { font-size: 2.75rem; }
  .category-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .email-bar { flex-direction: column; text-align: center; }
  .section-pad { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-items { gap: 16px; }
}
