/* style/cockfighting.css */

/* Base styles for the page content */
.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); /* Fixed header offset */
    overflow-x: hidden; /* Prevent horizontal scroll on desktop */
}

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

.page-cockfighting__section {
    padding: 60px 0;
    text-align: center;
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand color for titles */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-cockfighting__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 0; /* Header offset is on main, not here */
}

.page-cockfighting__hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-cockfighting__hero-video-link {
    display: block; /* Make the anchor fill the space */
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

.page-cockfighting__hero-video-link .page-cockfighting__hero-video {
    position: absolute; /* Position video within the link */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-cockfighting__hero-video-link .page-cockfighting__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Overlay for text contrast */
    z-index: 1;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

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

.page-cockfighting__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

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

.page-cockfighting__btn-primary {
    background-color: #C30808; /* Custom color for register/login */
    color: #FFFF00; /* Custom font color for register/login */
    border: 2px solid #C30808;
}

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

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Custom font color for register/login */
    border: 2px solid #C30808;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #C30808;
    color: #ffffff;
}

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

/* Introduction Section */
.page-cockfighting__introduction-section {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
}

.page-cockfighting__introduction-section .page-cockfighting__section-title {
    color: #017439;
}

.page-cockfighting__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.page-cockfighting__image-left {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.page-cockfighting__text-content {
    flex: 1;
    color: #f0f0f0;
}

.page-cockfighting__text-content p {
    margin-bottom: 15px;
    font-size: 1.05em;
}

/* Bet Types Section */
.page-cockfighting__bet-types-section {
    background-color: #017439; /* Brand main color */
}

.page-cockfighting__bet-types-section .page-cockfighting__section-title,
.page-cockfighting__bet-types-section .page-cockfighting__section-description {
    color: #ffffff;
}

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

.page-cockfighting__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-height: 180px; /* Ensure cards have some height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.page-cockfighting__card-title {
    font-size: 1.5em;
    color: #FFFF00; /* Highlight title */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__card-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* Advantages Section */
.page-cockfighting__advantages-section .page-cockfighting__section-title {
    color: #017439;
}

.page-cockfighting__feature-grid {
    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.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #f0f0f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__feature-icon {
    width: 250px;
    height: 250px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%; /* Make icons circular if desired */
}

.page-cockfighting__feature-title {
    font-size: 1.4em;
    color: #017439; /* Brand color for feature titles */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__feature-text {
    font-size: 0.95em;
    color: #cccccc;
}

/* Guide Section */
.page-cockfighting__guide-section {
    background-color: #017439; /* Brand main color */
}

.page-cockfighting__guide-section .page-cockfighting__section-title,
.page-cockfighting__guide-section .page-cockfighting__section-description {
    color: #ffffff;
}

.page-cockfighting__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__guide-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__guide-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #FFFF00; /* Highlight number */
    margin-bottom: 15px;
}

.page-cockfighting__guide-title {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__guide-text {
    font-size: 0.95em;
    color: #cccccc;
}

/* Tips Section */
.page-cockfighting__tips-section .page-cockfighting__section-title {
    color: #017439;
}

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

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

.page-cockfighting__column-title {
    font-size: 1.3em;
    color: #017439;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__column-text {
    font-size: 0.95em;
    color: #cccccc;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    background-color: #017439; /* Brand main color */
}

.page-cockfighting__faq-section .page-cockfighting__section-title,
.page-cockfighting__faq-section .page-cockfighting__section-description {
    color: #ffffff;
}

.page-cockfighting__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-cockfighting__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #FFFF00; /* Highlight FAQ question */
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    transform: rotate(45deg); /* Rotate + to become X or simply - */
}

.page-cockfighting__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #cccccc;
    line-height: 1.5;
}

.page-cockfighting__faq-answer p {
    margin-bottom: 10px;
}

/* Final CTA Section */
.page-cockfighting__cta-final-section {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 80px 0;
}

.page-cockfighting__cta-final-section .page-cockfighting__section-title {
    color: #017439;
}

.page-cockfighting__cta-final-content {
    max-width: 900px;
}

/* Image specific styles to ensure min size */
.page-cockfighting img {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
    display: block; /* Important for max-width: 100% to work correctly */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 3em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.2em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__section-description {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
}