/* Modern AutoWIKI CSS - Clean, Responsive Design */

/* CSS Variables for Easy Theming */
:root {
  --primary-color: #1a73e8;
  --primary-dark: #1557b0;
  --secondary-color: #34a853;
  --accent-color: #ea4335;
  --text-primary: #202124;
  --text-secondary: #5f6368;
  --background: #ffffff;
  --surface: #f8f9fa;
  --border-color: #e8eaed;
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --border-radius: 8px;
  --max-width: 1200px;
  --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header Styles */
header {
  background: var(--background);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.9);
}

header > a {
  text-decoration: none;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 40px;
  width: 40px;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

/* Navigation */
nav {
  float: right;
  margin-top: 8px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav li {
  position: relative;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  padding: 0.5rem 0;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--primary-color);
}

nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 6rem 0;
  text-align: center;
  color: white;
  border-radius: var(--border-radius);
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  opacity: 0.1;
}

.hero_header {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

.tagline {
  font-size: 1.5rem;
  font-weight: 300;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* About Section - Modern Grid Layout */
.about {
  padding: 4rem 0;
  background-color: var(--surface);
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

.about h2.hidden {
  display: none;
}

/* Team Member Cards */
.team-member {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  background: var(--background);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-member:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pic_column {
  display: block;
  text-align: center;
}

.pic_column img {
  width: 100%;
  max-width: 180px;
  height: auto;
  border-radius: var(--border-radius);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.pic_column strong {
  display: block;
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-top: 1rem;
  font-weight: 600;
}

.pic_column span {
  display: block;
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-top: 0.25rem;
  font-weight: 500;
}

.text_column {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
  align-self: center;
}

.text_column a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.text_column a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Footer Styles */
.copyright {
  text-align: center;
  padding: 2rem 0 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.footer {
  background-color: var(--surface);
  padding: 2rem 0;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.footer table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.footer a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

/* Responsive Design */
@media (max-width: 768px) {
  /* Navigation */
  nav {
    float: none;
    margin-top: 1rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }
  
  /* Hero */
  .hero {
    padding: 4rem 1rem;
  }
  
  .hero_header {
    font-size: 2.5rem;
  }
  
  .tagline {
    font-size: 1.2rem;
  }
  
  /* Team Members */
  .team-member {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .pic_column img {
    margin: 0 auto;
  }
  
  /* Footer */
  .footer table {
    font-size: 0.8rem;
  }
  
  .footer td {
    padding: 0.5rem 0.25rem;
  }
}

@media (max-width: 480px) {
  .hero_header {
    font-size: 2rem;
  }
  
  .tagline {
    font-size: 1rem;
  }
  
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print Styles */
@media print {
  header, .footer {
    display: none;
  }
  
  .hero {
    background: none;
    color: var(--text-primary);
    padding: 2rem 0;
  }
  
  .team-member {
    box-shadow: none;
    page-break-inside: avoid;
  }
}