/* ========== Reset/Grundlayout ========== */
/* Reset margins, paddings and set box-sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Ensure html and body have full height */
html, body {
  height: 100%;
}

/* Set body as flex container for sticky footer */
body {
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  background: #0e1c46 url('img/network.webp') no-repeat center center fixed;
  background-size: cover;
  color: #e0e0e0;
}

/* Main area fills space above footer */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}

/* Content block with dark background */
.content-block {
  background: rgba(20, 20, 20, 0.95);
  padding: 2rem;
  border-radius: 8px;
  max-width: 900px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  color: #e0e0e0;
}

/* Headings and paragraph styles within content block */
.content-block h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #ffffff;
}
.content-block h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 2rem 0 0.75rem;
  color: #f0f0f0;
}
.content-block h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 1.5rem 0 0.75rem;
  color: #f0f0f0;
}
.content-block p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* List styles */
.content-block ul {
  margin-bottom: 1rem;
  margin-left: 1.25rem;
  list-style: disc;
}
.content-block li {
  margin-bottom: 0.5rem;
}

/* Horizontal rule style */
.content-block hr {
  border: none;
  border-bottom: 1px solid #555;
  margin: 1.5rem 0;
}

/* Form section and group styles */
.form-section {
  margin-bottom: 1.5rem;
}
.form-section h3 {
  margin-bottom: 0.75rem;
}
.form-group {
  margin-bottom: 1rem;
}
form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 0.75rem;
  color: #e0e0e0;
  background: #222;
  border: 1px solid #555;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Error message style */
.error {
  color: #d9534f;
  margin-bottom: 1rem;
  font-weight: bold;
}

/* Price rows and product card styles */
.price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.product-card, .offer-card {
  border: 1px solid #444;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  background: #333;
  color: #e0e0e0;
}
.min-ram {
  font-style: italic;
  margin-top: 0.5rem;
  color: #ccc;
}
.additional-options {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed #555;
}
.additional-options h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Note style for product hints */
.note {
  background: #1e3a8a;
  padding: 1rem;
  border-left: 4px solid #fff;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  color: #fff;
}

/* Contact button container */
.contact-button {
  text-align: center;
  margin-top: 1.5rem;
}

/* ========== Header & Navigation ========== */
header {
  background: rgba(30, 64, 175, 0.9);
}
.header-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}
#headerLogo {
  height: 40px !important;
  width: auto !important;
  margin-right: 0.5rem;
}
.header-logo span {
  font-size: 1.25rem;
  font-weight: bold;
}
.header-nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.header-nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: background 0.3s ease;
  padding: 0.25rem 0.5rem;
}
.header-nav a:hover {
  background: #1e3a8a;
  border-radius: 4px;
}

/* ========== Footer ========== */
footer {
  background: rgba(30, 64, 175, 0.9);
  text-align: center;
  padding: 0.5rem 0;
}
footer a {
  text-decoration: none;
  color: #fff;
  margin: 0 0.5rem;
}
footer a:hover {
  text-decoration: underline;
}
footer p {
  color: #fff;
  font-size: 0.875rem;
}

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  background: #1E40AF;
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  font-weight: 500;
  margin-top: 1rem;
  transition: background 0.3s ease;
}
.btn:hover {
  background: #1e3a8a;
}

/* ========== Typography & Utility ========== */
h1, h2, h3 {
  font-weight: bold;
}
p {
  line-height: 1.6;
}

/* ========== Hero Large Section ========== */
.hero-large {
  text-align: center;
  padding: 4rem 2rem;
  margin-bottom: 2rem;
}
.hero-large h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero-large p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}
.hero-large .btn {
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem;
}

/* ========== Mobile Optimizations ========== */
@media (max-width: 768px) {
  main {
    padding: 1rem;
  }
  .content-block {
    padding: 1.5rem;
    border-radius: 4px;
    max-width: 100%;
    margin: 0 0.5rem;
  }
  .content-block h1 {
    font-size: 1.75rem;
  }
  .content-block h2 {
    font-size: 1.3rem;
  }
  .content-block h3 {
    font-size: 1.1rem;
  }
  .header-container {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .header-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
  .header-nav a {
    padding: 0.5rem 1rem;
  }
  form input[type="text"],
  form input[type="email"],
  form textarea {
    padding: 0.65rem;
    font-size: 0.9rem;
  }
  .btn {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
  }
}
