@import url('https://fonts.googleapis.com/css2?family=Martian+Mono:wght@400;700;900&display=swap');

/* General Styles */
/* Dark Mode (not yet active, need to add js file) */


:root {
  /* Backgrounds */
  --color-bg-main: OldLace;          /* warm cream */
  --color-bg-light: floralwhite;         /* soft ivory */
  --color-bg-dark:     #8ab339

;
  --color-bg-accent: orangered;        /* deep neutral grey */
  --color-bg-accent-medium: seagreen; /* slightly lighter grey */
  --color-bg-accent-light: seashell;  /* muted cream-grey */

  /* Accents */
  --color-accent-1: yellowgreen;         /* charcoal grey */
  --color-accent-2: slateblue;         /* medium grey */
  --color-accent-3: orangered;         /* light grey */

  --color-accent-1-light:  #cac4ed

;   /* soft grey highlight */
  --color-accent-2-light:  #d5f6f6;
   
  --color-accent-3-light: tomato;   /* near-white grey */

  /* Text */
  --color-text: #000547;        /* dark neutral text */
  --color-text-accent: rgba(25, 25, 112, 0.65);
      /* grey accent */
  --color-text-light: seashell;/* subtle grey highlight */
  --color-text-link: orangered;


  /* Borders */
  --color-border: #000547;   /* light grey border */
  --color-border-accent: orangered;
   
}

::selection {
  background: #a4c400; /* chartreuse highlight */
  color: #fffdf6;      /* cream text on highlight */
}


/* Replace primitive color values with CSS variables */
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: 'Martian Mono', monospace;
    background: var(--color-bg-main);
    color: var(--color-text);
    position: relative;
    z-index: 1;
    margin-bottom: 75vh;
}

.content {
    background: var(--color-bg-main);
    
    margin: 0 auto;
    padding: 32px 106px;
    display: flex;
    flex-direction: column;
    border-radius: 0px 0px 32px 32px;
    gap:98px;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    
    
}

section {
  
  margin-top: 80px;
  }

p {
    font-size: 14px;
    line-height: 1.7;
}

a {
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Martian Mono', monospace;
    margin-top: 0;
    margin-bottom: 0.5em;
    font-weight: 700;
    color: var(--color-text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
h6 {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--color-text-accent);
    text-transform: uppercase;
    font-weight: 700;
    border: none;
    background: none;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
    display: block;
    position: relative;
    padding-top: 0.5em;
}
h6::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--color-accent-1-light);
    position: absolute;
    top: 0;
    left: 0;
}

h2 {
  position: relative;        /* creates a positioning context */
  display: inline-block;     /* keeps the bar only as wide as the text */
  z-index: 0;                /* ensures text stays above the bar */
}

h2::after {
  content: "";
  position: absolute;
  left: -64px;                 /* offset the bar to the right */
  bottom: 40%;                 /* attach to the bottom of the h2 */
  width: 24px;                /* covers 80% of the h2 width */
  height: 8px;               /* thickness of the bar */
  background: var(--color-accent-3-light); 
  z-index: -1;               /* places the bar *behind* the text */
            /* slight transparency */
}

.section-head {
  padding-top:12px;
  padding-bottom: 24px;
  }

#education-header {
  padding-top: 80px;
  }

nav a {
    color: var(--color-text-link);
    text-decoration: none;
}

nav a:hover {
    transform: translateY(-1px);
    background: var(--color-bg-accent);
    color: var(--color-text-light);
}

.main-nav {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    background-color: var(--color-bg-accent-light);
    flex-direction: row;
    width: 250px;
    justify-content: space-between;
    padding: 12px 48px 12px 48px;
    border-radius: 60px;
    border: 2px solid var(--color-border-accent);
    overflow: hidden;
    position: fixed;
    z-index: 1000;
}



 /*------------------------------------------home page------------------------------------------------------------------------------------*/

/* Inactive cursor for #case-study-2 */
#case-study-2 img,
#case-study-2 h3 {
  cursor: url('assets/inactive-cursor.png'), auto;
}



#hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap:24px;
    padding-top:12px;
    border-radius: 12px;
}

#hero-header {
    max-width: 460px;
    min-width: 300px;
}

#hero img {
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 2px solid var(--color-border);
    min-width: 300px;
    max-width: 400px;
}
/* Section layout */
#case-studies {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.case-blocks-container {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.case-study {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background: var(--color-bg-light);
    padding: 32px 64px;
    border: 2px solid var(--color-border);
    border-radius: 10px;
}

/* Image container ensures background + centering */
.case-study-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;   /* 📐 adjust this ratio to make it taller or shorter */
    padding: 24px;
    border-radius: 8px;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Coming Soon tag */
.coming-soon {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-text-heading, #222);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Make #case-study-2 image not scale */
#case-study-2 img {
  cursor: not-allowed;   /* optional: shows inactive cursor */
  transition: none;       /* disables hover scaling */
}

/* Remove hover scale for #case-study-2 */
#case-study-2 img:hover {
  transform: none;
}

/* Dim the image to indicate inactivity */
#case-study-2 img {
  filter: brightness(0.7);
  transition: none; /* disables hover zoom */
  cursor: default;
}

/* Position the "Coming Soon" overlay */
.coming-soon {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  text-transform: uppercase;
  pointer-events: none; /* ensures hover doesn’t interfere */
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}






.case-study img {
    width: 100%;
    height: 100%;
    object-fit: contain;    /* ✅ keeps PNG proportions */
    border-radius: 8px;
}

.case-study-img-container img:hover {
    transform: scale(1.03);
    cursor: pointer;
}

/* Accent background colors */
#case-study-1 > .case-study-img-container {
    background: var(--color-accent-1);
}

#case-study-2 > .case-study-img-container {
    background: var(--color-accent-2);
}

/* Case study text/info */
.case-study-info {
    flex: 2;
    display: flex;
}

.case-study-info h3:hover {
    color: var(--color-text-link);
    font-variation-settings: "wght" 900;
    font-weight: 900;
    cursor: pointer;
}

.case-study-info > #case-study-2 h3:hover {
    color: var(--color-text);
    font-variation-settings: "wght" 700;
    font-weight: 700;
    cursor: auto;
}

.case-study-info-left {
    flex: 1;
}

.case-study-info-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
    justify-content: flex-end;
}

.case-study-info-right h6::before {
    display: none;
}

.case-study-info-right p {
    margin: 0;
}






/*START experience section */




/* Container */
.experience-container {
  width: 100%;
  box-sizing: border-box;

}

/* Section headers */
#experience-header h2,
#education-header h2 {
  font-size: 2rem;
  color: var(--color-text);
}

.experience-content {
 
 padding: 0px;
  
  }

/* Each row */
.experience-item {
  display: flex;
  align-items: center;
  
  position: relative;
  background: var(--color-bg); /* light background behind each item */
   /* added padding */
  padding: 12px;
  border-bottom: 1px solid var(--color-border);
}

/* Left column */
.experience-item-left {
  max-width: 200px;      /* constrain width */
  width: 100%;
  flex-shrink: 0;
  text-align: left;
  padding-right: 1rem;
  color: var(--color-text-accent);
  font-weight: bold;
  position: relative;
}

/* Remove the connector line */
.experience-item-left::after {
  display: none;
}

/* Right column */
.experience-item-right {
  max-width: 500px;      /* constrain width */
  margin-left: auto;     /* push to right */
  padding-left: 1rem;    
  text-align: right;     /* right-align text */
}

.experience-item-right h3,
.experience-item-right p {
  text-align: right;     /* ensure heading & paragraph are right-aligned */
}

.experience-item-right h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--color-text);
}

.experience-item-right p {
  margin: 0.25rem 0 0 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--color-text);
}

/* Divider line between rows */
.experience-item + .experience-item {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

/* Responsive for mobile */
@media screen and (max-width: 768px) {
  .experience-item {
    flex-direction: column;
  }
  .experience-item-left {
    width: 100%;
    max-width: 100%;
    text-align: left;
    padding-right: 0;
    margin-bottom: 0.5rem;
  }
  .experience-item-right {
    max-width: 100%;
    margin-left: 0;
    padding-left: 0;
    text-align: left;
  }
}



/*END experience section */



.previous-work-container {
  display: flex;
  gap: clamp(8px, 5vw, 24px); /*  fluid gap */
  width: 100%;
}

.previous-work-item {
  flex: 1;                        /* all items grow evenly */
  max-width: 400px;               /* optional cap */
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--color-bg-light);
  border: 2px solid var(--color-border);
  text-align: start;
}
.previous-work-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
    border: 2px solid var(--color-border);
}


#testimonials {
    display: flex;
    flex-direction: column;
    width:100%;
}


.testimonial-content {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    
}

.testimonial {
  flex: 1 1 calc(50% - 12px); /* two items + 24px gap total */
  min-width: 300px;
  box-sizing: border-box;
  padding: 48px;
  border-radius: 8px;
  border: 2px solid var(--color-border);
  background: var(--color-accent-1-light);
}

.testimonial h4 {
    margin-top: 8px;
    color: var(--color-text);
}

.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 85vh;
    z-index: -1;
    background: var(--color-text);
    color: var(--color-text-light);
}

.footer-content {
    display: flex;
    flex-direction: column;
    color: var(--color-text-light);
    padding: 88px;
    padding-top: 240px;
    gap: 24px;
}

.footer-content h1 {
    color: var(--color-text-light);
    
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
}

.footer-links a {
    background: var(--color-bg-accent-light);
    color: var(--color-text-link);
    text-decoration: none;
    padding:8px;
}

.footer-links a:hover {
    color: var(--color-text-light);
    background: var(--color-bg-accent);
    padding: 8px;
    
}

.content {
    position: relative;
    z-index: 1;
    padding-bottom: 85vh;
    transition: padding-bottom 0.5s;
}

body:not(.scrolled-to-bottom) .content {
    padding-bottom: 32px;
}

@media (max-width: 900px) {
    #hero, .case-study {
        flex-direction: column;
        align-items: stretch;
    }
    .case-study img {
        max-width: 100%;
    }
    .previous-work-container {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    .previous-work-item {
        width: 100%;
    }
}



/* -------- PM-Tools CSS ------------ -----------------------------------------------------------------------------------------------*/

.case-study-hero {
    
    padding: 48px 0px 80px 0px;
  }
  
.case-study-hero h3:hover {
  
  
  }

img {
    width: 100%;
    
    
  }
.img-container {
  
  padding: 48px;
  background: var(--color-bg-dark);
  border-radius: 8px;
  margin-bottom: 80px;
  }

    


.case-detail-section {
  margin-bottom: 64px; /* space between major sections */
 
}

.case-detail-section h3 {
  
}

.case-detail-section h6 {
  letter-spacing: 1px;
  margin-bottom: 24px;

}

.extra-top-padding {
  padding-top: 24px;
  }

.case-details-image  {
    
    max-width: 100%;
     border-radius: 8px;
    border: 2px solid var(--color-border);
    
  
  }

.case-details-image img {
    
    max-width: 100%;
}

.video-wrapper {
  width: 100%;
  max-width: 900px;                   /* constrain wrapper to content width */
  margin: 0 auto;
  padding: 24px;                       /* much smaller padding */
  box-sizing: border-box;              /* ensures padding doesn’t add to width */
  background: var(--color-accent-1-light);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.case-details-video {
  width: 100%;                         /* fill wrapper */
  height: auto;                         /* maintain aspect ratio */
  max-width: 100%;                      /* never overflow */
  border-radius: 8px;
  display: block;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 25px rgba(255, 245, 238, 0.35);
}

.case-study-hero h2::after {
    content: none;      /* removes the pseudo-element */
    display: none;      /* ensures it doesn’t occupy space */
}

.case-study-hero > .case-study-info {
  display: flex;
  gap: 24px; /* optional spacing */
}

.case-study-hero > .case-study-info > :first-child {
  flex: 7; /* ~70% */
}

.case-study-hero > .case-study-info > :last-child {
  flex: 3; /* ~30% */
}








/* Container for two-column layout ---------------------------------------------------------------------------------------------*/

.two-column {
  display: flex;
  flex-wrap: wrap;       /* allows stacking on small screens */
  gap: 32px;             /* space between columns */
  margin-bottom: 64px;
}

/* Left column: headers */
.column-left {
  flex: 1;               /* ~40% width */
  min-width: 200px;
  text-align: left;
}

/* Right column: paragraph/content */
.column-right {
  flex: 2;               /* ~60% width */
  min-width: 250px;
}

/* Optional: full-width images */
.full-width-image {
  width: 100%;
  margin-top: 24px;
}

.full-width-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Responsive: stack columns on smaller screens */
@media screen and (max-width: 768px) {
  .two-column {
    flex-direction: column;
  }
  .column-left,
  .column-right {
    width: 100%;
    min-width: unset;
  }
}



#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 40px;
  display: none;
  z-index: 1000;
  padding: 12px 18px;
  font-size: 16px;
  border-radius: 60px;
  border: none;
  background: var(--color-text-accent);
  color: var(--color-text-light, #fff);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  border: 2px solid var(--color-bg-main);
}

#back-to-top:hover,
#back-to-top:focus {
  background: var(--color-bg-accent, orangered);
  color: var(--color-text-light, #fff);
  transform: translateY(-2px) scale(1.05);
  outline: none;
}

@media (max-width: 600px) {
  #back-to-top {
    bottom: 16px;
    right: 16px;
    padding: 10px 14px;
    font-size: 14px;
  }
}






