/*
Theme Name: Decision Savvy
Description: A custom WordPress theme for Decision Savvy with Ivo Jackson - expert decision-making coaching and podcast. Minimalist, expert-forward design.
Author: MiniMax Agent
Version: 3.0.0
Text Domain: decision-savvy
Domain Path: /languages
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Brand Colors - EXACT SPECIFICATION */
:root {
  --black: #000000;
  --dark-gray: #222222;
  --gray: #777777;
  --light-gray: #DDDDDD;
  --white: #FFFFFF;
  --sage: #9CAF88;
  --gold: #C5A253;
  --font-primary: "DM Sans", "Inter", "Lato", Arial, Helvetica, sans-serif;
  --max-width: 1120px;
  --border-radius: 8px;
  --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography - DM Sans */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: var(--black);
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
}

h3 {
  font-size: 1.875rem;
  font-weight: 600;
}

h4 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin: 0 0 1rem 0;
  font-weight: 400;
}

a {
  color: var(--black);
  text-decoration: underline;
  transition: var(--transition);
}

a:hover {
  color: var(--sage);
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 6px;
  z-index: 999999;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 500;
}

.skip-link:focus {
  left: 6px;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--light-gray);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-subtle);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  min-height: 70px;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.site-logo:hover {
  color: var(--black);
}

/* Navigation */
.main-navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.main-navigation a {
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.main-navigation a:hover,
.main-navigation a:focus {
  color: var(--black);
}

.main-navigation .current-menu-item a {
  color: var(--black);
  font-weight: 600;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--black);
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  transition: var(--transition);
}

.mobile-menu-toggle:hover {
  color: var(--sage);
}

.mobile-menu-toggle:focus {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}

/* Mobile Navigation - HEADER HIDDEN FOR PLUGIN USE */
@media (max-width: 768px) {
  /* Hide entire header on mobile to allow plugin navigation */
  .site-header {
    display: none !important;
  }
}

/* Hero Section - EXACT SPECIFICATION */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-image: url('assets/img/hero.jpg');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    rgba(0, 0, 0, 0.85) 0%, 
    rgba(0, 0, 0, 0.65) 35%, 
    rgba(0, 0, 0, 0.2) 70%, 
    transparent 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  color: var(--white);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 2.5rem;
  color: var(--white);
  opacity: 0.95;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}

.btn-primary:hover {
  background: #8ba077;
  border-color: #8ba077;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-subtle);
}

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

.btn-secondary:hover {
  background: var(--white);
  color: var(--dark-gray);
  transform: translateY(-2px);
  box-shadow: var(--shadow-subtle);
}

.btn-outline {
  background: transparent;
  color: var(--sage);
  border-color: var(--sage);
}

.btn-outline:hover {
  background: var(--sage);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-subtle);
}

/* Sections */
.section {
  padding: 2rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-subtle);
  padding: 2.5rem;
  transition: var(--transition);
  border: 1px solid rgba(221, 221, 221, 0.3);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.card-title {
  margin-bottom: 1rem;
  color: var(--black);
}

.card-content {
  color: var(--gray);
  line-height: 1.6;
}

/* Process Steps */
.process-steps {
  max-width: 1000px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-subtle);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--sage);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 1rem;
  color: var(--black);
}

.step-content p {
  color: var(--gray);
  line-height: 1.6;
}

/* Testimonials */
.testimonial {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-subtle);
  text-align: center;
}

.testimonial blockquote {
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--gray);
}

.testimonial cite {
  font-size: 1rem;
  color: var(--black);
  font-style: normal;
  font-weight: 600;
}

/* CTA Sections */
.cta-section {
  background: var(--sage);
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--sage);
  border-color: var(--white);
}

.cta-section .btn-primary:hover {
  background: var(--light-gray);
  border-color: var(--light-gray);
}

/* Footer */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.footer-brand p {
  color: var(--light-gray);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--light-gray);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--sage);
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-sm { margin-bottom: 0.5rem; }
.mb-md { margin-bottom: 1rem; }
.mb-lg { margin-bottom: 1.5rem; }
.mb-xl { margin-bottom: 2rem; }
.mt-lg { margin-top: 1.5rem; }
.mt-xl { margin-top: 2rem; }

/* Dividers */
.section-divider {
  border: none;
  height: 1px;
  background: var(--light-gray);
  margin: 1rem 0;
  opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero {
    min-height: 70vh;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .process-step {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .card {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.875rem;
  }
  
  .header-container {
    padding: 1rem 0;
  }
  
  /* Mobile hero image fix */
  .hero {
    background-position: center 60%;
    height: 60vh;
    min-height: 400px;
  }
}