@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap");
:root {
  --swiper-pagination-color: white;
  --swiper-pagination-left: auto;
  --swiper-pagination-right: 8px;
  --swiper-pagination-bottom: 16px;
  --swiper-pagination-top: auto;
  --swiper-pagination-fraction-color: inherit;
  --swiper-pagination-progressbar-bg-color: rgba(0, 0, 0, 0.25);
  --swiper-pagination-progressbar-size: 4px;
  --swiper-pagination-bullet-size: 12px;
  --swiper-pagination-bullet-width: 12px;
  --swiper-pagination-bullet-height: 12px;
  --swiper-pagination-bullet-inactive-color: #ffffff;
  --swiper-pagination-bullet-inactive-opacity: 0.2;
  --swiper-pagination-bullet-opacity: 1;
  --swiper-pagination-bullet-horizontal-gap: 8px;
  --swiper-pagination-bullet-vertical-gap: 6px;
}

body {
  color: white;
  background: #101010;
  font-family: "Noto Sans TC", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

a {
  text-decoration: none;
}

section {
  padding: 8rem 0;
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
}
.parallelogram {
  display: inline-block;
  background: #d31c00;
  transform: skew(-20deg);
  padding: 0.3rem 2rem;
  margin-bottom: 3rem;
}
.parallelogram h2 {
  display: inline-block;
  transform: skew(20deg);
  /* 抵銷外層傾斜，讓文字正常 */
  color: white;
  white-space: nowrap;
  /* 避免文字換行，可依需求調整 */
  font-size: 1.8rem;
}

@media (max-width: 768px) {
  .parallelogram {
    display: inline-block;
    background: #d31c00;
    transform: skew(-20deg);
    padding: 0.1rem 1.5rem;
    margin-bottom: 2rem;
  }
  .parallelogram h2 {
    display: inline-block;
    transform: skew(20deg);
    /* 抵銷外層傾斜，讓文字正常 */
    color: white;
    white-space: nowrap;
    /* 避免文字換行，可依需求調整 */
    font-size: 1.3rem;
  }
}
.navbar {
  background: #101010;
}
.navbar .navbar-brand {
  color: white;
}
.navbar .navbar-brand img {
  width: 150px;
}
.navbar .navbar-collapse {
  flex-grow: 0;
}
.navbar .navbar-collapse .navbar-nav .nav-item {
  display: inline-block;
}
.navbar .navbar-collapse .navbar-nav .nav-item:last-child {
  background: #d31c00;
}
.navbar .navbar-collapse .navbar-nav .nav-item:last-child .nav-link i {
  display: inline-block;
  padding-right: 0.2rem;
}
.navbar .navbar-collapse .navbar-nav .nav-item .nav-link {
  color: white;
  padding: 0.5rem 1rem;
}
.navbar .navbar-collapse .navbar-nav .nav-item .nav-link:hover {
  color: #101010;
  background: white;
}
.navbar .navbar-collapse .navbar-nav .nav-item:last-child:hover {
  background: #d31c00 !important;
  color: #101010 !important;
  transform: rotate(5deg);
}
.navbar .navbar-toggler-icon {
  filter: invert(1);
}

@media (max-width: 768px) {
  .navbar {
    background: #101010;
    padding: 1rem 0;
  }
  .navbar .navbar-brand {
    color: white;
  }
  .navbar .navbar-brand img {
    width: 100px;
  }
  .navbar .navbar-collapse {
    flex-grow: 0;
  }
  .navbar .navbar-collapse .navbar-nav .nav-item .nav-link {
    color: white;
    padding: 1.2rem 1rem;
  }
  .navbar .navbar-collapse .navbar-nav .nav-item .nav-link:hover {
    color: #101010;
    background: white;
  }
  .navbar .navbar-collapse .navbar-nav .nav-item:last-child:hover {
    background: #d31c00 !important;
    color: #101010 !important;
    transform: rotate(0deg);
  }
}
#hero {
  width: 100%;
  height: 85vh;
  position: relative;
}
#hero .text-content {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background: rgba(0, 0, 0, 0.293);
}
#hero .text-content h1 {
  font-weight: 800;
  font-size: 5rem;
}
#hero .text-content p {
  font-size: 1.5rem;
  background: rgba(16, 16, 16, 0.7647058824);
  padding: 0.3rem 0.8rem;
}
#hero .swiper {
  width: 100%;
  height: 100%;
}
#hero .swiper .swiper-slide {
  width: 100%;
  height: 100%;
}
#hero .swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: right center;
     object-position: right center;
}

@media (max-width: 768px) {
  #hero {
    width: 100%;
    height: 30vh;
    position: relative;
    margin-top: 80px;
  }
  #hero .text-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, 0.293);
  }
  #hero .text-content h1 {
    font-weight: 600;
    font-size: 1.5rem;
  }
  #hero .text-content p {
    font-size: 1rem;
    background: rgba(16, 16, 16, 0.7647058824);
    padding: 0.3rem 0.8rem;
  }
  #hero .swiper {
    width: 100%;
    height: 100%;
  }
  #hero .swiper .swiper-slide {
    width: 100%;
    height: 100%;
  }
  #hero .swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
}
#about p {
  line-height: 2rem;
  margin-bottom: 2rem;
  font-size: 1.2rem;
}
#about img {
  width: 100%;
  height: 600px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: bottom;
     object-position: bottom;
}

@media (max-width: 768px) {
  #about p {
    line-height: 1.8rem;
    margin-bottom: 2rem;
    font-size: 1rem;
    margin-top: 1rem;
  }
  #about img {
    width: 100%;
    height: 300px;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: bottom;
       object-position: bottom;
  }
}
#features .card {
  padding: 2rem;
  text-align: center;
  background: transparent;
  box-shadow: rgba(211, 28, 0, 0.1) 0px 3px 26px 0px, rgba(211, 28, 0, 0.3) 0px 0px 0px 1px;
  color: white;
}
#features .card .img-box {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}
#features .card .img-box img {
  width: 30%;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
}
#features .card h5 {
  color: #d31c00;
  margin-bottom: 1rem;
  font-weight: 400;
}
#features .card p {
  line-height: 1.8rem;
  font-weight: 300;
}

#services .services-card {
  position: relative;
}
#services .services-card img {
  height: 300px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
#services .services-card h3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.56);
  display: flex;
  align-items: end;
  justify-content: center;
  font-size: 1.5rem;
  padding-bottom: 1rem;
}

#works img {
  height: 400px;
  -o-object-fit: cover;
     object-fit: cover;
}

@media (max-width: 768px) {
  #works img {
    height: 300px;
    -o-object-fit: cover;
       object-fit: cover;
  }
}
#contact {
  background: #d31c00;
  color: white;
}
#contact .parallelogram {
  margin-bottom: 0rem;
}
#contact ul {
  margin-top: 2rem;
  list-style: none;
  padding: 0;
}
#contact ul li {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #ffffff;
}
#contact ul li a {
  color: #dadada;
}

footer {
  background: #d31c00;
  padding-bottom: 1rem;
}
footer a {
  color: #e3e3e3;
}/*# sourceMappingURL=style.css.map */