/*
Theme Name: Axiom Risk Advisors
Theme URI: https://axiomriskadvisors.com
Author: Axiom Risk Advisors
Author URI: https://axiomriskadvisors.com
Description: Custom WordPress theme for Axiom Risk Advisors - Cybersecurity, Privacy & Compliance Consulting
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: axiom-risk
Tags: consulting, business, professional-services, custom-colors, custom-menu, featured-images

Axiom Risk Advisors Theme - Beyond Compliance. True Security.
*/

/* ========================================
   CSS RESET & BASE STYLES
   ======================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a2332;
  background: #f8f9fa;
  line-height: 1.6;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: #1a2332;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: #5a6a7a;
  line-height: 1.7;
}

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

.section {
  padding: 6rem 2rem;
}

.section-alt {
  background: white;
}

.text-center {
  text-align: center;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ========================================
   NAVIGATION
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #00526e 0%, #008b8b 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  font-family: 'Playfair Display', serif;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #1a2332;
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.7rem;
  color: #5a6a7a;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.main-navigation a {
  color: #1a2332;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.main-navigation a:hover {
  background: rgba(0, 82, 110, 0.08);
  color: #00526e;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
  background: linear-gradient(135deg, #00526e 0%, #003d52 100%);
  color: white;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(0, 82, 110, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 82, 110, 0.35);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: #00526e;
  padding: 0.875rem 2rem;
  border: 2px solid #00526e;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-secondary:hover {
  background: #00526e;
  color: white;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  padding-top: 10rem;
  padding-bottom: 8rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 82, 110, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: 700px;
  position: relative;
}

.hero-tag {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #00526e;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: #1a2332;
}

.gradient-text {
  background: linear-gradient(135deg, #00526e 0%, #008b8b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.25rem;
  color: #5a6a7a;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

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

/* ========================================
   SECTION TITLES
   ======================================== */
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #1a2332;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: #5a6a7a;
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 600px;
}

/* ========================================
   CARDS
   ======================================== */
.card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1a2332;
}

.card-desc {
  color: #5a6a7a;
  line-height: 1.7;
}

/* ========================================
   SERVICE CARDS
   ======================================== */
.service-card {
  padding: 2.5rem;
  border-top: 4px solid #00526e;
}

.service-card-teal {
  border-top-color: #008b8b;
}

.service-card-dark {
  border-top-color: #2e5a6b;
}

.service-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #00526e;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #1a2332;
}

.service-list {
  padding: 0;
}

.service-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  color: #5a6a7a;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-list li::before {
  content: '✓';
  color: #00526e;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #00526e 0%, #003d52 100%);
  color: white;
  text-align: center;
}

.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.cta-desc {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: white;
}

.cta-btn {
  background: white;
  color: #00526e;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-block;
}

.cta-btn:hover {
  background: #f8f9fa;
  color: #00526e;
}

/* ========================================
   CREDENTIALS
   ======================================== */
.credentials {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.credentials-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #00526e;
  margin-bottom: 1.25rem;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
}

.credentials-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
  color: #1a2332;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

/* ========================================
   LEGAL PAGES
   ======================================== */
.legal-page {
  padding: 6rem 2rem;
  background: white;
  padding-top: 10rem;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #1a2332;
  margin-bottom: 0.5rem;
}

.legal-date {
  color: #5a6a7a;
  margin-bottom: 3rem;
}

.legal-content {
  color: #1a2332;
  line-height: 1.8;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #00526e;
}

.legal-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #1a2332;
}

.legal-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  list-style: disc;
}

.legal-content ul li {
  margin-bottom: 0.5rem;
  color: #5a6a7a;
}

.legal-contact {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1rem;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: linear-gradient(135deg, #1a2332 0%, #0d1520 100%);
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-title {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-link:hover {
  color: white;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* ========================================
   FORMS
   ======================================== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #1a2332;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: #00526e;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .main-navigation {
    display: none;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero {
    padding-top: 8rem;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .legal-page {
    padding-top: 8rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 4rem 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   WORDPRESS SPECIFIC
   ======================================== */
.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.875rem;
  color: #5a6a7a;
  font-style: italic;
  margin-top: 0.5rem;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* WordPress Block Editor Support */
.entry-content > * {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.entry-content > .alignwide {
  max-width: 1000px;
}

.entry-content > .alignfull {
  max-width: none;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
}
