/* HilleTech Website Styles
   Author: Generated by AI
   Description: A simple, responsive style sheet for the HilleTech static site.
*/

/* CSS Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  line-height: 1.5;
  background-color: #f5f7fa;
  color: #222;
}

a {
  color: #04427d;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  background-color: #083d77;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 0.04em;
}

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

nav li a {
  color: #fff;
  font-weight: 500;
  transition: opacity 0.2s;
}

nav li a:hover {
  opacity: 0.8;
}

/* Hero section */
.hero {
  padding: 4rem 2rem;
  background-image: linear-gradient(to bottom right, #09498c, #0e7bc5);
  color: #fff;
  text-align: center;
}

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

.hero p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0.5rem auto 2rem;
}

.cta-btn {
  display: inline-block;
  background-color: #ffc107;
  color: #083d77;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s;
}

.cta-btn:hover {
  background-color: #e0a800;
}

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

.feature {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.2s;
}

.feature:hover {
  transform: translateY(-4px);
}

.feature h3 {
  margin-bottom: 0.5rem;
  color: #083d77;
  font-size: 1.3rem;
}

.feature p {
  font-size: 0.95rem;
  color: #444;
}

/* Footer */
footer {
  background-color: #083d77;
  color: #fff;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
}

footer p {
  margin-bottom: 0.5rem;
}

/* Layout helpers */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1.5rem;
}

.section {
  padding: 3rem 0;
}

.section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #083d77;
}

/* Table for Skills Matrix */
.skills-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.skills-table th,
.skills-table td {
  border: 1px solid #ddd;
  padding: 0.75rem;
  text-align: left;
}

.skills-table th {
  background-color: #f0f3f6;
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: auto;
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-form label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: bold;
  color: #083d77;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
}

.contact-form button {
  background-color: #083d77;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s;
}

.contact-form button:hover {
  background-color: #062b50;
}

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

.blog-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-card h3 {
  color: #083d77;
  margin-bottom: 0.5rem;
}

.blog-card span {
  font-size: 0.8rem;
  color: #777;
}

.blog-card p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* Simple filter buttons for projects */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.filters button {
  background-color: #f0f3f6;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

.filters button.active {
  background-color: #083d77;
  color: #fff;
}

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

.project-card {
  background-color: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.project-card h3 {
  color: #083d77;
  margin-bottom: 0.5rem;
}
.project-card .tags {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 0.5rem;
}
.project-card p {
  font-size: 0.9rem;
}
