/* style/cockfighting.css */

/* Variables */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --accent-color-login: #EA7C07;
    --background-light: #f8f8f8;
    --background-dark: #1a1a1a; /* Assuming a dark background for dark sections for better contrast */
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: var(--background-light);
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), #1e88e5); /* Gradient with brand color */
    color: var(--text-light);
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    position: relative;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 15px;
    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: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background-color: var(--accent-color-login); /* Login color for primary CTA */
    color: var(--text-light);
    border: 2px solid var(--accent-color-login);
    box-shadow: 0 4px 15px rgba(234, 124, 7, 0.4);
}

.page-cockfighting__btn-primary:hover {
    background-color: #d16e06;
    border-color: #d16e06;
    transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.page-cockfighting__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* General Section Styles */
.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

.page-cockfighting__light-bg {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-cockfighting__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-cockfighting__dark-bg .page-cockfighting__section-title,
.page-cockfighting__dark-bg p,
.page-cockfighting__dark-bg li,
.page-cockfighting__dark-bg a {
    color: var(--text-light);
}

.page-cockfighting__dark-bg a {
    text-decoration: underline;
}

.page-cockfighting__dark-bg a:hover {
    color: #f0f0f0;
}

.page-cockfighting__introduction-section,
.page-cockfighting__types-section,
.page-cockfighting__registration-guide,
.page-cockfighting__betting-guide,
.page-cockfighting__promotions-section,
.page-cockfighting__benefits-section,
.page-cockfighting__faq-section,
.page-cockfighting__call-to-action {
    padding: 80px 0;
}

.page-cockfighting__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.page-cockfighting__list {
    list-style: disc inside;
    margin: 20px 0 20px 20px;
    padding: 0;
}

.page-cockfighting__list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.page-cockfighting__steps-list {
    list-style: decimal inside;
    margin: 20px 0 20px 20px;
    padding: 0;
}

.page-cockfighting__steps-list li {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 40px;
}

.page-cockfighting__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__faq-item[open] {
    background-color: #f0f8ff; /* Light background when open */
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--primary-color);
    list-style: none;
    position: relative;
}

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

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

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

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

.page-cockfighting__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1rem;
    color: var(--text-dark);
}

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

/* Call to Action Section */
.page-cockfighting__call-to-action {
    text-align: center;
    background: linear-gradient(90deg, #26A9E0, #1e88e5);
    color: var(--text-light);
    padding: 60px 20px;
}

.page-cockfighting__call-to-action .page-cockfighting__section-title {
    color: var(--text-light);
}

.page-cockfighting__call-to-action .page-cockfighting__description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-section {
        padding: 40px 15px;
    }
    .page-cockfighting__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-cockfighting__description {
        font-size: 1.05rem;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    }
    .page-cockfighting__introduction-section,
    .page-cockfighting__types-section,
    .page-cockfighting__registration-guide,
    .page-cockfighting__betting-guide,
    .page-cockfighting__promotions-section,
    .page-cockfighting__benefits-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__call-to-action {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting__container {
        padding: 0 15px;
    }
    .page-cockfighting__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-cockfighting__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 20px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        text-align: center;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
        margin-bottom: 20px;
    }

    .page-cockfighting__introduction-section,
    .page-cockfighting__types-section,
    .page-cockfighting__registration-guide,
    .page-cockfighting__betting-guide,
    .page-cockfighting__promotions-section,
    .page-cockfighting__benefits-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__call-to-action {
        padding: 40px 0;
    }

    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 20px auto !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__faq-question {
        font-size: 1rem;
        padding: 15px;
    }

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

    .page-cockfighting__call-to-action {
        padding: 40px 15px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-section {
        padding: 20px 10px;
        padding-top: 10px !important;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }
    .page-cockfighting__description {
        font-size: 0.95rem;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        font-size: 0.95rem;
        padding: 10px 15px;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.2rem, 6vw, 1.8rem);
    }
    .page-cockfighting__list,
    .page-cockfighting__steps-list {
        margin-left: 10px;
    }
    .page-cockfighting__list li,
    .page-cockfighting__steps-list li {
        font-size: 0.95rem;
    }
    .page-cockfighting__faq-question {
        font-size: 0.95rem;
    }
    .page-cockfighting__faq-answer {
        font-size: 0.9rem;
    }
}