/* Story Theme - Editorial & Magazine */
/* Classic, content-focused design for storytelling brands */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Serif+Pro:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@400;500;600&display=swap');

:root {
  --primary: #374151;
  --primary-rgb: 55, 65, 81;
  --primary-dark: #1F2937;
  --hov-primary: #1F2937;
  --soft-primary: rgba(55, 65, 81, 0.1);
  --secondary: #111827;
  --accent: #DC2626;
  --success: #059669;
  --warning: #D97706;
  --danger: #DC2626;
  --light: #F9FAFB;
  --dark: #111827;
  --gray: #6B7280;
  --gray-light: #D1D5DB;
  --background: #FFFFFF;
  --card-bg: #FFFFFF;
  --border-color: #E5E7EB;
  --border-radius: 2px;
  --header-bg: #FFFFFF;
  --footer-bg: #111827;
  --font-primary: 'Source Serif Pro', serif;
  --font-heading: 'Libre Baskerville', serif;
  --font-accent: 'Inter', sans-serif;
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0.125rem;
  --radius-xl: 0.25rem;
}

body {
  font-family: var(--font-primary);
  background: var(--background);
  color: var(--dark);
  line-height: 1.8;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }

p {
  font-size: 1.0625rem;
  line-height: 1.8;
}

/* Header */
.top-navbar, header, .header {
  background: var(--header-bg) !important;
  border-bottom: 1px solid #E5E7EB;
}

.navbar-brand, .logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dark) !important;
}

.nav-link {
  font-family: var(--font-accent);
  font-weight: 500;
  color: var(--dark) !important;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.nav-link:hover {
  color: var(--accent) !important;
}

/* Buttons */
.btn-primary, .btn-landing-primary {
  background: var(--dark);
  border: none;
  border-radius: 0;
  font-family: var(--font-accent);
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--accent);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--dark);
  color: var(--dark);
}

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

.btn-outline-primary {
  border: 1px solid var(--dark);
  color: var(--dark);
  background: transparent;
  border-radius: 0;
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

/* Cards */
.card, .product-card {
  background: var(--card-bg);
  border: 1px solid #E5E7EB;
  border-radius: 0;
  box-shadow: none;
  transition: all 0.2s ease;
}

.card:hover, .product-card:hover {
  border-color: var(--dark);
}

.product-card .product-image {
  border-radius: 0;
  overflow: hidden;
}

.product-card img {
  transition: opacity 0.3s ease;
}

.product-card:hover img {
  opacity: 0.95;
}

.product-card .product-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  color: var(--dark);
  font-weight: 400;
}

.product-card .product-price {
  font-family: var(--font-accent);
  color: var(--dark);
  font-weight: 600;
  font-size: 1rem;
}

/* Hero Section */
.hero-section, .banner-section {
  background: var(--light);
  position: relative;
}

/* Categories */
.category-card {
  background: var(--card-bg);
  border: 1px solid #E5E7EB;
  border-radius: 0;
  padding: 2rem;
  text-align: center;
  transition: all 0.2s;
}

.category-card:hover {
  border-color: var(--dark);
}

.category-card i {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

/* Footer */
footer, .footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 2rem;
}

footer h5, .footer h5, .footer-title {
  color: #FFFFFF;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

footer a, .footer a {
  color: rgba(255,255,255,0.7);
  font-family: var(--font-accent);
}

footer a:hover, .footer a:hover {
  color: #FFFFFF;
}

/* Override primary background color for navbar */
.bg-primary {
  background-color: var(--primary) !important;
}

/* Badges */
.badge-primary, .badge.bg-primary {
  background: var(--dark) !important;
  border-radius: 0;
  font-family: var(--font-accent);
  text-transform: uppercase;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
}

.badge-sale {
  background: var(--accent);
  color: white;
  font-weight: 600;
}

/* Forms */
.form-control {
  border: 1px solid #D1D5DB;
  border-radius: 0;
  padding: 0.875rem 1rem;
  font-family: var(--font-accent);
}

.form-control:focus {
  border-color: var(--dark);
  box-shadow: none;
}

/* Section styling */
.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--dark);
}

/* Dividers */
.divider {
  border-top: 1px solid #E5E7EB;
  margin: 3rem 0;
}

.divider-dark {
  border-top: 1px solid var(--dark);
}

/* Price styling */
.price-tag {
  font-family: var(--font-accent);
  font-weight: 600;
  color: var(--dark);
}

.old-price {
  color: var(--gray);
  text-decoration: line-through;
}

/* Pull quotes */
.pullquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.5;
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

/* Byline */
.byline {
  font-family: var(--font-accent);
  font-size: 0.875rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Article styling */
.article-content {
  max-width: 700px;
  margin: 0 auto;
}

.article-content p {
  margin-bottom: 1.5rem;
}

/* Drop cap */
.drop-cap::first-letter {
  font-family: var(--font-heading);
  font-size: 4rem;
  float: left;
  line-height: 1;
  padding-right: 0.75rem;
  color: var(--dark);
}
