/* ===== YOUR CSS GOES HERE ===== */
/* ===== START BY IMPORTING YOUR FONTS ===== */ 
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');
/* ===== NEXT WRITE GLOBAL STYLES, THEN USE MEDIA QUERIES FOR LAYOUT/STYLE ADJUSTMENTS ===== */

/* ===== STARTER CSS BELOW FOR body AND p IS JUST AN EXAMPLE... YOU MAY DELETE IT ===== */

/* Hide content until fonts are loaded */

html {
  overflow-y: scroll;
  visibility: hidden;
}

html.fonts-loaded {
  visibility: visible;
}

/* GLOBAL STYLES */

* {
  box-sizing: border-box;
}

body {
  background: #f3ede4;
  margin: 0;
}

h1, h2 {
  line-height: 1.1;
}

h1 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  color: #507afd;
  font-style: normal;
  font-size: 3.50rem;
  display: flex;
  justify-content: center;
}

.bio-about {
  justify-content: flex-start;
}

h2 {
  font-family: "Roboto Condensed", sans-serif;
  color: #507afd;
  font-style: normal;
  font-size: 2rem;
}

p a {
  font-family: "Roboto Condensed", sans-serif;
  font-style: normal;
  text-decoration: none;
  color: #507afd;
  border-bottom: 5px solid #B2CB21;
}

p a:hover {
  background-color: #B2CB21;
}


p {
    font-size: 1.50em;
    line-height: 1.2em;
    font-family: "Roboto Condensed", sans-serif;
    color: #507afd;
    font-style: normal;
    justify-content: left;
    font-weight: 400;
}



ul {
  font-size: 1.25em;
  line-height: 1.2em;
  font-family: "Roboto Condensed", sans-serif;
  color: #507afd;
  font-style: normal;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 40px;
}

.navbar {
 min-height: 90px;
}

.navbar ul {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 20px 40px;
  width: 100%;
}

.logo {
  margin-right: auto;
}

.logo img {
  object-fit: cover;
  width: 130px;
}


/* ── HOME HERO ──────────────────────────────────────── */

.home-hero {
  padding: 80px 0 80px;
  border-bottom: 2px solid #507afd;
  margin-bottom: 80px;
}

/*
  The h1 is already defined globally with display:flex / justify-content:center.
  Override it on the homepage so it left-aligns and wraps naturally.
*/
.home-hero h1 {
  justify-content: flex-start;
  font-size: clamp(3.5rem, 7vw, 6rem);
  margin: 0 0 32px;
  max-width: 700px;
}

.home-hero-sub {
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 560px;
  font-weight: 300;
  margin: 0;
  /* inherits color and font from global p styles */
}


/* ── HOME PROJECTS SECTION ──────────────────────────── */

.home-projects {
  margin-bottom: 100px;
}

/*
  Places the "Projects" h2 and filter buttons on the same row,
  aligned to opposite ends — mirrors the visual rhythm of the navbar.
*/
.home-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 0;
  padding-bottom: 20px;
  border-bottom: 2px solid #507afd;
}

.home-section-header h2 {
  margin: 0;
  font-size: 1.5rem;
}


/* ── SITE FOOTER ────────────────────────────────────── */

/*
  Replaces the old .footer rule.
  Full-width background stripe, content constrained by .container inside.
*/
.site-footer {
  border-top: 2px solid #507afd;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-tagline {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 1.25rem;
  color: #507afd;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #507afd;
  text-decoration: none;
  border-bottom: 3px solid #B2CB21;
  padding-bottom: 2px;
  transition: background 0.2s;
}

.footer-links a:hover {
  background: #B2CB21;
}


/* ── SHARED PROJECT PAGE STYLES ─────────────────────── */
/*
  Move these here from the <style> blocks inside each project HTML file.
  Any style used on more than one page belongs in this shared file.
*/

.project-hero {
  padding: 60px 0 40px;
  border-bottom: 2px solid #507afd;
  margin-bottom: 60px;
}

.project-eyebrow {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #B2CB21;
  margin: 0 0 16px;
}

/* Override the global h1 center-alignment on project pages */
.project-hero h1 {
  justify-content: flex-start;
  font-size: clamp(2.8rem, 6vw, 5rem);
  margin: 0 0 24px;
}

.project-hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.5;
  max-width: 620px;
  margin: 0;
  font-weight: 300;
}

.project-meta {
  display: flex;
  gap: 50px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #B2CB21;
}

.meta-value {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1rem;
  color: #507afd;
}

.project-full-img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 80px;
  border: 2px solid #507afd;
}

.project-body {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: start;
}

.project-body-aside h2 {
  font-size: 1.4rem;
  margin-top: 0;
}

.project-body-content p {
  margin-top: 0;
}

.project-pullquote {
  border-left: 5px solid #B2CB21;
  padding: 24px 32px;
  margin: 60px 0;
  background: rgba(80, 122, 253, 0.05);
}

.project-pullquote p {
  font-family: "Instrument Serif", serif;
  font-size: 1.75rem;
  line-height: 1.3;
  margin: 0;
  color: #507afd;
  font-style: italic;
}

.project-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 80px;
}

.project-img-grid.three {
  grid-template-columns: 1fr 1fr 1fr;
}

.project-img-grid img {
  width: 100%;
  height: auto;
  display: block;
  border: 2px solid #507afd;
}

.section-divider {
  border: none;
  border-top: 2px solid #507afd;
  margin: 60px 0;
}

.project-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0 80px;
  border-top: 2px solid #507afd;
}

.project-nav a {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #507afd;
  text-decoration: none;
  border-bottom: 3px solid #B2CB21;
  padding-bottom: 2px;
  transition: background 0.2s;
}

.project-nav a:hover {
  background: #B2CB21;
}

.methods-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.methods-list li {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #f3ede4;
  background: #507afd;
  padding: 6px 16px;
}


/* ── RESPONSIVE ─────────────────────────────────────── */

@media (max-width: 768px) {
  .home-hero {
    padding: 60px 0;
  }

  .home-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-img-grid,
  .project-img-grid.three {
    grid-template-columns: 1fr;
  }

  .project-meta {
    gap: 28px;
  }
}


/* Projects Page Styles */

.projects-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
  gap: 30px;
}

.projects-header h1 {
  margin-bottom: 0;
}

/* Filter Buttons */
.filter-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.filter-btn {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.25rem;
  color: #507afd;
  background: transparent;
  border: 2px solid #507afd;
  padding: 12px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0;
}

.filter-btn:hover {
  background-color: #B2CB21;
  border-color: #B2CB21;
  color: #f3ede4;
}

.filter-btn.active {
  background-color: #507afd;
  color: #f3ede4;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-bottom: 100px;
  padding-top: 40px;
}

.project-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-image {
  width: %;
  overflow: hidden;
  margin-bottom: 20px;
}

.project-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-info h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.75rem;
}

.project-category {
  font-size: 1rem;
  color: #B2CB21;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}


.project-description {
  font-size: 1.1rem;
  line-height: 1.5;
  padding: 0;
  margin: 0;
}

/* Hidden state for filtered items */
.project-card.hidden {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .filter-buttons {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .filter-btn {
    font-size: 1rem;
    padding: 10px 20px;
  }
}


.featured-works {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 2em;
  padding-bottom: 100px;
}

.featured-works h2 {
  width: 100%;
  text-align: left;
  margin-top: 16px;
}

.featured-works-list {
  display: grid;
  position: relative;
  grid-template-columns: 1fr 1fr;
  text-align: left;
  gap: 40px;
}

.featured-works-list li {
  display: flex;
  flex-direction: column;
  padding: 30px;
  margin: 0;
}


.navbar a {
  text-decoration: none;
  color: inherit;
}

img { 
  height: auto;
  width: 100%;
}


.footer {
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 60px;
  justify-content: space-between;
}

.description {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 10px;
}

.headshot {
  max-width: 30%;
  height: auto;
  object-fit: cover;
  margin-top: 20px;
  margin-bottom: 20px;
  border: 2px solid #507afd;
}

.bio-section {
  display: flex;
}

.bio {
  padding-right: 10%;
}