:root {
  --teal-background: #5aa6a5;
  --teal-foreground: #78b4af;
  --teal-light: #bce0df;
  --teal-dark: #2b6d6c;
  --teal-accent: #88c8c7;
  --white-soft: #f2f9f9;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.overlay {
  position: fixed;
  inset: 0;
  background-image: url('assets/images/overlay.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.000) 0%,
    rgba(0, 0, 0, 0.010) 55%,
    rgba(0, 0, 0, 0.050) 70%,
    rgba(0, 0, 0, 0.100) 85%,
    rgba(0, 0, 0, 0.500) 100%
  );
  opacity: 1; /* Use mask instead of opacity */
  z-index: 1; /* Push it behind all content */
}

.split-container {
  display: flex;
  height: 100%;
  position: relative;
}

.left-panel,
.right-panel {
  flex: 1;
  overflow-y: auto; /* Optional: scroll if content exceeds height */
}

.left-panel {
  background-color: #1d1f26;
  color: var(--white-soft);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
}

.right-panel {
  background-color: var(--teal-foreground);
  background-image: url('assets/images/background.png');
  background-repeat: repeat-y;      /* Reeats both horizontally and vertically */
  background-position: top center;  /* Aligns pattern to the top */
  background-size: contain;         /* Keeps original image size */
  z-index: 2;
}

.top {
  display: flex;
  gap: 16px;
}

.headshot {
  width: 100%;
  max-width: 200px;
  max-height: 500px;
  object-fit: contain;
  flex-shrink: 0;
  margin: 0 20px;
  z-index: 3;
  pointer-events: none;
}

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

.intro-text h1 {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--teal-light);
  line-height: 1.1;
  margin: 0 0 4px 0;
}

.intro-text p {
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--teal-accent);
  margin: 0 0 4px 0;
}

.intro-text h2 {
  font-size: 1.05rem;
  font-weight: normal;
  color: var(--white-soft);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.socials-inline {
  display: flex;
  gap: 12px;
}

.socials-inline a {
  color: var(--teal-light);  
  font-size: 1.5rem;
  margin-right: 4px;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.socials-inline a:hover {
  color: var(--teal-dark);
  transform: scale(1.2);
}

.btn {
  background-color: var(--teal-light);
  color: #1d1f26;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 0;
  width: 100%;
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
  
}

.btn:hover {
  background-color: var(--teal-dark);
  color: var(--white-soft);
}

.about-section {
  margin-top: 30px;
}

.about-section h3 {
  font-size: 1.2rem;
  color: var(--teal-accent);
  margin-bottom: 10px;
}

.about-section p {
  color: var(--white-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.action-buttons {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.action-buttons a:hover {
  background-color: var(--teal-dark);
  color: var(--white-soft);
}

@media screen and (max-width: 640px) {
  .top {
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (max-width: 1000px) {
  .right-panel {
    display: none;
  }
}
