/* =========================
   Global Reset & Variables
========================= */
:root {
  --primary: #00416A;
  --lightblue-start: #cfe7ff;
  --lightblue-end: #e6f2ff;
  --text: #333;
  --white: #fff;
  --dark: #222;
}

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

html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: "Segoe UI", Calibri, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* =========================
   Navbar
========================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--dark);
  padding: 0.5rem 2rem;
  color: var(--white);
}

.logo a {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 75px;
  width: auto;
  border-radius: 50%;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 0.7;
}

.nav-links a.active {
  border-bottom: 2px solid var(--white);
  font-weight: bold;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--dark);
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 1rem;
    border-radius: 0 0 0 8px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* =========================
   Hero Section
========================= */
.hero {
  background: linear-gradient(135deg, var(--lightblue-start), var(--lightblue-end));
  text-align: center;
  padding: 5rem 1rem;
  color: var(--dark);
}

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

.hero p {
  font-size: 1.2rem;
  opacity: 0.95;
}

.hero .btn {
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 1rem;
  display: inline-block;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
}

.hero .btn:hover {
  background: var(--dark);
}

/* =========================
   Intro Section
========================= */
.intro {
  text-align: center;
  padding: 2rem 1rem;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text);
}

.headshot {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 1rem auto;
}

@media (max-width: 480px) {
  .headshot {
    width: 120px;
    height: 120px;
  }
}

/* =========================
   Bio Section
========================= */
.bio-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

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

.bio-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.bio-section p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  text-align: left;
}

/* =========================
   Featured Section / Cards
========================= */
.featured {
  padding: 3rem 1rem;
  text-align: center;
}

.featured h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary);
}

.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 1rem;
}

.card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.card p {
  margin-bottom: 0.75rem;
  color: #555;
}

.card ul {
  margin: 0 0 1rem 1.2rem;
  padding: 0;
}

.card li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.card .price {
  font-size: 1rem;
  font-weight: bold;
  color: var(--primary);
  margin-top: 1rem;
}

.card.full-width {
  grid-column: 1 / -1;
}

/* =========================
   Footer
========================= */
footer {
  text-align: center;
  padding: 1rem;
  background: var(--dark);
  color: var(--white);
  margin-top: auto;
  font-size: 0.9rem;
  opacity: 0.9;
}

.contact-form {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 2rem auto;
  gap: 1rem;
}

.contact-form label {
  text-align: left;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #022c43;
}

