/*
 * File: styles.css
 * Location: /website/styles.css
 * Version: 1.2.1
 * Description: Modern CSS stylesheet for Aerial Robotics Canada (ARC) website
 * Aviation-inspired professional design with dark/light theme support
 * Update: Mobile logo sizing fixes
 */

/* ===== CSS VARIABLES ===== */
:root {
  /* Light theme colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #e2e8f0;
  --text-primary: #1a1a1a;
  --text-secondary: #4b5563;
  --text-tertiary: #6b7280;
  --accent-primary: #2563eb;
  --accent-secondary: #1d4ed8;
  --border-color: #e5e7eb;
  --card-bg: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.95);
  --footer-bg: #1f2937;
  --footer-text: #d1d5db;
}

[data-theme="dark"] {
  /* Dark theme colors */
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  --accent-primary: #3b82f6;
  --accent-secondary: #60a5fa;
  --border-color: #334155;
  --card-bg: #1e293b;
  --header-bg: rgba(15, 23, 42, 0.95);
  --footer-bg: #020617;
  --footer-text: #cbd5e1;
}

/* ===== FOUNDER PAGE STYLES ===== */
.founder-story {
  padding-top: 8rem;
  background: var(--bg-primary);
}

.founder-content {
  max-width: 800px;
  margin: 2rem auto;
}

.founder-content h1 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.founder-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.founder-philosophy {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--accent-primary);
  margin: 2rem 0;
  text-align: center;
}

.founder-philosophy p {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.founder-philosophy p:last-child {
  margin-bottom: 0;
}

.founder-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .founder-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .founder-content p {
    font-size: 1rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: var(--accent-primary);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-secondary);
  text-decoration: underline;
}

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

.section-lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.section-lead-tight {
  margin-bottom: 1rem;
}

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

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 1rem 2rem;
}

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

/* brand container + logo */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  height: 40px;
  width: 40px;
  max-width: 40px;
  max-height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: contain;
}

.brand-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.brand-sub {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-top: 0.25rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--accent-primary);
  text-decoration: none;
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  margin-left: 1rem;
}

.theme-btn {
  position: relative;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 50px;
  width: 60px;
  height: 32px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.theme-btn:hover {
  border-color: var(--accent-primary);
  transform: scale(1.05);
}

.theme-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  transition: all 0.3s ease;
}

.sun-icon {
  left: 6px;
  opacity: 1;
}

.moon-icon {
  right: 6px;
  opacity: 0;
}

[data-theme="dark"] .sun-icon {
  opacity: 0;
  left: -20px;
}

[data-theme="dark"] .moon-icon {
  opacity: 1;
  right: 6px;
}

@media (max-width: 768px) {
  .brand-logo {
    height: 32px;
    width: 32px;
    max-width: 32px;
    max-height: 32px;
  }
  
  .brand-title {
    font-size: 1.125rem;
  }
  
  .brand-sub {
    font-size: 0.75rem;
  }
  
  .nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  .main-nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  .main-nav ul {
    gap: 1rem;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  padding-top: 8rem;
  position: relative;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

.hero-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: start;
  position: relative;
  z-index: 2;
}

.hero-left {
  max-width: 600px;
}

.hero-kicker {
  display: inline-block;
  background: #dbeafe;
  color: #1e40af;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero h2 {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-size: 1.125rem;
  color: var(--text-tertiary);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-meta {
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

.hero-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

.hero-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 8px;
}

.hero-chip-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-bg-image {
    width: 100%;
    height: 40%;
  }
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--accent-primary);
  border-color: var(--accent-primary);
}

.btn-ghost:hover {
  background: var(--accent-primary);
  color: white;
  text-decoration: none;
}

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

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card h3 {
  margin-bottom: 1rem;
}

.card p {
  margin-bottom: 1.5rem;
}

/* ===== PILLS ===== */
.pill {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===== LISTS ===== */
.list {
  list-style: none;
  margin: 1.5rem 0;
}

.list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  padding-left: 1.5rem;
}

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

.list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: bold;
}

/* ===== SECTIONS ===== */
#services {
  background: var(--bg-secondary);
}

#reactor-lab {
  background: var(--bg-primary);
}

#founder {
  background: var(--bg-secondary);
}

#service-region {
  background: var(--bg-primary);
}

#contact {
  background: var(--bg-secondary);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 3rem 2rem 1rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-copy {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-tertiary);
}

.footer-inner a {
  color: var(--accent-secondary);
}

.footer-inner a:hover {
  color: var(--accent-primary);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  .section {
    padding: 2rem 1rem;
  }
  
  .site-header {
    padding: 1rem;
  }
  
  .hero {
    padding-top: 6rem;
  }
}

/* ===== SCROLL ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
  .card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
  }
  
  .card:nth-child(1) { animation-delay: 0.1s; }
  .card:nth-child(2) { animation-delay: 0.2s; }
  .card:nth-child(3) { animation-delay: 0.3s; }
  .card:nth-child(4) { animation-delay: 0.4s; }
  .card:nth-child(5) { animation-delay: 0.5s; }
  .card:nth-child(6) { animation-delay: 0.6s; }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*
 * File: styles.css
 * Location: /website/styles.css
 * Updated: November 17, 2025 - 20:45:00 UTC
 */