/* Graham Miranda UG - City Site Styles */
/* Site: Osterwieck IT Services */

:root {
  --primary: #1e3a5f;
  --secondary: #2d5a87;
  --accent: #4a90d9;
  --light: #f4f7fa;
  --dark: #0d1b2a;
  --text: #2c3e50;
  --text-light: #6c7a89;
  --white: #ffffff;
  --border: #e1e8ed;
  --success: #27ae60;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.12);
}

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

html {
  scroll-behavior: smooth;
}

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

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

/* Header */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-light);
}

nav {
  display: flex;
  gap: 8px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s;
}

nav a:hover, nav a.active {
  background: var(--light);
  color: var(--primary);
}

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

nav a.lang-switch:hover {
  background: var(--secondary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary);
}

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

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.95;
}

.hero .btn {
  background: var(--white);
  color: var(--primary);
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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

.hero .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

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

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

.section h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
  text-align: center;
}

.section .subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 10px;
}

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

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

.service-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 25px;
}

.service-card-header h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.service-card-header p {
  opacity: 0.9;
  font-size: 0.9rem;
}

.service-card-body {
  padding: 25px;
}

.service-card-body ul {
  list-style: none;
}

.service-card-body li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-card-body li:last-child {
  border-bottom: none;
}

.service-card-body li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stat {
  text-align: center;
  padding: 25px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  color: var(--text-light);
  margin-top: 5px;
}

/* About Content */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin: 25px 0 15px;
}

.about-text p {
  margin-bottom: 15px;
}

.about-list {
  list-style: none;
  margin: 20px 0;
}

.about-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  font-size: 1.2rem;
}

/* Blog */
.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.blog-card-body {
  padding: 25px;
}

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

.blog-card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.blog-card p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.blog-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

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

.contact-info {
  background: var(--primary);
  color: white;
  padding: 40px;
  border-radius: 12px;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  margin-bottom: 4px;
}

.contact-item-text a {
  color: white;
  opacity: 0.9;
}

.contact-form {
  background: var(--light);
  padding: 40px;
  border-radius: 12px;
}

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

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

.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(--accent);
}

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

.btn-submit {
  background: var(--primary);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}

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

/* Legal */
.legal-content {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h1 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border);
}

.legal-content h2 {
  color: var(--primary);
  font-size: 1.3rem;
  margin: 30px 0 15px;
}

.legal-content p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.legal-content ul {
  margin: 15px 0;
  padding-left: 25px;
}

.legal-content li {
  margin-bottom: 10px;
}

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

.cta h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.95;
}

.cta .btn {
  background: white;
  color: var(--primary);
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 40px 0 20px;
}

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

.footer-brand h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.footer-brand p {
  opacity: 0.7;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--accent);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

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

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

.footer-bottom a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
}

/* Backlinks Bar */
.backlinks {
  background: var(--light);
  padding: 15px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.backlinks a {
  color: var(--primary);
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  font-size: 0.9rem;
}

.backlinks a:hover {
  text-decoration: underline;
}

/* Breadcrumb */
.breadcrumb {
  padding: 15px 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 8px;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 50px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

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

/* Responsive */
@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
  }
  
  nav.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
