@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;1,400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,200;1,200&display=swap");

:root {
  --font-base: "Cormorant Garamond", serif;
  --font-alt: "Raleway", sans-serif;

  --color-golden: #c9b8a5;
  --color-black: #0c0c0c;
  --color-gray: #545454;
  --color-crimson: #f5efdb;
  --color-grey: #aaaaaa;
  --color-white: #ffffff;
  --color-base: #e5e5e5;
}

body {
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
}

a {
  color: unset;
  text-decoration: none;
}

.slide-bottom {
  -webkit-animation: slide-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: slide-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@-webkit-keyframes slide-bottom {
  0% {
    -webkit-transform: translateY(-25%);
    transform: translateY(-25%);
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes slide-bottom {
  0% {
    -webkit-transform: translateY(-25%);
    transform: translateY(-25%);
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes slide-fade-in {
  from {
    opacity: 0;
    transform: translateY(5vh);
  }
}

@media (prefers-reduced-motion: no-preference) {
  section div {
    view-timeline-name: --item-timeline;
    animation: slide-fade-in both;
    animation-timeline: --item-timeline;
    animation-range: 150px 500px;
  }
}

.navbar-active .navbar-nav .nav-link {
  color: var(--bs-link-hover-color);
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

body {
  background-color: #0d0d0d;
}

.navbar,
.page-section {
  background-color: #0d0d0d;
  color: #ffffff;
}

.text-muted {
  color: #cccccc;
}

.btn-dark {
  background-color: #333333;
  color: #ffffff;
}

.bg-light {
  background-color: #1a1a1a;
}

/*----------------------------------------------------------------------------------*/

/* Nav Bar */

.app__navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: last baseline;
  background: transparent;
  z-index: 5;
  overflow: hidden;
  padding: 0 5rem;
}

.app__navbar-logo {
  font-size: 60px;
  font-weight: 400;
  font-family: var(--font-alt);
  color: var(--color-base);
  display: flex;
  justify-content: center;
  align-items: center;
}

.app__navbar-logo:hover {
  color: var(--color-golden);
  transition: color 0.3s ease;
}

.app__navbar-button {
  position: relative;
  height: 100%;
  color: var(--color-base);
  background-color: transparent;
  font-family: var(--font-base);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 30px;
  font-size: 30px;
  border: none;
  outline: none;
  cursor: pointer;
}

.app__navbar-button:hover {
  color: var(--color-golden);
  transition: background-color 0.3s ease, color 0.3s ease;
}

@media screen and (max-width: 650px) {
  .app__navbar-logo img {
    width: 120px;
    height: 60px;
  }

  .app__navbar {
    padding: 0 20px;
  }

  .app__navbar-button {
    font-size: 12px;
  }
}

@media screen and (max-width: 450px) {
  .app__navbar-logo {
    font-size: 40px;
    margin-left: 1rem;
  }

  .app__navbar-button {
    font-size: 24px;
    margin-right: 1rem;
  }
}

/* PreLoader */

.pre-loader {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100vh;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.pre-loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-alt);
}

.pre-loader-content span {
  font-family: var(--font-alt);
}

.pre-loader-text {
  margin-bottom: 0.5em;
  font-size: 100px;
  font-weight: 400;
  color: var(--color-base);
}

.loader {
  width: 500px;
  height: 2px;
  background: var(--color-base);
}

@media screen and (max-width: 2000px) {
  .loader {
    width: 600px;
  }
}

@media screen and (max-width: 1500px) {
  .pre-loader-text {
    font-size: 80px;
  }

  .loader {
    width: 450px;
  }
}

@media screen and (max-width: 1050px) {
  .pre-loader-text {
    font-size: 60px;
  }

  .loader {
    width: 360px;
  }
}

@media screen and (max-width: 850px) {
  .pre-loader-text {
    font-size: 45px;
  }

  .loader {
    width: 280px;
  }
}

@media screen and (max-width: 650px) {
  .pre-loader-text {
    font-size: 30px;
  }

  .loader {
    width: 200px;
  }
}

/* Header */

.masthead {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("../assets/img/header-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.masthead::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.masthead-container {
  text-align: center;
  font-weight: 400;
  font-size: 100px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.masthead-div {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  margin-top: 50vh;
}

.minhdang {
  font-family: var(--font-alt);
  font-size: 100px;
  font-weight: 400;
  animation: showup 7s forwards 4.2s;
  width: fit-content;
  background: #e5e5e5;
  position: relative;
  z-index: 1;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.interior {
  font-family: var(--font-alt);
  font-size: 100px;
  font-weight: 400;
  animation: reveal 7s forwards 4.2s;
  width: fit-content !important;
  background: #e5e5e5;
  position: relative;
  z-index: 1;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.interior span {
  margin-left: -355px;
  animation: slidein 7s forwards 4.2s;
  width: fit-content !important;
}

@keyframes showup {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slidein {
  0% {
    margin-left: -800px;
  }
  20% {
    margin-left: -800px;
  }
  35% {
    margin-left: 0px;
  }
  100% {
    margin-left: 0px;
  }
}

@keyframes reveal {
  0% {
    opacity: 0;
    width: 0px;
  }
  20% {
    opacity: 1;
    width: 0px;
  }
  30% {
    width: 355px;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    width: 355px;
  }
}

@media screen and (max-width: 1150px) {
  .minhdang,
  .interior {
    font-size: 5rem;
  }
}

@media screen and (max-width: 800px) {
  .minhdang,
  .interior {
    font-size: 4rem;
  }
}

@media screen and (max-width: 650px) {
  .minhdang,
  .interior {
    font-size: 40px;
  }

  .interior {
    margin-left: -15px;
  }
}

/* Services */

.slider:hover {
  animation-play-state: paused !important;
}

.services-body {
  font-family: var(--font-base);
}

.services-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100vh;
}

.services-text {
  font-size: 140px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 100%;
  margin: 1.5rem 1rem 1rem 6rem;

  width: fit-content;
  color: rgb(182, 182, 182, 0.2);
  background: #e5e5e5;
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 0%;
  transition: background-size cubic-bezier(0.1, 0.5, 0.5, 1) s;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}

@media screen and (max-width: 1500px) {
  .services-container {
    height: 80vh;
  }

  .services-text {
    font-size: 100px;
  }
}

@media screen and (max-width: 1050px) {
  .services-container {
    height: 60vh;
  }

  .services-text {
    font-size: 90px;
    line-height: 100%;
  }
}

@media screen and (max-width: 850px) {
  .services-text {
    font-size: 60px;
    line-height: 100%;
  }
}

@media screen and (max-width: 450px) {
  .services-container {
    height: 50vh;
  }

  .services-text {
    font-size: 30px;
    line-height: 100%;
    margin: 1rem 2rem;
  }
}

/* About Us */

.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 2rem;
}

.about-headtext {
  margin-top: 4rem;
  font-size: 100px !important;
}

.about-img-container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  width: 100%;
  margin-top: 6rem;
}

.about-minhdang,
.about-anhvu {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-image {
  width: 600px;
  height: 900px;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.3s ease;
  margin-bottom: 4rem;
}

.about-image:hover {
  transform: scale(1.1);
}

.about-quote {
  font-family: var(--font-alt);
  font-size: 18px;
  font-weight: 200;
  color: var(--color-base);
  text-align: justify;
  margin-top: 1rem;
  max-width: 800px;
}

.english-quote {
  margin: 2rem 0;
}

.vietnamese-quote {
  font-style: italic;
  margin-bottom: 4rem;
}

@media screen and (max-width: 1500px) {
  .about-image {
    width: 400px;
    height: 600px;
  }

  .about-anhvu .vietnamese-quote {
    padding-top: 1.4rem;
  }

  .about-quote {
    max-width: 600px;
  }
}

@media screen and (max-width: 1150px) {
  .about-headtext {
    font-size: 80px !important;
  }

  .about-image {
    width: 300px;
    height: 450px;
  }

  .about-anhvu .vietnamese-quote {
    padding-top: 1.2rem;
  }

  .about-quote {
    font-size: 14px;
    max-width: 450px;
  }
}

@media screen and (max-width: 850px) {
  .about-container {
    flex-direction: column;
    align-items: center;
  }

  .about-img-container {
    flex-direction: column;
  }

  .about-headtext {
    font-size: 60px !important;
  }

  .about-image {
    width: 400px;
    height: 600px;
  }

  .about-anhvu {
    margin-top: 4rem;
  }

  .about-quote {
    font-size: 1.2rem;
    max-width: 600px;
  }
}

@media screen and (max-width: 450px) {
  .about-headtext {
    font-size: 40px !important;
    margin-top: 0;
  }

  .about-img-container {
    margin-top: 4rem;
  }

  .about-image {
    width: 260px;
    height: 390px;
  }

  .about-anhvu {
    margin-top: 2rem;
  }

  .about-quote {
    font-size: 1rem;
    max-width: 300px;
  }
}

/* Projects */

.slider-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4rem;
  margin-bottom: 4rem;
  margin-left: 2rem;
  margin-right: 2rem;
  text-align: center;
}

.project-headtext {
  font-size: 100px !important;
  font-weight: 400;
  margin: 2rem 0;
}

.scroller {
  max-width: 100vw;
  height: 75vh;
}

.scroller__inner {
  padding-block: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  overflow: hidden;
}

.scroller__inner a {
  position: relative;
  width: 800px;
  height: 800px;
  overflow: hidden;
}

.scroller__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.scroller__inner img:hover {
  transform: scale(1.1);
}

.scroller__inner {
  padding-block: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.mobile-tablet {
  display: none;
}

.scroller[data-animated="true"] {
  overflow: hidden;
  -webkit-mask: linear-gradient(
    90deg,
    transparent,
    white 20%,
    white 80%,
    transparent
  );
  mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scroller[data-animated="true"] .scroller__inner {
  width: max-content;
  flex-wrap: nowrap;
  animation: scroll var(--_animation-duration, 40s)
    var(--_animation-direction, forwards) linear infinite;
}

.scroller[data-direction="right"] {
  --_animation-direction: reverse;
}

.scroller[data-direction="left"] {
  --_animation-direction: forwards;
}

.scroller[data-speed="fast"] {
  --_animation-duration: 20s;
}

.scroller[data-speed="slow"] {
  --_animation-duration: 40s;
}

@keyframes scroll {
  to {
    transform: translate(calc(-50% - 0.5rem));
  }
}

@media (max-width: 1500px) {
  .project-headtext {
    font-size: 100px !important;
  }

  .projects-text {
    font-size: 18px !important;
  }
}

@media (max-width: 1050px) {
  .scroller__inner a {
    width: 600px;
    height: 600px;
  }

  .scroller__inner img {
    object-fit: cover;
  }

  .scroller {
    height: 800px;
  }

  .project-headtext {
    font-size: 80px !important;
  }

  .projects-text {
    font-size: 14px !important;
  }
}

@media (max-width: 850px) {
  .scroller__inner {
    gap: 1rem;
    justify-content: center;
  }

  .scroller__inner a {
    width: 500px;
    height: 500px;
  }

  .scroller__inner img {
    object-fit: cover;
  }

  .scroller {
    height: 650px;
  }

  .project-headtext {
    font-size: 60px !important;
  }

  .projects-text {
    font-size: 1.2rem !important;
  }

  .mobile-tablet {
    display: block;
    margin-top: 2rem;
    font-size: 1.2rem !important;
  }
}

@media screen and (max-width: 650px) {
  .scroller__inner {
    flex-wrap: nowrap;
    overflow-x: scroll;
  }

  .scroller__inner a {
    width: 300px;
    height: 300px;
  }

  .scroller__inner img {
    object-fit: cover;
  }

  .scroller__inner::-webkit-scrollbar {
    display: none;
  }

  .scroller {
    height: 400px;
  }

  .slider-content {
    margin-bottom: 0;
  }

  .project-headtext {
    font-size: 40px !important;
  }

  .projects-text {
    font-size: 1rem !important;
  }

  .mobile-tablet {
    margin-bottom: 2rem;
    font-size: 1rem !important;
  }
}

/* Footer */

.footer-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  padding: 4rem 10rem;
  justify-content: space-between;
  align-items: center;
}

.footer-border {
  border-top: 1px solid var(--color-base);
  margin: 0 10rem;
}

.footer-content {
  display: flex;
  flex-direction: row;
  gap: 6rem;
  width: fit-content;
  align-items: baseline;
}

.footer-text {
  display: flex;
  flex-direction: row;
  margin-bottom: 2rem;
  gap: 4rem;
  font-size: 24px;
  font-weight: 200;
  font-family: var(--font-alt);
  color: var(--color-base);
}

.footer-logo p {
  font-size: 60px;
  font-weight: 400;
  font-family: var(--font-alt);
  color: var(--color-base);
}

.footer-icon {
  display: flex;
  flex-direction: row;
  gap: 3rem;
}

.footer-icon-facebook {
  width: 60px;
  height: 60px;
  border: 1px solid var(--color-base);
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.footer-icon-instagram {
  width: 60px;
  height: 60px;
  border: 1px solid var(--color-base);
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.footer-icon-facebook:hover {
  background-color: white;
  transition: background-color 1s ease;
}

.footer-icon-facebook {
  color: white;
  transition: color 1s ease;
}

.footer-icon-facebook:hover {
  color: black;
}

.footer-icon-instagram:hover {
  background-color: white;
  transition: background-color 1s ease;
}

.footer-icon-instagram {
  color: white;
  transition: color 1s ease;
}

.footer-icon-instagram:hover {
  color: black;
}

.footer-icon-facebook svg,
.footer-icon-instagram svg {
  font-size: 1.2em;
}

@media (max-width: 1500px) {
  .footer-container {
    padding: 3rem 8rem;
  }

  .footer-content {
    gap: 5rem;
  }

  .footer-text {
    font-size: 16px;
  }

  .footer-logo p {
    font-size: 50px;
  }

  .footer-icon {
    gap: 2rem;
  }
}

@media (max-width: 1050px) {
  .footer-container {
    flex-direction: column;
    padding: 2rem 5rem;
    align-items: center;
    text-align: center;
  }

  .footer-content {
    margin-top: 1rem;
    flex-direction: column;
    gap: 4rem;
    width: 100%;
    align-items: center;
  }

  .footer-text {
    flex-direction: column;
    gap: 1rem;
    font-size: 24px;
  }

  .footer-logo p {
    font-size: 54px;
  }

  .footer-icon {
    margin: 2rem 0 3rem 0;
    gap: 2rem;
  }
}

@media (max-width: 850px) {
  .footer-container {
    flex-direction: column;
    padding: 2rem 5rem;
    align-items: center;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    align-items: center;
  }

  .footer-text {
    flex-direction: column;
    gap: 1rem;
    font-size: 18px;
  }

  .footer-logo p {
    font-size: 48px;
  }

  .footer-icon {
    margin: 1rem 0;
    gap: 2rem;
  }

  .footer-icon-facebook,
  .footer-icon-instagram {
    width: 50px;
    height: 50px;
  }

  .footer-icon-facebook svg,
  .footer-icon-instagram svg {
    font-size: 1em;
  }

  .footer-border {
    margin: 0 8rem;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 1rem 2rem;
  }

  .footer-logo p {
    font-size: 36px;
  }

  .footer-text {
    font-size: 16px;
  }

  .footer-icon {
    margin-bottom: 2rem;
  }

  .footer-border {
    margin: 0 4rem;
  }
}

/*----------------------------------------------------------------------------------*/

.section__padding {
  padding: 4rem 6rem;
}

.flex__center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.p__cormorant {
  font-family: var(--font-base);
  color: var(--color-white);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  font-feature-settings: "tnum" on, "lnum" on;
  line-height: 29.9px;
  font-size: 23px;
}

.p__opensans {
  font-family: var(--font-alt);
  color: var(--color-white);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 28px;
  font-size: 24px;
}

.headtext__cormorant {
  font-family: var(--font-base);
  color: #e5e5e5;
  font-size: 60px;
  line-height: 83.2px;
  letter-spacing: 0.04em;
}
