
/*
   Debbie Mest Portfolio
   Shared stylesheet for all pages
   =========================================================
*/

:root {
  --green: #004a53;
  --green-dark: #00363d;
  --gray: #eeeeee;
  --black: #000000;
  --white: #ffffff;
  --text: #1b1b1b;
  --muted: #5c6264;
  --border: #d5d9da;
  --focus: #7de1eb;
  --sage: #A8C4B0;
  --slate: #36454F;

  --shadow: 0 12px 35px rgba(0, 0, 0, 0.10);
  --radius: 1rem;
}

/* =========================================================
   BASE
   ========================================================= */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

a {
  color: var(--green);
}

a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

section {
  padding: 5rem 0;
}

.section-gray {
  background: var(--gray);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.035em;
  margin-bottom: 1rem;
  color: var(--slate);
}

.section-intro {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

/* =========================================================
   SKIP LINK
   ========================================================= */

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 2000;
  background: var(--black);
  color: var(--white);
  padding: .75rem 1rem;
  border-radius: .4rem;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.navbar-brand {
  color: var(--black);
  font-weight: 800;
  letter-spacing: -.02em;
}

.navbar-brand:hover {
  color: var(--green);
}

.nav-link {
  color: var(--black);
  font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
  color: var(--green);
}

.logo {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.content-link {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
}

.content-link:hover,
.content-link.active {
  color: var(--black);
}

/* =========================================================
   MAIN HOME-PAGE HERO
   ========================================================= */

.hero {
  background:
    linear-gradient(
      135deg,
      var(--black) 0%,
      #15191a 58%,
      var(--green) 58%,
      var(--green) 100%
    );
  color: var(--white);
  min-height: 78vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -100px;
  bottom: -130px;
  border: 2px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  box-shadow:
    0 0 0 35px rgba(255, 255, 255, .05),
    0 0 0 70px rgba(255, 255, 255, .03);
}

.eyebrow {
  color: var(--sage);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: .05em;
  margin-bottom: .75rem;
}

.hero .eyebrow {
  color: #9DB9AD;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  line-height: .98;
  font-weight: 850;
  letter-spacing: -.045em;
  margin-bottom: 1.25rem;
}

.hero h1 span,
.page-hero h1 span {
  color: var(--sage);
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 700px;
  color: #f0f3f3;
}

.hero-image {
  width: 390px;
  height: 390px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  border: 6px solid var(--gray);
  box-shadow: 0 0 0 3px var(--green);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================================
   INNER-PAGE HERO
   ========================================================= */

.page-hero {
  background:
    linear-gradient(
      135deg,
      var(--black) 0%,
      #15191a 60%,
      var(--green) 60%,
      var(--green) 100%
    );
  color: var(--white);
  padding: 7rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  font-size: clamp(2.75rem, 7vw, 5rem);
  line-height: .98;
  font-weight: 850;
  letter-spacing: -.045em;
  margin-bottom: 1.25rem;
}

.hero-intro,
.project-intro,
.page-intro {
  max-width: 800px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #f0f3f3;
  margin-bottom: 0;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn-primary-custom {
  background: var(--green);
  border: 2px solid var(--green);
  min-height: 48px;
  color: var(--white);
  font-weight: 750;
  padding: .8rem 1.2rem;
}

.btn-primary-custom:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  text-decoration: none;
}

.btn-outline-light-custom {
  background: var(--black);
  border: 2px solid var(--white);
  min-height: 48px;
  color: var(--white);
  font-weight: 750;
  padding: .8rem 1.2rem;
}

.btn-outline-light-custom:hover {
  background: var(--white);
  color: var(--black);
  text-decoration: none;
}

/* Bootstrap button used on project pages */

.project-link-section .btn {
  margin-top: .5rem;
  padding: .85rem 1rem;
  font-weight: 800;
}

.btn-primary {
  --bs-btn-color: var(--white);
  --bs-btn-bg: var(--green);
  --bs-btn-border-color: var(--green);

  --bs-btn-hover-color: var(--white);
  --bs-btn-hover-bg: var(--green-dark);
  --bs-btn-hover-border-color: var(--green-dark);

  --bs-btn-active-color: var(--white);
  --bs-btn-active-bg: var(--green-dark);
  --bs-btn-active-border-color: var(--green-dark);

  --bs-btn-disabled-color: var(--white);
  --bs-btn-disabled-bg: var(--green);
  --bs-btn-disabled-border-color: var(--green);

  --bs-btn-focus-shadow-rgb: 0, 74, 83;
}

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

.about-section {
  background: var(--white);
}

.about-intro {
  max-width: 900px;
  color: var(--text);
  line-height: 1.8;
}

.about-intro p {
  margin-bottom: 1.25rem;
}

/* =========================================================
   SKILLS / CAPABILITIES
   ========================================================= */

.capabilities-section {
  background: var(--black);
  color: var(--white);
}

.capabilities-section .eyebrow {
  color: var(--sage);
}

.capabilities-section .section-title {
  color: var(--white);
}

.skill-bands {
  width: 75%;
  max-width: 800px;
  margin: 0 auto;
}

.skill-band {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.skill-band:first-child {
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.skill-icon {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  font-size: 1.8rem;
  border: 1px solid rgba(168, 196, 176, 0.35);
  border-radius: 50%;
}

.skill-content {
  flex: 1;
}

.skill-content h3 {
  margin: 0 0 8px;
  color: var(--sage);
  font-size: 1.25rem;
  font-weight: 600;
}

.skill-content p {
  margin: 0;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.8;
}

.skill-content p span {
  color: var(--sage);
  padding: 0 5px;
}

.skill-summary {
  max-width: 700px;
  margin: 55px auto 0;
}

.skill-summary p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */

.testimonial-card {
  height: 100%;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.testimonial-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 1rem;
  color: var(--green);
}

.testimonial-card blockquote {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, .08);
}

.testimonial-author strong {
  font-size: .95rem;
}

.testimonial-author span {
  font-size: .85rem;
  color: var(--muted);
}

/* =========================================================
   SELECTED WORK
   ========================================================= */

.selected-work-section {
  background: var(--white);
}

.selected-work-card {
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.selected-work-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--gray);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.selected-work-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.selected-work-image-placeholder {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
}

.selected-work-image-placeholder i {
  display: block;
  font-size: 3rem;
  color: var(--green);
  margin-bottom: .75rem;
}

.selected-work-image-placeholder span {
  display: block;
  font-size: .9rem;
  font-weight: 600;
}

.selected-work-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.selected-work-number {
  color: var(--green);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.selected-work-content h2 {
  font-size: 1.55rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.025em;
  margin-bottom: 1rem;
}

.selected-work-content p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.selected-work-details {
  margin-top: auto;
  padding-top: 1.25rem;
}

.selected-work-label {
  color: var(--green);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .25rem;
}

.selected-work-details p {
  font-size: .95rem;
  margin-bottom: 1rem;
}

.selected-work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.25rem;
}

.selected-work-tag {
  display: inline-block;
  background: var(--gray);
  color: var(--text);
  padding: .35rem .65rem;
  border-radius: .35rem;
  font-size: .78rem;
  font-weight: 650;
}

.selected-work-link,
.project-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 750;
  color: var(--green);
  text-decoration: underline;
}

.selected-work-link:hover,
.project-link:hover {
  color: var(--black);
}

/* =========================================================
   PROJECT DETAIL PAGES
   Add class="project-page" to the <body> of project pages.
   ========================================================= */

.project-page section {
  padding: 2.5rem 0;
}

.project-screenshot {
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-screenshot img {
  width: 80%;
  height: auto;
  display: block;
}

.project-content {
  max-width: 900px;
  margin: 0 auto;
}

.project-content p {
  margin-bottom: 1.25rem;
}

.project-section {
  margin-top: 4rem;
}

.project-section:first-child {
  margin-top: 0;
}

.project-subsection {
  margin-top: 1.5rem;
}

.project-subsection h3 {
  font-size: 1.55rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1rem;
}

.project-subsection ul {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.project-subsection li {
  margin-bottom: .25rem;
}

.project-subsection li:last-child {
  margin-bottom: 0;
}

.logo-comparison {
  margin-top: 4rem;
}

.logo-project {
  margin-bottom: 4rem;
}

.logo-project:last-child {
  margin-bottom: 0;
}

.logo-project h3,
.logo-project h4 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--slate);
}

.detail-label {
  color: var(--black);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: .75rem;
}


.logo-image {
  text-align: center;
  background-color: #fff;
  border: 1px solid var(--border);
  padding: 1.5rem;
}

.logo-image .detail-label {
  text-align: center;
  margin-bottom: 0.75rem;
}

.logo-image img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}




.sncma-logo {
  width: 75%;
  display: block;
  margin: 0 auto;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.5rem;
}

.skill-tag {
  display: inline-block;
  padding: .5rem .85rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: var(--gray);
  font-size: .9rem;
  line-height: 1.2;
}

.project-link-section {
  padding-bottom: 4rem;
  text-align: center;
}

/* =========================================================
   PRIVACY / ACCESSIBILITY PAGES
   ========================================================= */

.privacy-section,
.accessibility-section {
  padding: 4rem 0;
}

.privacy-content,
.accessibility-content {
  max-width: 900px;
  margin: 0 auto;
}

.privacy-content section,
.accessibility-content section {
  padding: 0;
  margin-bottom: 3rem;
}

.privacy-content section:last-child,
.accessibility-content section:last-child {
  margin-bottom: 0;
}

.privacy-content p,
.accessibility-content p {
  margin-bottom: 1.15rem;
}

.privacy-content ul,
.accessibility-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.privacy-content li,
.accessibility-content li {
  margin-bottom: .35rem;
}

.privacy-content li:last-child,
.accessibility-content li:last-child {
  margin-bottom: 0;
}

.last-updated {
  display: inline-block;
  margin-bottom: 3rem;
  padding: .5rem .85rem;
  background: var(--gray);
  border: 1px solid var(--border);
  border-radius: .4rem;
  font-size: .9rem;
}

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

.contact-section {
  background: var(--green);
  color: #e4f0f1;
}

.contact-section .section-title {
  color: var(--white);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 48px;
  padding: .65rem 1rem;
  border: 2px solid var(--white);
  border-radius: .5rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 750;
}

.social-link:hover {
  background: var(--white);
  color: var(--black);
  text-decoration: none;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  background: var(--black);
  color: #d8dddd;
  padding: 1.5rem 0;
  font-size: .9rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}

.footer-link {
  color: var(--white);
  text-decoration: underline;
}

.footer-link:hover,
.footer-link:focus {
  color: var(--sage);
  text-decoration: underline;
}

.footer-divider {
  color: #777;
}

.back-to-top {
  color: var(--white);
  text-decoration: none;
}

.back-to-top:hover {
  color: var(--sage);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
    padding: 5rem 0;
    background:
      linear-gradient(
        160deg,
        var(--black) 0%,
        #15191a 72%,
        var(--green) 72%
      );
  }

  .hero-image {
    min-height: 300px;
    margin-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  .logo {
    height: 58px;
    max-width: 200px;
  }

  .page-hero {
    padding: 5rem 0 4rem;
    background:
      linear-gradient(
        160deg,
        var(--black) 0%,
        #15191a 72%,
        var(--green) 72%
      );
  }

  .project-page section {
    padding: 3.75rem 0;
  }

  .skill-band {
    gap: 20px;
    padding: 26px 0;
  }

  .skill-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }

  .skill-content h3 {
    font-size: 1.1rem;
  }

  .skill-content p {
    font-size: .95rem;
    line-height: 1.7;
  }

  .skill-content p span {
    padding: 0 2px;
  }

  .skill-summary {
    margin-top: 45px;
  }

  .selected-work-content {
    padding: 1.5rem;
  }

  .project-screenshot {
    min-height: 300px;
  }

  .sncma-logo {
    width: 90%;
  }

  .privacy-section,
  .accessibility-section {
    padding: 3rem 0;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  section {
    padding: 3.75rem 0;
  }

  .hero {
    padding: 4rem 0;
  }

  .hero-image {
    min-height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
