/*
Theme Name: ProBroker Executive
Description: Premium financial design. Gold, graphite, and serif typography.
Version: 1.0
Author: Assistant
*/

:root {
  /* Palette: Executive */
  --bg-body: #F9F9FB;
  --bg-surface: #FFFFFF;
  --bg-dark: #1C1C1E;
  
  --text-main: #2C2C2E;
  --text-light: #F5F5F7;
  --text-muted: #8E8E93;
  
  --color-gold: #D4AF37; /* Gold Foil */
  --color-gold-light: #F2E6C2;
  --color-accent: #1C1C1E; /* Primary Action is Black/Graphite */
  
  --border-color: #E5E5EA;
  
  /* Typography */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Lato', sans-serif;
  
  --radius: 4px; /* Sharp corners for premium feel */
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300; /* Lighter weight for elegance */
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--bg-dark);
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-sans);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid transparent;
  transition: all 0.4s ease;
  font-size: 0.8rem;
}

.btn-primary {
  background: var(--bg-dark);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #fff;
}

.btn-outline {
  border-color: var(--bg-dark);
  color: var(--bg-dark);
}
.btn-outline:hover {
  background: var(--bg-dark);
  color: #fff;
}

/* HEADER */
.site-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

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

.logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--bg-dark);
  letter-spacing: -0.5px;
}
.logo span { color: var(--color-gold); font-style: italic; }

.main-nav ul { display: flex; gap: 3rem; }
.main-nav a { 
  font-family: var(--font-sans); 
  font-weight: 400; 
  font-size: 0.9rem; 
  text-transform: uppercase; 
  letter-spacing: 1px;
}
.main-nav a:hover { color: var(--color-gold); }

/* HERO: Elegant */
.hero-section {
  padding: 8rem 0;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.hero-tag {
  display: block;
  font-family: var(--font-sans);
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  margin-bottom: 2rem;
  padding-left: 3rem;
  position: relative;
}
.hero-tag::before {
  content: ''; position: absolute; left: 0; top: 50%; height: 1px; width: 2rem; background: var(--color-gold);
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 500px;
}

/* Gold Accent Block for "About" */
.about-section {
  padding: 8rem 0;
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-head-center {
  text-align: center;
  margin-bottom: 5rem;
}
.section-title-light { color: #fff; font-size: 2.5rem; }
.section-desc-light { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px; /* Borders via gap */
  background: rgba(255,255,255,0.1);
}

.about-item {
  background: var(--bg-dark);
  padding: 3rem;
  transition: background 0.3s;
}
.about-item:hover { background: #2C2C2E; }

.about-item h3 { color: var(--color-gold); font-size: 1.25rem; font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.about-item p { color: #A1A1A6; font-size: 0.95rem; }

/* BLOG: Journal Style */
.blog-section {
  padding: 8rem 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-thumb {
  height: 280px;
  background: #E5E5EA;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }

.blog-meta {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.blog-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.blog-title a:hover { color: var(--color-gold); }

.blog-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.blog-link {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--color-gold);
  display: inline-block;
  padding-bottom: 3px;
}

/* PAGINATION */
.pagination {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.page-numbers {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
}
.page-numbers.current { color: var(--color-gold); border-bottom: 1px solid var(--color-gold); }

/* FOOTER */
.site-footer {
  background: var(--bg-surface);
  padding: 6rem 0 2rem;
  border-top: 1px solid var(--color-gold);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand h2 { font-size: 2rem; margin-bottom: 1.5rem; }
.footer-info { color: var(--text-muted); font-size: 0.9rem; }
.footer-info p { margin-bottom: 0.5rem; }

.footer-nav h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2rem; font-family: var(--font-sans); }
.footer-nav a { color: var(--text-main); font-size: 0.95rem; }
.footer-nav a:hover { color: var(--color-gold); }

/* CONTENT STYLES */
.content-body h2 { font-size: 2.2rem; margin-top: 3rem; color: var(--bg-dark); }
.content-body p { margin-bottom: 1.5rem; font-size: 1.1rem; }
.content-body blockquote {
  border-top: 1px solid var(--color-gold);
  border-bottom: 1px solid var(--color-gold);
  padding: 2rem;
  margin: 3rem 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--bg-dark);
  text-align: center;
  font-style: italic;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .about-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .about-grid, .blog-grid, .footer-top { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; gap: 1.5rem; }
  .hero-title { font-size: 3rem; }
}
