/* Bison Fuels - Shared Styles */
/* Using Poppins - a clean, geometric sans-serif similar to Century Gothic */

:root {
  --navy-dark: #293C52;
  --navy-mid: #3D5166;
  --navy-light: #91A0B1;
  --green-dark: #769693;
  --green-light: #90B7B3;
  --green-text: #516A6A; /* High contrast green for text on white backgrounds */
  --white: #FFFFFF;
  --off-white: #F8FAFB;
  --text-dark: #1C2A38;
  --text-muted: #5A6B7A;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  font-size: 110%; /* Improved readability at default zoom */
}
body {
  font-family: 'Poppins', 'Century Gothic', 'Futura', -apple-system, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

/* Reveal Animation */
.reveal { opacity: 0; transform: translateY(60px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
}
.nav.scrolled {
  background: rgba(41, 60, 82, 0.95);
  backdrop-filter: blur(20px);
  padding: 16px 48px;
}
.nav.solid {
  background: rgba(41, 60, 82, 0.95);
  backdrop-filter: blur(20px);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 48px; list-style: none; }
.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  padding: 8px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-light);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 28px; height: 2px; background: var(--white); }

/* Mobile Navigation */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nav-mobile.active { display: flex; }
.nav-mobile a {
  color: var(--white);
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
}
.nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.nav-close::before, .nav-close::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--white);
  top: 50%;
  left: 50%;
}
.nav-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* Page Header */
.page-header {
  padding: 180px 48px 120px;
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(118, 150, 147, 0.1) 0%, transparent 60%);
}
.page-header-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-light);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.page-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
}
.page-subtitle {
  font-size: 1.15rem;
  color: var(--navy-light);
  line-height: 1.8;
  max-width: 800px;
}

/* Section Styles */
.section-container { max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 64px; }
.section-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-text);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--navy-dark);
  line-height: 1.2;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--green-dark); color: var(--white); }
.btn-primary:hover { background: var(--green-light); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(118,150,147,0.3); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-outline { background: transparent; color: var(--navy-dark); border: 2px solid var(--navy-dark); }
.btn-outline:hover { background: var(--navy-dark); color: var(--white); }

/* Bio Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(41, 60, 82, 0.9);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal-content {
  background: var(--white);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 48px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.modal-close:hover { background: var(--navy-light); }
.modal-close::before, .modal-close::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--navy-dark);
}
.modal-close::before { transform: rotate(45deg); }
.modal-close::after { transform: rotate(-45deg); }
.modal-header { display: flex; gap: 24px; margin-bottom: 32px; }
.modal-photo { width: 120px; height: 150px; flex-shrink: 0; overflow: hidden; }
.modal-photo img { width: 100%; height: 100%; object-fit: cover; }
.modal-title-area h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 4px;
}
.modal-title-area .modal-role {
  font-size: 1rem;
  color: var(--green-text);
  font-weight: 600;
  margin-bottom: 4px;
}
.modal-title-area .modal-location {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.modal-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}
.modal-linkedin:hover { color: var(--green-text); }
.modal-linkedin svg { width: 20px; height: 20px; fill: currentColor; }
.modal-bio { font-size: 0.95rem; color: var(--text-dark); line-height: 1.8; }
.modal-bio p { margin-bottom: 16px; }
.modal-bio p:last-child { margin-bottom: 0; }

/* Footer */
.footer { background: var(--navy-dark); padding: 80px 48px 40px; }
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { max-width: 300px; }
.footer-logo { display: flex; align-items: center; margin-bottom: 20px; }
.footer-logo img { height: 36px; width: auto; }
.footer-tagline { font-size: 0.95rem; color: var(--navy-light); line-height: 1.6; }
.footer-column h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 12px; }
.footer-column a { color: var(--navy-light); text-decoration: none; font-size: 0.9rem; transition: color 0.3s ease; }
.footer-column a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
}
.footer-copyright { font-size: 0.85rem; color: var(--navy-light); }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.footer-social a:hover { background: var(--green-dark); }
.footer-social svg { width: 20px; height: 20px; fill: var(--white); }

/* Responsive */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .page-header { padding: 140px 24px 80px; }
  .footer { padding: 60px 24px 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 24px; text-align: center; }
  .modal-content { padding: 32px 24px; }
  .modal-header { flex-direction: column; align-items: center; text-align: center; }
  .modal-photo { width: 100px; height: 125px; }
}
