/* style/cockfighting.css */

/* Custom Colors */
:root {
    --cockfighting-bg: #08160F; /* Background */
    --cockfighting-card-bg: #11271B; /* Card BG */
    --cockfighting-text-main: #F2FFF6; /* Text Main */
    --cockfighting-text-secondary: #A7D9B8; /* Text Secondary */
    --cockfighting-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    --cockfighting-border: #2E7A4E; /* Border */
    --cockfighting-glow: #57E38D; /* Glow */
    --cockfighting-gold: #F2C14E; /* Gold */
    --cockfighting-divider: #1E3A2A; /* Divider */
    --cockfighting-deep-green: #0A4B2C; /* Deep Green */
}

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

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image/video on top, content below */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    box-sizing: border-box;
    overflow: hidden; /* Prevent content overflow */
}

.page-cockfighting__video-container {
    width: 100%; /* Desktop width */
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: var(--cockfighting-deep-green); /* Placeholder background */
    border-radius: 10px;
}

.page-cockfighting__video-link-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
    z-index: 1;
    text-decoration: none;
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none; /* Allow clicks to pass to the wrapper */
}

.page-cockfighting__hero-content {
    max-width: 800px;
    text-align: center;
    margin-top: 40px;
    padding: 0 20px;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    color: var(--cockfighting-gold); /* Gold color for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); /* Subtle glow */
}

.page-cockfighting__subtitle {
    font-size: 1.2rem;
    color: var(--cockfighting-text-secondary);
    margin-bottom: 30px;
}

.page-cockfighting__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 20px;
    justify-content: center;
    width: 100%; /* Ensure container takes full width for responsive padding */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0 15px; /* Add padding for mobile */
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-cockfighting__btn-primary {
    background: var(--cockfighting-btn-gradient);
    color: var(--cockfighting-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--cockfighting-gold);
    border: 2px solid var(--cockfighting-gold);
    box-shadow: 0 2px 10px rgba(242, 193, 78, 0.3);
}

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

.page-cockfighting__section {
    padding: 80px 0;
    border-bottom: 1px solid var(--cockfighting-divider);
}

.page-cockfighting__section:last-of-type {
    border-bottom: none;
}

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

.page-cockfighting__heading {
    font-size: 2.5rem;
    color: var(--cockfighting-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-cockfighting__sub-heading {
    font-size: 1.8rem;
    color: var(--cockfighting-text-main);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    border-left: 5px solid var(--cockfighting-gold);
    padding-left: 15px;
}

.page-cockfighting__paragraph {
    font-size: 1.1rem;
    color: var(--cockfighting-text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.page-cockfighting__paragraph strong {
    color: var(--cockfighting-text-main);
}

.page-cockfighting__list {
    list-style: disc;
    padding-left: 40px;
    margin-bottom: 20px;
}

.page-cockfighting__list-item {
    font-size: 1.1rem;
    color: var(--cockfighting-text-secondary);
    margin-bottom: 10px;
}

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

.page-cockfighting__image-wrapper {
    margin: 40px 0;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: cover;
    border-radius: 10px;
}

/* FAQ Section */
.page-cockfighting__faq {
    background-color: var(--cockfighting-card-bg); /* Darker background for FAQ */
    padding: 80px 0;
}

.page-cockfighting__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

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

.page-cockfighting__faq-item summary {
    list-style: none; /* Hide default marker */
}

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--cockfighting-text-main);
    cursor: pointer;
    background-color: var(--cockfighting-deep-green);
    transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-qtext {
    flex-grow: 1;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--cockfighting-gold);
}

.page-cockfighting__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1.1rem;
    color: var(--cockfighting-text-secondary);
    border-top: 1px solid var(--cockfighting-divider);
    margin-top: -1px; /* Overlap border */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-cockfighting__heading {
        font-size: 2rem;
    }

    .page-cockfighting__sub-heading {
        font-size: 1.6rem;
    }

    .page-cockfighting__paragraph,
    .page-cockfighting__list-item,
    .page-cockfighting__faq-question,
    .page-cockfighting__faq-answer {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px; /* Mobile base font size */
        line-height: 1.6;
    }

    .page-cockfighting__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    .page-cockfighting__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }

    .page-cockfighting__video-link-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting__hero-content {
        margin-top: 30px;
        padding: 0 15px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-cockfighting__subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px; /* Add padding for mobile */
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-cockfighting__section,
    .page-cockfighting__container,
    .page-cockfighting__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow for sections/containers */
    }

    .page-cockfighting__section {
        padding: 40px 0;
    }

    .page-cockfighting__heading {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-cockfighting__sub-heading {
        font-size: 1.4rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-cockfighting__paragraph,
    .page-cockfighting__list-item {
        font-size: 1rem;
    }

    .page-cockfighting__list {
        padding-left: 25px;
    }

    .page-cockfighting__image {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }

    .page-cockfighting__faq-answer {
        font-size: 1rem;
        padding: 0 20px 15px 20px;
    }
}