/* Style definitions for JN Technologies website */

/* Color palette */
:root {
  --primary: #1f3a93; /* kobaltblau */
  --secondary: #5a2a83; /* violett */
  --background: #f7f9fc; /* off‑white */
  --text: #333;
}

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

body {
  font-family: Arial, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

header {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: white;
  padding: 1rem;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
}
  

header .logo img {
  height: 2rem;
  width: 2rem;
}

header .logo span {
  font-weight: normal;
}

header nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
}

header nav a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.25rem 0.5rem;
  transition: opacity 0.2s;
}

header nav a:hover {
  opacity: 0.8;
}

.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--primary);
  color: white;
}

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

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

.cta-button {
  background: var(--secondary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 1rem;
  transition: background 0.2s;
}

.cta-button:hover {
  background: #48206c;
}

.features {
  padding: 3rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

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

.features p {
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.feature-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  flex: 1 1 calc(33% - 1rem);
  min-width: 250px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.page-header {
  padding: 4rem 2rem;
  background: var(--primary);
  color: white;
  text-align: center;
}

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

.container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form label {
  font-weight: bold;
  margin-bottom: 0.25rem;
}

form input,
form textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

form button {
  align-self: flex-start;
  padding: 0.5rem 1rem;
  background: var(--secondary);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

form button:hover {
  background: #48206c;
}

footer {
  background: #eee;
  padding: 1rem;
  text-align: center;
  margin-top: 2rem;
}

footer ul {
  display: flex;
  gap: 1rem;
  justify-content: center;
  list-style: none;
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
}

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

@media (max-width: 768px) {
  .feature-card {
    flex: 1 1 100%;
  }
}
