:root {
  --navy: #061a2e;
  --navy-2: #0b2945;
  --white: #ffffff;
  --silver: #d7dde4;
  --text-light: #c9d3dd;
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  background: var(--navy);
  color: white;
}


/* CONTAINER */

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}


/* HEADER */

.header {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 24px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* LOGO */

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
  text-decoration: none;
}

.logo-icon {
  height: 45px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.logo-icon span {
  display: block;
  width: 8px;

  background: linear-gradient(
    to bottom,
    #ffffff,
    #a8b3be
  );
}

.logo-icon span:nth-child(1) {
  height: 27px;
}

.logo-icon span:nth-child(2) {
  height: 45px;
}

.logo-icon span:nth-child(3) {
  height: 34px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 29px;
  letter-spacing: 2px;
  line-height: 1;
}

.logo-text small {
  margin-top: 5px;
  font-size: 8px;
  letter-spacing: 3px;
  text-transform: uppercase;
}


/* NAVIGATION */

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

.nav-links a {
  color: #d9e1e8;
  text-decoration: none;
  font-size: 13px;
  transition: 0.3s;
}

.nav-links a:hover {
  color: white;
}

.nav-button {
  color: white;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.6);
  padding: 13px 19px;

  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 10px;

  transition: 0.3s;
}

.nav-button:hover {
  background: white;
  color: var(--navy);
}

.menu-button {
  display: none;

  background: none;
  border: none;

  color: white;
  font-size: 26px;

  cursor: pointer;
}


/* HERO */

.hero {
  position: relative;

  min-height: 100vh;

  display: flex;
  align-items: center;

  overflow: hidden;
}


/* BACKGROUND IMAGE */

.hero-image {
  position: absolute;
  inset: 0;

  background-image:
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c");

  background-size: cover;
  background-position: center;

  transform: scale(1.03);
}


/* DARK OVERLAY */

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,

      rgba(3,18,32,.98) 0%,

      rgba(4,24,42,.94) 35%,

      rgba(4,25,45,.65) 65%,

      rgba(4,25,45,.25) 100%
    );
}


/* HERO CONTENT */

.hero-content {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1.35fr .65fr;

  align-items: center;

  gap: 100px;

  padding-top: 145px;
  padding-bottom: 80px;
}


/* HERO LEFT */

.hero-left {
  max-width: 720px;
}

.hero-label {
  display: block;

  margin-bottom: 28px;

  color: #cad5df;

  font-size: 10px;

  letter-spacing: 4px;

  font-weight: 600;
}


/* TITLE */

.hero h1 {
  font-family: "Cormorant Garamond", serif;

  font-size: clamp(
    62px,
    6.6vw,
    100px
  );

  font-weight: 600;

  line-height: .92;

  letter-spacing: -2px;
}

.hero h1 span {
  display: block;

  font-weight: 500;
}


/* DESCRIPTION */

.hero-left > p {
  max-width: 630px;

  margin-top: 30px;

  color: var(--text-light);

  font-size: 16px;

  line-height: 1.8;
}


/* BUTTONS */

.hero-buttons {
  display: flex;

  flex-wrap: wrap;

  gap: 15px;

  margin-top: 35px;
}


.button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 16px 25px;

  text-decoration: none;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 1.3px;

  text-transform: uppercase;

  transition: .3s;
}


.button-primary {
  background: white;

  color: var(--navy);

  border: 1px solid white;
}

.button-primary:hover {
  background: transparent;

  color: white;
}


.button-outline {
  color: white;

  border: 1px solid rgba(255,255,255,.55);
}

.button-outline:hover {
  background: white;

  color: var(--navy);
}


/* SERVICES */

.hero-services {
  display: flex;

  align-items: center;

  gap: 32px;

  margin-top: 55px;
}


.hero-service {
  display: flex;

  align-items: center;

  gap: 17px;
}


.hero-service-icon {
  font-size: 32px;
}


.hero-service strong {
  display: block;

  font-size: 12px;

  letter-spacing: 2px;
}


.hero-service small {
  display: block;

  margin-top: 6px;

  color: #b7c4cf;

  font-size: 11px;
}


.service-line {
  width: 1px;

  height: 55px;

  background:
    rgba(255,255,255,.3);
}


/* SIDE CARD */

.hero-card {
  padding: 42px;

  border-left:
    1px solid rgba(255,255,255,.35);

  background:
    rgba(3,20,35,.27);

  backdrop-filter:
    blur(10px);
}


.hero-card-label {
  display: block;

  margin-bottom: 20px;

  color: #bdc9d3;

  font-size: 9px;

  letter-spacing: 4px;
}


.hero-card h2 {
  font-family:
    "Cormorant Garamond",
    serif;

  font-size: 45px;

  line-height: 1;

  font-weight: 500;
}


.hero-card p {
  margin-top: 20px;

  color: #c4ced8;

  font-size: 14px;

  line-height: 1.7;
}


.hero-card a {
  display: inline-flex;

  align-items: center;

  gap: 15px;

  margin-top: 26px;

  color: white;

  text-decoration: none;

  text-transform: uppercase;

  font-size: 10px;

  letter-spacing: 1.4px;
}


/* TABLET */

@media (max-width: 950px) {

  .nav-links,
  .nav-button {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero-content {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .hero-card {
    max-width: 550px;
  }

}


/* MOBILE */

@media (max-width: 600px) {

  .header {
    padding: 18px 0;
  }

  .logo-text strong {
    font-size: 23px;
  }

  .hero-content {
    padding-top: 135px;

    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: 52px;

    letter-spacing: -1px;
  }

  .hero-left > p {
    font-size: 14px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-services {
    flex-direction: column;

    align-items: flex-start;
  }

  .service-line {
    width: 100%;

    height: 1px;
  }

  .hero-card {
    padding: 30px;
  }

  .hero-card h2 {
    font-size: 38px;
  }

}