/* style/cockfighting.css */

/* Base Styles */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #1a1a2e; /* Body background from shared.css */
}

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-cockfighting__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #f0f0f0;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__hero-button,
.page-cockfighting__video-cta,
.page-cockfighting__promotions-button {
    display: inline-block;
    background-color: #C30808;
    color: #FFFF00;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    text-align: center;
}

.page-cockfighting__btn-primary:hover,
.page-cockfighting__hero-button:hover,
.page-cockfighting__video-cta:hover,
.page-cockfighting__promotions-button:hover {
    background-color: #a30606;
    transform: translateY(-2px);
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 400px; /* Ensure minimum height */
}

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

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

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

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

/* About Section */
.page-cockfighting__about-section {
    padding: 80px 0;
    background-color: #1a1a2e; /* Dark background */
    color: #ffffff;
}

.page-cockfighting__about-section .page-cockfighting__section-description {
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 20px;
}

/* Video Section */
.page-cockfighting__video-section {
    padding: 80px 0;
    background-color: #0d0d1e; /* Slightly darker than body for contrast */
    color: #ffffff;
    text-align: center;
}

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

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    cursor: pointer;
}

.page-cockfighting__video-cta {
    margin-top: 20px;
}

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

.page-cockfighting__types-section .page-cockfighting__section-title,
.page-cockfighting__types-section .page-cockfighting__section-description {
    color: #333333;
}

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

.page-cockfighting__type-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease;
    color: #333333;
}

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

.page-cockfighting__type-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-cockfighting__type-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-cockfighting__type-text {
    font-size: 1em;
    color: #555555;
    padding: 0 15px;
}

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

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

.page-cockfighting__step-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.page-cockfighting__step-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__step-icon {
    font-size: 2.5em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

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

.page-cockfighting__step-text {
    font-size: 1em;
    color: #e0e0e0;
}

.page-cockfighting__step-text a {
    color: #FFFF00;
    text-decoration: none;
}

.page-cockfighting__step-text a:hover {
    text-decoration: underline;
}

.page-cockfighting__process-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 50px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__strategy-section .page-cockfighting__section-title,
.page-cockfighting__strategy-section .page-cockfighting__section-description {
    color: #333333;
}

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

.page-cockfighting__strategy-item {
    background-color: #ffffff;
    border-left: 5px solid #017439;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    color: #333333;
    transition: box-shadow 0.3s ease;
}

.page-cockfighting__strategy-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.page-cockfighting__strategy-text {
    font-size: 1em;
    color: #555555;
}

.page-cockfighting__strategy-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 50px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Promotions Section */
.page-cockfighting__promotions-section {
    padding: 80px 0;
    background-color: #017439;
    color: #ffffff;
    text-align: center;
}

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

.page-cockfighting__promotions-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 50px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__promotions-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 50px auto;
    max-width: 800px;
    text-align: left;
}

.page-cockfighting__promotions-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #ffffff;
    position: relative;
    padding-left: 40px;
}

.page-cockfighting__promotions-item::before {
    content: '✅';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
}

.page-cockfighting__promotions-button {
    margin-top: 30px;
}

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

.page-cockfighting__security-section .page-cockfighting__section-title,
.page-cockfighting__security-section .page-cockfighting__section-description {
    color: #333333;
}

.page-cockfighting__security-section .page-cockfighting__section-description {
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 40px;
}

.page-cockfighting__security-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.page-cockfighting__security-item {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333;
    position: relative;
    padding-left: 45px;
}

.page-cockfighting__security-item::before {
    content: '🔒'; /* Lock emoji */
    position: absolute;
    left: 15px;
    top: 25px;
    font-size: 1.5em;
}

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

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

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

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #017439;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    content: '−';
}

.page-cockfighting__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    color: #e0e0e0;
}

.page-cockfighting__faq-answer p {
    margin-top: 15px;
    margin-bottom: 0;
}

.page-cockfighting__faq-answer a {
    color: #FFFF00;
    text-decoration: none;
}

.page-cockfighting__faq-answer a:hover {
    text-decoration: underline;
}

/* Details element specific styling for FAQ */
.page-cockfighting__faq-item summary {
    list-style: none; /* Remove default marker */
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
    display: none; /* Hide for webkit browsers */
}

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

    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }

    .page-cockfighting__section-title {
        font-size: 2em;
    }

    .page-cockfighting__section-description {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        height: 60vh;
        min-height: 300px;
    }

    .page-cockfighting__hero-title {
        font-size: 2.2em;
    }

    .page-cockfighting__hero-description {
        font-size: 0.9em;
    }

    .page-cockfighting__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-cockfighting__section-title {
        font-size: 1.8em;
    }

    .page-cockfighting__section-description {
        font-size: 0.9em;
        margin-bottom: 30px;
    }

    .page-cockfighting__about-section,
    .page-cockfighting__video-section,
    .page-cockfighting__types-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__security-section,
    .page-cockfighting__faq-section {
        padding: 50px 0;
    }

    .page-cockfighting__types-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__strategy-grid,
    .page-cockfighting__security-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__promotions-list {
        padding: 0 10px;
    }

    .page-cockfighting__promotions-item,
    .page-cockfighting__security-item {
        padding: 15px 15px 15px 40px;
        font-size: 0.95em;
    }

    .page-cockfighting__security-item::before {
        top: 15px;
    }

    .page-cockfighting__faq-question {
        font-size: 1em;
        padding: 15px;
    }

    .page-cockfighting__faq-answer {
        padding: 0 15px 15px 15px;
    }

    /* Mobile image responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-cockfighting__hero-image,
    .page-cockfighting__type-image,
    .page-cockfighting__process-image,
    .page-cockfighting__strategy-image,
    .page-cockfighting__promotions-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Mobile video responsiveness */
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    .page-cockfighting__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    /* Mobile button responsiveness */
    .page-cockfighting__cta-button,
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting a[class*="button"],
    .page-cockfighting a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 10px; /* Add some spacing between stacked buttons */
    }
    
    .page-cockfighting__cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column;
    }

    .page-cockfighting__container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: 1.8em;
    }

    .page-cockfighting__hero-description {
        font-size: 0.85em;
    }

    .page-cockfighting__hero-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-cockfighting__section-title {
        font-size: 1.5em;
    }

    .page-cockfighting__section-description {
        font-size: 0.85em;
    }
}