/* ===================================================================
   LANCE C. LUTTS - PORTFOLIO STYLESHEET
   Clean, responsive backbone with Teal Navbar & Neon-Orange Accents
   =================================================================== */

:root {
  --teal-nav: #0e6f82;           /* Solid teal/blue bar across top */
  --teal-dark: #0a4f5d;          /* Darker teal for footer and accents */
  --neon-orange: #ff5f1f;        /* Slightly neon-ish orange accent */
  --neon-orange-hover: #ff7d47;  /* Hover state for buttons/links */
  --bg-light: #f5f6f8;           /* Light white/gray background */
  --card-bg: #ffffff;            /* White card background */
  --text-main: #1f2937;          /* High-contrast readable body text */
  --text-muted: #596579;         /* Subdued subtitle text */
  --border-light: #e2e8f0;       /* Crisp light borders */
  --nav-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  --box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===================================================================
   SOLID TEAL TOP NAVIGATION BAR
   =================================================================== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--teal-nav);
  box-shadow: var(--nav-shadow);
  width: 100%;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo span.dot {
  color: var(--neon-orange);
  font-size: 1.8rem;
  line-height: 0;
}

nav.main-nav {
  display: flex;
  gap: 1.5rem;
}

nav.main-nav a {
  color: #e5f4f7;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
  border-bottom: 2px solid var(--neon-orange);
}

/* ===================================================================
   HERO / INDEX FULL-SCREEN SECTION
   =================================================================== */
.hero-fullscreen {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(180deg, #f7f9fa 0%, #ebeef2 100%);
}

.hero-card {
  max-width: 1100px;
  width: 100%;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  padding: 3rem 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.badge-target {
  display: inline-block;
  background-color: rgba(255, 95, 31, 0.12);
  color: var(--neon-orange);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--teal-dark);
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: var(--neon-orange);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(255, 95, 31, 0.35);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background-color: var(--neon-orange-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--teal-nav);
  border: 2px solid var(--teal-nav);
  text-decoration: none;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: var(--teal-nav);
  color: #ffffff;
}

.hero-image-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #dde4e9;
  border: 3px dashed #b9c7cf;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
}

.hero-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
}

/* ===================================================================
   FLOATING TEXT + PICTURE SECTIONS (SCROLLING ON INDEX)
   =================================================================== */
.scroll-sections-container {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.section-headline {
  text-align: center;
  color: var(--teal-dark);
  font-size: 2rem;
  margin-bottom: 2.5rem;
}

.floating-row {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.floating-row.reverse {
  grid-template-columns: 1fr 1fr;
}

.floating-row.reverse .floating-content {
  order: 2;
}

.floating-row.reverse .floating-img {
  order: 1;
}

.floating-content h3 {
  font-size: 1.6rem;
  color: var(--teal-dark);
  margin-bottom: 0.75rem;
}

.floating-content h3 span.accent {
  color: var(--neon-orange);
}

.floating-content p {
  color: var(--text-main);
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

.floating-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #eef2f5;
  border: 2px dashed #b2c1cb;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-muted);
  text-align: center;
  padding: 1rem;
}

.floating-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* ===================================================================
   ABOUT & RESUME PAGE STYLES (MAIN POINT OF SITE)
   =================================================================== */
.page-container {
  max-width: 1050px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
  flex: 1;
}

.about-header-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  padding: 2.5rem;
  border-top: 5px solid var(--neon-orange);
  margin-bottom: 2rem;
}

.contact-quickbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.contact-quickbar a {
  color: var(--teal-nav);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.contact-quickbar a:hover {
  color: var(--neon-orange);
}

.content-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  padding: 2.25rem;
  margin-bottom: 2rem;
}

.content-card h2 {
  font-size: 1.5rem;
  color: var(--teal-dark);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 0.5rem;
}

.content-card h2::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--neon-orange);
  border-radius: 50%;
  margin-right: 0.6rem;
}

/* Skills Badges */
.skill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.skill-tag {
  background: #f0f7f9;
  color: var(--teal-dark);
  border: 1px solid #cce3e8;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.skill-tag:hover {
  background-color: var(--teal-nav);
  color: #ffffff;
  border-color: var(--teal-nav);
}

/* Experience & Education Timelines */
.timeline-item {
  margin-bottom: 1.75rem;
  position: relative;
  padding-left: 1.25rem;
  border-left: 3px solid var(--teal-nav);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.timeline-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.timeline-subtitle {
  color: var(--teal-nav);
  font-weight: 600;
  font-size: 0.95rem;
}

.timeline-dates {
  color: var(--neon-orange);
  font-weight: 700;
  font-size: 0.9rem;
}

.timeline-body {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-top: 0.4rem;
}

/* ===================================================================
   PROJECTS GALLERY CARDS
   =================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.project-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #e5edf0;
  border-bottom: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-info h3 {
  font-size: 1.25rem;
  color: var(--teal-dark);
  margin-bottom: 0.5rem;
}

.project-tag {
  color: var(--neon-orange);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.project-info p {
  font-size: 0.92rem;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

/* ===================================================================
   FOOTER
   =================================================================== */
footer.site-footer {
  background-color: #111e25;
  color: #b0c4cf;
  padding: 2rem 1.5rem;
  margin-top: auto;
  text-align: center;
  font-size: 0.9rem;
}

footer.site-footer a {
  color: var(--neon-orange);
  text-decoration: none;
}

/* ===================================================================
   RESPONSIVE DESIGN (PC & MOBILE COMPATIBLE)
   =================================================================== */
@media (max-width: 820px) {
  .nav-container {
    height: auto;
    padding: 1rem;
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-card {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }

  .floating-row,
  .floating-row.reverse {
    grid-template-columns: 1fr;
  }

  .floating-row.reverse .floating-content {
    order: 1;
  }

  .floating-row.reverse .floating-img {
    order: 2;
  }

  .hero-title {
    font-size: 2rem;
  }
}