/* 1. CRITICAL: Remove default browser spacing */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  width: 100%;
  background-color: black;
  overflow: hidden; /* Keeps the landing page from scrolling */
}

.split-wrapper {
  position: relative;
  height: 100vh;
  width: 100vw;
  background-color: black;
  overflow: hidden;
}

.side {
  position: absolute; /* Stack them on top of each other */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  transition: background-color 0.4s ease;
}
/* 2. Photography Side (Left) */
.left {
  background-color: black;
  justify-content: center;
  padding-right: 55%; /* Push icon into its own half */
  /* Top is 5% past center, Bottom is 5% before center = Midpoint 50% */
  clip-path: polygon(0 0, 55% 0, 45% 100%, 0 100%);
  z-index: 2;
}

.left:hover {
  background-color: white;
}
/* 3. Personal Side (Right) */
.right {
  background-color: black;
  justify-content: center;
  padding-left: 45%; /* Push icon into its own half */
  /* Top and Bottom points must match the left side EXACTLY */
  clip-path: polygon(55% 0, 100% 0, 100% 100%, 45% 100%);
  z-index: 1;
}

/* Ensure images don't get squished by the overlap */
.btn-img {
  max-width: 300px; /* Use a fixed max-width so they stay a consistent size */
  width: 80%;      /* Fallback for smaller screens */
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  /* Use padding to push the image away from the diagonal seam if it looks too close */
  padding-left: 5vw; 
}


.right:hover {
  background-color: #ef5800;
}

/* 4. Fix Image Sizes */
/* Ensure images don't get squished by the overlap */
.btn-img {
  max-width: 300px; /* Use a fixed max-width so they stay a consistent size */
  width: 80%;      /* Fallback for smaller screens */
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  /* Use padding to push the image away from the diagonal seam if it looks too close */
  padding-left: 5vw; 
}


.side:hover .btn-img {
  transform: scale(1.1);
}
/* Background Text Styling */
/* Background Text Styling */
/* Container for the background text */
.text-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5; /* Higher than the background, lower than the buttons */
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}
.bg-text {
  position: absolute;
  /* Reduced size - adjust 6vw to your liking */
  font-size: 6vw; 
  font-weight: 600;
   font-family: 'Alumni Sans Pinstripe', sans-serif;
   
  /* Solid Black */
  color: #000000; 
  
  white-space: nowrap;
   transform: rotate(-80deg); 
  transition: all 0.4s ease;
  z-index: 5;
  pointer-events: none;
}

/* Position "PHOTOGRAPHY" slightly left of the center line */
.left-label {
  margin-left: -5vw;
}

/* Position "PERSONAL" slightly right of the center line */
.right-label {
  margin-left: 5vw;
}

/* Change text color when hovering over the sides */
.left:hover ~ .text-layer .left-label {
  color: rgba(0, 0, 0, 0.2); /* Subtle dark on white background */
}

.right:hover ~ .text-layer .right-label {
  color: rgba(255, 255, 255, 0.3); /* Subtle light on orange background */
}
.bg-text {
  position: absolute;
  /* Reduced size - adjust 6vw to your liking */
  font-size: 6vw; 
  font-weight: 600;
   font-family: 'Alumni Sans Pinstripe', sans-serif;
  
  /* Solid Black */
  color: #000000; 
  
  white-space: nowrap;
  transform: rotate(-80deg); 
  transition: all 0.4s ease;
  z-index: 5;
  pointer-events: none;
}

/* LEFT SIDE HOVER (Text becomes solid black) */
.left:hover ~ .text-layer .left-label {
  color: #000000;
  text-shadow: none; /* Remove glow when background is white */
  font-size: 6.5vw;   /* Slight pop */
}

/* RIGHT SIDE HOVER (Text becomes solid white) */
.right:hover ~ .text-layer .right-label {
  color: #000000;
  text-shadow: none;
  font-size: 6.5vw;
}