/* Graham Miranda UG - City Site Styles */
/* Schladen-Werla IT Services */

:root {
  --primary: #1a56db;
  --primary-dark: #1e40af;
  --secondary: #0f172a;
  --accent: #3b82f6;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #1e293b;
  --text-gray: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  text-decoration: none;
}

.logo span {
  color: var(--primary);
}

nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

nav a {
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

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

.lang-switch {
  display: flex;
  gap: 8px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

.lang-switch a {
  font-size: 0.875rem;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--bg-light);
  color: var(--text-gray);
}

.lang-switch a.active {
  background: var(--primary);
  color: white;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #1e3a5f 100%);
  color: white;
  padding: 80px 0;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 700px;
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  margin-left: 12px;
}

.btn-secondary:hover {
  background: white;
  color: var(--secondary);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-gray {
  background: var(--bg-light);
}

.section h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
  color: var(--secondary);
}

.section-subtitle {
  color: var(--text-gray);
  font-size: 1.125rem;
  margin-bottom: 48px;
  max-width: 600px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

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

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--secondary);
}

.service-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

/* Why Choose Us */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.benefit-item {
  display: flex;
  gap: 16px;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}

.benefit-content h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--secondary);
}

.benefit-content p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* CTA */
.cta {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 60px 0;
}

.cta h2 {
  color: white;
  margin-bottom: 16px;
}

.cta p {
  opacity: 0.9;
  margin-bottom: 24px;
}

.cta .btn-secondary {
  border-color: white;
}

.cta .btn-secondary:hover {
  background: white;
  color: var(--primary);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.blog-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid var(--border);
}

.blog-content {
  padding: 24px;
}

.blog-meta {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--secondary);
}

.blog-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.read-more {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.read-more:hover {
  text-decoration: underline;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info {
  padding: 32px;
  background: var(--bg-light);
  border-radius: 12px;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--secondary);
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--secondary);
}

.contact-item p, .contact-item a {
  color: var(--text-gray);
  font-size: 0.95rem;
  text-decoration: none;
}

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

.contact-form {
  padding: 32px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

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

/* Footer */
footer {
  background: var(--secondary);
  color: white;
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p {
  opacity: 0.7;
  margin-top: 16px;
  font-size: 0.95rem;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  opacity: 0.7;
}

.footer-bottom a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  margin-left: 24px;
}

.footer-bottom a:hover {
  color: white;
}

/* Legal */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 32px;
  color: var(--secondary);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 32px 0 16px;
  color: var(--secondary);
}

.legal-content p {
  color: var(--text-gray);
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-content li {
  color: var(--text-gray);
  margin-bottom: 8px;
  line-height: 1.8;
}

/* About Page */
.about-hero {
  padding: 60px 0;
  background: var(--bg-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.vendor-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.vendor-badge {
  background: var(--bg-white);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-gray);
  border: 1px solid var(--border);
}

/* Page Header */
.page-header {
  background: var(--secondary);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.page-header p {
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .header-inner {
    flex-direction: column;
    gap: 16px;
  }
  
  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  
  .lang-switch {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }
  
  .contact-grid,
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .section {
    padding: 48px 0;
  }
}

/* Blog Article */
.article {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}

.article-header {
  margin-bottom: 48px;
}

.article-meta {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.article h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--secondary);
}

.article p {
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 1.1rem;
}

.article h2 {
  font-size: 1.75rem;
  margin: 40px 0 20px;
  color: var(--secondary);
}

.article ul, .article ol {
  margin: 20px 0;
  padding-left: 24px;
  color: var(--text-gray);
  line-height: 1.8;
}

.article li {
  margin-bottom: 12px;
}
