/* style/cockfighting.css */

/* Custom Colors */
:root {
    --cockfighting-bg-color: #08160F;
    --cockfighting-card-bg: #11271B;
    --cockfighting-text-main: #F2FFF6;
    --cockfighting-text-secondary: #A7D9B8;
    --cockfighting-border-color: #2E7A4E;
    --cockfighting-glow-color: #57E38D;
    --cockfighting-gold-color: #F2C14E;
    --cockfighting-divider-color: #1E3A2A;
    --cockfighting-deep-green: #0A4B2C;
    --cockfighting-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

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

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for aesthetic */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-cockfighting__hero-content {
    position: relative;
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
    z-index: 1;
    margin-top: -100px; /* Pull content slightly over image for visual flow */
    background: rgba(8, 22, 15, 0.85); /* Semi-transparent background for readability */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--cockfighting-border-color);
}

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

.page-cockfighting__description {
    font-size: 1.2rem;
    color: var(--cockfighting-text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__section-title {
    font-size: 2.5rem;
    color: var(--cockfighting-gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.5);
}

.page-cockfighting__introduction-section,
.page-cockfighting__benefits-section,
.page-cockfighting__types-section,
.page-cockfighting__guide-section,
.page-cockfighting__strategies-section,
.page-cockfighting__promotions-section,
.page-cockfighting__safety-support-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
    padding: 80px 0;
    text-align: center;
}

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

.page-cockfighting__text-block {
    font-size: 1.1rem;
    color: var(--cockfighting-text-main);
    margin-bottom: 20px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__text-link {
    color: var(--cockfighting-gold-color);
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__text-link:hover {
    text-decoration: underline;
    color: var(--cockfighting-glow-color);
}

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

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

.page-cockfighting__card,
.page-cockfighting__promo-card,
.page-cockfighting__step-card {
    background-color: var(--cockfighting-card-bg);
    border: 1px solid var(--cockfighting-border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__card:hover,
.page-cockfighting__promo-card:hover,
.page-cockfighting__step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__card-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

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

.page-cockfighting__card-text {
    font-size: 1rem;
    color: var(--cockfighting-text-secondary);
    text-align: justify;
}

.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 900px;
}

.page-cockfighting__list-item {
    background-color: var(--cockfighting-card-bg);
    border: 1px solid var(--cockfighting-border-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    text-align: left;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__list-item p {
    font-size: 1rem;
    color: var(--cockfighting-text-main);
}

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

.page-cockfighting__step-card {
    padding: 25px;
}

.page-cockfighting__step-title {
    font-size: 1.6rem;
    color: var(--cockfighting-gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__step-card p {
    font-size: 1rem;
    color: var(--cockfighting-text-secondary);
}

.page-cockfighting__feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
    background-color: var(--cockfighting-card-bg);
    border: 1px solid var(--cockfighting-border-color);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__feature-icon {
    width: 200px; /* Minimum 200px */
    height: 200px; /* Minimum 200px */
    object-fit: contain;
    margin-bottom: 20px;
}

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

.page-cockfighting__feature-text {
    font-size: 1rem;
    color: var(--cockfighting-text-secondary);
}

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

.page-cockfighting__faq-item {
    background-color: var(--cockfighting-card-bg);
    border: 1px solid var(--cockfighting-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: left;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--cockfighting-text-main);
    font-weight: bold;
    background-color: var(--cockfighting-deep-green);
    border-bottom: 1px solid var(--cockfighting-divider-color);
}

.page-cockfighting__faq-question:hover {
    background-color: var(--cockfighting-border-color);
}

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

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

.page-cockfighting__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    color: var(--cockfighting-text-secondary);
    background-color: var(--cockfighting-card-bg);
    text-align: justify;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 15px 10px;
    text-align: center;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-cockfighting__btn-primary,
.page-cockfighting__cta-button {
    background: var(--cockfighting-btn-gradient);
    color: var(--cockfighting-text-main);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__btn-primary:hover,
.page-cockfighting__cta-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--cockfighting-glow-color);
    border: 2px solid var(--cockfighting-glow-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--cockfighting-glow-color);
    color: var(--cockfighting-bg-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-cockfighting__section-title {
        font-size: 2rem;
    }
    .page-cockfighting__hero-content {
        margin-top: -80px;
    }
    .page-cockfighting__cards-grid,
    .page-cockfighting__promo-grid,
    .page-cockfighting__features-grid,
    .page-cockfighting__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding: 40px 0;
        padding-top: 10px !important; /* body handles header offset */
    }
    .page-cockfighting__hero-content {
        margin-top: -60px;
        padding: 30px 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-cockfighting__description {
        font-size: 1rem;
    }
    .page-cockfighting__section-title {
        font-size: 1.8rem;
    }
    .page-cockfighting__introduction-section,
    .page-cockfighting__benefits-section,
    .page-cockfighting__types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__strategies-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__safety-support-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding: 60px 0;
    }
    .page-cockfighting__text-block,
    .page-cockfighting__card-text,
    .page-cockfighting__list-item p,
    .page-cockfighting__step-card p,
    .page-cockfighting__feature-text,
    .page-cockfighting__faq-answer {
        font-size: 0.95rem;
    }
    .page-cockfighting__card-title,
    .page-cockfighting__list-title,
    .page-cockfighting__step-title,
    .page-cockfighting__feature-title {
        font-size: 1.3rem;
    }
    .page-cockfighting__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-toggle {
        font-size: 1.5rem;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        margin: 10px 0 !important;
        font-size: 1rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    /* Mobile container responsiveness */
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__hero-content,
    .page-cockfighting__promo-card,
    .page-cockfighting__step-card,
    .page-cockfighting__feature-item,
    .page-cockfighting__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Ensure button groups wrap on mobile */
    .page-cockfighting__cta-buttons {
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-content {
        margin-top: -40px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }
    .page-cockfighting__section-title {
        font-size: 1.6rem;
    }
}