/* style/cockfighting.css */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Default body background */;
    line-height: 1.6;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-cockfighting__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-cockfighting__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: 2;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 3;
    color: #FFFFFF;
    max-width: 800px;
    padding: 0 20px;
}

.page-cockfighting__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #F0F0F0;
}

.page-cockfighting__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* General Section Styles */
.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #017439;
    border-radius: 2px;
}

.page-cockfighting__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-cockfighting__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

.page-cockfighting__dark-bg {
    background-color: #017439;
    color: #FFFFFF;
}

.page-cockfighting__dark-bg .page-cockfighting__section-title {
    color: #FFFFFF;
}

.page-cockfighting__dark-bg .page-cockfighting__section-title::after {
    background-color: #FFFFFF;
}

.page-cockfighting__paragraph {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-cockfighting__paragraph--centered {
    text-align: center;
}

.page-cockfighting__highlight {
    font-weight: bold;
    color: #017439; /* Use main brand color */
}

.page-cockfighting__dark-bg .page-cockfighting__highlight {
    color: #FFFF00; /* Yellow for highlight on dark background */
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1em;
    text-align: center;
    max-width: 100%; /* For responsive buttons */
    box-sizing: border-box; /* For responsive buttons */
    white-space: normal; /* Allow text wrap for buttons */
    word-wrap: break-word; /* Allow text wrap for buttons */
}

.page-cockfighting__btn-primary {
    background-color: #C30808; /* Register/Login button color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-cockfighting__btn-primary:hover {
    background-color: #e02020;
    border-color: #e02020;
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-cockfighting__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.page-cockfighting__hero-buttons .page-cockfighting__btn-secondary {
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.page-cockfighting__hero-buttons .page-cockfighting__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Image-Text Block */
.page-cockfighting__image-text-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
}

.page-cockfighting__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block; /* Ensure it behaves as a block element */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-cockfighting__content-image--centered {
    margin: 30px auto;
}

/* Benefits Grid */
.page-cockfighting__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__benefit-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #FFFFFF;
    transition: transform 0.3s ease;
}

.page-cockfighting__benefit-card:hover {
    transform: translateY(-5px);
}

.page-cockfighting__benefit-card .page-cockfighting__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFF00; /* Highlight color on dark background */
}

.page-cockfighting__benefit-card .page-cockfighting__card-description {
    font-size: 1em;
    color: #F0F0F0;
}

/* Steps List / Bet Types List / Tips List / Security List */
.page-cockfighting__steps-list,
.page-cockfighting__bet-types-list,
.page-cockfighting__tips-list,
.page-cockfighting__security-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-cockfighting__list-item {
    background-color: #F9F9F9;
    border-left: 5px solid #017439;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__dark-bg .page-cockfighting__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: #FFFF00;
    color: #FFFFFF;
}

.page-cockfighting__dark-bg .page-cockfighting__list-item .page-cockfighting__list-title {
    color: #FFFF00;
}

.page-cockfighting__list-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 10px;
}

.page-cockfighting__list-description {
    font-size: 1em;
    color: #555555;
}

.page-cockfighting__dark-bg .page-cockfighting__list-description {
    color: #F0F0F0;
}

/* Links within content */
.page-cockfighting__link {
    color: #017439;
    text-decoration: underline;
    font-weight: bold;
}

.page-cockfighting__dark-bg .page-cockfighting__link {
    color: #FFFF00;
}

.page-cockfighting__link:hover {
    text-decoration: none;
    color: #005f2f;
}

.page-cockfighting__dark-bg .page-cockfighting__link:hover {
    color: #FFD700;
}

/* Video Section */
.page-cockfighting__video-section {
  position: relative;
  padding: 60px 20px;
  text-align: center;
}

.page-cockfighting__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px; /* Max width for video */
  margin: 0 auto 30px auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background-color: #000; /* Fallback for video area */
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}