/* style/cockfighting.css */
:root {
    --primary-color: #007bff;
    --secondary-color: #28a745;
    --dark-bg-1: #0d0d0d; /* Giả định từ shared.css */
    --light-text-color: #ffffff;
    --dark-text-color: #333333;
    --card-bg-color: #ffffff;
    --border-color: #e0e0e0;
}

.page-cockfighting {
    color: var(--light-text-color); /* Mặc định cho nền tối của body */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Đảm bảo padding-top cho nội dung không bị header cố định che */
.page-cockfighting__hero-banner {
    padding-top: 180px; /* Desktop: Adjust based on fixed header height */
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    color: var(--light-text-color);
}

.page-cockfighting__hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--light-text-color);
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-cockfighting__btn-primary {
    background: var(--secondary-color);
    color: var(--light-text-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-primary:hover {
    background: #218838; /* Darker green */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

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

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

.page-cockfighting__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
}

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

.page-cockfighting__light-bg .page-cockfighting__section-title,
.page-cockfighting__light-bg .page-cockfighting__section-description {
    color: var(--dark-text-color);
}

.page-cockfighting__section-description {
    font-size: 18px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-cockfighting__content-block {
    margin-bottom: 30px;
    font-size: 16px;
}

.page-cockfighting__content-block p {
    margin-bottom: 15px;
}

.page-cockfighting__image-responsive {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.page-cockfighting__image-center {
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__grid-2-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__card {
    background: var(--card-bg-color);
    color: var(--dark-text-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__card-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-cockfighting__card p {
    font-size: 16px;
    line-height: 1.7;
}

.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-cockfighting__list-item {
    background: var(--card-bg-color);
    color: var(--dark-text-color);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid var(--secondary-color);
    border-radius: 5px;
    font-size: 17px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

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

.page-cockfighting__text-highlight {
    font-weight: bold;
    color: var(--secondary-color);
}

/* FAQ Section */
.page-cockfighting__faq {
    padding: 60px 0;
    background: #f1f3f5;
    color: var(--dark-text-color);
}

.page-cockfighting__faq-list {
    margin-top: 40px;
}

.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    background: #f9f9f9;
    color: var(--dark-text-color);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
    border-radius: 0 0 8px 8px;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-cockfighting__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-cockfighting__faq-question:active {
    background: #eeeeee;
}

.page-cockfighting__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--dark-text-color);
}

.page-cockfighting__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(45deg); /* Change + to X-like symbol */
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-cockfighting__hero-title {
        font-size: 40px;
    }
    .page-cockfighting__section-title {
        font-size: 30px;
    }
    .page-cockfighting__grid-3-columns, .page-cockfighting__grid-2-columns {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__card-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-banner {
        padding-top: 160px !important; /* Mobile: Adjust based on fixed header height */
        padding-bottom: 40px;
    }
    .page-cockfighting__section {
        padding: 40px 0;
    }
    .page-cockfighting__hero-title {
        font-size: 32px;
    }
    .page-cockfighting__hero-description {
        font-size: 16px;
    }
    .page-cockfighting__section-title {
        font-size: 26px;
    }
    .page-cockfighting__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-cockfighting__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-cockfighting__card {
        padding: 25px;
    }
    .page-cockfighting__card-title {
        font-size: 20px;
    }
    .page-cockfighting__card p,
    .page-cockfighting__content-block p,
    .page-cockfighting__list-item {
        font-size: 15px;
    }
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-banner {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-cockfighting__faq-question h3 {
        font-size: 16px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-cockfighting__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 15px;
    }
    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 15px !important;
    }
}