:root {
  --deep-navy: #1F2A44;
  --warm-white: #F7F6F3;
  --dusty-rose: #D6A6A6;
  --muted-teal: #7A9E9F;
  --soft-green: #A3B18A;

  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;

  --max-width: 1200px;
  --header-height: 84px;
  --border-radius: 20px;
  --transition: 0.3s ease;
  --shadow: 0 10px 30px rgba(31, 42, 68, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--warm-white);
  color: var(--deep-navy);
  font-family: var(--font-body);
  line-height: 1.7;
}

img {
  width: 100%;
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 42, 68, 0.08);
}

.nav-container {
  max-width: var(--max-width);
  height: var(--header-height);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--deep-navy);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--deep-navy);
  position: relative;
  transition: color var(--transition);
}

.main-nav a:hover {
  color: var(--dusty-rose);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--dusty-rose);
  transition: width var(--transition);
}

.main-nav a:hover::after {
  width: 100%;
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 6vw;
  background: var(--warm-white);
}

.hero-slider {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #e9e7e2;
}

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

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-teal);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.03;
  max-width: 10ch;
  color: var(--deep-navy);
}

.hero-slider {
  min-height: 100%;
  overflow: hidden;
}

.hero-slider img {
  height: 100%;
  object-fit: cover;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 7rem 2rem;
}

.section-heading {
  margin-bottom: 2rem;
  text-align: center;
}

.section-heading h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  color: var(--deep-navy);

  margin: 0 auto;
  position: relative;
  display: inline-block;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--dusty-rose);
  margin: 10px auto 0;
  border-radius: 2px;
}

.about-content {
  display: grid;
  grid-template-columns: 340px 1fr; 
  gap: 3rem;
  align-items: start;
}

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-text p {
  font-size: 1.05rem; 
  line-height: 1.75;   
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.5rem auto 3rem;
  justify-content: center;
  max-width: 900px;
}

.filter-btn {
  border: none;
  background: rgba(163, 177, 138, 0.2);
  color: var(--deep-navy);
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--dusty-rose);
  color: var(--deep-navy);
}

.projects-grid {
  column-count: 3;
  column-gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  display: inline-block;
  width: 100%;
  margin-bottom: 2rem;
  break-inside: avoid;
  background: transparent;
  border: none;
  padding: 0;
  background: #F7F6F3;

  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(31, 42, 68, 0.08);
}

.project-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px 16px 0 0;
  object-fit: contain;
}

.project-info {
  border: 1.5px solid #A3B18A;
  border-top: none; /* key line */
  border-radius: 0 0 16px 16px;
  padding: 0.5rem;
  background: #F7F6F3;
}

.project-info h3 {
  font-family: var(--font-body);
  font-size: 1.2rem;      /* slightly smaller */
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--deep-navy);
  text-align: center;     /* center title */
}

.project-info p {
  font-size: 0.9rem;      /* smaller text */
  line-height: 1.5;
  color: rgba(31, 42, 68, 0.85);
  margin: 0;
  text-align: center;     /* center description */
}

.project-card:hover img {
  transform: translateY(-4px);
  transition: transform 0.3s ease;
}

@media (max-width: 900px) {
  .projects-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .projects-grid {
    column-count: 1;
  }
}

.resume-download-wrap {
  margin: 1.5rem 0 3rem;
  display: flex;
  justify-content: center;
}

.download-btn {
  display: inline-block;
  background: var(--dusty-rose);
  color: var(--deep-navy);
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform var(--transition), opacity var(--transition);
}

.download-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.resume-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;

  max-width: 1200px;
  margin: 0 auto;
}


.resume-block h3,
.resume-skills-block h3 {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--muted-teal); /* teal */
}

.resume-block .timeline-item p {
  font-weight: 400;
}

.role {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: 0.35rem;
}

.company {
  font-style: italic;
  color: var(--deep-navy);
  margin-bottom: 0.5rem;
}

.timeline-item ul {
  margin-top: 0.75rem;
  padding-left: 1.2rem;
}

.timeline-item li {
  margin-bottom: 0.55rem;
}

.timeline-item {
  position: relative;
  border-left: 3px solid var(--dusty-rose);
  padding-left: 1.25rem;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--dusty-rose);
  background: var(--warm-white);
}

.timeline-item h4 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  margin-top: 0.5rem;
  color: var(--deep-navy);
}

.timeline-item span {
  display: inline-block;
  background: rgba(163, 177, 138, 0.2);
  color: var(--deep-navy);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.timeline-item p {
  font-weight: 500;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-content p {
  font-size: 1.1rem;
  font-weight: 500;
}

.contact-content a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--muted-teal);
}

.contact-content a:hover {
  color: var(--dusty-rose);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 2000;
}

.modal.show {
  display: block;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 42, 68, 0.55);
}

.modal-content {
  position: relative;
  z-index: 2;
  width: calc(100% - 2rem);
  max-width: 900px;
  max-height: 85vh;
  overflow-y: auto;
  margin: 5vh auto;
  padding: 2rem;
  border-radius: 24px;
  background: var(--warm-white);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: transparent;
  color: var(--deep-navy);
  font-size: 2rem;
  cursor: pointer;
}

.modal-project-image {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 1.5rem;
}

.modal-project-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--deep-navy);
}

.modal-project-category {
  text-align: center;
  color: #7A9E9F;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.modal-project-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-project-text p {
  font-weight: 500;
}

.modal-top-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.modal-download-btn {
  display: inline-block;
  background: var(--dusty-rose);
  color: var(--deep-navy);
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.modal-download-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.modal-project-section {
  margin-bottom: 1.2rem;
  line-height: 1.7;
  font-size: 1rem;
  color: var(--deep-navy);
}

.modal-label {
  font-weight: 700;
  color: #7A9E9F;
}

.modal-image-grid {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.modal-image-grid img {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(163, 177, 138, 0.6);
}

.modal-image-grid-three {
  grid-template-columns: repeat(3, 1fr);
}

.modal-image-grid-two {
  grid-template-columns: repeat(2, 1fr);
}

.modal-image-grid-two img {
  width: 75%;
  margin: 0 auto;
  display: block;
}

@media (max-width: 800px) {
  .modal-image-grid-three,
  .modal-image-grid-two {
    grid-template-columns: 1fr;
  }
}

.modal-image-grid-one {
  grid-template-columns: 1fr;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Trail Tracker video sizing */
.modal-video {
  display: block;
  margin: 30px auto;
  width: 40%;       /* adjust if needed */
  max-width: 600px; /* keeps it from getting too big */
  border-radius: 12px;
}

.modal-video-container {
  display: flex;
  justify-content: center;
  align-items: center; /* optional but safe */
  margin: 2rem 0;
}

.modal-video-container video {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(163, 177, 138, 0.6);
}

.mood-video video {
  width: 40%;
  max-width: 500px;
}

.mood-images img {
  width: 75%;     
  margin: 0 auto;    
  display: block;
}

.cafebara-images img {
  width: 85%;
  margin: 0 auto;
  display: block;
}

.cafebara-video video {
  width: 65%;
  max-width: 600px;
  display: block;
  margin: 0 auto;
}

/* CONTACT SECTION */
.contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #e9e7e2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--dusty-rose);
}

.contact-item h4 {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: 0.25rem;
}

.contact-item a {
  color: var(--dusty-rose);
  text-decoration: none;
  font-weight: 500;
}

.contact-item a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .hero,
  .about-content,
  .resume-layout,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .hero-text {
    min-height: 45vh;
  }

  .hero-slider {
    min-height: 45vh;
  }

  .main-nav {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  .nav-container {
    height: auto;
    padding: 1rem;
    gap: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    max-width: 100%;
  }

  .section {
  padding: 4rem 2rem 3rem;
}

  .project-card img {
  width: 100%;
  display: block;
  border-radius: 16px 16px 0 0; /* top only */
}
}