/*
Theme Name: Rick Petersen Executive Theme
Description: A sophisticated black and gold WordPress theme for executive consulting
Version: 1.0
Author: Rick Petersen
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  color: #ffffff;
  background-color: #000000;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  font-weight: 300;
}

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

h3 {
  font-size: 2rem;
  font-weight: 400;
}

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

p {
  margin-bottom: 1.5rem;
  font-weight: 300;
  line-height: 1.7;
}

a {
  color: #eab308;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #fbbf24;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.site-header {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(234, 179, 8, 0.2);
  position: fixed;
  top: 15px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
}

.site-title a {
  color: #ffffff;
}

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

.main-navigation a {
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
  border-bottom-color: #eab308;
}

/* Main Content */
.site-main {
  margin-top: 100px;
  min-height: calc(100vh - 200px);
}

/* Blog Layout */
.blog-header {
  background: linear-gradient(135deg, #000000 0%, #1f1f1f 100%);
  padding: 6rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid rgba(234, 179, 8, 0.2);
}

.blog-title {
  font-size: 4rem;
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.blog-description {
  font-size: 1.25rem;
  color: #9ca3af;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

.accent-text {
  color: #eab308;
}

/* Post Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  padding: 4rem 0;
}

/* Post Cards */
.post-card {
  background: #111111;
  border: 1px solid rgba(234, 179, 8, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.post-card:hover {
  transform: translateY(-5px);
  border-color: rgba(234, 179, 8, 0.3);
}

.post-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #1f1f1f;
}

.post-content {
  padding: 2rem;
}

.post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-title {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.post-title a {
  color: #ffffff;
}

.post-title a:hover {
  color: #eab308;
}

.post-excerpt {
  color: #d1d5db;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #eab308;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

.read-more:hover {
  color: #fbbf24;
}

/* Single Post */
.single-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.single-post-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(234, 179, 8, 0.2);
}

.single-post-title {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.single-post-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  color: #9ca3af;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #e5e7eb;
}

.post-body h2 {
  color: #eab308;
  margin: 3rem 0 1.5rem;
  font-weight: 400;
}

.post-body h3 {
  color: #ffffff;
  margin: 2rem 0 1rem;
  font-weight: 400;
}

.post-body blockquote {
  border-left: 4px solid #eab308;
  padding-left: 2rem;
  margin: 2rem 0;
  font-style: italic;
  color: #d1d5db;
  background: rgba(234, 179, 8, 0.05);
  padding: 1.5rem 2rem;
  border-radius: 0 8px 8px 0;
}

.post-body code {
  background: #1f1f1f;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: "Monaco", "Menlo", monospace;
  color: #eab308;
}

.post-body pre {
  background: #1f1f1f;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid rgba(234, 179, 8, 0.1);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 0;
}

.pagination a,
.pagination span {
  padding: 0.75rem 1.5rem;
  background: #111111;
  border: 1px solid rgba(234, 179, 8, 0.2);
  color: #ffffff;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
  background: #eab308;
  color: #000000;
  border-color: #eab308;
}

/* Sidebar */
.sidebar {
  background: #111111;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(234, 179, 8, 0.1);
}

.widget {
  margin-bottom: 2rem;
}

.widget-title {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #eab308;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.widget ul {
  list-style: none;
}

.widget li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(234, 179, 8, 0.1);
}

.widget li:last-child {
  border-bottom: none;
}

.widget a {
  color: #d1d5db;
  font-weight: 300;
}

.widget a:hover {
  color: #eab308;
}

/* Footer */
.site-footer {
  background: #000000;
  border-top: 1px solid rgba(234, 179, 8, 0.2);
  padding: 3rem 0;
  text-align: center;
}

.footer-content {
  color: #9ca3af;
  font-weight: 300;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  color: #9ca3af;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .blog-title {
    font-size: 2.5rem;
  }

  .single-post-title {
    font-size: 2rem;
  }

  .posts-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .single-post-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Form Styles */
input[type="text"],
input[type="email"],
input[type="search"],
textarea {
  background: #111111;
  border: 1px solid rgba(234, 179, 8, 0.2);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  width: 100%;
  font-family: inherit;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
textarea:focus {
  outline: none;
  border-color: #eab308;
}

button,
input[type="submit"] {
  background: #eab308;
  color: #000000;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover,
input[type="submit"]:hover {
  background: #fbbf24;
}
