/* ============================================
   DESIGN TOKENS (CSS Variables)
   ============================================ */
:root {
  /* Primary Colors */
  --charcoal: #2C3E50;
  --forest-green: #27ae60;
  --warm-white: #FEFEFE;

  /* Supporting Colors */
  --sage-gray: #95A5A6;
  --light-gray: #F7F9FA;
  --border-gray: #e5e7eb;

  /* Interactive States */
  --green-hover: #229954;
  --focus-blue: #3498DB;

  /* Status Colors */
  --success-bg: #D4EDDA;
  --success-text: #155724;
  --success-border: #C3E6CB;
  --error-bg: #F8D7DA;
  --error-text: #721C24;
  --error-border: #F5C6CB;

  /* Typography */
  --font-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

  /* Line Heights */
  --lh-tight: 1.2;
  --lh-normal: 1.6;
  --lh-relaxed: 1.8;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-system);
  line-height: var(--lh-normal);
  color: var(--charcoal);
  background-color: var(--warm-white);
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
  border-bottom: 1px solid var(--border-gray);
}

.nav-container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
}

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

.nav-links a {
  color: var(--sage-gray);
  text-decoration: none;
}

.nav-links a.active {
  color: var(--charcoal);
}

.linkedin-icon {
  display: flex;
  align-items: center;
  padding: 0.25rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  padding: 5rem 2rem;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-section.hero-small {
  padding: 3rem 2rem;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.4);
  z-index: 1;
}

.hero-content {
  max-width: 64rem;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: var(--lh-tight);
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: var(--lh-normal);
  color: var(--charcoal);
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary,
.btn-secondary,
.btn-cta {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--forest-green);
  color: white;
}

.btn-primary:hover {
  background-color: var(--green-hover);
}

.btn-secondary {
  background-color: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}

.btn-secondary:hover {
  background-color: var(--charcoal);
  color: white;
}

.btn-cta {
  background-color: var(--forest-green);
  color: white;
}

.btn-cta:hover {
  background-color: var(--green-hover);
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */

/* Intro Section */
.intro-section {
  padding: 3rem 2rem;
  background-color: var(--light-gray);
}

/* Cards Section */
.cards-section {
  padding: 3rem 2rem;
}

.cards-container {
  max-width: 1152px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  border: 1px solid var(--border-gray);
  border-radius: 0.5rem;
  padding: 2rem;
}

.card h2 {
  font-size: 1.5rem;
  line-height: var(--lh-tight);
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.card p {
  color: var(--charcoal);
  line-height: var(--lh-normal);
  margin-bottom: 1.5rem;
}

.card-link {
  color: var(--forest-green);
  text-decoration: none;
  font-weight: 600;
}

.card-link:hover {
  color: var(--green-hover);
}

/* CTA Section */
.cta-section {
  padding: 3rem 2rem;
  background-color: var(--charcoal);
  text-align: center;
}

.cta-content {
  max-width: 48rem;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2rem;
  line-height: var(--lh-tight);
  color: white;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.125rem;
  line-height: var(--lh-normal);
  color: white;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Content Section */
.content-section {
  padding: 3rem 2rem;
}

.content-container,
.content-container-narrow {
  max-width: 48rem;
  margin: 0 auto;
}

.content-container-narrow {
  max-width: 40rem;
}

.content-container h2,
.content-container-narrow h2 {
  font-size: 2rem;
  line-height: var(--lh-tight);
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.content-container p,
.content-container-narrow p {
  font-size: 1.125rem;
  line-height: var(--lh-relaxed);
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.content-container ul {
  font-size: 1.125rem;
  line-height: var(--lh-relaxed);
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  margin-left: 2rem;
}

.content-container li {
  margin-bottom: 0.75rem;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

/* Profile Section */
.profile-section {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}

.profile-image img {
  width: 100%;
  border-radius: 0.5rem;
}

.profile-content h2 {
  font-size: 2rem;
  line-height: var(--lh-tight);
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.profile-content p {
  font-size: 1.125rem;
  line-height: var(--lh-relaxed);
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

/* Principles Section */
.principles-section {
  padding: 3rem 2rem;
  background-color: var(--light-gray);
}

.principle {
  margin-bottom: 2.5rem;
}

.principle h3 {
  font-size: 1.25rem;
  line-height: var(--lh-tight);
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.principle p {
  font-size: 1.125rem;
  line-height: var(--lh-relaxed);
  color: var(--charcoal);
}

/* ============================================
   SERVICES PAGE
   ============================================ */

/* Services Grid */
.services-grid {
  padding: 3rem 2rem;
}

.services-container {
  max-width: 1152px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 4rem;
}

.service-column h2 {
  font-size: 2rem;
  line-height: var(--lh-tight);
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.service-item {
  margin-bottom: 2rem;
}

.service-item h3 {
  font-size: 1.25rem;
  line-height: var(--lh-tight);
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.service-item p {
  font-size: 1.125rem;
  line-height: var(--lh-relaxed);
  color: var(--charcoal);
}

/* Engagement Section */
.engagement-section {
  padding: 3rem 2rem;
  background-color: var(--light-gray);
}

/* ============================================
   CONTACT PAGE
   ============================================ */

/* Contact Section */
.contact-section {
  margin-bottom: 3rem;
}

.contact-section h2 {
  font-size: 1.75rem;
  line-height: var(--lh-tight);
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.contact-section p {
  font-size: 1.125rem;
  line-height: var(--lh-relaxed);
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.contact-section a {
  color: var(--forest-green);
  text-decoration: underline;
}

.contact-section a:hover {
  color: var(--green-hover);
}

/* Contact Form */
.contact-form {
  margin-top: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-gray);
  border-radius: 0.375rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--charcoal);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--focus-blue);
}

.contact-action {
  margin-top: 2rem;
}

/* Contact Note */
.contact-note {
  background-color: var(--light-gray);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-top: 3rem;
}

.contact-note p {
  font-size: 1rem;
  line-height: var(--lh-normal);
  color: var(--charcoal);
  margin: 0;
}

/* ============================================
   MESSAGES
   ============================================ */
.message {
  padding: 1rem;
  border-radius: 0.375rem;
  margin-top: 1.5rem;
}

.message--success {
  background-color: var(--success-bg);
  color: var(--success-text);
  border: 1px solid var(--success-border);
}

.message--error {
  background-color: var(--error-bg);
  color: var(--error-text);
  border: 1px solid var(--error-border);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  border-top: 1px solid var(--border-gray);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--sage-gray);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--sage-gray);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--charcoal);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .services-container {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .profile-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}
