/* =========================================================
   GLOBAL
   ========================================================= */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #2b3449;
  background-color: #ffffff;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: #1565ad;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #0d4e8c;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #202a40;
}


/* =========================================================
   NAVBAR
   ========================================================= */
/*
.navbar {
  min-height: 75px;
  padding: 0 22px;
  background-color: #ffffff !important;
  border-bottom: 1px solid #d7d7d7;
  box-shadow: none;
}

.navbar-container {
  max-width: none;
  width: 100%;
}

.navbar-brand {
  color: #202a40 !important;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.navbar-nav {
  align-items: center;
}

.navbar-nav .nav-link {
  color: #202a40 !important;
  font-size: 20px;
  font-weight: 400;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #0563b5 !important;
}

.navbar-nav .dropdown-toggle::after {
  margin-left: 10px;
  vertical-align: 0.14em;
}

.dropdown-menu {
  border: 1px solid #dddddd;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.dropdown-item {
  color: #202a40;
  font-size: 17px;
}

.dropdown-item:hover {
  background-color: #f4f6f8;
  color: #0563b5;
}
*/

/* =========================================================
   REMOVE DEFAULT QUARTO PAGE SPACING
   ========================================================= */

#quarto-content {
  padding-top: 0;
}

main.content {
  max-width: none;
  margin: 0;
  padding: 0;
}

.quarto-title-block {
  display: none;
}


/* =========================================================
   HOMEPAGE
   ========================================================= */

.homepage-wrapper {
  width: 100%;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(430px, 0.96fr) minmax(560px, 1.04fr);
  align-items: center;
  column-gap: 78px;

  max-width: 1365px;
  margin: 0 auto;
  padding: 30px 68px 30px;
}

.hero-text {
  align-self: center;
  max-width: 615px;
}

.hero-title {
  display: block;
  margin: 0 0 32px 0;
  color: #212529;
  font-size: 52px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-text p {
  margin-top: 0;
  margin-bottom: 41px;
  color: #313b51;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
}

.hero-text p:last-child {
  margin-bottom: 0;
}

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

.hero-image p {
  margin: 0;
}

.profile-photo {
  display: block;
  width: 100%;
  max-width: 625px;
  height: 405px;
  object-fit: cover;
  object-position: 40% center;
  border-radius: 0;
}


/* =========================================================
   DIVIDER
   ========================================================= */

.home-divider {
  width: 142px;
  height: 2px;
  margin: 14px auto 77px;
  background-color: #777777;
}


/* =========================================================
   CONTACT SECTION
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr 0.9fr;
  column-gap: 95px;

  max-width: 1365px;
  margin: 0 auto;
  padding: 0 68px 25px;
}

.contact-column h3 {
  margin-top: 0;
  margin-bottom: 4px;
  color: #263148;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.contact-column p {
  margin-top: 0;
  margin-bottom: 0;
  color: #313b51;
  font-size: 18px;
  line-height: 1.62;
}

.contact-column a {
  color: #1269b3;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {
  .hero-section {
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
    padding-left: 42px;
    padding-right: 42px;
  }

  .hero-text h1 {
    font-size: 46px;
  }

  .hero-text p {
    font-size: 18px;
  }

  .profile-photo {
    height: 520px;
  }

  .contact-grid {
    column-gap: 40px;
    padding-left: 42px;
    padding-right: 42px;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 850px) {
  .navbar {
    min-height: 76px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .navbar-brand {
    font-size: 24px;
  }

  .navbar-nav .nav-link {
    font-size: 18px;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .hero-section {
    grid-template-columns: 1fr;
    row-gap: 38px;
    padding: 45px 24px 45px;
  }

  .hero-text {
    max-width: none;
  }

  .hero-text h1 {
    margin-bottom: 28px;
    font-size: 42px;
  }

  .hero-text p {
    margin-bottom: 28px;
    font-size: 20px;
  }

  .hero-image {
    order: -1;
  }

  .profile-photo {
    width: 100%;
    max-width: 620px;
    height: auto;
    aspect-ratio: 1.03 / 1;
  }

  .home-divider {
    margin-bottom: 50px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    row-gap: 30px;
    padding: 0 24px 45px;
  }

  .contact-column h3 {
    font-size: 23px;
  }

  .contact-column p {
    font-size: 19px;
  }
}

.travel-intro {
  max-width: 900px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
}

.travel-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 1.5rem 0 3rem;
}

.travel-gallery p {
  margin: 0;
}

.travel-gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

.travel-gallery img:hover {
  transform: scale(1.015);
  transition: transform 0.2s ease;
}

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

@media (max-width: 650px) {
  .travel-gallery {
    grid-template-columns: 1fr;
  }

  .travel-gallery img {
    height: auto;
  }
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin: 2rem 0 3rem;
}

.video-card {
  padding: 20px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background-color: #ffffff;
}

.video-card h3 {
  margin-top: 0;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin-top: 1rem;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 850px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}