@font-face {
  font-family: "Cabinet Grotesk";
  src: url("../assets/fonts/CabinetGrotesk-Variable.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --white-rgb: 255, 255, 255;
  --black: #000000;
  --black-rgb: 0, 0, 0;
  --light-text: #ebebeb;
  --light-text-rgb: 235, 235, 235;
  --dark-text: #141414;
  --dark-text-rgb: 20, 20, 20;
  --grey-text: #666666;
  --grey-text-rgb: 102, 102, 102;
  --accent-pink: #ba7888;
  --accent-pink-rgb: 186, 120, 136;
  --border-color: #e5e7eb;
  --border-colo-rgb: 229, 231, 235;
  --dark-background: #1a1a1a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  line-height: 150%;
  font-family: "Cabinet Grotesk", Arial;
  color: var(--dark-text);
  -webkit-font-smoothing: antialiased;
}

p,
h1,
h2,
h3 {
  overflow-wrap: break-word;
}

a {
  text-decoration: none;
  cursor: pointer;
}

p {
  color: var(--grey-text);
}

.text-light {
  color: var(--light-text);
}

h1 {
  font-size: 2.5rem;
  font-size: clamp(2.5rem, 2.1rem + 2vw, 4.5rem);
  line-height: 110%;
  color: var(--white);
}

h2 {
  font-size: 2rem;
  font-size: clamp(2rem, 1.7rem + 1.5vw, 3.5rem);
  line-height: 110%;
}

h3 {
  font-size: 1.25rem;
  font-size: clamp(1.25rem, 1.2rem + 0.25vw, 1.5rem);
  line-height: 140%;
  font-weight: 500;
}

p {
  font-size: 1rem;
  font-size: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
}

.text-l {
  font-size: 1.125rem;
  font-size: clamp(1.125rem, 1.1rem + 0.125vw, 1.25rem);
  line-height: 150%;
}

.text-xl {
  font-size: 1.25rem;
  font-size: clamp(1.25rem, 1.2rem + 0.25vw, 1.5rem);
  line-height: 160%;
}

.text-s {
  font-size: 0.875rem;
}

.container {
  width: 100%;
  max-width: 93rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-inline: auto;
}

@media only screen and (max-width: 992px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

section {
  scroll-margin-top: 4rem;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 40rem;
  padding-inline: 2rem;
}

.eyebrow {
  text-transform: uppercase;
  color: var(--accent-pink);
  font-size: 0.875rem;
  font-size: clamp(0.875rem, 0.85rem + 0.125vw, 1rem);
  letter-spacing: 0.25em;
}

img {
  display: block;
  max-width: 100%;
}

.cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.icon-wrapper {
  width: 2rem;
  height: 2rem;
}

.icon-l {
  width: 2rem;
  height: 2rem;
}

.icon-s {
  width: 1.25rem;
  height: 1.25rem;
  color: rgba(var(--light-text-rgb), 0.5);
}

.flex-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flex-right {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: flex-end;
}

/* BUTTONS */

.buttons-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: start;
  gap: 1rem;
}

.button-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  text-transform: uppercase;
  font-size: 0.875rem;
  border-radius: 4px;
  letter-spacing: 0.1em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 2rem;
  padding-right: 2rem;
  text-transform: uppercase;
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  border-radius: 8px;
}

@media only screen and (max-width: 992px) {
  .button {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    padding-left: 1.25rem;
    padding-right: 1.252rem;
    font-size: 1rem;
    width: 100%;
  }
}

@media only screen and (max-width: 600px) {
  .button {
    font-size: 0.875rem;
  }
}

.primary {
  background-color: var(--accent-pink);
  color: var(--white);
  border: 1px solid var(--accent-pink);
}

.secondary {
  background-color: transparent;
  color: var(--light-text);
  border: 1px solid rgba(var(--light-text-rgb), 0.3);
}

@media only screen and (min-width: 993px) {
  .primary:hover {
    background-color: rgba(var(--accent-pink-rgb), 0.8);
  }
  .secondary:hover {
    background-color: rgba(var(--light-text-rgb), 0.1);
  }
}

/* HEADER */
header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 100;
  padding-top: 1rem;
  padding-bottom: 1rem;
  background: #1a1a1af2;
  backdrop-filter: blur(4px);
}

.navigation {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  gap: 0.375rem;
  color: var(--light-text);
}

.nav-logo span {
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  text-transform: uppercase;
  color: rgba(var(--light-text-rgb), 0.6);
  letter-spacing: 0.03em;
}

@media only screen and (min-width: 992px) {
  .nav-link:hover {
    color: var(--accent-pink);
  }
}

.nav-menu {
  font-size: 2rem;
  color: var(--light-text);
  cursor: pointer;
  display: none;
}

@media screen and (max-width: 992px) {
  header {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .button-nav {
    display: none;
  }

  .nav-links {
    display: none; /* Hide links by default on mobile */
    flex-direction: column; /* Stack links vertically */
    width: 100%;
    position: absolute;
    top: 4rem; /* Adjust based on navbar height */
    left: 0;
    background: #1a1a1af2;
    gap: 0;
  }

  .nav-link {
    padding: 1rem 1.25rem;
    text-align: center;
  }

  .nav-menu {
    display: block; /* Show hamburger icon on mobile */
  }

  /* Class added by JavaScript to show menu */
  .nav-links.active {
    display: flex;
  }
}

/* HERO */

section.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  border-bottom: 1px solid var(--border-color);
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: -1;
}

.hero-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.hero-content-wrapper {
  width: 100%;
  max-width: 54rem;
  display: flex;
  flex-direction: column;
}

.hero .text-xl {
  color: var(--light-text);
}

@media only screen and (max-width: 992px) {
  section.hero {
    min-height: auto;
    padding-top: 8rem;
    padding-bottom: 4rem;
  }

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

  .hero-content-wrapper {
    text-align: center;
  }
}

/* WHY US */

section.why-us {
  background-color: #f9f7f5;
  border-bottom: 1px solid var(--border-color);
}

.why-us-cards-wrapper {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.why-us-card {
  padding: 2rem;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

@media only screen and (max-width: 992px) {
  .why-us-cards-wrapper {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .why-us-card {
    padding: 1.5rem;
  }
}

@media only screen and (max-width: 600px) {
  .why-us-cards-wrapper {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.25rem;
  }
  .why-us-card {
    padding: 1.25rem;
  }
}

/* ABOUT */

.about-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.about-image-wrapper {
  border-radius: 8px;
  overflow: hidden;
  transform: rotate(-0.5deg);
}

@media only screen and (max-width: 992px) {
  .about-wrapper {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 3rem;
  }
}

@media only screen and (max-width: 992px) {
  .about-wrapper {
    gap: 2rem;
  }
}

/* SERVICES */
section.services {
  background-color: var(--dark-background);
}

section.services h2,
section.services h3 {
  color: var(--light-text);
}

section.services p {
  color: rgba(var(--light-text-rgb), 0.6);
}

.services-wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background-color: rgba(var(--border-colo-rgb), 0.1);
}

.service-card {
  background-color: var(--dark-background);
  padding: 2.5rem;
}

@media only screen and (min-width: 993px) {
  .service-card:hover {
    background-color: rgba(var(--dark-text-rgb), 0.05);
  }
}

@media only screen and (max-width: 992px) {
  .services-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    padding: 2rem;
  }
}

@media only screen and (max-width: 600px) {
  .services-wrapper {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .service-card {
    padding: 2rem 1rem;
  }
}
/* GALLERY */

section.gallery {
  border-bottom: 1px solid var(--border-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}

.gallery-image-wrapper {
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    rgba(9, 30, 66, 0.25) 0px 4px 8px -2px,
    rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-cta {
  display: flex;
  flex-direction: column;
  text-align: center;
}

@media only screen and (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

/* TESTIMONIALS */
.testimonials {
  background-color: #f9f7f5;
}

.testimonials-wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  width: 100%;
}

.testimonial-card {
  background-color: var(--white);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: start;
  border-radius: 8px;
  overflow: hidden;
}

.stars-wrapper {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--accent-pink);
}

@media only screen and (max-width: 992px) {
  .testimonials-wrapper {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
  }
  .testimonial-card {
    padding: 2rem;
  }
}

@media only screen and (max-width: 600px) {
  .testimonial-card {
    padding: 1.5rem;
  }
  .testimonials-wrapper {
    gap: 1.25rem;
  }
}

/* CONTACT */

.contact {
  background-color: var(--dark-background);
  color: var(--light-text);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 66rem;
}

.info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  text-align: center;
}

.info-card p {
  color: rgba(var(--light-text-rgb), 0.6);
}

.google-map {
  display: block;
  width: 100%;
  max-width: 66rem;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(var(--grey-text-rgb), 0.15);
  border-radius: 8px;
  overflow: hidden;
}

@media only screen and (max-width: 992px) {
  .contact-info {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .google-map {
    aspect-ratio: 9 / 9;
  }
  .info-card {
    padding: 1.5rem;
  }
}

@media only screen and (max-width: 600px) {
  .contact-info {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .google-map {
    aspect-ratio: 9 / 12;
  }

  .info-card {
    padding: 1.25rem;
  }
}
/* FOOTER */

footer {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background-color: var(--dark-text);
}

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

.copyright-wrapper {
  padding-top: 2rem;
  border-top: 1px solid rgba(var(--grey-text-rgb), 0.25);
  margin-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
}

.copyright-wrapper p {
  font-size: 0.875rem;
}

.footer-info-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-info-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-info-wrapper {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

.footer-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media only screen and (max-width: 600px) {
  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}
