/* Load fonts */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/font/Roboto-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('/assets/font/Roboto-Light.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('/assets/font/Roboto-Bold.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: url('/assets/font/Roboto-Italic.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 200;
  src: url('/assets/font/Roboto-Thin.woff') format('woff');
}

html {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
}

/* General styles */
body {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 300;
  background-color: #1e1f22;
  color: #cccccc;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #29343e;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  padding: 20px 0;
}

.header-print {
  display: none;
}



.main {
  padding-top: 70px;
}

.logo {
  margin-right:  1rem;
  padding: 0;
}

cite {
  margin: 10px 0;
  display: block;
  font-style: italic;
  text-align: center;
}

hr {
  margin-top: 60px;
  margin-bottom: 60px;
  color: #29343e;
}

p {
  margin-top: 0;
  padding-top: 0;
  line-height: 1.5rem;
}

.nav {
  margin-top: 10px;
}

.nav a {
  margin-right: 20px;
  text-decoration: none;
  color: #fdfcf9;
  font-weight: 300;
  transition: color 0.3s ease;
}

.nav a.nav_home,
.nav a.nav_about,
.nav a.nav_services,
.nav a.nav_archive,
.nav a.nav_perf {
  display: none;
}


.nav a:hover {
  color: #c49102;
}

/* Main section */
h1, h2, h3, h4, h5, h6 {
  font-weight: 200;
  color: #fdfcf9;
  padding-top: 0;
  margin-top: 0;
  margin-bottom: 1rem;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 30px;
  text-align: center;
}

h3 {
  font-size: 26px;
}

h4 {
  font-size: 22px;
}

main.main.terms h2 {
text-align: left;

}

a {
  text-decoration: none;
  color: #c49102;
}

ul, ol {
  margin-left: 2rem;
  padding-left: 0;
  list-style-position: outside;
}

ul li,
ol li {
 margin-bottom: 0.5em;
 font-size: 1rem;
}


/* Slideshow */
.slideshow {
  position: relative;
  height: 60vh;
  overflow: hidden;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: top left;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {  opacity: 1;
  z-index: 1;
}

.slide-content {
  position: absolute;
  bottom: 10%;
  left: 10%;
  color: #fdfcf9;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
  /* max-width: 500px; */
}

.slide-content h2 {
  font-size: 40px;
  margin-bottom: 5px;
  text-align: left;
}

.slide-content p {
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 10px;
  font-size: 20px;
  margin-bottom: 20px;
  color: #cccccc;
}

.cta-button {
  background-color: #c49102;
  color: #1e1f22;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.5);
  text-shadow: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.image-full-width img {
  width: 100%;
  border-radius: 8px;
}

p img { vertical-align: text-bottom; }

/* Slide Content Animation */
.slide-content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.slide.active .slide-content {
  opacity: 1;
  transform: translateY(0);
}

.cta-button:hover {
  background-color: #d4a307;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
  color: #999;
  background-color: #2a2b2f;
  margin-top: 10rem;
}

.footer p {
  margin-top: 1rem;
}

.footer-nav {
  padding-right: 20px;
  padding-left: 20px;
}
.footer a {
  color: #c49102;
  text-decoration: none;
}

/* Contact Page */
.contact-section {
  margin-top: 20px;
  padding: 0 20px;
  text-align: center;
}

.contact-section p {
  font-size: 18px;
  margin-bottom: 40px;
  color: #cccccc;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #c49102;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background-color: #2a2b2f;
  border: 1px solid #444;
  border-radius: 5px;
  color: #fdfcf9;
  font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #c49102;
  outline: none;
}


/* Print */
@media print {
  .header-screen {
    display: none !important;
  }

  body, html, h1, h2, h3, h4, p, .footer {
    background-color: white;
    color: black !important;
  }

  h1, h2, h3, h4 {
    font-weight: 400;
  }

  .header-print {
    display: block;
    position: static;
    padding-top: 20px;
    border-bottom: 1px solid #ccc;
    font-size: 18px;
    text-align: center;
  }

  aside {
    display: none;
  }

  section.hero-section,
  .footer-nav,
  .print-hide {
    display: none;
  }
  .main {
    padding-top: 0;
  }
}

/* Responsive tweaks for slideshow images */
@media (max-width: 768px) {
  .slide {
    background-position: top center;
    background-size: cover;
  }

  .slide-content {
    bottom: 10%;
    left: 5%;
    right: 5%;
    text-align: center;
  }

  .slide-content h2 {
    font-size: 36px;
    text-align: center;
  }

  .slide-content p {
    font-size: 16px;
  }

  .cta-button {
    font-size: 14px;
    padding: 10px 20px;
  }
}

/* Services */

.services {
  margin-top: 2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px 20px;
}

.service-card {
  background-color: #2a2b2f;
  padding: 30px 20px;
  border: 1px solid #333;
  border-radius: 12px;
  text-align: left;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #c49102;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.service-card .icon {
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #fdfcf9;
}

.service-card p {
  font-size: 16px;
  color: #cccccc;
}

.service-icon {
  text-align: center;
  margin: 40px auto 20px;
}

.service-icon svg {
  width: 200px;
  height: 200px;
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px 20px;
}

.portfolio-card {
  padding: 80px 20px;
  position: relative;
  background-size: cover;
  background-position: center;
  color: white; /* or whatever contrasts best */
  overflow: hidden;
  border-radius: 12px;
}

/* Dark overlay */
.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0; /* shorthand for top/right/bottom/left: 0 */
  background-color: rgba(0, 0, 0, 0.6); /* semi-transparent black */
  transition: background-color 0.3s ease;
  z-index: 1;
}

/* Content sits above the dark overlay */
.portfolio-card > * {
  position: relative;
  z-index: 2;
}

/* Hover effect to lighten the background */
.portfolio-card:hover::before {
  background-color: rgba(0, 0, 0, 0.1);
}

.portfolio-card .icon {
  margin-bottom: 15px;
}

.portfolio-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #ffffff !important;
}

.portfolio-card p {
  font-size: 16px;
  color: #ffffff !important;
}

.portfolio-icon {
  text-align: center;
  margin: 40px auto 20px;
}

.portfolio-icon svg {
  width: 200px;
  height: 200px;
}

body.portfolio_detail h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}















.icon_large {
  margin: auto;
  width: 100px;
  height: 100px;
  display: inline-block;
}

.icon_large:hover {
  transform: translateY(-2px);
  border-color: #c49102;
}

.icon_small {
  margin: auto;
  margin-top: -5px;
  width: 32px;
  height: 32px;
  display: inline-block;
  vertical-align: baseline;
}

.icon_small:hover {
  transform: translateY(-1px);
  border-color: #c49102;
}

.icon_text {
  display: none;
}

.hero-section {
  height: 28vh;
  background-size: cover;
  background-position: center center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 38px;
}

.hero-section.portfolio {
  background-position: center center;
}

.hero-overlay {
  background-color: rgba(30, 31, 34, 0.7); /* semi-transparent dark overlay */
  color: #fdfcf9;
  padding: 20px;
  width: 100%;
  height: 100%;
  backdrop-filter: brightness(1.2); /* optional soft boost */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-overlay h1 {
  font-size: 40px;
  margin-bottom: 3px;
  margin-top: 3px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

.hero-overlay p {
  font-size: 18px;
  color: #fdfcf9;
  font-weight: 300;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-icon {
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
  margin-bottom: 0;
  padding: 0;
  width: 100px;
  height: 100px;
}

.content-block {
  max-width: 800px;
  margin: auto;
  margin-top: 2rem;
}

.content-block h3 {
  font-size: 24px;
  color: #c49102;
  margin-bottom: 20px;
}

.content-block p {
  font-size: 18px;
  color: #cccccc;
  margin-bottom: 20px;
}

.content-image img {
  width: 25%;
  max-width: 300px;
  height: auto;
  display: block;
  float: left;
  margin-right: 2rem;
  margin-bottom: 2rem;
}

aside img,
.aside-image {
  width: 100%;
  height: auto;
}

/* Standard aside, will be hidden for print */
aside {
  float: right;
  width: 33%;
  background-color: #29343e;
  border-radius: 1rem;
  padding: 1rem;
  margin-left: 1rem;
  margin-bottom: 1rem;
}

.two-column-grid {
  display: grid;
  grid-template-columns: minmax(0, 33%) 1fr;
  gap: 20px;
  margin-bottom: 2rem;
}

.two-column-grid aside {
  width: 100%;
  order: 1;
  border-radius: 8px;
  background-color: transparent;
}

.two-column-grid main {
  order: 2;
}

@media (min-width: 1200px) {
  .two-column-grid {
    grid-template-columns: minmax(0, 300px) 1fr;
  }

  .two-column-grid aside,
  .two-column-grid main {
    order: unset; /* restore original order */
  }
}

@media (max-width: 768px) {
  .two-column-grid {
    grid-template-columns: 1fr;
  }
  .two-column-grid aside {
    order: 2; /* show second on mobile */
  }

  .two-column-grid main {
    order: 1;
  }

}

.quote-block {
  color: #fdfcf9;
  padding: 40px 0;
  margin: 0 2rem 2rem 0;
  max-width: 300px;
  width: 100%;
  quotes: "“" "”" "‘" "’";
}

.quote-block p {
  font-weight: 500;
  padding: 0 10px 0 0;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 200;
}

.quote-block p::before {
  content: open-quote;
  font-size: 48px;
  font-family: serif;
  display: block;
  line-height: 0;
  margin-right: 8px;
  color: #c49102;
}

.quote-block p::after {
  content: close-quote;
  font-size: 48px;
  font-family: serif;
  line-height: .7;
  display: block;
  margin-top: 12px;
  color: #c49102;
}

.quote-block .quote-attribution {
  margin-top: 20px;
  font-size: 20px;
  font-style: italic;
  padding-left: 10px;
}



.feature-list {
  list-style-type: none;
  padding: 0;
}

.feature-list li {
  background-color: #2a2b2f;
  border-left: 4px solid #c49102;
  padding: 15px 20px;
  margin-bottom: 15px;
  color: #fdfcf9;
  border-radius: 6px;
}

.clear {
  clear: both;
}

.cta-section {
  background-color: #2a2b2f;
  border: 1px solid #333;
  padding: 40px 30px;
  text-align: center;
  border-radius: 10px;
  margin-top: 60px;
  max-width: 600px;
  margin-right: auto;
  margin-left: auto;
}

.cta-section:hover {
  border: 1px solid #009688;
}

.cta-section h3 {
  font-size: 24px;
  color: #fdfcf9;
  margin-top: 0;
  margin-bottom: 5px;
}

.cta-section p {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 35px;
  max-width: 400px;
  margin: auto;
}

.cta-section a {
  margin-top: 30px;
  display: inline-block;
}

.testimonials {
  background-color: #1e1f22;
  padding: 0 20px 40px 20px;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: #c49102;
  padding: 30px 25px;
  border-radius: 12px;
  border: 1px solid #444; /* softer border */
  font-size: 16px;
  color: #2a2b2f; /* lighter text */
  position: relative;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25); /* softer shadow */
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: #009688;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 15px;
  line-height: 1.6;
}

.testimonial-card .author {
  color: #2a2b2f;
  font-weight: bold;
  font-size: 14px;
}

/* Bubble Cards */
.bubbles {
  background-color: inherit;
  padding: 0 20px 40px 20px;
  text-align: center;
}

.bubble-grid {
  display: grid;
  place-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.bubble-card {
  align-self: center;
  justify-self: center;
  background-color: #cccccc;
  padding: 15px 25px;
  border-radius: 100px;
  border: 1px solid #444; /* softer border */
  font-size: 16px;
  color: #2a2b2f;
  font-weight: 300;
  position: relative;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
  min-height: 100px;
}

.bubble-card h3 {
  font-weight: 300;
  text-transform: uppercase;
  font-size: 1.5rem;
  margin-bottom: 2px;
  margin-top: 0;
}

.bubble-card:hover {
  transform: translateY(-4px);
  border-color: #009688;
}

.bubble-card p {
  font-style: italic;
  margin-bottom: 15px;
  line-height: 1.6;
}

.bubble-card .author {
  color: #2a2b2f;
  font-weight: bold;
  font-size: 14px;
}


.principles-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.principles-list li {
  background-color: #2a2b2f;
/*  border-left: 4px solid #00bfa6; */
  border-left: 4px solid #29343e;
  padding: 15px 20px;
  margin-bottom: 15px;
  color: #fdfcf9;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.5;
}

/* NAVIGATION WRAPPER */
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.menu-spacer {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0px;
  z-index: 1100;
  transition: transform 0.3s ease;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #c49102;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger animation when active */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -8px);
}



/* NAVIGATION STYLES */
.nav {
  display: flex;
  gap: 18px;
}

.nav a {
  text-decoration: none;
  color: #fdfcf9;
  font-weight: 300;
  transition: color 0.3s;
  font-size: .9rem;
}

.nav a:hover {
  color: #c49102;
}

.text_block {
  width: 100%;
  max-width: 800px;
  border-radius: 8px;
  padding: 40px;
  margin: auto;
  color: black;
}

.text_block h3 {
  font-weight: 300;
  color: black;
  margin-bottom: 0;
}


/* MOBILE RESPONSIVE STYLES */
@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  .text_block {
    width: 90%;
    padding: 12px;
  }


  /* Icon row at bottom */
  .menu-spacer {
    display: block;
    height: 3rem;
    margin-bottom: 20px;
  }

  .menu-icons {
    position: absolute;
    bottom: 0;
    width: 85%;
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* subtle divider */
    background: inherit; /* same as menu background */
  }

  /* Style for individual icons */
  .menu-icons i, .menu-icons svg {
    font-size: 1.5em;
    color: white;
  }

  .nav a {
    margin-right: 0;
  }



  .hero-section {
    padding: 0;
    text-align: center;
    margin-bottom: 25px;
    background-color: #2a2b2f;
  }

  .slideshow {
    position: relative;
    height: 60vh;
    overflow: hidden;
  }

  .content-image img {
    width: 100%;
    height: auto;
    display: block;
    float: none;
    margin: auto;
  }

  .hero-section h1 {
    font-size: 30px;
  }

  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #29343e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    z-index: 1000;
  }

  .nav a.nav_home,
  .nav a.nav_about,
  .nav a.nav_services,
  .nav a.nav_dev,
  .nav a.nav_perf {
    display: flex;
  }


  .nav.active {
    display: flex;
  }
}

  .table-flex {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
  }

  .table-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    padding: 16px;
    border: 1px solid #444;
    border-radius: 8px;
    background-color: #2a2b2f;
    flex-wrap: wrap;
  }

  .table-cell {
    flex: 1 1 30%;
    min-width: 200px;
    color: #fdfcf9;
  }

  .table-cell img {
    width: 100%;
    height: auto;
  }

  .table-cell strong {
    color: #c49102;

  }

  @media (max-width: 600px) {
    .table-row {
      flex-direction: column;
    }
    .table-cell {
      min-width: unset;
    }
  }



.clickable-image {
  cursor: pointer;
  max-width: 100%;
  height: auto;
  transition: transform 0.2s;
}
.clickable-image:hover {
  transform: scale(1.03);
}

/* Modal background */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 999;
  left: 0;
  top: 50px;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

/* Modal image */
.modal-content {
  display: block;
  margin: 5% auto;
  max-width: 80vw;
  max-height: 80vh;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
}

/* Close button */
.modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #ffffff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}