/* VMH Insurance Agency ? static site styles */

:root {
  --primary-color: #315862;
  --secondary-color: #719988;
  --accent-color: #c3b28e;
  --accent-hover: #c6bb98;
  --text-color: #333333;
  --bg-white: #ffffff;
  --bg-light: #f4f5f4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  color: var(--text-color);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--bg-white);
  color: var(--primary-color);
  z-index: 10001;
  border: 2px solid var(--secondary-color);
  border-radius: 4px;
}

header {
  background-color: var(--bg-white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
}

.logo img {
  max-height: 65px;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--secondary-color);
}

main {
  flex: 1;
}

.page-header {
  background-color: var(--primary-color);
  color: var(--bg-white);
  text-align: center;
  padding: 4rem 2rem;
}

.content-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  background: linear-gradient(
      rgba(49, 88, 98, 0.85),
      rgba(113, 153, 136, 0.85)
    ),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80")
      center/cover;
  color: var(--bg-white);
  text-align: center;
  padding: 6rem 2rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.services-header {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 3rem;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--secondary-color);
  transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  border-left-color: var(--accent-color);
}

.service-card h3 {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
}

.contact-form label {
  font-weight: 600;
  color: var(--primary-color);
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  width: 100%;
}

.form-note {
  font-size: 0.95rem;
  color: var(--text-color);
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--bg-white);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

footer {
  background-color: #1a2f34;
  color: #e0e0e0;
  text-align: center;
  padding: 2rem;
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}
