/* style/resources-789club-platform-ui-ux-analysis.css */

/* Base styles for the page content */
.page-resources-789club-platform-ui-ux-analysis {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: var(--secondary-color, #FFFFFF); /* Body background is white */
}

/* Hero Section */
.page-resources-789club-platform-ui-ux-analysis__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: var(--primary-color, #017439); /* Dark green background */
  color: #ffffff; /* White text for dark background */
  overflow: hidden;
}

.page-resources-789club-platform-ui-ux-analysis__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Slightly transparent to let content stand out */
  z-index: 0;
}

.page-resources-789club-platform-ui-ux-analysis__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-789club-platform-ui-ux-analysis__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-resources-789club-platform-ui-ux-analysis__subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* CTA Buttons */
.page-resources-789club-platform-ui-ux-analysis__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure container takes full width */
  max-width: 100%; /* Prevent overflow */
  box-sizing: border-box;
}

.page-resources-789club-platform-ui-ux-analysis__btn-primary,
.page-resources-789club-platform-ui-ux-analysis__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%; /* Ensure button adapts to container width */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
  text-align: center; /* Center button text */
}

.page-resources-789club-platform-ui-ux-analysis__btn-primary {
  background-color: #C30808; /* Register/Login background */
  color: #000000; /* Adjusted to black for WCAG AA contrast with #C30808 */
  border: 2px solid #C30808;
}

.page-resources-789club-platform-ui-ux-analysis__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
  color: #ffffff; /* Make text white on hover for better contrast */
}

.page-resources-789club-platform-ui-ux-analysis__btn-secondary {
  background-color: #ffffff;
  color: var(--primary-color, #017439);
  border: 2px solid var(--primary-color, #017439);
}

.page-resources-789club-platform-ui-ux-analysis__btn-secondary:hover {
  background-color: var(--primary-color, #017439);
  color: #ffffff;
}

.page-resources-789club-platform-ui-ux-analysis__cta-buttons--bottom {
  margin-top: 40px;
  margin-bottom: 20px;
}

/* General Section Styles */
.page-resources-789club-platform-ui-ux-analysis__section {
  padding: 60px 20px;
  text-align: center;
}

.page-resources-789club-platform-ui-ux-analysis__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-789club-platform-ui-ux-analysis__dark-bg {
  background-color: var(--primary-color, #017439);
  color: #ffffff;
}

.page-resources-789club-platform-ui-ux-analysis__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Added horizontal padding for content */
  box-sizing: border-box;
}

.page-resources-789club-platform-ui-ux-analysis__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from section background */
}

.page-resources-789club-platform-ui-ux-analysis__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* Content Grid for Cards */
.page-resources-789club-platform-ui-ux-analysis__content-grid,
.page-resources-789club-platform-ui-ux-analysis__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-resources-789club-platform-ui-ux-analysis__card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 250px; /* Ensure cards have some height */
}

.page-resources-789club-platform-ui-ux-analysis__dark-bg .page-resources-789club-platform-ui-ux-analysis__card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-resources-789club-platform-ui-ux-analysis__card:hover {
  transform: translateY(-5px);
}

.page-resources-789club-platform-ui-ux-analysis__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: inherit;
}

/* Image Styles */
.page-resources-789club-platform-ui-ux-analysis__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px; /* Min size for content images */
  min-height: 200px; /* Min size for content images */
}

.page-resources-789club-platform-ui-ux-analysis__image-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px; /* Min size for content images */
  min-height: 200px; /* Min size for content images */
}

/* Video Styles */
.page-resources-789club-platform-ui-ux-analysis__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 40px;
  border-radius: 10px;
  box-sizing: border-box;
}

.page-resources-789club-platform-ui-ux-analysis__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.page-resources-789club-platform-ui-ux-analysis__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.page-resources-789club-platform-ui-ux-analysis__video-wrapper:hover .page-resources-789club-platform-ui-ux-analysis__video-overlay {
  opacity: 1;
}