/* style/cockfighting.css */

/* Variables for colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-bg-card: #11271B;
    --color-bg-main: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
    --color-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --color-dark-text: #333333;
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--color-text-main);
    background-color: var(--color-bg-main);
    line-height: 1.6;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--color-bg-card);
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 400px; /* Ensure minimum size */
}

.page-cockfighting__hero-content {
    text-align: center;
    padding: 40px 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    width: 100%;
    box-sizing: border-box;
    margin-top: -1px; /* Adjust for potential gap */
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-main);
    max-width: 800px;
    margin: 0 auto 30px auto;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__cta-button {
    display: inline-block;
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

/* General Section Styling */
.page-cockfighting__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__text-block {
    font-size: 1.05rem;
    color: var(--color-text-main);
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-cockfighting__text-block--center {
    text-align: center;
}

.page-cockfighting__highlight {
    color: var(--color-gold);
    font-weight: bold;
}

.page-cockfighting__dark-bg {
    background-color: var(--color-bg-card);
}

.page-cockfighting__introduction-section,
.page-cockfighting__features-section,
.page-cockfighting__types-section,
.page-cockfighting__strategy-section,
.page-cockfighting__promotions-section,
.page-cockfighting__guide-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-section {
    padding: 60px 0;
    position: relative;
}

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

.page-cockfighting__feature-card,
.page-cockfighting__type-card,
.page-cockfighting__step-card {
    background-color: var(--color-bg-card);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.page-cockfighting__feature-card:hover,
.page-cockfighting__type-card:hover,
.page-cockfighting__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__feature-image,
.page-cockfighting__type-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Ensure minimum image size */
    min-height: 200px;
}

.page-cockfighting__card-title {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__card-description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Promotions Section */
.page-cockfighting__promo-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 900px;
}

.page-cockfighting__promo-item {
    background-color: var(--color-deep-green);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 5px solid var(--color-gold);
    font-size: 1.05rem;
    color: var(--color-text-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__promo-item strong {
    color: var(--color-gold);
}

.page-cockfighting__btn-primary {
    display: block;
    width: fit-content;
    margin: 40px auto 0 auto;
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

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

.page-cockfighting__step-card {
    position: relative;
    padding-top: 60px;
}

.page-cockfighting__step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-gold);
    color: var(--color-bg-card);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--color-border);
}

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__faq-item {
    background-color: var(--color-deep-green);
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--color-text-main);
    cursor: pointer;
    background-color: var(--color-bg-card);
    border-bottom: 1px solid var(--color-divider);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-cockfighting__faq-question::-webkit-details-marker {
    display: none;
}

.page-cockfighting__faq-question:hover {
    background-color: var(--color-deep-green);
}

.page-cockfighting__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--color-gold);
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

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

/* Call to Action Section */
.page-cockfighting__cta-section {
    background-color: var(--color-bg-main);
    padding: 80px 0;
    text-align: center;
}

.page-cockfighting__cta-container {
    background-color: var(--color-bg-card);
    border-radius: 15px;
    padding: 50px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-border);
}

.page-cockfighting__section-title--cta {
    margin-bottom: 25px;
    color: var(--color-gold);
}

.page-cockfighting__text-block--cta {
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.15rem;
    color: var(--color-text-secondary);
}

.page-cockfighting__cta-button--large {
    padding: 18px 40px;
    font-size: 1.25rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-image {
        min-height: 300px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-cockfighting__hero-description {
        font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-cockfighting__features-grid,
    .page-cockfighting__types-grid,
    .page-cockfighting__strategy-grid,
    .page-cockfighting__guide-steps {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    .page-cockfighting__feature-card,
    .page-cockfighting__type-card,
    .page-cockfighting__step-card {
        padding: 25px;
    }
    .page-cockfighting__feature-image,
    .page-cockfighting__type-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting__hero-image {
        min-height: 250px;
    }
    .page-cockfighting__hero-content {
        padding: 30px 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-cockfighting__hero-description {
        font-size: clamp(0.9rem, 3vw, 1rem);
    }
    .page-cockfighting__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-cockfighting__cta-button--large {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    .page-cockfighting__introduction-section,
    .page-cockfighting__features-section,
    .page-cockfighting__types-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-section {
        padding: 40px 0;
    }
    .page-cockfighting__container {
        padding: 0 15px;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 30px;
    }
    .page-cockfighting__text-block {
        font-size: 0.95rem;
    }
    .page-cockfighting__features-grid,
    .page-cockfighting__types-grid,
    .page-cockfighting__strategy-grid,
    .page-cockfighting__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__feature-card,
    .page-cockfighting__type-card,
    .page-cockfighting__step-card {
        padding: 20px;
    }
    .page-cockfighting__feature-image,
    .page-cockfighting__type-image {
        height: 150px;
        min-width: 200px !important;
        min-height: 200px !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__card-title {
        font-size: 1.3rem;
    }
    .page-cockfighting__promo-item {
        padding: 15px;
        font-size: 0.95rem;
    }
    .page-cockfighting__btn-primary {
        padding: 12px 25px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-cockfighting__step-number {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    .page-cockfighting__step-card {
        padding-top: 50px;
    }
    .page-cockfighting__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-cockfighting__faq-answer {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
    .page-cockfighting__cta-container {
        padding: 40px 20px;
    }

    /* Mobile specific image and video rules */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-section,
    .page-cockfighting__introduction-section,
    .page-cockfighting__features-section,
    .page-cockfighting__types-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-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__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-cockfighting__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    .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;
    }
    .page-cockfighting__cta-buttons {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-image {
        min-height: 200px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }
    .page-cockfighting__hero-description {
        font-size: 0.9rem;
    }
    .page-cockfighting__cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.4rem, 7vw, 2rem);
    }
    .page-cockfighting__feature-image,
    .page-cockfighting__type-image {
        height: 120px;
    }
    .page-cockfighting__card-title {
        font-size: 1.2rem;
    }
    .page-cockfighting__faq-question {
        font-size: 0.95rem;
    }
}