/* style/cockfighting.css */

/* Base styles for the cockfighting page */
.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Minimum height for hero section */
}

.page-cockfighting__video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.page-cockfighting__hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-cockfighting__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-cockfighting__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
    z-index: 2;
}

.page-cockfighting__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
    line-height: 1.5;
}

.page-cockfighting__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
}

/* General Section Styles */
.page-cockfighting__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-cockfighting__introduction-section,
.page-cockfighting__what-is-cockfighting-section,
.page-cockfighting__types-section,
.page-cockfighting__tips-section {
    background-color: #0a0a0a; /* Ensure text is white on this dark background */
    color: #ffffff;
}

.page-cockfighting__why-choose-us-section,
.page-cockfighting__promotions-section,
.page-cockfighting__cta-section {
    background-color: #017439; /* Brand color dark background */
    color: #ffffff; /* White text for contrast */
}

.page-cockfighting__how-to-bet-section,
.page-cockfighting__faq-section {
    background-color: #f5f5f5; /* Light background */
    color: #333333; /* Dark text for contrast */
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #ffffff; /* Default for dark sections */
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-cockfighting__how-to-bet-section .page-cockfighting__section-title,
.page-cockfighting__faq-section .page-cockfighting__section-title {
    color: #017439; /* Brand color for light sections */
}

.page-cockfighting__sub-title {
    font-size: 1.8em;
    color: #ffffff;
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-cockfighting__how-to-bet-section .page-cockfighting__sub-title,
.page-cockfighting__faq-section .page-cockfighting__sub-title {
    color: #333333;
}

.page-cockfighting__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
    color: #f0f0f0; /* Default for dark sections */
}

.page-cockfighting__how-to-bet-section .page-cockfighting__paragraph,
.page-cockfighting__faq-section .page-cockfighting__paragraph {
    color: #555555; /* Darker text for light sections */
}

.page-cockfighting__center-text {
    text-align: center;
}

/* Buttons */
.page-cockfighting__btn-primary {
    display: inline-block;
    background-color: #C30808; /* Register color */
    color: #FFFF00; /* Register/Login font color */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary:hover {
    background-color: #a30606;
    transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
    display: inline-block;
    background-color: #017439; /* Main brand color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 2px solid #017439;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #005a2d;
    transform: translateY(-2px);
}

.page-cockfighting__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 15px;
}

/* Image-Text Layout */
.page-cockfighting__image-text-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.page-cockfighting__image-left {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: block;
}

.page-cockfighting__text-content {
    flex: 1;
    min-width: 400px;
    max-width: 50%;
}

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

.page-cockfighting__feature-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards on dark brand background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__feature-icon {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
}

.page-cockfighting__feature-title {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-cockfighting__feature-description {
    font-size: 1em;
    color: #f0f0f0;
}

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

.page-cockfighting__type-card {
    background-color: rgba(255, 255, 255, 0.05); /* Very slight transparent white for cards on dark background */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-cockfighting__type-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-cockfighting__type-title {
    font-size: 1.6em;
    color: #ffffff;
    margin-bottom: 10px;
    text-align: center;
}

.page-cockfighting__type-description {
    font-size: 1em;
    color: #f0f0f0;
    text-align: center;
}

/* How-To Steps */
.page-cockfighting__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__step-card {
    background-color: #ffffff; /* White background for steps on light section */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__step-number {
    width: 60px;
    height: 60px;
    background-color: #017439; /* Brand color */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
}

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

.page-cockfighting__step-description {
    font-size: 0.95em;
    color: #555555;
    flex-grow: 1; /* Allow description to take available space */
}

/* Tips List */
.page-cockfighting__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-cockfighting__list-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slight transparent white for tips on dark background */
    border-left: 5px solid #017439; /* Brand color accent */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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