/*
Theme Name: SEO Reborn
Theme URI: https://imgscience.net
Description: SEO Reborn theme for imgscience.net — Testing Hackathon 2026. Navy #1a1a2e, gold #f5a623.
Version: 1.0.0
Author: Petunka Marketing LLC
License: Proprietary
Text Domain: seo-reborn
*/

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

:root {
  --color-navy: #1a1a2e;
  --color-gold: #f5a623;
  --color-body: #4b5563;
  --color-light-bg: #f8f9fa;
  --color-border: #e5e7eb;
  --color-muted: #9ca3af;
  --font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --radius-card: 6px;
  --radius-section: 8px;
}

body {
  font-family: var(--font-stack);
  color: var(--color-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header & Navigation */
.site-header {
  background: var(--color-navy);
  padding: 0 20px;
}

.site-header .header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-branding .brand-icon {
  height: 48px;
  width: auto;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
}

.site-branding .brand-text {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.site-branding .brand-sub {
  color: var(--color-gold);
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.primary-nav { display: flex; gap: 8px; align-items: center; }

.primary-nav a {
  color: #cbd5e1;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-card);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s, background 0.15s;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--color-gold);
  background: rgba(245, 166, 35, 0.08);
}

.primary-nav a.cta-nav {
  background: var(--color-gold);
  color: var(--color-navy);
  font-weight: 600;
  padding: 8px 18px;
}

.primary-nav a.cta-nav:hover { filter: brightness(1.1); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* Main Content */
.site-main {
  min-height: 60vh;
}

/* Footer */
.site-footer {
  background: var(--color-navy);
  color: var(--color-muted);
  text-align: center;
  padding: 32px 20px;
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--color-gold);
  text-decoration: none;
}

.site-footer a:hover { text-decoration: underline; }

.site-footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}

.site-footer .footer-legal {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
  font-size: 0.8rem;
}

.site-footer .footer-legal a {
  color: var(--color-muted);
  text-decoration: underline;
}

.site-footer .footer-legal a:hover {
  color: var(--color-gold);
}

.site-footer .deploy-info {
  font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
  font-size: 0.72rem;
  color: #4a5568;
  margin-top: 8px;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .primary-nav { display: none; }
  .nav-toggle { display: block; }
  .primary-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-navy);
    padding: 16px;
    gap: 4px;
  }
  .primary-nav.open a { display: block; padding: 12px 16px; }
}
