/* Graham Miranda UG - Nordharz City Site Styles */

:root {
  --primary: #1a3a5c;
  --primary-light: #2c5282;
  --secondary: #e67e22;
  --accent: #27ae60;
  --dark: #1a1a2e;
  --light: #f4f6f8;
  --white: #ffffff;
  --text: #2d3748;
  --text-light: #718096;
  --border: #e2e8f0;
  --shadow: 0 4px 6px rgba(0,0,0,0.1);
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text);
  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 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

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

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

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

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

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

.lang-switch {
  display: flex;
  gap: 10px;
}

.lang-switch a {
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

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

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

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

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

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

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

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

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

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  margin-left: 15px;
}

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

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

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

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

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

.service-card {
  background: var(--white);
  padding: 35px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

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

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: center;
}

.feature-item h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.feature-list {
  list-style: none;
  margin-top: 20px;
}

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

.feature-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
}

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

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  padding: 25px;
  background: var(--light);
  border-radius: var(--radius);
}

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

.stat-label {
  color: var(--text-light);
  font-size: 0.9rem;
}

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

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

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

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

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

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

.read-more {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
}

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

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

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

.contact-info h3 {
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-icon {
  font-size: 1.5rem;
}

.contact-form {
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
}

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

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

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

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

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

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

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

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

.footer-col h4 {
  margin-bottom: 20px;
  color: var(--secondary);
}

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

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.footer-backlinks {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-backlinks a {
  color: var(--secondary);
  text-decoration: none;
  margin: 0 10px;
  font-size: 0.85rem;
}

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

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

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

.cta-section p {
  margin-bottom: 25px;
  opacity: 0.95;
}

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

.cta-section .btn:hover {
  background: var(--dark);
  color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }

  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 20px 0;
    gap: 15px;
  }

  nav.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }
}

/* Article Page */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-content h1 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 2rem;
}

.article-meta {
  color: var(--text-light);
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border);
}

.article-content h2 {
  color: var(--primary);
  margin: 30px 0 15px;
}

.article-content p {
  margin-bottom: 20px;
  line-height: 1.9;
}

.article-content ul {
  margin: 20px 0;
  padding-left: 25px;
}

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

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--secondary);
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}
