:root {
  /* Main colors */
  --color-bg-primary: #F0F0F0;
  --color-bg-white: #ffffff;
  --color-text-primary: #222;
  --color-text-secondary: #666;
  --color-text-tertiary: #333;
  --color-text-light: #444;
  
  /* Grays */
  --color-gray-light: #f5f5f5;
  --color-gray-medium: #E6E6E6;
  --color-gray-border: #E0E0E0;
  --color-gray-dark: #CDCDCD;
  
  /* Accent colors */
  --color-accent-teal: #4ECDC4;
  --color-accent-gold: #E6B422;
  --color-accent-red: #d32f2f;
  --color-active-red: red;
}

body {
  background: var(--color-bg-primary);
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.1em;
  font-weight: 400;
  color: var(--color-text-primary);
}

.home-page {
  padding-bottom: 100px;
  overflow: hidden;
}

/* Particle Canvas Background */
#c {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

.container {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 0px 0 0 60px;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.main-content {
  
}

img {
  all: unset;
  display: block;
}

.profile-image {
  margin-left: auto;
  margin-right: 60px;
}

.profile-image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

h1, h2, h3, h4, h5, h6, .menu {
  font-family: 'Outfit', sans-serif;
} 

p {
  line-height: 2;
  max-width: 900px;
  color: var(--color-text-primary);
}

.text-large{
  font-size: 1.2rem;
}

.writing-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.writing-list li {
  margin-bottom: 16px;
}

.writing-list li:last-child {
  margin-bottom: 0;
}

.writing-list a {
  color: var(--color-text-primary);
  text-decoration: none;

}

ul {
  max-width: 900px;
}

ul, ol {
  line-height: 2;
  padding-bottom: 20px;
}

/* Video Styles */
.video-container {
  margin: 40px 0;
  text-align: center;
}

.video-container video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Portfolio Page Styles */
.portfolio-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px 0 20px;
}

.article-container {
  max-width: 1000px;
  padding: 90px 60px 40px 60px;
  margin: 0 auto;
}

.new-portfolio-container {
  max-width: 1280px;
  padding: 90px 60px 40px 60px;
  margin: 0 auto;
}

/* About Page Styles */
.about-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
}

.about-content {
  flex: 1;
  line-height: 1.6;
  min-width: 0; /* Prevent flex item from overflowing */
}

.about-content p {
  margin-bottom: 20px;
}

.about-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.about-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.about-photo {
  flex-shrink: 0;
  width: 350px;
  margin-top: 30px;
}

.about-photo img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* About Page Responsive */
@media (max-width: 768px) {
  .about-wrapper {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }
  
  .about-photo {
    width: 150px;
    margin-top: 0; /* Reset margin when photo moves to top */
    order: -1; /* Move photo to top on mobile */
  }
}

@media (max-width: 480px) {
  .about-wrapper {
    gap: 20px;
  }
  
  .about-photo {
    width: 120px;
  }
}

.portfolio-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 40px;
  margin-top: 32px;
}

.company-block {
  margin-bottom: 48px;
}

.company-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.company-meta {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: var(--color-text-primary);
  margin-bottom: 24px;
}

.company-meta strong {
  font-weight: 600;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-row {
  display: flex;
  align-items: center;
  height: 98px;
  padding: 0 28px;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.project-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.project-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-bg-primary);
  margin-right: 20px;
  flex-shrink: 0;
}

.project-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0;
}

.project-badge {
  background: var(--color-gray-border);
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-left: 16px;
}

.project-arrow {
  margin-left: 16px;
  font-size: 1.25rem;
  color: var(--color-text-secondary);
}

/* Project Tile Styles */
.project-tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.project-tile {
  background: white;
  border-radius: 8px;
  height: 234px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.project-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  text-decoration: none;
  color: inherit;
}

.project-tile-image {
  height: 174px;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

.project-tile-title {
  height: 40px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.project-tile-title h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  text-align: center;
  color: var(--color-text-primary);
}


#writing-content {
  max-width: 800px !important;
}

.article-content-wrapper {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.article-header {
  margin-bottom: 30px;
  border-bottom: 2px solid var(--color-bg-primary);
  padding-bottom: 20px;
}

.article-header h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text-tertiary);
  margin-bottom: 15px;
}

.article-meta {
  display: flex;
  gap: 20px;
  align-items: center;
}

.article-category {
  background: var(--color-bg-primary);
  color: var(--color-text-tertiary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.article-date {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.article-content {
  line-height: 1.7;
  color: var(--color-text-tertiary);
}

.article-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-tertiary);
  margin: 30px 0 15px 0;
}

.article-content p {
  margin-bottom: 15px;
}

.article-content ul {
  margin: 15px 0;
  padding-left: 20px;
}

.article-content li {
  margin-bottom: 8px;
}

.loading {
  text-align: center;
  padding: 60px 20px;
  font-size: 1.1rem;
  color: var(--color-text-secondary);
}

.error {
  text-align: center;
  padding: 60px 20px;
  color: var(--color-accent-red);
  font-size: 1.1rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding-top: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
}

.breadcrumb-item {
  color: var(--color-text-tertiary);
  text-decoration: underline;
  font-weight: 500;
}

.breadcrumb-item:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  margin: 0 8px;
  color: var(--color-text-secondary);
}

.breadcrumb-current {
  color: var(--color-text-tertiary);
  font-weight: 500;
}

.blogimage{
  display: block;
  margin: 30px auto;
  width: 540px;
  max-width: 100%;
  height: auto;
}

/* Home Page Centering Styles */
.home-center {
  min-height: 80vh;
  width: 100vw;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.home-main-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

.home-prompt-text {
  font-size: clamp(2rem, 12vw, 8rem);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 600px) {
  .home-prompt-text {
    font-size: clamp(1.5rem, 8vw, 4rem);
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  .home-main-text {
    width: 100vw;
    max-width: 100vw;
  }
}
.portfolio-image{
  max-width: 1200px;
  width: 100%;
  height: auto;
  border-radius: 12px !important;
  margin-bottom: 60px;
  }

/* Yellow Speech Bubble Styles */
.yellowspeech {
  background: var(--color-gray-medium);
  padding: 24px 24px 24px 25px;
  border-radius: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;

}

.myhead {
  width: 50px;
  height: 50px;
  background-image: url('images/me.jpeg');
  background-size: cover; /* ensures the image covers the circle */
  background-position: center; /* centers the image */
  border-radius: 50%; /* makes it a circle */
  display: inline-block; /* ensures it behaves like a shape */
  margin-right: 12px;
  flex-shrink: 0;
}

#interfaceimage{
  width: 100%; 
  margin-top: 15px;
}

.image90{
  width: 95%;   
 }

 #interfacetext{
  padding-right: 70px;
}

#interfaceimage{
  width: 100%; 
  margin-top: 15px;
}

#interfaceimage2{
  width: 400px; 
  margin-left: 70px;
  margin-top: 25px;
}

#interfacetext p{
  font-size: 90%;
}

.imageipad{
  max-width: 750px !important;   
 }

.designers-role {
  font-size: 0.9rem;
  color: var(--color-text-secondary);

}

/* Color Swatches Styles */
.color-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
  max-width: 900px;
}

.color-swatch {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.color-box {
  width: 100%;
  height: 120px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.color-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.color-value {
  font-size: 0.9rem;
  font-family: 'Courier New', monospace;
  color: var(--color-text-secondary);
}

.color-var {
  font-size: 0.85rem;
  font-family: 'Courier New', monospace;
  color: var(--color-text-tertiary);
  background: var(--color-gray-light);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

/* Template 2 Layout Styles */
.template2-banner {
  width: 100%;
  height: 470px;
  background-color: var(--color-gray-dark);
  background-size: auto 80%;
  background-position: center bottom;
  background-repeat: no-repeat;
  margin-bottom: 40px;
  border-radius: 20px;
}

.template2-wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

.template2-container {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.template2-sidebar {
  width: 100px;
  flex-shrink: 0;
  position: sticky;
  top: 60px;
}

.template2-sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.template2-sidebar-menu li {
  margin-bottom: 5px;
}

.template2-sidebar-menu a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  transition: color 0.2s ease, font-weight 0.2s ease;
  padding: 3px 12px;
  border-radius: 4px;
  display: block;
}

.template2-sidebar-menu a:hover {
  color: var(--color-text-primary);
  background-color: var(--color-gray-light);
}

.template2-sidebar-menu a.active {
  color: var(--color-text-primary) !important;
  font-weight: 700 !important;
  background-color: var(--color-bg-primary) !important;
  padding: 8px 12px;
  border-radius: 6px;
}

.template2-main {
  flex: 1;

}

.template2-section {
  margin-bottom: 60px;
}

.template2-section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.template2-section-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  font-weight: 400;
}

.template2-hero-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.image-border {
  border: 1px solid var(--color-gray-dark);
}

.template2-roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
  padding: 24px;
  background: white;
  border-radius: 8px;
  border: 2px solid var(--color-gray-border);
}

.template2-role-item {
  text-align: center;
}

.template2-role-label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-text-primary);
}

.template2-role-title {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-secondary);
}

.template2-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.template2-card {
  background: white;
  padding: 28px;
  border-radius: 8px;
  border: 2px solid var(--color-gray-border);
}

.template2-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  margin-top: 0;
}

.template2-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-light);
  margin: 0;
}

.template2-insights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}

.template2-insight-box {
  background: white;
  padding: 40px;
  border-radius: 12px;
  border: 2px solid var(--color-accent-teal);
}

.template2-insight-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: var(--color-text-primary);
}

.template2-insight-box p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-primary);
  margin: 0 0 20px 0;
}

.template2-insight-box p:last-child {
  margin-bottom: 0;
}

.template2-insight-box em {
  display: block;
  font-style: italic;
  margin-top: 20px;
}

.template2-solutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}

.template2-solution-box {
  background: white;
  padding: 40px;
  border-radius: 12px;
  border: 2px solid var(--color-accent-gold);
}

.template2-solution-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: var(--color-text-primary);
}

.template2-solution-box p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-primary);
  margin: 0;
}

@media (max-width: 1024px) {
  .template2-container {
    flex-direction: column;
  }
  
  .template2-sidebar {
    position: static;
    width: 100%;
  }
  
  .template2-sidebar-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .template2-sidebar-menu li {
    margin-bottom: 0;
  }
  
  .template2-roles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .template2-wrapper {
    padding: 0 20px;
  }
  
  .template2-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .template2-roles-grid {
    grid-template-columns: 1fr;
  }
  
  .template2-banner {
    height: 300px;
    background-size: auto 80%;
  }
}

/* Login Page Styles */
.login-page {
  background: #000000;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.login-box {
  text-align: center;
}

.login-box h2 {
  color: var(--color-bg-white);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 40px;
}

#loginForm {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#passwordInput {
  background: transparent;
  border: none;
  border-bottom: 1px solid #ffffff;
  color: var(--color-bg-white);
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  padding: 15px 10px;
  outline: none;
  transition: border-color 0.3s ease;
}

#passwordInput::placeholder {
  color: #666666;
}

#passwordInput:focus {
  border-bottom-color: var(--color-accent-teal);
}

#loginForm button {
  background: var(--color-bg-white);
  color: var(--color-text-primary);
  border: none;
  padding: 15px 40px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  margin-top: 20px;
}

#loginForm button:hover {
  background: var(--color-accent-teal);
  color: var(--color-bg-white);
}

.error-message {
  color: var(--color-accent-red);
  font-size: 14px;
  margin-top: 20px;
  display: none;
}

