@font-face {
  font-family: 'Space Future';
  src: url('/fonts/space-future-bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'swash1';
  src: url('/fonts/swash1.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'swash2';
  src: url('/fonts/swash2.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'swash3';
  src: url('/fonts/swash3.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  height: 100vh;
  background-color: #d20009;
  background-image: repeating-linear-gradient(135deg, rgb(0 0 0 / 0%) 0, rgb(0 0 0 / 0%) 20px, #00000000 20px, #000000 100px), repeating-linear-gradient(45deg, rgb(0 0 0) 0, rgb(0 0 0) 20px, #000000 20px, #000000 100px);
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  color: white;
  text-align: center;
}


.banner {
  padding: 10px 190px;
  height: 100vh;
  box-sizing: border-box;
}

.content-wrapper {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 20px;
  align-items: flex-start;
  padding: 0 40px;
}

.rightlogo {
  margin-top: -10px;
}

.left-logo,
.right-logo {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  width: 20%;
  max-width: 200px;
}

.left-logo img,
.right-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}


.right-logo .motors {
  font-size: 0.6em;
  font-weight: normal;
  letter-spacing: 2px;
}

.main-text h1 {
  font-size: 3em;
  letter-spacing: 3px;
  margin: 0;
}

.main-text .secondary {
  display: block;
  margin-top: 10px;
}

.metrics {
  display: inline-block;
  margin: 5px 0;
  padding: 6px 30px;
  border: 1px solid white;
  font-size: 1.2em;
  letter-spacing: 1px;
  border-radius: 10px;
}

.metrics span {
  margin: 0 10px;
}

.main-text h2 {
  font-size: 2em;
  margin-top: 0px;
  margin-bottom: 5px;
}

.main-text p {
  font-size: 1.4em;
  margin: 5px 0 0 0;
  line-height: 1.5;
  font-weight: bold;
}

.stats-section {
  display: flex;
  justify-content: center;
  /* center-align entire group */
  align-items: flex-start;
  margin-top: 20px;
  gap: 20px;
  /* adjust gap between columns */
}


.left-stats,
.right-stats {
  width: 25%;
  text-align: left;
  /* margin-left: 100px; */
  /* margin-right: 100px; */
}

.left-stats h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
}

.left-stats small {
  font-weight: normal;
  font-size: 0.9em;
  color: #ddd;
}

.left-stats ul,
.right-stats ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.left-stats li,
.right-stats li {
  padding: 14px 10px;
  margin-bottom: 30px;
  background: #da2129;
  border-radius: 6px;
  font-size: 1.1em;
}

.center-photo {
  width: 50%;
  text-align: center;
}

.portrait-placeholder {
  width: 500px;
  height: 350px;
  margin: auto;
  background-color: rgba(255, 255, 255, 0.2);
  border: 2px dashed white;
  border-radius: 12px;
}

.employee-name {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 0px;
    z-index: 1;
    position: relative;
}

.team-name {
  font-size: 1em;
  font-weight: bold;
  margin-top: 5px;
}

.slogan {
  text-align: left;
  font-size: 1.6em;
  font-family: auto;
}

.portrait-image {
  width: 480px;
  height: 345px;
  object-fit: cover;
  border-radius: 12px;
}

.main-title {
  font-family: 'Space Future', 'Orbitron', sans-serif;
  font-size: 3em;
  font-weight: bold;
  letter-spacing: 2px;
  margin: 0;
  margin-top: -152px;
  text-align: center;
  z-index: 1;
  position: relative;
  letter-spacing: 5px;
}

.main-title .secondary {
  display: block;
  margin-top: 5px;
}

.commitment-container {
  position: relative;
  height: 0;
}

.Commitment {
  position: absolute;
  left: 0;
  top: -70px;
  font-size: 1.8em;
  font-weight: bold;
  font-family: auto;
  color: white;
  text-align: right;
}

.AnnualBusiness {
  font-size: 1.6em;
  text-align: right;
  font-family: auto;
}

.photo-wrapper {
  position: relative;
  display: inline-block;
}

.badge-logo {
  position: absolute;
  top: -45px;
  right: -75px;
  width: 185px;
  height: 185px;
  object-fit: contain;
  z-index: 3;
}

.photo-frame {
  position: relative;
  width: 296px;
  height: 370px;
  margin: 0 auto 20px;
}

.main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 3;
}

.layer {
  position: absolute;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.behind1 {
  top: 0px;
  left: 0px;
  transform: rotate(355deg);
  z-index: 1;
}

.behind2 {
  top: 8px;
  left: 8px;
  transform: rotate(350deg);
  z-index: 0;
}

.ads-corner {
    position: fixed;
    top: 22px;
    left: 22px;
    z-index: 20;
    width: 15%;
    pointer-events: none; /* allows clicks to pass through if you want */
}

    .ads-corner img {
        width: 100%;
        height: auto;
        display: block;
    }

@media (max-width: 768px) {
    .ads-corner {
        width: 160px;
        top: 8px;
        right: 10px;
    }
}


/* ===== Mobile Zoom-Out View ===== */
@media (max-width: 768px) {
  .layout-scale-wrapper {
    transform: scale(0.6);
    transform-origin: top center;
    width: 100vw;
    overflow-x: hidden;
  }

  body {
    overflow-x: hidden;
  }
}
