/* Basic reset for margin, padding, and box-sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Make html and body take up the full height of the screen */
html, body {
  height: 100%;
  font-family: 'Lora', serif;
  color: #ffffff;
}

/* The main container for the links */
.button-container {
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* Styling for each link */
.fullscreen-btn {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer; /* Ensure pointer cursor is active */
  transition: flex 0.5s ease;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 20px;
  text-decoration: none;
  color: inherit;
}

/* Container for the text content */
.text-content {
  z-index: 2;
  text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.8);
  color: #ffffff;
}

/* Style for the main title inside the link */
.text-content h2 {
  font-family: 'Italianno', serif;
  font-size: 3.2rem;
  font-weight: 400;
  margin-bottom: 15px;
}

/* Style for the subtitle */
.text-content p {
  font-size: 1rem;
  font-weight: 300;
  max-width: 80%;
  /* UPDATED: Increased bottom margin for more separation */
  margin: 0 auto 15px; 
}

/* Add a semi-transparent overlay to make text more readable */
.fullscreen-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
  transition: background-color 0.3s ease;
  /* NEW: This allows clicks and hovers to pass through the overlay */
  pointer-events: none;
}

/* NEW: Style for the sub-sub title note */
.sub-subtitle {
  display: block; /* Ensures it takes its own line */
  font-size: 0.85rem;
  font-weight: 300;
  opacity: 0.8;
  max-width: 80%;
  margin: 0 auto;
}

/* --- Specific Button Styles --- */

#amateur {
  background-image: url('IMG_4003-min.JPG');
}

#pro-photos {
  background-image: url('P1100879-min.JPG');
}

#pro-videos {
  background-color: #000;
  overflow: hidden;
}

/* Styling for the background video */
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  object-fit: cover;
}

/* --- Hover Effects --- */

.button-container:hover .fullscreen-btn:hover {
  flex: 2;
}

.fullscreen-btn:hover::before {
  background-color: rgba(0, 0, 0, 0.5); 
}

/* Media query for smaller screens */
@media (max-width: 768px) {
  .button-container {
      flex-direction: column;
  }

  .text-content h2 {
      font-size: 2.7rem;
  }

  .text-content p {
      font-size: 0.9rem;
      max-width: 90%;
  }

  .button-container:hover .fullscreen-btn:hover {
      flex: 1;
  }

  .sub-subtitle {
    font-size: 0.8rem;
    max-width: 90%;
  }
}
