:root {
  --green: #1e6b16;
  --dark: #1a2535;
}

h1 small {
  color: #fff !important;
}

.dhc-photo-caption {
  overflow: auto;
  text-overflow: initial;
  white-space: inherit;
}

/* Fixed header */
.dhc-page-header-fixed {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--green);
}

.dhc-page-header-fixed-show {
  display: block;
}

@media (max-width: 768px) {
  .dhc-page-header-fixed-show {
    display: none;
  }
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9375rem 1.25rem;
}

.site-header-inner img {
  height: 40px;
  width: auto;
}

.site-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.25rem;
}

.site-nav a {
  color: #ffffff;
  text-decoration: none;
  padding: 0.3125rem 0.625rem;
  font-size: 2rem;
}

.site-nav a:hover {
  color: #ffffff;
  opacity: 0.8;
}

/* Button styles */
.btn-dhc,
.btn-dhc-wht {
  display: inline-block;
  font-size: 1.4rem;
  padding: 1.3rem 2.6rem;
  margin-top: 3rem;
  margin-right: 1.5rem;
  border: 2px solid;
  text-decoration: none;
}

.btn-dhc {
  color: var(--dark);
  border-color: var(--dark);
}

.btn-dhc-wht {
  color: #ffffff;
  border-color: #ffffff;
}

.button-row {
  display: flex;
  justify-content: space-around;
  margin: 1.25rem 0;
}

@media (max-width: 768px) {
  .button-row {
    flex-direction: column;
    align-items: center;
  }
  .button-row .btn-dhc-wht {
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 2rem;
  }
}

/* Hero section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background-color: #747d7d;
  color: #ffffff;
}

.hero-inner {
  width: 100%;
  max-width: 1400px;
  padding: 3rem 1.25rem 1.25rem;
}

/* In-page nav */
.hero-nav {
  text-align: right;
  margin-bottom: -0.625rem;
}

.hero-nav .dhc-menu-mobile-toggle {
  display: none;
}

.hero-nav-list {
  display: inline-flex;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 2rem;
}

.hero-nav-list a {
  display: block;
  padding: 0.625rem;
  color: #ffffff;
  text-decoration: none;
}

.hero-nav-list .sub-menu {
  display: none;
}

@media (max-width: 768px) {
  .hero-nav .dhc-menu-mobile-toggle {
    display: inline-block;
    float: right;
    color: #000000;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.625rem;
  }
  .hero-nav-list {
    display: none;
  }
  .hero-nav-list.dhc-menu-open {
    display: block;
    clear: both;
  }
  .hero-nav-list li {
    display: block;
  }
}

/* Logo */
.hero-logo {
  display: block;
  margin: 1.875rem auto 1.25rem;
}

@media (max-width: 768px) {
  .hero-logo {
    margin: 8rem auto 5rem;
  }
}

/* Title */
.hero-title {
  text-align: center;
  color: #ffffff;
  margin-top: 0.625rem;
}

/* CTA button */
.hero-cta-btn {
  display: block;
  width: fit-content;
  margin: 6.5625rem auto 0;
  padding: 1.5rem 3rem;
  background: var(--green);
  color: #ffffff;
  font-size: 1.5rem;
  border: 1px solid #1a5f12;
  text-decoration: none;
}
.hero-cta-btn:hover {
  background: var(--green);
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 768px) {
  .hero-cta-btn {
    width: 80%;
    text-align: center;
  }
}

/* Mobile icons (hidden on desktop) */
.hero-mobile-icons {
  display: none;
  max-width: 100%;
  margin: 1.25rem auto;
}
@media (max-width: 768px) {
  .hero-mobile-icons {
    display: block;
  }
}

/* Desktop icons (hidden on mobile) */
.hero-icons {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}
@media (max-width: 768px) {
  .hero-icons {
    display: none;
  }
}

.hero-icon {
  flex: 0 0 14.28%;
  text-align: center;
  padding: 1.75rem 0;
}

.hero-icon .dhc-photo-content {
  display: inline-block;
  position: relative;
  max-width: 100%;
}

.hero-icon img {
  max-width: 100%;
  height: auto;
}

/* Section separator */
.section-separator {
  border: none;
  border-top: 50px solid var(--green);
  margin: -1.5rem 0 0 0;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation classes - trigger on scroll */
.dhc-animation {
  opacity: 0;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.dhc-animation.dhc-animated {
  opacity: 1;
  transform: none;
}

.dhc-fade-up {
  transform: translateY(30px);
}
.dhc-fade-down {
  transform: translateY(-30px);
}
.dhc-fade-in {
  opacity: 0;
}

.dhc-animation.dhc-animated.dhc-fade-up,
.dhc-animation.dhc-animated.dhc-fade-down,
.dhc-animation.dhc-animated.dhc-fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* About / What I Do section */
.about-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--dark);
  color: #ffffff;
  text-align: center;
}

.about-inner {
  width: 100%;
  max-width: 960px;
  padding: 2.5rem 1.25rem;
}

.about-title {
  text-decoration: underline;
  color: #ffffff;
}

.about-text {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 5rem;
}

/* Footer */
.site-footer {
  background-color: var(--green);
  color: #ffffff;
  font-size: 0.75rem;
  text-align: center;
  padding: 1.25rem;
}

/* Contact section */
.contact-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #747d7d;
  color: #ffffff;
  text-align: center;
}

.contact-inner {
  width: 100%;
  max-width: 960px;
  padding: 2.5rem 1.25rem;
}

.contact-heading {
  color: #ffffff;
}

.contact-section a {
  color: #ffffff;
}
.contact-section a:hover {
  color: #ffffff;
}

.contact-icons {
  margin-top: 1.25rem;
}
.contact-icons a {
  font-size: 3.4375rem;
  text-decoration: none;
  margin: 0 0.3125rem;
}
.contact-icons a:hover {
  color: #ffffff;
  opacity: 0.7;
}

/* Resume section */
.resume-section {
  background-color: #f9f9f9;
  padding: 2.5rem 1.25rem;
}

.resume-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.resume-heading {
  color: var(--green);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1.875rem;
}

.resume-columns {
  display: flex;
  gap: 1.875rem;
  align-items: flex-start;
}

.resume-pdf-col {
  flex: 0 0 25%;
}
.resume-content-col {
  flex: 0 0 50%;
}
.resume-skills-col {
  flex: 0 0 25%;
}

.resume-pdf-btn {
  display: block;
  text-align: center;
  padding: 1.125rem 2.25rem;
  color: #363a46;
  font-size: 2rem;
  border: 2px solid #2a2e3a;
  text-decoration: none;
  background: transparent;
}
.resume-pdf-btn:hover {
  color: #5e657d;
}

.resume-section-title {
  color: var(--green);
}

@media (max-width: 768px) {
  .resume-columns {
    flex-direction: column;
  }
  .resume-pdf-col,
  .resume-content-col,
  .resume-skills-col {
    flex: none;
    width: 100%;
  }
}

/* Portfolio sections */
.portfolio-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-fathen-section {
  background-color: #f9f9f9;
}
.portfolio-craigslist-section {
  background-color: var(--dark);
  color: #ffffff;
}
.portfolio-url-section {
  background-color: #f9f9f9;
}

.portfolio-inner {
  width: 100%;
  max-width: 1200px;
  padding: 2.5rem 1.25rem;
}

.portfolio-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.portfolio-text {
  flex: 1;
}
.portfolio-image {
  flex: 1;
  text-align: center;
}
.portfolio-image img {
  max-width: 100%;
  height: auto;
}

.portfolio-title {
  text-decoration: underline;
  color: inherit;
}
.portfolio-craigslist-section .portfolio-title {
  color: #ffffff;
}
.portfolio-desc {
  font-size: 2rem;
  font-weight: 400;
  color: #595959;
}

.portfolio-craigslist-section .portfolio-desc {
  color: #ffffff;
}

.portfolio-nav {
  text-align: center;
  margin-top: 1.25rem;
}
.portfolio-nav a {
  font-size: 4rem;
  text-decoration: none;
}
.portfolio-fathen-section .portfolio-nav a,
.portfolio-url-section .portfolio-nav a {
  color: var(--dark);
}
.portfolio-craigslist-section .portfolio-nav a {
  color: #ffffff;
}

@media (max-width: 768px) {
  .portfolio-row {
    flex-direction: column;
  }
}

