/* Teleweg Website Styles - Fully Responsive */

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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: #111;
  padding-top: 80px;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #f8f8f8;
  border-bottom: 1px solid #e2e2e2;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #007a5e;
}

.logo a {
  color: #007a5e;
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo a:hover {
  color: #005c47;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

nav a:hover {
  color: #007a5e;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-switch select {
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid #ddd;
  background-color: #fff;
  font-size: 0.875rem;
}

.login-btn {
  padding: 0.5rem 1.2rem;
  border: 1px solid #007a5e;
  border-radius: 20px;
  color: #007a5e;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  background-color: transparent;
}

.login-btn:hover {
  background-color: #007a5e;
  color: #fff;
}

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: #e9f9f6;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #007a5e;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #005c47;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature {
  background: #f2f2f2;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature h3 {
  margin-bottom: 1rem;
  color: #333;
}

/* Footer */
footer {
  background-color: #2c2c2c;
  color: #ddd;
  padding: 3rem 2rem 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-section h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding-left: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #444;
  padding-top: 1rem;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.footer-copy p {
  margin: 0;
  font-size: 0.875rem;
  color: #bbb;
}

.footer-copy a {
  color: #bbb;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-copy a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #fff;
}

.footer-social svg {
  width: 24px;
  height: 24px;
}

/* Tablet Responsive Design (768px - 1024px) */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .features {
    grid-template-columns: repeat(2, 1fr);
    padding: 3rem 2rem;
  }
  
  header {
    padding: 1rem;
  }
  
  nav ul {
    gap: 1.5rem;
  }
  
  .header-actions {
    gap: 1.2rem;
  }
  
  /* Tablet Footer - 2 columns */
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Responsive Design (up to 768px) */
@media (max-width: 768px) {
  body {
    padding-top: 120px;
  }
  
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
  }
  
  .logo {
    font-size: 1.3rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .header-actions {
    order: 2;
    gap: 1rem;
  }
  
  nav {
    order: 3;
    width: 100%;
  }
  
  nav ul {
    flex-direction: row;
    gap: 1.5rem;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  nav ul::-webkit-scrollbar {
    display: none;
  }
  
  nav ul li {
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  nav a {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.95rem;
  }
  
  .login-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .lang-switch select {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
  
  .hero {
    padding: 3rem 1rem;
  }
  
  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .features {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
    gap: 1.5rem;
  }
  
  .feature {
    padding: 1.2rem;
  }
  
  footer {
    padding: 2rem 1rem 1rem;
  }
  
  /* Mobile Footer - 2 columns */
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-copy {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  .footer-social {
    margin-top: 0.5rem;
    justify-content: center;
  }
}

/* Small Mobile Responsive Design (up to 480px) */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero {
    padding: 2rem 1rem;
  }
  
  .features {
    padding: 1.5rem 0.5rem;
  }
  
  .feature {
    padding: 1rem;
  }
  
  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
  
  header {
    padding: 0.8rem;
  }
  
  footer {
    padding: 1.5rem 0.8rem;
  }
}