/*
 * Main stylesheet for the BMZ Technology website.  This file defines the
 * typography, colours and responsive layout shared across all pages.  The
 * design is intentionally clean and modern to highlight the company’s
 * technical focus.  The colour palette is based on blues and greys and
 * ensures sufficient contrast for readability.
 */

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

html {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #f5f5f5;
  background-color: #0a192f;
}

body {
  line-height: 1.6;
}

a {
  color: #64ffda;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #89f7e0;
}

header {
  background-color: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 0.5rem 1rem;
}

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

.nav-logo {
  font-size: 1.3rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.language-toggle {
  display: flex;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.language-toggle a {
  opacity: 0.7;
}

.language-toggle a.active {
  opacity: 1;
  font-weight: bold;
}

/* Hero section */
.hero {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 340px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.hero h1 {
  position: relative;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  position: relative;
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: #ccd6f6;
}

main {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

section {
  margin-bottom: 3rem;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #64ffda;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: #112240;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 4px 8px rgba(2, 12, 27, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(2, 12, 27, 0.6);
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  color: #e6f1ff;
}

.card p {
  font-size: 0.95rem;
  color: #a8b2d1;
}

/* Contact form and information */
.contact-info {
  background-color: #112240;
  border-radius: 8px;
  padding: 1rem;
  color: #a8b2d1;
}

.contact-info a {
  word-break: break-all;
}

/* Footer */
footer {
  background-color: #0a192f;
  padding: 1rem 0;
  text-align: center;
  color: #8892b0;
  font-size: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .language-toggle {
    margin-top: 0.5rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
}