/* ========================================
   Reset & Base Styles
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--primary-font, sans-serif);
  font-size: 16px;

}

html{scroll-behavior: smooth;}

ul li{margin-bottom: 0.25rem; }

#home-page ul{  list-style-type: none;
  list-style: none;}

ul{list-style-type: disc; list-style:inside; }

.mohave {
  font-family: "Mohave", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.rubik-doodle-shadow-regular {
  font-family: "Rubik Doodle Shadow", serif;
  font-weight: 400;
  font-style: normal;
}

strong{
  font-weight: 600;
}

a {
  text-decoration: none;
}

#nav a:hover {
  text-decoration:underline;
}

#nav ul {
  list-style: none;}


/* ========================================
   Root Variables (Dark Mode Default)
======================================== */
:root {
  /* Font Families */
  --primary-font: 'Mohave', sans-serif;
  --secondary-font: 'rubik doodle shadow', serif;

  /* Colors */
  --gray: #BFBFBF;
  --white: #FFFFFF;
  --black: #000000;
  --yellow: #F9F91F;

  --red: #F39173;
  --pink: #ffb0db;
  --gold: #ffd47b;
  --green: #b8e5c4;
  --blue: #99c9dd;
  
}

.red { background-color: var(--red); }
.pink { background-color: var(--pink); }
.gold { background-color: var(--gold); }
.green { background-color: var(--green); }
.blue { background-color: var(--blue); }

body.color-mode .btn.red { --btn-bg: var(--red); }
body.color-mode .btn.pink { --btn-bg: var(--pink); }
body.color-mode .btn.gold { --btn-bg: var(--gold); }
body.color-mode .btn.green { --btn-bg: var(--green); }
body.color-mode .btn.blue { --btn-bg: var(--blue); }


h3, h4, p, ul, li, a, button {font-family: var(--primary-font);color: var(--black);}
h1,h2{font-family:var(--secondary-font);color: var(--black)}

h1{font-size: 5rem; font-weight: 400;}
h2{font-size: 3rem; font-weight: 400;}
h3{font-size: 2rem; font-weight: 400;}
a, h4{font-size: 1.5rem; font-weight: 400;}
button{font-size: 1.5rem; font-weight: 600;}
p,ul,li{font-size: 1rem; font-weight: 400;}

/* ========================================
   color mode overrides
======================================== */


  
  

/* Flex utilities */
.flex { display: flex; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.align-stretch {align-items: stretch;}
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; min-width: 0; }
.up{transform: rotate(-90deg)}
.left{transform: rotate(-180deg)}
.di{transform: rotate(-45deg)}

/* Padding and Margin Utilities */
.p-xs { padding: 0.25rem; }
.p-sm { padding: 0.5rem; }
.p-md { padding: 1rem; }
.p-lg { padding: 2rem; }
.p-t { padding-top: 5rem}
.mx-auto { margin-left: auto; margin-right: auto; }



/* Height Utility */
.h-3rem { max-height: 3rem; }

/* Spacing */
.gap-xs { gap: 0.25rem; }
.gap-sm { gap: 0.5rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 2rem; }


.border-ridge {
  border: none;   
  box-shadow:
    inset -2px -2px 0 rgba(0, 0, 0, 0.6),   /* black */
    inset 2px 2px 0 rgba(255, 255, 255, 1), /* white */
    inset -4px -4px 0 rgba(0, 0, 0, 0.3), /* dark */
    inset 4px 4px 0 rgba(255, 255, 255, 0.6);  /* light */
}


.border-groove {
  border: none;   
  box-shadow:
    inset 4px 4px 0 rgba(255, 255, 255, 1), /* white */
    inset -4px -4px 0 rgba(0, 0, 0, 0.6),   /* black */
    inset -8px -8px 0 rgba(255, 255, 255, 1), /* white */
    inset 8px 8px 0 rgba(0, 0, 0, 0.6);   /* black */
}

.border-inset {
  border: none;
  box-shadow:
    inset 2px 2px 0 rgba(0, 0, 0, 0.6),    /* dark inner edge */
    inset -2px -2px 0 rgba(255, 255, 255, 1), /* light inner edge */
    inset 4px 4px 0 rgba(0, 0, 0, 0.3),    /* softer dark outer */
    inset -4px -4px 0 rgba(255, 255, 255, 0.6); /* softer light outer */
}


.border-outset {
  border-style: outset;
  border-width: 4px;
}

/* color utility */
.bg-gray { background-color: var(--gray); }
.bg-white { background-color: var(--white); }
.bg-black { background-color: var(--black); }


/* Responsive Utility */
.hide-sm {
  display: none;
}
.full-sm {
  width: 100%;
}
@media (max-width: 700px) {
  .p-md {
    padding: 0.5rem;
  }
  .p-lg {
    padding: 1rem;
  }
}

/* ========================================
   Text Highlight (translucent white)
======================================== */
.text-highlight {
  background-color: rgba(255, 255, 255, 0.4); /* mostly transparent white */
  padding: 0.1em 0.2em;
  display: inline-flex;
  align-items: center;
}




.btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
           
  font-weight: 600;             
  background-color: var(--btn-bg, var(--yellow));
  cursor: pointer; 
}
.btn:hover {
  transform:scale(1.02);
}



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

/* Default: column layout on mobile */
@media (max-width: 700px) {
  h1 {font-size: 3.5rem;}
  h2 {font-size: 2.25rem;}
  h3 {font-size: 1.5rem;}
  h4,.btn {font-size: 1.25rem;}

  .flex-row {
    flex-direction: column;
  }
  
  .flex-wrap {
    flex-wrap: wrap;
  }

  /* Ensure big flex containers stack nicely */
  section .flex {
    flex-direction: column;
  }

  .btn, .nav-btn, .nav-btn-info, .always-row-container{
    flex-direction: row !important;
  }

  .about .smile-icon{
    width: 32px
  }
  
  #contact-bottom-container {
    display: flex;
    flex-direction: row !important;
  }

  .impact-statement span{
    display: flex;
    flex-direction: row !important;
    
  }

}


/* ========================================
   Body
======================================== */

.smile-icon{width: 40px; height: 40px;}
.header .smile-icon{width: 20px; height: 20px;}

.arrow-icon{width: 18px; height: 18px;}

.lightning{width: 18px; height: 18px;}


#nav{padding: 0.5rem 1rem; display: flex; align-items: center;}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
}




.hamburger {
  display: none;
  cursor: pointer;
}

.solution{
  margin-bottom: 2rem;
}

@media screen and (max-width: 700px) {
  .hamburger {
    display: block;
  }

  .hamburger.rotated {
    transform: rotate(90deg);
  }

  .nav-links {
    display: none;         
    flex-direction: column;
    position: absolute;    
    top: 66px;          
    right: 0;         
    width: auto;         
    padding: 1rem;
    margin: 0;
    gap: 0.5rem;

  }

  .nav-links.active {
    display: flex;
    justify-content: flex-end; /* right-align items */
    align-items: flex-start;   /* items stack from top */
  }

  .nav-links.active a:hover {
    text-decoration: underline;
    cursor: pointer;

   #project-image-column {
    flex: 0 0 auto;
    width: auto;
    align-items: center;
  }
  }
  
}



.video-container {
  width: 300px;      /* Adjust width */
  height: 600px;     /* Adjust height */
  overflow: hidden;  /* Hide overflow if needed */
  border-radius: 24px;
  border: 4px solid #000; /* optional frame */
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* Fills container, maintains proportions */
}

.project-card{
  margin-bottom: 2rem;
}

@media screen and (min-width: 1000px) {
  .ux-ui-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem; /* adjust spacing between cards */
  }
}

/* ========================================
   Color Mode Definitions
======================================== */

body.gray-mode {
  --red: #BFBFBF;
  --pink: #BFBFBF;
  --gold: #BFBFBF;
  --green: #BFBFBF;
  --blue: #BFBFBF;
  --btn-bg: var(--yellow);
}

body.color-mode {
  --red: #F39173;
  --pink: #ffb0db;
  --gold: #ffd47b;
  --green: #b8e5c4;
  --blue: #99c9dd;
}
