/* style/cockfighting.css */

/* Variables */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1A1A1A; /* Dark Black */
    --accent-color: #CC0000; /* Red for emphasis */
    --text-light: #F0F0F0;
    --text-dark: #333333;
    --background-light: #F5F5F5;
    --background-dark: #222222;
    --border-color: #444444;
}

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

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

/* Headings */
.page-cockfighting h1,
.page-cockfighting h2,
.page-cockfighting h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-cockfighting h1 {
    font-size: 3.2em;
    text-align: center;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting h2 {
    font-size: 2.5em;
    text-align: center;
    color: var(--primary-color);
    margin-top: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-cockfighting h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.page-cockfighting h3 {
    font-size: 1.8em;
    color: var(--text-light);
    margin-top: 30px;
}

/* Paragraphs and Lists */
.page-cockfighting p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.page-cockfighting ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-cockfighting ul li {
    margin-bottom: 8px;
}

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

/* Buttons */
.page-cockfighting .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting .cta-button:hover {
    background: var(--accent-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-cockfighting .small-cta-button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-cockfighting .small-cta-button:hover {
    background: var(--accent-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.page-cockfighting .text-center {
    text-align: center;
}

/* Sections */
.page-cockfighting section {
    padding: 60px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

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

/* Hero Section */
.page-cockfighting .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background-color: var(--background-dark); /* Fallback */
}

.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-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-cockfighting .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 20px;
}

.page-cockfighting .hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-cockfighting .hero-content p {
    font-size: 1.3em;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* About Cockfighting Section (feature grid) */
.page-cockfighting .about-cockfighting-section {
    background-color: var(--background-dark);
}

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

.page-cockfighting .feature-item {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting .feature-item img {
    width: 100%; /* Ensure images take full width of their container */
    max-width: 250px; /* Max width for feature images */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    display: block; /* Remove extra space below image */
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting .feature-item h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-cockfighting .feature-item p {
    color: var(--text-light);
}

/* Registration Guide Section */
.page-cockfighting .registration-guide-section {
    background-color: var(--background-dark);
}

.page-cockfighting .step-by-step-guide {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting .guide-item {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    flex: 1 1 calc(33% - 40px); /* Adjust for 3 columns on larger screens */
    min-width: 280px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.page-cockfighting .guide-item .step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    margin: -60px auto 20px auto; /* Pull number up */
    border: 5px solid var(--background-dark);
    box-shadow: 0 0 0 5px var(--primary-color);
}

.page-cockfighting .guide-item h3 {
    color: var(--primary-color);
    margin-top: 15px;
    font-size: 1.6em;
}

/* Types of Cockfighting Section */
.page-cockfighting .types-of-cockfighting-section {
    background-color: var(--background-dark);
}

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

.page-cockfighting .card {
    background-color: var(--secondary-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    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.4);
}

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

.page-cockfighting .card h3 {
    color: var(--primary-color);
    font-size: 1.6em;
    margin-bottom: 10px;
}

.page-cockfighting .card p {
    color: var(--text-light);
}

/* Tips and Strategies Section */
.page-cockfighting .tips-strategies-section {
    background-color: var(--background-dark);
}

/* Promotions Section */
.page-cockfighting .promotions-section {
    background-color: var(--background-dark);
}

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

.page-cockfighting .promo-item {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting .promo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting .promo-item img {
    width: 100%;
    max-width: 200px; /* Max width for promo images */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting .promo-item h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-cockfighting .promo-item p {
    color: var(--text-light);
}

/* Customer Support Section */
.page-cockfighting .customer-support-section {
    background-color: var(--background-dark);
}

.page-cockfighting .support-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-cockfighting .channel-item {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting .channel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting .channel-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}

.page-cockfighting .channel-item h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-cockfighting .channel-item p {
    color: var(--text-light);
}

.page-cockfighting .support-note {
    text-align: center;
    margin-top: 30px;
    font-style: italic;
    color: var(--primary-color);
}

/* FAQ Section */
.page-cockfighting .faq-section {
    background-color: var(--background-dark);
}

.page-cockfighting .faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-cockfighting .faq-question:hover {
    background: #333333; /* Slightly lighter dark */
}

.page-cockfighting .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

.page-cockfighting .faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    line-height: 1; /* Ensure proper vertical alignment */
}

.page-cockfighting .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out; /* Adjusted transition for smoother effect */
    padding: 0 20px; /* Keep horizontal padding */
    background: #2A2A2A; /* Slightly lighter dark for answer background */
    color: var(--text-light);
}

.page-cockfighting .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 20px; /* Apply full padding when active */
    border-radius: 0 0 5px 5px;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.page-cockfighting .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--accent-color); /* Change color when active */
}

/* Conclusion Section */
.page-cockfighting .conclusion-section {
    background-color: var(--background-dark);
    padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting h1 {
        font-size: 2.8em;
    }
    .page-cockfighting h2 {
        font-size: 2em;
    }
    .page-cockfighting h3 {
        font-size: 1.5em;
    }
    .page-cockfighting .hero-content p {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting .container {
        padding: 0 15px;
    }
    .page-cockfighting h1 {
        font-size: 2.2em;
    }
    .page-cockfighting h2 {
        font-size: 1.8em;
    }
    .page-cockfighting h3 {
        font-size: 1.3em;
    }
    .page-cockfighting .hero-section {
        padding: 60px 15px;
    }
    .page-cockfighting .hero-image img {
        border-radius: 8px;
    }
    .page-cockfighting .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-cockfighting .feature-grid,
    .page-cockfighting .type-cards,
    .page-cockfighting .promo-grid,
    .page-cockfighting .support-channels {
        grid-template-columns: 1fr;
    }
    .page-cockfighting .guide-item {
        flex: 1 1 100%;
    }
    .page-cockfighting .guide-item .step-number {
        margin-top: -40px;
    }
    .page-cockfighting .faq-question {
        padding: 12px 15px;
    }
    .page-cockfighting .faq-question h3 {
        font-size: 1.1em;
    }
    .page-cockfighting .faq-toggle {
        font-size: 1.5em;
    }
    .page-cockfighting .faq-answer {
        padding: 0 15px;
    }
    .page-cockfighting .faq-item.active .faq-answer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting h1 {
        font-size: 1.8em;
    }
    .page-cockfighting h2 {
        font-size: 1.6em;
    }
    .page-cockfighting .hero-content p {
        font-size: 1em;
    }
    .page-cockfighting .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
}

/* Ensure images maintain original colors - NO FILTER */
.page-cockfighting img {
    filter: none !important; /* Explicitly prevent any filter from applying */
}