/* style/cockfighting.css */

/* Base styles for the page */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark background */
    background-color: var(--bg-dark, #0d0d0d); /* Assuming --bg-dark is a dark color */
}

/* Fixed header offset */
.page-cockfighting__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Container for content */
.page-cockfighting__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section styling */
.page-cockfighting__hero-section,
.page-cockfighting__about-section,
.page-cockfighting__video-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__why-choose-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden; /* Prevent content overflow */
}

.page-cockfighting__dark-bg {
    background-color: var(--bg-dark, #0d0d0d);
    color: #ffffff;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.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.7), rgba(0, 0, 0, 0.5));
    z-index: 2;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    color: #ffffff;
}

.page-cockfighting__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold brand color */
    line-height: 1.2;
}

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

.page-cockfighting__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* Section Titles */
.page-cockfighting__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #FFD700; /* Gold brand color */
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

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

.page-cockfighting__light-bg .page-cockfighting__section-title {
    color: #000080; /* Dark blue brand color for light background */
}
.page-cockfighting__light-bg .page-cockfighting__section-title::after {
    background-color: #FFD700; /* Gold accent */
}

.page-cockfighting__sub-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #FFD700; /* Gold brand color */
}
.page-cockfighting__light-bg .page-cockfighting__sub-title {
    color: #000080; /* Dark blue brand color for light background */
}

/* Text Blocks */
.page-cockfighting__text-block {
    max-width: 900px;
    margin: 0 auto 20px auto;
    font-size: 1.1em;
    color: #f0f0f0;
}
.page-cockfighting__light-bg .page-cockfighting__text-block {
    color: #333333;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure buttons adapt to container width */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-cockfighting__btn-primary {
    background-color: #FFD700; /* Gold brand color */
    color: #000080; /* Dark blue text for contrast */
    border: 2px solid #FFD700;
}

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

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold brand color */
    border: 2px solid #FFD700;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #FFD700;
    color: #000080;
}

.page-cockfighting__btn-link {
    background-color: #000080; /* Dark blue brand color */
    color: #FFD700; /* Gold text for contrast */
    border: 2px solid #000080;
    padding: 10px 20px;
    font-size: 0.9em;
}
.page-cockfighting__btn-link:hover {
    background-color: #FFD700;
    color: #000080;
    border-color: #FFD700;
}

.page-cockfighting__text-link {
    color: #FFD700; /* Gold brand color for text links */
    text-decoration: underline;
}
.page-cockfighting__text-link:hover {
    color: #e0b800;
}

/* Image styling */
.page-cockfighting__image,
.page-cockfighting__feature-image,
.page-cockfighting__tips-image,
.page-cockfighting__feature-icon {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    object-fit: cover; /* Ensure images cover their area without distortion */
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

/* No filter property for images */
.page-cockfighting img {
    filter: none;
}

/* Image with text grid */
.page-cockfighting__image-text-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-top: 50px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}
.page-cockfighting__image-wrapper {
    flex: 1;
    min-width: 300px;
}
.page-cockfighting__text-content {
    flex: 1;
    min-width: 300px;
}

/* Lists */
.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
}

.page-cockfighting__list-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly visible item background */
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 5px;
    display: flex;
    align-items: flex-start;
    color: #f0f0f0;
}
.page-cockfighting__list-item::before {
    content: '✅';
    margin-right: 10px;
    font-size: 1.2em;
    color: #FFD700; /* Gold checkmark */
}
.page-cockfighting__light-bg .page-cockfighting__list-item {
    background-color: #f5f5f5;
    color: #333333;
}

/* Video Section */
.page-cockfighting__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    cursor: pointer; /* Indicate video is clickable */
}

.page-cockfighting__video-link {
  display: block; /* Make the entire wrapper clickable */
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10; /* Ensure link is above video controls */
}

.page-cockfighting__cta-buttons--center {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Card Grid for Bet Types */
.page-cockfighting__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-cockfighting__card {
    background-color: #000080; /* Dark blue brand color for card background */
    color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__card-title {
    font-size: 1.5em;
    color: #FFD700; /* Gold brand color */
    margin-bottom: 15px;
}