/* === GENERAL RESETS & BASE === */
body {
    font-family: 'DM Sans', sans-serif;
    background-color: #eaeaea;
    color: #111;
    margin: 0;
    padding: 0;
  }
  
  a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
  }
  
  a:hover {
    color: inherit;
  }
  
  /* === SITE TITLE LINK === */
  .site-title {
    text-align: center;
    font-family: 'DM Serif Display', serif;
    font-size: 5vh;
    margin-top: 5vh;
    margin-bottom: 2vh;
    font-weight: normal;
    letter-spacing: 1px;
  }
  
  .name-link {
    text-decoration: none;
    color: inherit;
  }
  
  /* === NAVIGATION BAR === */
  .navBar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4vw;
    font-size: 1.8vh;
    text-transform: lowercase;
    padding: 1.5vh 0;
    border-top: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    background-color: #eaeaea;
  }
  
  .nbItem {
    color: black;
    padding: 1vh;
    font-weight: 500;
    position: relative;
  }
  
  .nbItem:hover {
    text-decoration: underline;
  }
  
  /* === CONTACT ICONS IN TOP RIGHT === */
  .header {
    position: relative;
  }
  
  .contactIcons {
    position: absolute;
    top: 2vh;
    right: 4vw;
    display: flex;
    gap: 1.5vw;
  }
  
  .iconLink {
    font-size: 2.2vh;
    color: #111;
    transition: opacity 0.3s ease;
  }
  
  .iconLink:hover {
    opacity: 0.6;
  }
  
  /* === INTRO TEXT & SCROLL ARROW === */
  .intro {
    font-weight: 600;
    font-size: 4.2vh;
    text-align: center;
    max-width: 70%;
    margin: 10vh auto 5vh;
    line-height: 1.6;
  }
  
  .introSec {
    padding-top: 10%;
    padding-bottom: 10%;
  }
  
  .scroll-down {
    text-align: center;
    font-size: 3vh;
    color: #444;
    animation: bounce 1.8s infinite;
    margin-bottom: 8vh;
  }
  
  @keyframes bounce {
    0%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(5px); }
    60% { transform: translateY(3px); }
  }
  
  /* === ABOUT ME === */
  .aboutMe {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4vw;
    padding: 3vh 8vw;
    max-width: 1200px;
    margin-bottom: 5vh;
  }
  
  .aboutImg {
    height: 40vh;
    width: 30vh;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  .aboutText {
    font-size: 2.3vh;
    line-height: 1.7;
    max-width: 600px;
    text-align: left;
  }
  
  @media (max-width: 768px) {
    .aboutMe {
      flex-direction: column;
      text-align: center;
    }
  
    .aboutText {
      text-align: center;
    }
  }
  
  /* === HIGHLIGHT COLORS === */
  .greenHighlight {
    background: linear-gradient(to bottom, transparent 60%, rgba(108, 156, 98, 0.4));
    border-radius: 5px;
  }
  
  .blueHighlight {
    background: linear-gradient(to bottom, transparent 60%, rgba(111, 125, 214, 0.4));
    border-radius: 5px;
  }
  
  .pinkHighlight {
    background: linear-gradient(to bottom, transparent 60%, rgba(215, 133, 174, 0.4));
    border-radius: 5px;
  }
  
  .purpleHighlight {
    background: linear-gradient(to bottom, transparent 60%, rgba(150, 100, 200, 0.4));
    border-radius: 5px;
  }
  
  /* === HEADINGS === */
  h2 {
    text-align: left;
    font-size: 5.2vh;
    font-weight: 700;
    margin-top: 10vh;
    margin-left: 9%;
    margin-bottom: 1vh;
    letter-spacing: 0.5px;
  }
  
  .projSec {
    font-weight: 500;
    font-family: 'DM Serif Display', serif;
  }
  
  .projSubtitle {
    text-align: left;
    font-size: 3vh;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 0vh;
    margin-left: 9%;
  }

  .projPageTitle{
    text-align: left;
    font-size: 3vh;
    font-weight: 500;
    margin-left: 14%;
    margin-bottom: 0px;
  }
  
  /* === PROJECT GRID === */
  .projectGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* fixed 3-column layout */
    gap: 4vh 4vw;
    padding: 5vh 10vw;
  }
  
  
  
  .projectCard {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25vw; 
    padding: 4%;
    text-align: center;
    margin-bottom: 0px;
    box-sizing: border-box;
  }
  
  
  .projectBlurb {
    font-size: 2.2vh;
    margin-top: 2vh;
    margin-bottom: 1vh;
  }
  
  .instaPost {
    color: #6a6969;
    font-size: 2vh;
  }
  
  .post {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    display: block;
  }
  
  /* === DANIELLE'S PAGE === */
  .daniPageImage {
    width: 400px;
    border-radius: 10px;
    object-fit: cover;
  }
  
  .DS {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: 5vw;
    padding: 5vh 8vw;
    margin-bottom: 10%;
  }
  
  .projInfo {
    max-width: 500px;
    font-size: 2.3vh;
    line-height: 1.6;
    margin-top: 0px;
  }
  
  .daniPic {
    width: 40%;  margin-bottom: 2vh;
    height: auto;
    cursor: pointer;
    border-radius: 10px;
    margin-bottom: 10%;
  }

  .halfImage{
    width: 40%;
    height: 500px;
    border-radius: 10px;
  }
  
  .daniSec {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
  }
  
  
  /* === IMAGE HOVER TINT EFFECT === */
  .projectCard a {
    position: relative;
    display: block;
    overflow: hidden;
  }
  .imageLink {
    position: relative;
    display: inline-block;
    overflow: hidden;
  }
  
  .imageLink img {
    display: block;
    width: 100%;
  }
  
  .imageLink::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.15); /* subtle tint */
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  
  .imageLink:hover::after {
    opacity: 1;
  }
  

  /* === FOOTER == */
  .siteFooter {
    background-color: #eaeaea;
    border-top: 1px solid #ccc;
    text-align: center;
    padding: 3vh 0;
    margin-top: 10vh;
    font-size: 1.8vh;
    color: #333;
  }
  
  .footerIcons {
    margin-top: 1vh;
    display: flex;
    justify-content: center;
    gap: 2vw;
  }
  
  .footerIcons a {
    color: #111;
    font-size: 2vh;
    transition: opacity 0.3s ease;
  }
  
  .footerIcons a:hover {
    opacity: 0.6;
  }
  
  

  /* web dev  */

  .projWebTitle{
    margin-left: 0px;
    padding-bottom: 5%;
  }

  .projWideText {
    max-width: 1000px;
    margin: 8vh auto;
    padding: 0 4vw;
    text-align: left;
  }
  
  .projWideText h2 {
    font-size: 4.2vh;
    font-weight: 600;
    margin-bottom: 1vh;
  }
  
  .projWideText p {
    font-size: 2.4vh;
    line-height: 1.7;
    margin-bottom: 3vh;
  }
  
  .projWideText .instaPost {
    display: inline-block;
    font-size: 2vh;
    color: #666;
    text-decoration: none;
  }
  
  .projWideText .instaPost:hover {
    text-decoration: underline;
  }
  .retro-monitor {
    width: 100%;
    max-width: 1280px; /* closer to laptop width */
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .retro-screen {
    border: 14px solid #555;
    border-radius: 12px;
    width: 100%;
    height: 700px; /* 1080px total - (screen + base + foot) approx */
    max-height: 800px; /* cap it for smaller screens */
    overflow: hidden;
    position: relative;
  }
  
  .retro-iframe {
    width: 100%;
    height: 100%;
    border: none;
  }
  
  .retro-base {
    width: 70%;
    height: 30px;
    background: #333;
    border-radius: 12px;
    margin-top: 10px;
    box-shadow: inset 0 0 5px #000;
  }
  
  .retro-foot {
    width: 40%;
    height: 50px;
    background: #111;
    border-radius: 10px;
    margin-top: 6px;
    box-shadow: inset 0 0 5px #000;
  }
  /* === PROJECT PAGE IMAGES === */
.projImage {
  display: block;
  width: 100%;              /* take full width of container */
  max-width: 900px;         /* cap image size for large screens */
  margin: 4vh auto;         /* center with spacing above/below */
  height: auto;             /* maintain aspect ratio */
  border-radius: 12px;      /* soft rounded corners */
  box-shadow: 0 4px 14px rgba(0,0,0,0.15); /* subtle shadow */
  object-fit: contain;      /* prevent cropping */
}

/* for multiple screenshots in the same section */
.projWideText img + img {
  margin-top: 2vh;
}

/* make images scale nicely on smaller screens */
@media (max-width: 768px) {
  .projImage {
    max-width: 100%;
    border-radius: 8px;
  }
}
