/* Maiden Tech - portfolio/services page additions
   Reuses main.css grid, colors (#2e4bfd) and Montserrat font. */

.mt-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.mt-topbar__logo {
  max-width: 160px;
}

.mt-topbar__back {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2e4bfd;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mt-topbar__back:hover {
  color: #1c1c1c;
}

/* Banner (shorter version of the homepage hero) */
.mt-banner__wrap {
  height: 45vh;
  min-height: 320px;
}

.mt-banner__heading {
  font-size: 2rem;
}

@media (min-width: 768px) {
  .mt-banner__heading {
    font-size: 2.75rem;
  }
}

/* Section spacing */
.mt-section {
  padding: 70px 0;
}

.mt-section--alt {
  background-color: #f7f7f9;
}

.mt-section__heading {
  font-size: 1.75rem;
  color: #1c1c1c;
}

@media (min-width: 768px) {
  .mt-section__heading {
    font-size: 2.25rem;
  }
}

/* Service cards */
.mt-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

@media (min-width: 576px) {
  .mt-card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .mt-card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.mt-card {
  background-color: #fff;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  padding: 30px 25px;
  text-align: center;
}

.mt-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1c1c1c;
  margin: 0 0 12px;
}

.mt-card__text {
  font-size: 0.9rem;
  margin: 0;
}

/* Portfolio grid */
.mt-portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-top: 40px;
}

@media (min-width: 576px) {
  .mt-portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .mt-portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mt-portfolio-item {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  background-color: #1c1c1c;
}

.mt-portfolio-item__thumb {
  height: 180px;
  background-color: #1c1c1c;
  background-size: cover;
  background-position: center;
}

.mt-portfolio-item__label {
  padding: 14px 16px;
  background-color: #fff;
  color: #1c1c1c;
  font-weight: 600;
  font-size: 0.95rem;
}

.mt-portfolio-item:hover .mt-portfolio-item__label {
  color: #2e4bfd;
}

.mt-portfolio-note {
  text-align: center;
  font-size: 0.8rem;
  color: #9a9a9a;
  margin-top: 30px;
}

.mt-portfolio-note code {
  background-color: #eee;
  padding: 2px 6px;
  border-radius: 3px;
}

/* Contact */
.mt-contact {
  background-color: #1c1c1c;
}

.mt-contact .title__heading,
.mt-contact .title__description {
  color: #fff;
}

/* Footer */
.mt-footer {
  padding: 30px 0;
  background-color: #f7f7f9;
}
