/* PitchBoard Styles */
.pitch-board-container {
  display: none;
  position: absolute;
  top: 75px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px;
  max-height: 70vh;
  background-color: rgba(255, 255, 255, 0.95); /* White with increased opacity */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Darker shadow for contrast */
  z-index: 100;
  overflow: hidden;
  color: #333; /* Dark grey text */
  opacity: 0;
  transition: opacity 0.3s ease;
  border: 2px solid rgba(173, 216, 230, 0.5); /* Light blue border, thicker */
}

.pitch-board-title {
  padding: 12px 15px;
  background-color: rgba(173, 216, 230, 0.3); /* Light blue background, increased opacity */
  border-bottom: 2px solid rgba(40, 197, 250, 0.7); /* Light blue border, thicker and increased opacity */
}

.pitch-board-title h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  color: #222; /* Darker text */
}

.pitch-board-subtitle {
  margin: 5px 0 0;
  font-size: 0.9rem;
  text-align: center;
  color: #555; /* Darker text */
  font-weight: 400;
}

.pitch-board-content {
  padding: 15px;
  max-height: calc(70vh - 120px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pitch-board-image {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.pitch-board-image img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.pitch-board-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pitch-section-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #444; /* Darker text */
}

.pitch-section-content {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #666; /* Darker text */
}

.pitch-section-content p {
  margin: 0 0 8px;
}

.pitch-feature-list {
  margin: 0;
  padding: 0;
}

.pitch-feature-list dt {
  font-weight: 600;
  color: #555; /* Darker text */
  margin-top: 8px;
}

.pitch-feature-list dd {
  margin-left: 0;
  margin-bottom: 8px;
  color: #777; /* Darker text */
}

.pitch-cta-button {
  align-self: center;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #ADD8E6; /* Light blue */
  color: #333;
  font-weight: 600;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.pitch-cta-button:hover {
  background-color: #87CEEB; /* Slightly darker blue */
}

.pitch-board-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  border-top: 2px solid rgba(173, 216, 230, 0.5); /* Light blue border, thicker */
  background-color: rgba(255, 255, 255, 0.7); /* White with increased opacity */
}

.pitch-nav-button {
  background-color: transparent;
  color: #87CEEB; /* Light blue */
  border: 2px solid #87CEEB; /* Light blue border, thicker */
  border-radius: 15px;
  padding: 5px 12px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.pitch-nav-button:hover:not(:disabled) {
  background-color: rgba(173, 216, 230, 0.3); /* Light blue with increased opacity */
}

.pitch-nav-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: #999;
  color: #999;
}

.pitch-nav-dots {
  display: flex;
  gap: 6px;
}

.pitch-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(100, 149, 237, 0.3); /* Cornflower blue with opacity */
  cursor: pointer;
}

.pitch-nav-dot.active {
  background-color: #87CEEB; /* Light blue */
}

/* For devices with touch */
@media (hover: none) {
  .pitch-board-container {
    top: 60px;
    width: 95%;
    max-height: 75vh;
  }
  
  .pitch-nav-dot {
    width: 10px;
    height: 10px;
  }
}

@media (min-width: 1000px) and (orientation: portrait) {
  .pitch-board-container {
    max-width: 600px; /* Larger container */
    max-height: 80vh;
    top: 50%; /* Vertically center the container */
    left: 50%;
    transform: translate(-50%, -50%); /* Center horizontally and vertically */
  }

  .pitch-board-title h2 {
    font-size: 1.6rem; /* Larger title */
  }

  .pitch-board-subtitle {
    font-size: 1.1rem; /* Larger subtitle */
  }

  .pitch-section-title {
    font-size: 1.3rem; /* Larger section title */
  }

  .pitch-section-content {
    font-size: 1.1rem; /* Larger section content */
  }

  .pitch-board-image img {
    max-height: 250px; /* Larger image */
  }

  .pitch-cta-button {
    font-size: 1rem; /* Larger button text */
    padding: 10px 20px;
  }
}
