a {
  color: #848d96;
  text-decoration: none;
  transition: all 0.3s ease;
}

.body {
  display: block;
  overflow: hidden; /* Prevent body scroll */
  max-height: 100vh;
  background-color: transparent;
  font-family: Inter, sans-serif;
  position: relative;
}

.leftcontent {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding-right: 0px;
  padding-left: 0px;
  position: fixed; /* Fix the left column */
  height: 100vh;
  width: 50%; /* Ensure it takes half the screen */
  z-index: 1;
}

.columns {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  height: 100vh;
  max-height: 100vh;
  -webkit-flex-wrap: nowrap; /* Prevent wrapping */
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-align-content: flex-start;
  -ms-flex-line-pack: start;
  align-content: flex-start;
  position: relative;
  z-index: 1;
}

.name {
  margin-bottom: 20px;
  color: #47bec7;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.bold-text {
  font-weight: 600;
}

.tagline {
  margin-bottom: 28px;
  color: #ddd;
  font-size: 58px;
  line-height: 100%;
  position: relative;
  z-index: 2;
}

.bio {
  margin-bottom: 24px;
  font-family: Lora, sans-serif;
  color: #848d96;
  font-size: 21px;
  line-height: 140%;
  position: relative;
  z-index: 2;
}

.text-block-2 {
  margin-bottom: 20px;
  color: #485462;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.list {
  font-family: Lora, sans-serif;
  color: #848d96;
  font-size: 16px;
  line-height: 160%;
}

.credit {
  color: #485462;
  font-size: 13px;
  position: relative;
  z-index: 2;
  margin-top: 20px;
  padding-bottom: 20px;
}

.rightcontent {
  overflow-y: auto; /* Only vertical scroll for right content */
  overflow-x: hidden;
  padding: 48px 40px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: start; /* Changed from center to start */
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-align-self: flex-start; /* Changed from center */
  -ms-flex-item-align: start;
  -ms-grid-row-align: start;
  align-self: flex-start;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  position: relative;
  z-index: 1;
  margin-left: 50%; /* Push right content to right half */
  width: 50%; /* Ensure it takes half the screen */
  height: 100vh; /* Full height */
  max-height: 100vh;
}

/* Custom scrollbar for right content */
.rightcontent::-webkit-scrollbar {
  width: 8px;
}

.rightcontent::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.rightcontent::-webkit-scrollbar-thumb {
  background: rgba(71, 190, 199, 0.3);
  border-radius: 4px;
}

.rightcontent::-webkit-scrollbar-thumb:hover {
  background: rgba(71, 190, 199, 0.5);
}

.content {
  overflow: visible;
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh; /* Ensure content can scroll */
}

.links {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  min-width: 100%;
  margin-bottom: 40px;
  -webkit-box-flex: 0;
  -webkit-flex: 0 auto;
  -ms-flex: 0 auto;
  flex: 0 auto;
}

.bio-links {
  border-bottom: 1px solid #848d96;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.bio-links:hover {
  color: #47bec7;
  border-bottom-color: #47bec7;
}

.credit-links {
  color: #485462;
}

.image {
  position: absolute; /* Changed from sticky to absolute */
  top: 0;
  left: 0;
  display: block;
  height: 100vh; /* Full viewport height */
  width: 100%; /* Full width of left column */
  -webkit-align-self: flex-start;
  -ms-flex-item-align: start;
  align-self: flex-start;
  -webkit-box-flex: 0;
  -webkit-flex: 0 auto;
  -ms-flex: 0 auto;
  flex: 0 auto;
  background-image: url('../images/IMG_7030.JPG');
  background-position: 50% 50%;
  background-size: cover;
  -o-object-fit: cover;
  object-fit: cover;
  overflow: hidden;
}

/* Subtle image overlay */
.image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(71, 190, 199, 0.05), rgba(106, 76, 147, 0.05));
  mix-blend-mode: overlay;
  z-index: 1;
}

/* Responsive Design */
@media screen and (max-width: 991px) {
  .body {
    overflow: auto; /* Allow normal scroll on mobile */
  }

  .leftcontent {
    position: static; /* Reset position on mobile */
    display: block;
    width: 100%;
    height: auto;
    -o-object-position: 50% 0%;
    object-position: 50% 0%;
  }

  .columns {
    display: block;
    height: auto;
    flex-wrap: wrap;
  }

  .rightcontent {
    padding: 80px 40px 80px 40px; /* Reduced padding for mobile */
    margin-left: 0; /* Reset margin on mobile */
    width: 100%;
    height: auto;
    overflow: visible; /* Reset overflow on mobile */
  }

  .content {
    min-height: auto;
    padding-bottom: 20px;
  }

  .links {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .column {
    margin-bottom: 20px;
  }

  .column-2 {
    margin-bottom: 20px;
  }

  .image {
    position: static;
    height: 60vh; /* Increased height to show more of the scene */
    max-height: 450px;
    min-height: 320px;
    background-position: center 60%; /* Show both man and dog */
    background-size: cover; /* Fill the space properly */
  }

  .tagline {
    font-size: 48px;
    line-height: 1.1;
  }

  .bio {
    font-size: 19px;
    line-height: 1.5;
  }
}

@media screen and (max-width: 767px) {
  .rightcontent {
    padding: 60px 24px 60px 24px; /* Better mobile padding */
  }

  .name {
    margin-bottom: 20px;
    font-size: 14px;
  }

  .tagline {
    font-size: 42px;
    line-height: 1.1;
  }

  .bio {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.5;
  }

  .image {
    height: 55vh; /* Taller to show more scenery */
    max-height: 400px;
    min-height: 300px;
    background-position: center 60%; /* Show both man and dog */
    background-size: cover; /* Fill the container properly */
  }

  /* Better touch targets for mobile */
  .enhanced-link {
    padding: 8px 4px;
    margin: 4px 8px 4px 0;
  }
}

@media screen and (max-width: 479px) {
  .rightcontent {
    padding: 40px 16px 40px 16px; /* Compact padding for small devices */
  }

  .name {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .bold-text {
    font-size: 32px;
    line-height: 1.1;
  }

  .bio {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .credit {
    font-size: 12px;
  }

  .image {
    height: 50vh; /* Maintain good height even on tiny screens */
    max-height: 350px;
    min-height: 280px;
    background-position: center 60%; /* Show both man and dog */
    background-size: cover; /* Fill the container without empty space */
  }

  /* Extra compact mobile layout */
  .enhanced-link {
    font-size: 14px;
    padding: 6px 2px;
    margin: 2px 6px 2px 0;
  }

  /* Smaller contact info for tiny screens */
  .contact-item {
    font-size: 12px;
  }
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

