@font-face {
    font-family: 'IndieFlower';
    src: url('../fonts/IndieFlower-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.hero .front-content .inner h1,
.hero .front-content .inner p {
    font-family: 'IndieFlower', cursive;
}

.hero .front-content .inner h1 {
    font-size: 4em;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero .front-content .inner p {
    font-size: 2em;
    line-height: 1.4;
}

/* Concepts video card - same style as project cards, full width */
#concepts .concepts-video-card {
  min-height: 0;
}

/* Responsive YouTube embed */
.games-youtube-wrap {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.games-youtube-inner {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.games-youtube-inner iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

/* Contact section spacing */
#contact .section-title {
    margin-bottom: 60px;
}

#contact .tab-content {
    margin-top: 30px;
}

/* Projects section styling */

/* Custom loader color override */
#page-loader {
    background-color: #111111 !important;
}

#page-loader img {
    filter: brightness(0) invert(1) !important; /* This will make the logo white */
}

   
   /* Make all cards equal height with minimum height */
   #projects .work-card,
   #concepts .work-card,
   #tools .work-card,
   #client .work-card,
   #client-work .work-card {
     height: 80%;
     min-height: 420px;
     padding-bottom: 40px;
   }

   #projects .col-md-4,
   #concepts .col-md-4,
   #tools .col-md-4,
   #client .col-md-4,
   #client-work .col-md-4 {
    padding-bottom: 30px;
    margin-bottom: 30px;
  }
   
   /* Push the description to fill remaining space consistently */
   #projects .work-card p:last-child,
   #concepts .work-card p:last-child,
   #tools .work-card p:last-child,
   #client .work-card p:last-child,
   #client-work .work-card p:last-child {
     margin-top: auto;
   }
   
   /* Card link styling */
   #projects .work-card-link,
   #concepts .work-card-link,
   #tools .work-card-link,
   #client .work-card-link,
   #client-work .work-card-link {
     text-decoration: none;
     color: inherit;
     display: block;
     width: 100%;
   }
   
   #projects .work-card-link:hover,
   #concepts .work-card-link:hover,
   #tools .work-card-link:hover,
   #client .work-card-link:hover,
   #client-work .work-card-link:hover {
     text-decoration: none;
   }
   
   #projects .work-card-link:visited,
   #concepts .work-card-link:visited,
   #tools .work-card-link:visited,
   #client .work-card-link:visited,
   #client-work .work-card-link:visited {
     color: inherit;
   }

/* Client project modal */
.client-project-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.client-project-modal.client-project-modal--hidden {
  display: none;
}

.client-project-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.client-project-modal__box {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px 56px 48px 48px;
}

.client-project-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  color: #666;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-project-modal__close:hover {
  color: #333;
  background: #f0f0f0;
}

.client-project-modal__title {
  margin: 0 0 12px 0;
  font-size: 2rem;
  color: #333;
  padding-right: 48px;
  line-height: 1.25;
}

.client-project-modal__subtitle {
  margin: 0 0 20px 0;
  font-size: 1.2rem;
  color: #666;
}

.client-project-modal__description {
  margin: 0 0 28px 0;
  font-size: 1.15rem;
  color: #555;
  line-height: 1.6;
}

.client-project-modal__link {
  display: inline-block;
  padding: 14px 28px;
  background: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1.1rem;
}

.client-project-modal__link:hover {
  background: #555;
  color: #fff;
}