/* style/cockfighting.css */

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

/* Base styles for the page */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--cockfighting-text-main); /* Default text color for the page */
    background-color: var(--cockfighting-background); /* Custom background for page content */
}

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

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

.page-cockfighting__dark-section {
    background-color: var(--cockfighting-background);
    color: var(--cockfighting-text-main);
}

.page-cockfighting__section-title {
    font-size: 2.8em;
    color: var(--cockfighting-gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-cockfighting__sub-title {
    font-size: 1.8em;
    color: var(--cockfighting-text-main);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

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

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

.page-cockfighting__list-item {
    background-color: var(--cockfighting-card-bg);
    border-left: 4px solid var(--cockfighting-deep-green);
    margin-bottom: 10px;
    padding: 15px 20px;
    color: var(--cockfighting-text-main);
    font-size: 1.05em;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
}

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

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

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

.page-cockfighting__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
    color: var(--cockfighting-gold);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

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

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

.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;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-cockfighting__btn-primary {
    background: var(--cockfighting-button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
    opacity: 0.9;
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--cockfighting-gold);
    border: 2px solid var(--cockfighting-deep-green);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--cockfighting-deep-green);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__mt-20 {
    margin-top: 20px;
}

/* Grid and Flex Layouts */
.page-cockfighting__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-cockfighting__flex-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    text-align: left;
}

.page-cockfighting__text-block-wrapper,
.page-cockfighting__image-wrapper {
    flex: 1;
    min-width: 300px;
}

.page-cockfighting__image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-cockfighting__image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--cockfighting-border);
    object-fit: cover;
    object-position: center;
}

/* Card Styles */
.page-cockfighting__card {
    background-color: var(--cockfighting-card-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--cockfighting-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--cockfighting-text-secondary);
}

.page-cockfighting__card-image {
    width: 100%;
    max-width: 400px; /* Ensure images in cards are not too small */
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    object-position: center;
}

.page-cockfighting__card-title {
    font-size: 1.4em;
    color: var(--cockfighting-text-main);
    margin-bottom: 10px;
    font-weight: 700;
}

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

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

.page-cockfighting__faq-item {
    background-color: var(--cockfighting-card-bg);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--cockfighting-border);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    color: var(--cockfighting-text-secondary);
}

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

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

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    transform: rotate(45deg); /* Changes + to x or similar on open */
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: clamp(2.2em, 5vw, 3em);
    }
    .page-cockfighting__section-title {
        font-size: 2.5em;
    }
    .page-cockfighting__hero-content {
        margin-top: -60px;
    }
    .page-cockfighting__grid-layout {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding: 10px 0 40px 0;
    }
    .page-cockfighting__hero-content {
        margin-top: -40px; /* Adjust for smaller screens */
        padding: 30px 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__sub-title {
        font-size: 1.5em;
    }
    .page-cockfighting__text-block,
    .page-cockfighting__list-item,
    .page-cockfighting__card-text,
    .page-cockfighting__faq-answer {
        font-size: 0.95em;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting__flex-content {
        flex-direction: column;
    }
    .page-cockfighting__text-block-wrapper,
    .page-cockfighting__image-wrapper {
        min-width: unset;
        width: 100%;
    }
    .page-cockfighting__section {
        padding: 40px 15px;
    }
    .page-cockfighting__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    .page-cockfighting__video-section {
        padding-top: 10px !important;
    }
    .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,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__sub-title {
        font-size: 1.3em;
    }
    .page-cockfighting__hero-content {
        margin-top: -20px;
        padding: 20px 10px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }
    .page-cockfighting__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 15px 20px;
    }
}