/*
Theme Name: AtlanteanTheme
Theme URI: https://atlanteanbrotherhood.org
Author: GrandMaster WaXhira
Description: Sacred Atlantean Brotherhood Custom Theme
Version: 1.0.1
Template: twentytwentyfive
Text Domain: atlantean-theme
*/

/* ============================================
   GOOGLE FONTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;500;600&family=UnifrakturMaguntia&display=swap');

/* ============================================
   BRAND COLORS
   ============================================ */
:root {
  --sab-ocean-deep: #0a1929;
  --sab-ocean-mid: #153a5c;
  --sab-ocean-light: #1e5a85;
  --sab-gold-primary: #d4af37;
  --sab-gold-light: #e6c56a;
  --sab-gold-dim: #b8972b;
  --sab-cream: #f8f5f0;
  --sab-stone: #e2dcd5;
  --sab-text-primary: #f0f4f8;
  --sab-text-secondary: #c5d1e0;
  --sab-text-muted: #8a9bae;
  --sab-font-heading: 'Cinzel', serif;
  --sab-font-body: 'Inter', sans-serif;
  --sab-font-mystic: 'UnifrakturMaguntia', cursive;
  --sab-space-xs: 0.5rem;
  --sab-space-sm: 1rem;
  --sab-space-md: 1.5rem;
  --sab-space-lg: 2.5rem;
  --sab-space-xl: 4rem;
}

/* ============================================
   BASE STYLES
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--sab-ocean-deep);
  color: var(--sab-text-primary);
  font-family: var(--sab-font-body);
  font-size: 1.125rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6, .site-title, .wp-block-heading {
  font-family: var(--sab-font-heading);
  color: var(--sab-cream);
  line-height: 1.3;
  margin-bottom: var(--sab-space-sm);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

.mystic-accent {
  font-family: var(--sab-font-mystic);
  color: var(--sab-gold-light);
  font-weight: 400;
}

/* ============================================
   LINKS
   ============================================ */
a {
  color: var(--sab-gold-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--sab-gold-primary);
}

/* ============================================
   LOGO
   ============================================ */
.site-logo {
  margin: 0;
  line-height: 0;
}

.site-logo a {
  display: block;
  cursor: pointer;
  line-height: 0;
}

.site-logo a:hover {
  opacity: 0.85;
  transition: opacity 0.3s;
}

.site-logo img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  background: rgba(10, 25, 41, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.site-header .alignwide {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.primary-navigation ul {
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.primary-navigation a {
  color: var(--sab-text-secondary);
  font-family: var(--sab-font-body);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.primary-navigation a:hover {
  color: var(--sab-gold-primary);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary, .wp-block-button__link.is-style-primary {
  background: linear-gradient(135deg, var(--sab-gold-primary), var(--sab-gold-light));
  color: var(--sab-ocean-deep);
  font-family: var(--sab-font-heading);
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  color: var(--sab-ocean-deep);
}

.btn-secondary, .wp-block-button__link.is-style-secondary {
  background: transparent;
  color: var(--sab-gold-light);
  border: 1px solid var(--sab-gold-primary);
  font-family: var(--sab-font-heading);
  padding: 0.875rem 2rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--sab-gold-primary);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: rgba(10, 25, 41, 0.98);
  padding: var(--sab-space-xl) var(--sab-space-sm);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  margin-top: var(--sab-space-xl);
}

.footer-grid {
  display: grid;
  gap: var(--sab-space-lg);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand .site-title {
  color: var(--sab-gold-primary);
  margin-bottom: var(--sab-space-xs);
}

.footer-brand p {
  color: var(--sab-text-muted);
  font-size: 0.95rem;
}

.footer-links h4 {
  color: var(--sab-gold-light);
  margin-bottom: var(--sab-space-sm);
  font-size: 1.1rem;
}

.footer-links a {
  color: var(--sab-text-muted);
  display: block;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--sab-gold-light);
}

.social-hub {
  display: flex;
  gap: var(--sab-space-sm);
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
  margin-top: var(--sab-space-sm);
}

.social-hub a {
  color: var(--sab-gold-primary);
  transition: color 0.3s ease;
}

.social-hub a:hover {
  color: var(--sab-gold-light);
}

.mystical-divider {
  margin: var(--sab-space-lg) 0;
}

.divider-symbol {
  font-size: 1.25rem;
  color: var(--sab-gold-primary);
  margin: 0 var(--sab-space-xs);
}

.divider-line {
  color: var(--sab-text-muted);
  margin: 0;
  font-size: 1.25rem;
}

.mystical-closing {
  font-family: var(--sab-font-heading);
  font-style: italic;
  color: var(--sab-gold-light);
  margin-bottom: var(--sab-space-sm);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.content-center {
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  text-align: center;
  padding-top: var(--sab-space-xl);
  padding-bottom: var(--sab-space-xl);
}

/* ============================================
   SECTION PADDING
   ============================================ */
.section-pad {
  padding: var(--sab-space-xl) var(--sab-space-sm);
}

/* ============================================
   MEMBERSHIP TIERS
   ============================================ */
.tier-grid {
  display: grid;
  gap: var(--sab-space-lg);
}

@media (min-width: 768px) {
  .tier-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tier-card {
  background: rgba(21, 58, 92, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: var(--sab-space-lg);
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.tier-card:hover {
  transform: translateY(-5px);
  border-color: var(--sab-gold-primary);
}

.tier-badge {
  display: inline-block;
  background: var(--sab-gold-primary);
  color: var(--sab-ocean-deep);
  font-family: var(--sab-font-heading);
  font-weight: 600;
  padding: var(--sab-space-xs) var(--sab-space-md);
  border-radius: 50px;
  margin-bottom: var(--sab-space-sm);
  font-size: 1rem;
}

.tier-price {
  font-size: 2rem;
  font-family: var(--sab-font-heading);
  color: var(--sab-gold-light);
  margin: var(--sab-space-sm) 0;
}

.tier-card ul {
  list-style: none;
  padding: 0;
  margin: var(--sab-space-md) 0;
  text-align: left;
}

.tier-card li {
  padding: var(--sab-space-xs) 0;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.2);
}

.tier-card li:last-child {
  border-bottom: none;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-muted {
  color: var(--sab-text-muted);
}

.text-gold {
  color: var(--sab-gold-light);
}

.text-cream {
  color: var(--sab-cream);
}

.threshold-badge {
  display: inline-flex;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--sab-gold-primary);
  padding: var(--sab-space-xs) var(--sab-space-md);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--sab-gold-light);
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .site-header .alignwide {
    flex-direction: column;
    text-align: center;
    gap: var(--sab-space-sm);
  }
  
  .primary-navigation ul {
    justify-content: center;
  }
  
  .site-logo img {
    width: 80px;
    height: 80px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-hub {
    justify-content: center;
  }
  
  .mystical-divider {
    flex-direction: column;
    gap: var(--sab-space-xs);
  }
  
  .tier-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-section {
    min-height: 60vh;
    padding: var(--sab-space-lg) var(--sab-space-sm);
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--sab-gold-primary);
  outline-offset: 2px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  body {
    background: white;
    color: black;
  }
  
  .site-header,
  .site-footer,
  .btn-primary,
  .btn-secondary {
    display: none;
  }
}