/* Graham Miranda UG - Wolfenbüttel City Site Styles */

:root {
  --primary: #1e3a5f;
  --secondary: #2d5a87;
  --accent: #e67e22;
  --light: #f4f7fa;
  --dark: #1a1a2e;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --border: #e1e8ef;
  --success: #27ae60;
}

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

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

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

/* Header */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-top {
  background: var(--primary);
  color: var(--white);
  padding: 8px 0;
  font-size: 14px;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top a {
  color: var(--white);
  text-decoration: none;
}

.header-top a:hover {
  text-decoration: underline;
}

nav {
  padding: 15px 0;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.logo-text {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: white !important;
  padding: 10px 20px;
  border-radius: 6px;
}

.nav-cta:hover {
  background: #d35400;
}

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

.lang-toggle a {
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 13px;
}

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

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

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

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='150' cy='80' r='80' fill='rgba(255,255,255,0.05)'/%3E%3Ccircle cx='50' cy='150' r='100' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E");
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

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

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

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

.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}

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

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

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

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: var(--primary);
}

.section-dark .section-header h2 {
  color: white;
}

.section-header p {
  color: var(--text-light);
  font-size: 18px;
}

.section-dark .section-header p {
  color: rgba(255,255,255,0.7);
}

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

.service-card {
  background: white;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--primary);
}

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

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

.benefit-item {
  text-align: center;
  padding: 30px;
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 20px;
}

.benefit-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary);
}

.benefit-item p {
  color: var(--text-light);
  font-size: 15px;
}

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

.about-image {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 16px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 100px;
}

.about-content h2 {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 20px;
}

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

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

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
}

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

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

.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

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

.blog-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 60px;
}

.blog-content {
  padding: 25px;
}

.blog-date {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 10px;
}

.blog-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--primary);
}

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

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

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

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

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

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

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

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

.contact-item h4 {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 5px;
}

.contact-item p,
.contact-item a {
  font-size: 16px;
  color: white;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.3s;
}

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

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

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

.legal-content h1 {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 30px;
}

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

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

.legal-content ul {
  color: var(--text-light);
  margin-left: 25px;
  margin-bottom: 15px;
}

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

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

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

.footer-about h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.footer-about p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

.footer-links h4 {
  font-size: 16px;
  margin-bottom: 15px;
}

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

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}

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

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

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

.backlinks-banner h4 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 16px;
}

.backlinks-banner a {
  color: var(--secondary);
  margin: 0 15px;
  text-decoration: none;
  font-weight: 500;
}

.backlinks-banner a:hover {
  color: var(--accent);
  text-decoration: underline;
}

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

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

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

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

.cta-section .btn:hover {
  background: var(--light);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
}
