/* Matthew D. Gonzalez Portfolio */

/* =========================
   Base
========================= */

:root {
  --bg-dark: #070b12;
  --gold: #d9a72b;
  --gold-light: #f3c95d;
  --text-light: #f5f5f5;
  --text-muted: #b7c0cc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: Arial, Helvetica, sans-serif;
}

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

.container {
  width: 90%;
  margin: 0 auto;
}

/* =========================
   Header
========================= */

.site-header {
  height: 72px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(4,7,12,0.96);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 16px;
}

.logo-mark {
  color: var(--gold);
  font-size: 32px;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  padding: 26px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav .active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

/* =========================
   Shared Components
========================= */

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 2px;
  margin: 0 0 15px;
}

.section-label {
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 2px;
  margin: 0 0 8px;
}

.btn {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 7px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.9px;
}

.btn.primary {
  background: var(--gold);
  color: #111;
}

.btn.secondary {
  border: 1px solid var(--gold);
  color: white;
}

/* =========================
   Home Hero
========================= */

.hero {
  padding: 15px 6%;
  display: grid;
  grid-template-columns: minmax(360px, 520px) minmax(420px, 1fr);
  gap: 70px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(4,7,12,1) 0%, rgba(8,12,20,0.95) 48%, rgba(8,12,20,0.78) 100%),
    radial-gradient(circle at 80% 40%, rgba(217,167,43,0.12), transparent 34%),
    linear-gradient(135deg, #111827, #05070b);
}

.hero-content {
  max-width: 680px;
}

.hero-camera {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  max-width: 620px;
  border-radius: 18px;
}

.hero h1 {
  margin: 0;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: clamp(42px, 4vw, 64px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero h2 {
  display: inline-block;
  margin: 24px 0 14px;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 800;
  border-bottom: 3px solid var(--gold);
  padding-bottom: 8px;
}

.hero-text {
  color: var(--text-muted);
  font-size: medium;
  line-height: 1.6;
  max-width: 560px;
}

.button-group {
  margin-top: 28px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* =========================
   Featured Work
========================= */

.featured {
  background: #f3f3f3;
  color: #10141b;
  padding: 20px 6% 28px;
  text-align: center;
}

.featured h2 {
  margin: 0 0 22px;
  font-size: 36px;
  line-height: 1.1;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card {
  min-height: 210px;
  padding: 28px;
  text-align: left;
  border-radius: 10px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.print {
  background: linear-gradient(135deg, #2b1d35, #111827);
}

.photo {
  background: linear-gradient(135deg, #1f3221, #111827);
}

.video {
  background: linear-gradient(135deg, #1e2b45, #111827);
}

.icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 22px;
  margin-bottom: 18px;
}

.card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.card-top h3 {
  margin: 0;
}

.work-card h3 {
  margin: 0 0 8px;
  font-size: 26px;
}

.work-card p {
  margin: 0;
  line-height: 1.5;
}

/* =========================
   About Preview
========================= */

.about-preview {
  display: grid;
  grid-template-columns: 320px 1fr 260px;
  gap: 70px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 6%;
}

.about-preview .about-photo {
  position: relative;
  width: 280px;
  display: inline-block;
  justify-self: center;
}

.about-preview .about-photo img {
  width: 100%;
  display: block;
  border-radius: 10px;
  position: relative;
  z-index: 2;
}

.about-preview .about-photo::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 280px;
  left: -18%;
  top: 28%;
  transform: translateY(-50%);
  background-image: radial-gradient(#d4a91f 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.75;
  z-index: 0;
}

.about-preview .about-photo::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 350px;
  right: -25px;
  bottom: -25px;
  border: 4px solid #d4a91f;
  z-index: 0;
}

.about-text h2 {
  font-size: 34px;
  line-height: 1.15;
  margin: 10px 0 24px;
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 18px;
}

.stats {
  border-left: 1px solid rgba(255,255,255,0.18);
  padding-left: 42px;
  display: grid;
  gap: 28px;
}

.stats strong {
  color: var(--gold);
  font-size: 36px;
  display: block;
}

.stats span {
  color: var(--text-muted);
  font-size: 18px;
}

/* =========================
   Print Gallery
========================= */

.print-page-header {
  background: #020817;
}

.print-page-header .container {
  max-width: 1400px;
}

.print-page-header h1 {
  color: #ffffff;
  font-size: 45px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.print-page-header p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 1200px;
  line-height: 1.6;
}

.print-gallery {
  background: #020817;
  padding: 10px 0 25px;
}

.print-gallery .container {
  max-width: 1320px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.section-heading h2 {
  color: #d4a91f;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
  margin: 0;
}

.section-heading::after {
  content: "";
  height: 1px;
  width: 100%;
  background: rgba(212,169,31,0.45);
}

.section-heading.featured-heading h2 {
  font-size: 30px;
}

.section-heading.additional-heading h2 {
  font-size: 20px;
}

.additional-heading h2 {
  font-size: 26px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 40px;
}

.small-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 500px;
}

.project-card {
  background: #0b1120;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: 0.3s ease;
}

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

.project-card img {
  width: 100%;
  height: 230px;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-card.small img {
  width: 100%;
  height: 170px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.project-info-below {
  padding: 18px 8px 10px;
}

.project-info-below p {
  color: #d4a91f;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.project-info-below h2 {
  color: #ffffff;
  font-size: 24px;
  margin: 0;
}

.project-card.small .project-info-below {
  padding: 16px 18px;
}

.project-card.small .project-info-below p {
  font-size: 12px;
}

.project-card.small .project-info-below h2 {
  font-size: 20px;
}

/* =========================
   Individual Project Pages
========================= */

.project-page-header {
  background: #020817;
  padding: 45px 0 15px;
}

.project-page-header .container {
  max-width: 1200px;
}

.project-page-header .back-link {
  display: inline-block;
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 18px;
}

.project-page-header .back-link:hover {
  color: var(--gold);
}

.project-page-header .section-label {
  color: var(--gold);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 900;
  margin: 0 0 10px;
}

.project-page-header h1 {
  color: #ffffff;
  font-size: 36px;
  margin: 0 0 18px;
  line-height: 1.1;
}

.project-page-header p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 1200px;
  line-height: 1.6;
  margin: 0;
}

.project-gallery {
  background: #020817;
  padding: 10px 0 100px;
}

.project-gallery .container {
  max-width: 1200px;
}

.project-gallery img {
  width: 100%;
  max-width: 1000px;
  display: block;
  margin: 0 auto 40px;
  border-radius: 10px;
}
.project-meta {
    color: var(--gold);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1.5px;
    margin-top: 15px;
}
.page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.page-grid img {
    width: 100%;
    border-radius: 8px;
}
.gallery-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.gallery-link:hover {
    color: var(--gold) !important;
}
/* =========================
   ABOUT PAGE
========================= */

.about-page {
    background: #020817;
    padding: 50px 0 90px;
}

.about-page .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-page h1 {
    color: #ffffff;
    font-size: 45px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.about-intro {
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.7;
}

.about-page .about-photo {
    float: right;
    max-width: 250px;
    width: 100%;
    margin: 0 0 25px 40px;
    border-radius: 14px;
}

.about-gallery {
    clear: both;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.about-gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 14px;
}
.about-tagline {
    color: #d4a017;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: -10px 0 35px;
}

/* Mobile */
@media (max-width: 800px) {
    .about-page .about-photo {
        float: none;
        width: 100%;
        max-width: 350px;
        margin: 0 0 25px;
        display: block;
    }

    .about-gallery {
        grid-template-columns: 1fr;
    }
}

/* =========================
   RESUME PAGE
========================= */

.resume-page {
  background: #020817;
  padding: 10px 0 90px;
}

.resume-page .container {
  max-width: 1200px;
}

.resume-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

.resume-section {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 38px;
}

.resume-section p {
  margin: 0;
}

.resume-card {
  background: #0b1120;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 24px;
}

.resume-job {
  border-bottom: 1px solid rgba(255,255,255,0.09);
  padding-bottom: 28px;
  margin-bottom: 28px;
}

.resume-job:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.resume-job-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
}

.resume-job h3,
.resume-education h3 {
  color: #ffffff;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 7px;
}

.resume-job-header p,
.resume-education p {
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.resume-job-header span,
.resume-education span {
  color: var(--text-muted);
  font-size: 14px;
  white-space: nowrap;
}

.resume-job ul {
  margin: 0;
  padding-left: 22px;
}

.resume-job li {
  margin-bottom: 8px;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-list span {
  border: 1px solid rgba(217,167,43,0.45);
  border-radius: 7px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.7px;
  padding: 9px 11px;
  text-transform: uppercase;
}

.resume-education {
  border-bottom: 1px solid rgba(255,255,255,0.09);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.resume-education:last-child {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.download-card .btn {
  margin-top: 20px;
}
.contact-link {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: #d4a017;
    text-underline-offset: 2px;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #d4a017;
}
@media (max-width: 1000px) {
  .resume-layout {
    grid-template-columns: 1fr;
  }

  .resume-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 700px) {
  .resume-job-header {
    display: block;
  }

  .resume-job-header span {
    display: inline-block;
    margin-top: 8px;
  }
}
/* =========================
   Footer
========================= */

footer {
  text-align: center;
  color: var(--text-muted);
  padding: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* =========================
   Responsive
========================= */

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .button-group {
    justify-content: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .work-grid,
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .small-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .project-card img,
  .project-card.small img {
    height: 260px;
  }
}


@media (max-width: 700px) {
  .site-header {
    height: auto;
    padding: 18px 6%;
    flex-direction: column;
    gap: 14px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding: 35px 6%;
  }

  .hero h1 {
    font-size: 52px;
  }

  .button-group {
    flex-direction: column;
  }

  .btn {
    text-align: center;
    width: 100%;
  }
}
