/* style/cockfighting.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --background-color-dark: #121212;
    --text-color-light: #FFFFFF;
    --text-color-dark: #333333;
    --register-login-bg: #C30808;
    --register-login-text: #FFFF00;
}

.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-light); /* Default text color for dark body background */
    background-color: var(--background-color-dark);
}

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

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-color-light);
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Apply header offset to hero section */
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, #005f2e 100%); /* Green gradient */
    color: var(--text-color-light);
    text-align: center;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

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

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__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, transform 0.2s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background-color: var(--register-login-bg); /* #C30808 */
    color: var(--register-login-text); /* #FFFF00 */
    border: 2px solid var(--register-login-bg);
}

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

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

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

.page-cockfighting__large-btn {
    font-size: 1.2em;
    padding: 18px 35px;
}

/* Sections */
.page-cockfighting__dark-section {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 60px 0;
}

.page-cockfighting__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-color-dark);
    padding: 60px 0;
}

.page-cockfighting__light-bg .page-cockfighting__section-title,
.page-cockfighting__light-bg .page-cockfighting__text-block,
.page-cockfighting__light-bg .page-cockfighting__card-title,
.page-cockfighting__light-bg .page-cockfighting__card-description,
.page-cockfighting__light-bg .page-cockfighting__feature-title,
.page-cockfighting__light-bg .page-cockfighting__feature-description,
.page-cockfighting__light-bg .page-cockfighting__step-title,
.page-cockfighting__light-bg .page-cockfighting__step-description,
.page-cockfighting__light-bg .page-cockfighting__tip-title,
.page-cockfighting__light-bg .page-cockfighting__tip-description,
.page-cockfighting__light-bg .page-cockfighting__security-title,
.page-cockfighting__light-bg .page-cockfighting__security-description,
.page-cockfighting__light-bg .page-cockfighting__faq-qtext,
.page-cockfighting__light-bg .page-cockfighting__faq-answer {
    color: var(--text-color-dark);
}

.page-cockfighting__light-bg .page-cockfighting__btn-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-cockfighting__light-bg .page-cockfighting__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Images */
.page-cockfighting__image {
    display: block;
    margin: 40px auto 20px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Feature List */
.page-cockfighting__feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-cockfighting__feature-description {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.8);
}

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

.page-cockfighting__card {
    background-color: var(--secondary-color);
    color: var(--text-color-dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-cockfighting__card-title {
    font-size: 1.4em;
    padding: 20px 20px 10px;
    color: var(--primary-color);
}

.page-cockfighting__card-description {
    font-size: 0.95em;
    padding: 0 20px 20px;
    color: var(--text-color-dark);
}

/* Steps List */
.page-cockfighting__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-cockfighting__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--text-color-light);
}

.page-cockfighting__step-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-cockfighting__step-description {
    font-size: 1em;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.page-cockfighting__step-button {
    width: auto;
}

/* Tips List & Security List (similar styling) */
.page-cockfighting__tips-list,
.page-cockfighting__security-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-cockfighting__tip-item,
.page-cockfighting__security-item {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--text-color-dark);
}