/* style/cockfighting.css */

:root {
    --primary-color: #0056B3; /* Deep Tech Blue */
    --secondary-color: #FFD700; /* Brilliant Gold */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #0d0d0d; /* Assuming shared.css --dark-bg-1 is dark */
    --border-color: #e0e0e0;
}

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

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 180px 20px 60px; /* Top padding for fixed header */
    background-color: var(--bg-dark); /* Dark background for hero */
    color: var(--text-light);
}

.page-cockfighting__hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-cockfighting__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-cockfighting__hero-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-cockfighting__hero-title {
    font-size: 3.2em;
    font-weight: bold;
    color: var(--text-light);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(45deg, var(--secondary-color), #FFC107);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-cockfighting__cta-button:hover {
    background: linear-gradient(45deg, #FFC107, var(--secondary-color));
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 30px;
    color: inherit;
}

.page-cockfighting__paragraph {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 20px;
    color: inherit;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
    cursor: pointer;
}

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

.page-cockfighting__btn-primary:hover {
    background-color: #004085;
    border-color: #004085;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: #E6B800;
    border-color: #E6B800;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-cockfighting__btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

.page-cockfighting__content-grid:nth-of-type(even) {
    flex-direction: row-reverse;
}

.page-cockfighting__text-block {
    flex: 1;
}

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

.page-cockfighting__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__sub-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    color: inherit;
}

.page-cockfighting__list {
    list-style: disc inside;
    text-align: left;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-cockfighting__list-item {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: inherit;
}

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

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

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

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

.page-cockfighting__card-text {
    font-size: 1em;
    line-height: 1.7;
}

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

.page-cockfighting__type-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__type-card-image {
    max-width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting__type-card-title {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.page-cockfighting__type-card-text {
    font-size: 1em;
    line-height: 1.7;
    color: #e0e0e0;
}

.page-cockfighting__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
}

.page-cockfighting__strategy-item {
    background-color: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.page-cockfighting__strategy-title {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-cockfighting__strategy-text {
    font-size: 1.05em;
    line-height: 1.7;
}

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

.page-cockfighting__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__promo-image {
    max-width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting__promo-title {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.page-cockfighting__promo-text {
    font-size: 1em;
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 20px;
}

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

.page-cockfighting__step-card {
    background-color: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    color: var(--text-dark);
    position: relative;
    padding-top: 70px; /* Space for step number */
}

.page-cockfighting__step-number {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__step-text {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.page-cockfighting__news-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: left;
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-cockfighting__news-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.page-cockfighting__news-content {
    padding: 20px;
}

.page-cockfighting__news-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.page-cockfighting__news-excerpt {
    font-size: 0.95em;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.page-cockfighting__news-date {
    font-size: 0.85em;
    color: #cccccc;
}

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

.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.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 15px;
    opacity: 0;
}

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

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

.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: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
}

.page-cockfighting__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    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: 28px;
    height: 28px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 2.8em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }
    .page-cockfighting__section-title {
        font-size: 2.2em;
    }
    .page-cockfighting__paragraph {
        font-size: 1em;
    }
    .page-cockfighting__sub-title {
        font-size: 1.6em;
    }
    .page-cockfighting__content-grid {
        flex-direction: column;
    }
    .page-cockfighting__content-grid:nth-of-type(even) {
        flex-direction: column;
    }
    .page-cockfighting__image {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding: 140px 15px 40px; /* Mobile top padding for fixed header */
    }
    .page-cockfighting__hero-title {
        font-size: 2em;
    }
    .page-cockfighting__hero-description {
        font-size: 0.95em;
    }
    .page-cockfighting__cta-button {
        padding: 15px 35px;
        font-size: 1em;
    }
    .page-cockfighting__section {
        padding: 40px 15px;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__paragraph {
        font-size: 0.95em;
    }
    .page-cockfighting__sub-title {
        font-size: 1.4em;
    }
    .page-cockfighting__list {
        margin-left: 10px;
    }
    .page-cockfighting__list-item {
        font-size: 0.95em;
    }
    .page-cockfighting__card,
    .page-cockfighting__type-card,
    .page-cockfighting__strategy-item,
    .page-cockfighting__promo-card,
    .page-cockfighting__step-card,
    .page-cockfighting__news-card {
        padding: 20px;
    }
    .page-cockfighting__card-title,
    .page-cockfighting__type-card-title,
    .page-cockfighting__strategy-title,
    .page-cockfighting__promo-title,
    .page-cockfighting__step-title,
    .page-cockfighting__news-title {
        font-size: 1.3em;
    }
    .page-cockfighting__type-card-image,
    .page-cockfighting__promo-image,
    .page-cockfighting__news-image {
        height: 150px;
    }
    .page-cockfishing__faq-question {
        padding: 15px;
    }
    .page-cockfighting__faq-question h3 {
        font-size: 1em;
    }
    .page-cockfighting__faq-toggle {
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-cockfighting__faq-item.active .page-cockfishing__faq-answer {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: 1.8em;
    }
    .page-cockfighting__section-title {
        font-size: 1.5em;
    }
    .page-cockfighting__cta-button {
        padding: 12px 25px;
        font-size: 0.9em;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-outline {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}