@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Space+Grotesk:wght@300..700&display=swap');

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

:root {
  --primary-color: #303030;
  --secondary-color: #C3AE62;
  --accent-color: #D2CEBD;
  --text-color: #000;
}

h1, h2, h4, h5, h6, button, ul {
  font-family: 'Space Grotesk', sans-serif;
}

p, a, h3 {
  font-family: 'Inter', sans-serif;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

header {
 width: 100%;
 height: 100vh;
}

.container {
  padding: 6rem 0;
}

.row {
  margin: 0 auto;
  max-width: 1500px;
  padding: 0 24px;
}

#page_nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  z-index: 100;
  background-color: #30303075;
  backdrop-filter: blur(10px);
}

#Logo {
  width: 10px;
}

body {
  background-color: var(--primary-color);
}

.links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav_list {
  display: flex;
  gap: 32px;
}

.nav_item {
  list-style: none;
  font-size: 12px;
}

.nav_item a {
  text-decoration: none;
  color: #FFF;
}

.contact_links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero_img-wrapper {
  position: absolute;
  top: 10%;
  left: 24px;
  right: 24px;
  height: 550px;
  overflow: hidden;
}

.hero_img {
  position: absolute;
  width: 100%;
}

.crisman_name {
  position: absolute;
  bottom: 8px;
  left: 24px;
  right: 24px;
  width: 550px;
}

.slogan {
  position: absolute;
  bottom: 55px;
  right: 24px;
  text-align: right;
  color: #FFF;
  font-size: 14px;
}

.slogan_2 {
  position: absolute;
  bottom: 8px;
  right: 24px;
  color: #FFF;
  width: 350px;
  text-align: right;
  font-size: 14px;
}

/* about */
.about_sub_heading {
  font-family: 'inter', sans-serif;
  font-weight: 200;
  color: #FFF;
  font-style: italic;
  text-transform: uppercase;
  width: 800px;
  font-size: 24px;
  line-height: 64px;
}

.sub-heading-container,
.sub-heading-container-2 {
  position: relative;
}

.tag {
  font-family: 'inter', sans-serif;
  position: absolute;
  font-size: 10px;
  top: 0;
}

.tag {
  color: var(--secondary-color);
}

.about_us-read {
  position: absolute;
  bottom: 0;
  text-decoration: none;
  color: var(--secondary-color);
  right: 24px;
  transition: color 300ms ease-in-out;
}

.about_us-read:hover {
  color: var(--accent-color);
}

.ideals-container {
  margin-top: 4rem;
  display: flex;
  gap: 16px;
}

.ideal-box {
  background-color: var(--accent-color);
  color: #000;
  padding: 16px;
  width: 350px;
  height: 350px;
  transition: background-color 300ms ease-in-out, color 200ms ease-in-out;
}

.ideal-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 300;
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--primary-color);
  transition: color 100ms ease-in-out;
}

.ideal-info {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  line-height: 24px;
  transition: color 100ms ease-in-out;
}

.ideal-box:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.ideal-box:hover .ideal-name {
  color: var(--secondary-color);
}

/* services */
.service-box {
  position: relative;
  width: 100%;
  height: 300px;
  border-bottom: 1px solid white;
  padding: 16px 0px;

  display: flex;
  justify-content: space-between;
}

.service-container {
  margin-top: 32px;
}

.service-name {
  color: #FFF;
}

.service-info {
  color: #FFF;
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  line-height: 24px;
  margin-top: 16px;
  width: 600px;
}

.learn-more-link {
  position: absolute;
  bottom: 16px;
  text-decoration: none;
  color: var(--secondary-color);
  transition: color 300ms ease-in-out;
}

.service-img-1 {
  width: 400px;
  border-radius: 8px
}

.review-box {
  border: 1px solid #C3AE62;
  width: 350px;
  height: 350px;
  padding: 60px 24px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.review-text,
.reviewer {
  color: #FFF;
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  line-height: 24px;
  text-align: center;
  font-size: 14px;
}

.review-container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
} 

/* portfolio */
.slider {
	height: 500px;
	position: relative;
	width: 1000px;
	display: flex;
	overflow: hidden;
  margin: 0 auto;
}

.slide-track {
	display: flex;
	align-items: center;
	width: calc(250px * 30);
	animation: slide 30s linear infinite;
}

.slider .slide-track:hover {
	animation-play-state: paused;
}

.slide {
	height: 500px;
	width: 500px;
	display: flex;
	align-items: center;
	padding: 12px;
}

.slider_img {
	width: 100%;
	height: 100%;
	border-radius: 4px;
}

@keyframes slide {
	0% {
		transform: translate(0);
	}
	100% {
		transform: translate(calc(-400px * 6));
	}
}

/* footer */
.footer-row {
  color: #FFF;
}

.footer-container {
  padding-bottom: 0;
}

.footer-row h3 {
  text-align: center;
}

.footer-links {
  margin: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.contact-list,
.directory-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-list > li > a,
.directory-list > li > a {
  color: #FFF;
}

.line {
  width: 100%;
  height: 1px;
  background-color: #FFF;
}

.bottom-text {
  margin: 8px 0;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* screen 1225px */
@media (max-width: 1225px) {
  .ideals-container {
    flex-wrap: wrap;
  }

  .review-container {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
}

.review-box {
  width: 80%;
}

@media (max-width: 1129px) {
  .ideals-container {
    justify-content: center;
  }
}

@media (max-width: 1058px) {
  .service-info {
    width: 300px;
  }

  .slider {
    width: 90%;
  }

}

@media (max-width: 1000px) {
  .crisman_name {
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    bottom: 80px;
  }

  .hero_img-wrapper {
    height: 475px;
  }

  .slogan_2 {
    left: 24px;
    text-align: left;
  }

  .slogan {
    bottom: 8px;
  }
}

@media (max-width: 850px) {
  .about_sub_heading {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .about_sub_heading {
    line-height: 32px;
    font-size: 16px;
    width: 100%;
  }

  .tag {
    top: -12px;
  }

  .ideal-info {
    font-size: 12px;
  }

  .ideal-name {
    font-size: 16px;
  }

  .service-box {
    flex-direction: column-reverse;
    height: 500px;
    justify-content: flex-end;
    gap: 16px;
  } */

  .learn-more-link {
    right: 4px;
  }

  .service-img-1 {
    height: 266px;
  }
}

@media (max-width: 600px) {
  .hero_img {
    width: 150%;
  }

  .hero_img-wrapper {
    height: 500px;
  }

  .footer-links {
    flex-direction: column;
    gap: 56px;
    align-items: center;
    text-align: center;
  }

  .bottom-text {
    font-size: 8px;
  }
}

@media (max-width: 590px) {
  .hero_img-wrapper {
    height: 500px;
  }

  .hero_img {
    width: 200%;
  }

  .crisman_name {
    bottom: 75px;
  }

  .slogan_2 {
    width: 200px;
  }

  .review-box {
    width: 100%;
    padding: 24px;
  }

  .slide {
    width: 450px;
    height: 450px;
  }
  
  .slogan {
    font-size: 12px;
  }
}

@media (max-width: 450px) {
  .service-img-1 {
    width: 100%;
    height: auto;
  }

  .footer-links {
    font-size: 12px;
  }

  .slide {
    width: 350px;
    height: 350px;
  }

  .nav_item {
    font-size: 10px;
  }
}
