/*
Colors:
  orange: #ff5500
  Dark grey: #33332D
  medium grey: #a8a89a
  light grey: #dadad0
  off white: #faf3e1
  black: #222222
  yellow: FFB700
*/





/* ======================= Base Styles ======================= */
body {
  margin: 0;
  padding: 0;
  font-family: 'Source Sans 3', 'Roboto Flex', sans-serif; 
  font-weight: 300;            
  font-size: 20px;             
  line-height: 1.8;            
  letter-spacing: 0.6px;       
  word-spacing: 2px;         
  color: #faf3e1;
  background-color: #222222;
}

/* ======================= Headings ======================= */

h1 {
  font-family: 'IBM Plex Sans', 'Source Sans 3', sans-serif;
  font-weight: 500;
  font-size: 2.5rem;   
  line-height: 1.3;
  letter-spacing: 0.8px;
  word-spacing: 1.5px;
  color: #faf3e1;
  margin: 0 0 12px 0;
}

h2 {
  font-family: 'IBM Plex Sans', 'Source Sans 3', sans-serif;
  font-weight: 500;
  font-size: 2rem;     
  line-height: 1.3;
  letter-spacing: 0.8px;
  word-spacing: 1.5px;
  color: #faf3e1;
  margin: 0 0 12px 0;
}

h3 {
  font-family: 'IBM Plex Sans', 'Source Sans 3', sans-serif;
  font-weight: 500;
  font-size: 1.5rem;     
  line-height: 1.3;
  letter-spacing: 0.8px;
  word-spacing: 1.5px;
  color: #faf3e1;
  margin: 0 0 12px 0;
}

h4 {
  font-family: 'IBM Plex Sans', 'Source Sans 3', sans-serif;
  font-weight: 100;
  font-size: 1.3rem;    
  line-height: 1.3;
  letter-spacing: 0.8px;
  word-spacing: 1.5px;
  color: #a8a89a;
  margin: 12px 0 12px 0;
}


/* ======================= Links in Headings ======================= */
h1 a, h2 a, h3 a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

h1 a:hover, h2 a:hover, h3 a:hover {
  color: #ff5500; 
}

p {
  margin-bottom: 16px;
}

a {
  text-decoration: none;
  color: #FFB700;
  transition: color 0.2s ease;
}

a:hover {
  color: #222;
}

ul, ol {
  margin: 0 0 16px 24px;
  padding: 0;
}

li {
  margin-bottom: 8px;
}





/* ======== Header Navigation Bar ======== */
header {
  background-color: #222222; 
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-nav-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-nav-bar ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.header-nav-bar a {
  text-decoration: none;
  color: #dadad0;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
}

/* Hover Animation */
.header-nav-bar a {
  color: #faf3e1;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.header-nav-bar a:hover,
.header-nav-bar a:focus {
  color: #ff5500;
  opacity: 0.85;
}


/* Responsiveness */
@media (max-width: 700px) {
  .header-nav-bar ul {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .header-nav-bar {
    padding: 1rem;
  }
}





/* ========  Footer Navigation Bar  ======== */
footer {
  background-color: #222222; 
  color: #a8a89a;           
  padding: 2rem 1rem;
  text-align: center;
}

.footer-nav-bar a {
  color: #E2E1C9;           
}

.footer-nav-bar {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-nav-bar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.footer-nav-bar a {
  text-decoration: none;
  color: #E2E1C9;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-nav-bar a:hover,
.footer-nav-bar a:focus {
  color: #ff5500; 
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  .footer-nav-bar ul {
    flex-direction: column;
    gap: 1rem;
  }
}





/* ================== About Page ====================== */
.about {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  flex-wrap: wrap; 
}

.about-text {
  flex: 1 1 500px; 
  min-width: 300px;
  overflow: visible; 
  text-overflow: unset;
  white-space: normal;
}

.about-title h1 {
  margin: 0 0 1.5rem 0;
  color: #faf3e1;
}

.about-content p {
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #faf3e1;
}

.about-content strong {
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #FFB700;
}

.about-image {
  flex: 1 1 400px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  height: 700px;
  max-width: 450px; 
  border-radius: 8px;
  object-fit: cover;
  margin-top: 25px;
}

@media (max-width: 768px) {
  .about {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-image {
    justify-content: center;
    margin-top: 2rem;
  }

  .about-text {
    text-align: center;
  }
}





/* ================== Community Page ====================== */
.community {
  display: flex;
  flex-direction: column; 
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}


.community-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0rem;
  text-align: left;
}

.community-title h1 {
  margin-bottom: .25rem;
}

.community-text h2 {
  margin-top: 1.8rem;
  margin-bottom: 0.1rem;
}

.community-text p {
  margin-bottom: 2rem;
  line-height: 1.6;
}

.community-image {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: -1rem;
}

.community-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .community {
    flex-direction: column;
    align-items: center;
  }

  .community-image {
    order: -1;
    justify-content: center;
  }

  .community-image img {
    width: 90%;
    max-width: 500px;
  }

  .community-text {
    width: 100%;
  }
}





/*============== Hero Section ==================*/
.hero {
  position: relative;
  width: 100%;
  height: 100vh;               
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;           
}

.hero-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;           
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  padding: 3.1rem 5.6rem;
  backdrop-filter: blur(4px); 
  border-radius: 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.hero-content h2 {
  font-size: 1.5rem;
  font-weight: 400;
}



@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content h2 {
    font-size: 1rem;
  }
}
 
.hero-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  background-color: #33332d;
  color: white;
  text-decoration: none;
  font-weight: 500;
  border-radius: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-btn:hover {
  background-color: #ff5500;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .hero-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

.hero-subtitle {
  font-family: 'IBM Plex Sans', 'Source Sans 3', sans-serif;
  font-weight: 500;
  font-size: 1.8rem;     
  line-height: 1.3;
  letter-spacing: 0.8px;
  word-spacing: 1.5px;
  color: #faf3e1;
  margin: 0 0 12px 0;
}





/* ================== Contact Page ======================*/
.contact-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-image {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.contact-image img {
  width: 100%;
  max-width: 900px; 
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}



/* =========== social media buttons =========== */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem; 
  width: 100%;
  margin-top: 1rem;
}

.social-links a {
  text-decoration: none;
  color: #ff5500;
  font-weight: bold;
  font-size: 1.6rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover,
.social-links a:focus {
  color: #FFB700;
  transform: translateY(-2px);
}
 



/* =========== WORK social  =========== */
.work-social {
  display: flex;
  justify-content: center;     
  align-items: center;         
  gap: 3rem;                  
  margin: 1rem 0 1.5rem 0;
  flex-wrap: wrap;            
}

.work-social a {
  text-decoration: none;
  color: #ff5500;              
  font-weight: 700;
  font-size: 1.6rem; 
  letter-spacing: 0.5px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.work-social a:hover,
.work-social a:focus {
  color: #FFB700;             
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  .work-social {
    flex-direction: column;
    gap: 1rem;
  }
}





/* ================== Work Page CARDS ====================== */

.skills-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 2rem;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  grid-auto-rows: 1fr;                   
  gap: 1rem;                            
  width: 100%;
  max-width: 1200px;                  
  margin: .5rem auto;
}

.skill-card {
  background-color: #33332D;
  color: #faf3e1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 1rem;  
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  font-weight: 350;
  cursor: pointer;
  text-align: center;
  aspect-ratio: 1;      
  transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.skill-card:hover {
  transform: translateY(-5px) scale(1.05);
  font-weight: 600;
  box-shadow: 0 6px 15px rgba(0,0,0,0.5);
  background-color: #ff5500;
  color: #222222;
}


@media (max-width: 768px) {
  .skills-container {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
}

@media (max-width: 500px) {
  .skills-container {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
  }
}

.skills-section {
  display: flex;
  flex-direction: column; 
  justify-content: center;
  align-items: center;    
  min-height: 80vh;
  padding: .5rem;
}





/* ======== Community Support LINKS ======== */
.support-links {
  display: flex;
  justify-content:left;        
  gap: 3rem;                     
  margin-top: 1rem;
  flex-wrap: wrap;               
  text-align: center;
}

.support-links a {
  text-decoration: none;
  color: #ff5500;                
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.support-links a:hover,
.support-links a:focus {
  color: #FFB700;                 
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  .support-links {
    flex-direction: column;
    gap: 1rem;
  }

  .support-links a {
    font-size: 1rem;
  }
}





/* ============= WORK A11y Search Bar Study (thumbnail/blurb) ============== */
.work-a11y {
  display: flex;
  align-items: flex-start;
  gap: 120px;
  margin-bottom: 50px;
}

.work-a11y img {
  width: 600px;
  height: auto;
  border-radius: 8px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  margin-left: 20px;
}

.work-a11y img:hover {
  transform: scale(1.03);
}

.work-a11y-text {
  max-width: 600px;
}

.work-a11y-text h3 {
  margin: 0;
}

.work-a11y-text h3 a {
  color: #FFB700;   
  font-weight: bold; 
  transition: color 0.3s ease;
  text-decoration: none;
}

.work-a11y-text h3 a:hover {
  color: #ff5500;   
  text-decoration: underline;
}

.work-a11y-text p {
  margin-top: 8px;
  line-height: 1.5;
}

.work-a11y-text p a {
  color: inherit;
  text-decoration: none;
}

.work-a11y-text p a:hover {
  text-decoration: underline;
}



/* ============= WORK Thunderbird Settings Audit (thumbnail/blurb) ============== */
.work-settings-audit {
  display: flex;
  align-items: flex-start;
  gap: 130px;
  margin-bottom: 50px;
}

.work-settings-audit img {
  width: 605px;
  height: 100;
  border-radius: 8px;
  flex-shrink: 0;
  margin-left: 20px;
}

.work-settings-audit-text {
  max-width: 600px;
}

.work-settings-audit-text h3 a {
  margin: 0;
  transition: color 0.3s ease;
}

.work-settings-audit-text p {
  margin-top: 8px;
  line-height: 1.5;
}

.projects-title {
  text-align: center;      
  margin: 4rem 0rem 2.5rem 0rem;     
}

.projects-title h2 {
  font-family: 'IBM Plex Sans', 'Source Sans 3', sans-serif;
  font-weight: 500;        
  line-height: 1.3;
  letter-spacing: 0.8px;
  color: #faf3e1;
  margin: 0;              
}

.projects-title h3 {
  font-family: 'IBM Plex Sans', 'Source Sans 3', sans-serif;
  font-weight: 500;        
  line-height: 2;
  letter-spacing: 0.8px;
  color: #a8a89a;
  margin: 0;              
}





/* ============= Project Summary ============== */
.project-summary {
  text-align: center;        
  max-width: 1000px;         
  margin: 1.5rem auto 6rem auto;  
}

.project-summary p {
  font-size: 1.2rem;         
  line-height: 1.6;          
  color: #faf3e1;           
  margin: 0;                  
  font-family: 'IBM Plex Sans', 'Source Sans 3', sans-serif; 
}

.project-summary p strong {
  font-weight: 600;      
  color: #FFB700;      
}

/* =========== Project Summary PDF Link =========== */
.project-summary a,
.project-summary a:visited {
  text-decoration: none;
  color: #ff5500;
  font-weight: bold;
  font-size: 1.3rem;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.project-summary a:hover,
.project-summary a:focus,
.project-summary a:hover b {
  color: #FFB700;
  transform: translateY(-2px);
  
}

.project-summary p a,
.project-summary p a:visited {
  color: #ff5500;
}


/* ============= Portfolio Work Layout =============== */
.portfolio-work-section {
  display: flex;
  gap: 70px;
  margin-bottom: 80px; 
  align-items: flex-start;
  
}

.portfolio-work-left {
  flex: 0 0 45%;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-bottom: 140px; 
}

.portfolio-work-left img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 18px 15px rgba(0,0,0,0.85); 
  transition: transform 0.5s ease, margin-top 0.5s ease, margin-left 0.5s ease;
  cursor: pointer;
  position: relative;
  margin-top: -140px;
  margin-left: 50px; 
}

.portfolio-work-left img:first-child {
  margin-top: 0;
  margin-left: 50px; 
  z-index: 5;
}

.portfolio-work-left img:nth-child(2) { z-index: 4; }
.portfolio-work-left img:nth-child(3) { z-index: 3; }
.portfolio-work-left img:nth-child(4) { z-index: 2; }
.portfolio-work-left img:nth-child(5) { z-index: 1; }

.portfolio-work-left:hover img {
  margin-top: 0; 
  margin-left: 50px; 
  transform: scale(1.05);
  z-index: 10;
}

.portfolio-work-left:hover img:nth-child(n+2) {
  margin-top: 40px; 
  margin-left: 50px; 
}

.portfolio-work-left img:only-child:hover {
  transform: none;
  margin-top: 0;
  z-index: 1;
}
  

.portfolio-work-right {
  flex: 0 0 45%; 
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 50px; 
  margin-left: 10px;
}

.portfolio-work-right h2 {
  margin: 0;
  font-family: 'IBM Plex Sans', 'Source Sans 3', sans-serif;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.8px;
  color: #faf3e1;
}

 /* =========== portfolio work Links =========== */
.audit-links a,
.audit-links a:visited {
  text-decoration: none;
  color: #ff5500;
  font-weight: 550;
  font-size: 1.2rem;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  padding-left: 50px; 
  padding-top: 38px;
  
}

.audit-links a:hover,
.audit-links a:focus,
.audit-links a:hover b {
  color: #FFB700;
  transform: translateY(-2px);
  
}

.audit-links p a,
.audit-links p a:visited {
  color: #ff5500;
}
.audit-links i,
.audit-links i a:visited {
  color: #FFB700;
}

.audit-links p {
  margin: 0;
  line-height: 1.5;
}


@media (max-width: 900px) {
  .portfolio-work-section {
    flex-direction: column;
  }

  .portfolio-work-left,
  .portfolio-work-right {
    flex: 1 1 100%;
    
  }


  .portfolio-work-left img {
    margin-top: -50px;
    margin-left: 20px; 
  }

  .portfolio-work-left img:first-child {
    margin-top: 0;
    margin-left: 20px;
  }

  .portfolio-work-left:hover img:nth-child(n+2) {
    margin-top: 15px;
    margin-left: 20px;
  }
  
}