/* style/cockfighting.css */

/* General page styling */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark text on light background */
    background-color: #FFFFFF; /* Default body background is white */
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

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

.page-cockfighting__section-title {
    color: #017439; /* Brand primary color for titles */
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    color: #FFFFFF;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background: linear-gradient(to right, #017439, #017439cc); /* Gradient over image */
}

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

.page-cockfighting__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6); /* Darken image for text contrast, but no color change */
}

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

.page-cockfighting__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFF00; /* Yellow for prominence */
}

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

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

/* 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: all 0.3s ease;
    box-sizing: border-box; /* Crucial for mobile responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.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: #FFFF00; /* Register/Login font color */
    border: 2px solid #FFFF00;
}

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

/* Intro Section */
.page-cockfighting__intro-section {
    padding: 80px 0;
    background-color: #FFFFFF;
    color: #333333;
}

/* Why Choose Section */
.page-cockfighting__why-choose-section {
    padding: 80px 0;
    background-color: #017439; /* Dark background */
    color: #FFFFFF; /* Light text */
}

.page-cockfighting__why-choose-section .page-cockfighting__section-title {
    color: #FFFFFF; /* White title on dark background */
}

.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);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

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

.page-cockfighting__feature-icon {
    width: 200px; /* Minimum size requirement */
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

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

/* How To Play Section */
.page-cockfighting__how-to-play-section {
    padding: 80px 0;
    background-color: #FFFFFF;
    color: #333333;
}

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

.page-cockfighting__step-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__step-title {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #017439;
}

.page-cockfighting__step-description {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1; /* Make descriptions fill available space */
}

/* Video Section */
.page-cockfighting__video-section {
    padding: 80px 0;
    background-color: #017439;
    color: #FFFFFF;
}

.page-cockfighting__video-section .page-cockfighting__section-title {
    color: #FFFFFF;
}

.page-cockfighting__video-section .page-cockfighting__text-block {
    color: #f0f0f0;
}

.page-cockfighting__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 40px auto;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer; /* Indicates clickable */
}

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

/* Types Section */
.page-cockfighting__types-section {
    padding: 80px 0;
    background-color: #FFFFFF;
    color: #333333;
}

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

.page-cockfighting__type-card {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

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

.page-cockfighting__type-image {
    width: 250px; /* Minimum size requirement */
    height: 180px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

.page-cockfighting__type-description {
    font-size: 0.95em;
    flex-grow: 1;
}

/* Strategy Section */
.page-cockfighting__strategy-section {
    padding: 80px 0;
    background-color: #017439;
    color: #FFFFFF;
}

.page-cockfighting__strategy-section .page-cockfighting__section-title {
    color: #FFFFFF;
}

.page-cockfighting__strategy-section .page-cockfighting__text-block {
    color: #f0f0f0;
}

.page-cockfighting__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-cockfighting__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #f0f0f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__list-item strong {
    color: #FFFF00; /* Yellow for emphasis */
}

/* Security Section */
.page-cockfighting__security-section {
    padding: 80px 0;
    background-color: #FFFFFF;
    color: #333333;
}

.page-cockfighting__security-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-cockfighting__security-list .page-cockfighting__list-item {
    background-color: #f9f9f9;
    color: #333333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__security-list .page-cockfighting__list-item strong {
    color: #017439;
}


/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 80px 0;
    background-color: #017439;
    color: #FFFFFF;
}

.page-cockfighting__faq-section .page-cockfighting__section-title {
    color: #FFFFFF;
}

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

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFFF00; /* Yellow for questions */
    background-color: #017439;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-cockfighting__faq-question:hover {
    background-color: #005f2e;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
    color: #FFFF00;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #f0f0f0;
    font-size: 1em;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 20px;
}

.page-cockfighting__faq-answer p {
    margin-bottom: 0; /* Remove default paragraph margin */
}

/* CTA Section */
.page-cockfighting__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #FFFFFF;
    color: #333333;
}

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

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