/* Font Faces */
@font-face {
  font-family: "Monument Extended";
  src: url("./assets/font/MonumentExtended-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Monument Extended";
  src: url("./assets/font/MonumentExtended-Ultrabold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Futura LT Pro", sans-serif;
  background-color: #f1f4f6;
  overflow-x: hidden;
}

.page-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #f1f4f6;
  margin: 0 auto;
  max-width: 1920px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Background circle */
.bg-circle {
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 750px;
  height: auto;
  aspect-ratio: 1;
  background: url("assets/back_circle.png") no-repeat center;
  background-size: contain;
}

/* Decorative circles */
.decoration-circle {
  position: absolute;
  background: url("assets/decoration_circle_1.png") no-repeat center;
  background-size: contain;
}

.decoration-circle-1 {
  left: 65%;
  top: 78.2%;
  width: 8.75%;
  height: auto;
  aspect-ratio: 1;
  transform: rotate(180deg) scaleY(-1);
}

.decoration-circle-2 {
  left: 90.4%;
  top: 84.3%;
  width: 13.75%;
  height: auto;
  aspect-ratio: 1;
  transform: rotate(180deg) scaleY(-1);
}

/* Main 3-column layout */
.main-content {
  display: flex;
  flex: 1;
  width: 100%;
  padding: 0 64px;
  padding-top: 16px;
  gap: 1rem;
}

.column-1 {
  flex: 1;
  display: flex;
  margin: auto;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  position: relative;
}

.column-2 {
  flex: 1;
  display: flex;
  align-items: flex-end;
  position: relative;
}

.column-3 {
  flex: 1;
  display: flex;
  z-index: 99;
}

/* Navigation bar */
.navbar {
  width: 100%;
  padding: 32px 80px 16px;
  z-index: 999;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  flex: 1 0 0;
}

.brand-text {
  font-family: "Futura LT Pro", sans-serif;
  font-weight: bold;
  font-size: 34px;
  color: #3b444a;
  letter-spacing: -1.36px;
}

.brand-dot {
  color: #0f90e5;
}

.navbar-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  font-family: "Futura LT Pro", sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.4px;
  padding: 10px;
}

.menu-item {
  cursor: pointer;
}

.menu-item.active {
  color: #0f90e5;
}

.menu-item:not(.active) {
  color: #666666;
}

.menu-item:not(.active):hover {
  color: #0f90e5;
}

.navbar-cta {
  flex: 1 0 0;
  display: flex;
  justify-content: flex-end;
}

.navbar-menu-cta {
  display: none;
}

.lets-talk-btn {
  background-color: #0f90e5;
  border-radius: 20px;
  width: 180px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lets-talk-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 144, 229, 0.3);
}

.btn-text {
  font-family: "Futura LT Pro", sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.32px;
  color: white;
}

/* Portrait */
.portrait-container {
  position: relative;
  width: 100%;
  height: 840px;
  overflow: visible;
  z-index: 99;
}

.portrait-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  overflow: visible;
}

/* Ellipse decoration */
.ellipse-decor {
  position: absolute;
  left: -2rem;
  top: -3rem;
  width: 40%;
  max-width: 219px;
  height: auto;
  aspect-ratio: 1;
  background: url("assets/ellipse_decor.png") no-repeat center;
  background-size: contain;
  margin-bottom: 20px;
}

/* Headline container */
.headline-container {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.headline-greeting {
  font-family: "Monument Extended", sans-serif;
  font-weight: 400;
  font-size: 30px;
  color: #3b444a;
  letter-spacing: -0.6px;
}

.headline-name {
  font-family: "Monument Extended", sans-serif;
  font-weight: 800;
  font-size: 80px;
  color: #3b444a;
}

.headline-description {
  font-family: "Futura LT Pro", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 36px;
  color: #585f63;
  letter-spacing: 0.36px;
}

/* Portfolio container */
.portfolio-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.portfolio-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.portfolio-1 {
  left: 0;
  top: 0;
  width: 100%;
  max-width: 200px;
}

.portfolio-2 {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  max-width: 200px;
}

.portfolio-3 {
  left: 40px;
  bottom: 24px;
  width: 100%;
  max-width: 200px;
}

.portfolio-card {
  position: relative;
  width: 100%;
}

.portfolio-border {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  aspect-ratio: 236 / 186;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
}

.portfolio-white-bg {
  position: absolute;
  left: 2.97%;
  top: 4.3%;
  width: 94.07%;
  aspect-ratio: 222 / 170;
  background: white;
  border-radius: 20px;
}

.portfolio-image {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.portfolio-image-wrapper {
  width: 100%;
  aspect-ratio: 256 / 230;
  position: relative;
}

.portfolio-featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-caption {
  background: white;
  border-radius: 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.portfolio-caption-text {
  font-family: "Futura LT Pro", sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #3b444a;
  letter-spacing: -0.72px;
}

/* Social icons */
.social-container {
  width: fit-content;
  position: relative;
  display: flex;
  gap: 15px;
  margin-top: auto;
  padding-bottom: 20px;
}

.social-item {
  position: relative;
  width: 54px;
  height: 54px;
  padding: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.social-item:hover {
  background: #0f90e5;
}

.social-icon {
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.social-item:hover .social-icon {
  transform: scale(1.1);
  filter: brightness(0) invert(1);
}

/* .social-item::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #0f90e5;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
} */

.social-item:hover::before {
  opacity: 1;
}

/* Social popup */
.social-popup {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1000;
}

.social-popup::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid white;
}

.social-item:hover .social-popup {
  opacity: 1;
  pointer-events: auto;
}

.social-popup-text {
  font-family: "Futura LT Pro", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #3b444a;
}

/* Email popup */
.email-popup {
  position: absolute;
  left: 67px;
  bottom: 33px;
  width: 180px;
  height: 61px;
}

.popup-bg {
  width: 100%;
  height: 100%;
}

.popup-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: "Futura LT Pro", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #3b444a;
  text-align: center;
}

/* Torus decoration */
.torus-decoration {
  position: absolute;
  left: 30%;
  top: 20%;
  width: auto;
  height: auto;
  aspect-ratio: 1;
  overflow: hidden;
}

/* Globe decoration */
.globe-decoration {
  position: absolute;
  left: 10%;
  bottom: 10%;
  width: 50px;
  height: 50px;
  aspect-ratio: 1;
  overflow: hidden;
}

/* Hamburger menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 26px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-menu span {
  width: 100%;
  height: 3px;
  background-color: #3b444a;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  .page-container {
    width: 100%;
    height: auto;
    min-height: 100vh;
    position: relative;
    flex-direction: column;
  }

  .main-content {
    flex-direction: column;
    padding: 40px 20px 80px;
    gap: 10px;
  }

  .column-1,
  .column-2,
  .column-3 {
    flex: none;
    width: 100%;
  }

  .column-1 {
    order: 1;
    gap: 8px;
  }

  .column-2 {
    order: 2;
  }

  .column-3 {
    order: 3;
    min-height: auto;
  }

  /* Hide desktop decorations on mobile */
  .decoration-circle,
  .decoration-circle-1,
  .decoration-circle-2,
  .bg-circle,
  .ellipse-decor,
  .small-decoration,
  .torus-decoration,
  .globe-decoration,
  .globe-decoration-base {
    display: none;
  }

  /* Mobile Navigation */
  .navbar {
    width: 100%;
    padding: 16px 20px;
  }

  .navbar-container {
    position: relative;
  }

  .navbar-brand {
    flex: none;
  }

  .brand-text {
    font-size: 28px;
    letter-spacing: -0.96px;
  }

  .hamburger-menu {
    display: flex;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }

  .navbar-menu.active {
    transform: translateX(0);
  }

  .menu-item {
    font-size: 28px;
    padding: 10px 0;
  }

  .navbar-menu-cta {
    display: flex;
    align-items: center;
    margin-top: 30px;
  }

  .navbar-cta {
    display: none;
  }

  /* Mobile Hero Section */
  .headline-container {
    position: relative;
    width: 100%;
    padding: 0;
    text-align: center;
    gap: 0;
  }

  .ellipse-decor {
    margin: 0 auto 20px;
  }

  .headline-greeting {
    font-size: 20px;
  }

  .headline-name {
    font-size: 56px;
  }

  .headline-description {
    font-size: 16px;
    line-height: 28px;
    padding: 0 10px;
  }

  /* Mobile Portrait */
  .portrait-container {
    position: relative;
    width: 100%;
    height: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .portrait-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Mobile Portfolio */
  .portfolio-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 24px;
    align-items: center;
    height: auto;
  }

  .portfolio-item {
    display: flex;
    justify-content: center;
    position: initial;
    width: 100%;
    max-width: 240px;
    gap: 0;
  }

  .portfolio-2 {
    transform: none;
  }

  .portfolio-border,
  .portfolio-white-bg,
  .portfolio-image {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
  }

  .portfolio-border {
    width: 280px;
    height: 220px;
  }

  .portfolio-white-bg {
    width: 266px;
    height: 204px;
  }

  .portfolio-image {
    width: 100%;
    height: auto;
  }

  .portfolio-image-wrapper {
    height: 230px;
  }

  .portfolio-caption {
    margin-top: 12px;
  }

  /* Mobile Social Icons - Floating in Center (Absolute as requested) */
  .column-1 .social-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 0 auto;
    padding: 10px 20px;
    border-radius: 50px;
  }

  .social-item {
    width: 48px;
    height: 48px;
    padding: 8px;
  }

  .social-popup {
    bottom: auto;
    top: -55px;
    left: 50%;
    transform: translateX(-50%);
  }

  .social-popup::after {
    top: auto;
    bottom: -8px;
    border-top: none;
    border-bottom: 8px solid white;
  }

  /* Hide social popup on mobile hover (use click instead) */
  .social-item:hover .social-popup {
    opacity: 0;
  }
}

@media (max-width: 480px) {
  .headline-name {
    font-size: 48px;
  }

  .hamburger-menu {
    right: 0;
  }

  .navbar {
    padding: 24px 20px 16px;
  }

  .lets-talk-btn {
    width: 100%;
    height: auto;
    padding: 20px;
  }

  .navbar-menu-cta {
    margin-top: 0;
  }

  .btn-text {
    font-size: 28px;
  }
}

/* Removed scale-factor media query - now using responsive percentages */

/* Loading states */
img {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img.loaded {
  opacity: 1;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f4f6;
}

::-webkit-scrollbar-thumb {
  background: #0f90e5;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0d7fc9;
}

/* Floating animations for decorations */
@keyframes float-up {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes float-down {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(10px);
  }
}

.torus-decoration {
  animation: float-up 3s ease-in-out infinite;
}

.globe-decoration {
  animation: float-down 3s ease-in-out infinite;
}
