/* style/cockfighting.css */

:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f4f7f6;
    --background-dark: #1a1a2e;
    --border-color: #e0e0e0;
}

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

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

/* 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: 60px 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
    overflow: hidden;
}

.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;
    z-index: 1;
}

.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: 8px;
    object-fit: cover;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting .hero-content h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-cockfighting .cta-button:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting .secondary-button {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-cockfighting .secondary-button:hover {
    background: #071c4a;
    border-color: #e6c200;
}

.page-cockfighting .small-button {
    padding: 10px 25px;
    font-size: 0.9em;
    margin-top: 15px;
}

/* General Section Styling */
.page-cockfighting section {
    padding: 60px 0;
    background-color: var(--background-light);
}

.page-cockfighting section:nth-of-type(even) {
    background-color: #ffffff;
}

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

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

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

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

.page-cockfighting p {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-cockfighting .image-wrapper {
    text-align: center;
    margin: 30px 0;
}

.page-cockfighting .image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Section Intro */
.page-cockfighting .section-intro p {
    font-size: 1.1em;
    text-align: justify;
}

/* Why Hi88 Section */
.page-cockfighting .section-why-hi88 .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.page-cockfighting .section-why-hi88 .feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-cockfighting .section-why-hi88 .feature-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
}

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

.page-cockfighting .section-why-hi88 .feature-item p {
    font-size: 0.95em;
    color: #555555;
}

/* Game Types Section */
.page-cockfighting .section-game-types {
    background-color: var(--background-light);
}

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

.page-cockfighting .section-game-types .game-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting .section-game-types .game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-cockfighting .section-game-types .game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-cockfighting .section-game-types .game-card h3 {
    padding: 20px 20px 0;
    color: var(--primary-color);
    font-size: 1.5em;
}

.page-cockfighting .section-game-types .game-card p {
    padding: 0 20px 20px;
    font-size: 0.95em;
    color: #555555;
}

/* Guide Section */
.page-cockfighting .section-guide .guide-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

.page-cockfighting .section-guide .step-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-cockfighting .section-guide .step-number {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-cockfighting .section-guide .step-item h3 {
    font-size: 1.7em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-cockfighting .section-guide .step-item p {
    font-size: 1em;
    color: #555555;
}

.page-cockfighting .section-guide .step-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Tips Section */
.page-cockfighting .section-tips ul {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-cockfighting .section-tips ul li {
    background-color: #ffffff;
    margin-bottom: 15px;
    padding: 20px;
    border-left: 5px solid var(--secondary-color);
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1.05em;
    color: var(--text-dark);
}

.page-cockfighting .section-tips ul li strong {
    color: var(--primary-color);
}

/* Notes Section */
.page-cockfighting .section-notes .notes-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting .section-notes .note-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-cockfighting .section-notes .note-item h4 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-cockfighting .section-notes .note-item p {
    font-size: 0.95em;
    color: #555555;
}

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

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

.page-cockfighting .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
}

.page-cockfighting .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-cockfighting .faq-question:hover {
    background: #f5f5f5;
}

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

.page-cockfighting .faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.page-cockfighting .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.page-cockfighting .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #f9f9f9;
    color: #555555;
}

.page-cockfighting .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 15px 25px;
    border-top: 1px solid var(--border-color);
}

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

/* Conclusion Section */
.page-cockfighting .section-conclusion {
    text-align: center;
    padding-bottom: 80px;
}

.page-cockfighting .section-conclusion p {
    font-size: 1.1em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting .section-conclusion .primary-button {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-cockfighting .section-conclusion .primary-button:hover {
    background: #071c4a;
    border-color: #e6c200;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-cockfighting .hero-content h1 {
        font-size: 2.8em;
    }

    .page-cockfighting .hero-content p {
        font-size: 1.1em;
    }

    .page-cockfighting h2 {
        font-size: 2em;
    }

    .page-cockfighting h3 {
        font-size: 1.5em;
    }

    .page-cockfighting .section-why-hi88 .features-grid,
    .page-cockfighting .section-game-types .game-type-cards,
    .page-cockfighting .section-notes .notes-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-cockfighting .hero-section {
        padding: 40px 15px;
    }
    
    .page-cockfighting .hero-image img {
        border-radius: 4px;
    }

    .page-cockfighting .hero-content h1 {
        font-size: 2.2em;
    }

    .page-cockfighting .hero-content p {
        font-size: 1em;
    }

    .page-cockfighting .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }

    .page-cockfighting section {
        padding: 40px 0;
    }

    .page-cockfighting h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-cockfighting h3 {
        font-size: 1.3em;
    }

    .page-cockfighting .section-why-hi88 .features-grid,
    .page-cockfighting .section-game-types .game-type-cards,
    .page-cockfighting .section-notes .notes-list {
        grid-template-columns: 1fr;
    }

    .page-cockfighting .section-guide .step-item {
        padding: 25px;
    }

    .page-cockfighting .faq-question {
        padding: 15px 20px;
    }

    .page-cockfighting .faq-question h3 {
        font-size: 1.1em;
    }

    .page-cockfighting .faq-toggle {
        font-size: 1.5em;
    }

    .page-cockfighting .faq-answer {
        padding: 0 20px;
    }

    .page-cockfighting .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting .hero-content h1 {
        font-size: 1.8em;
    }

    .page-cockfighting .hero-content p {
        font-size: 0.9em;
    }

    .page-cockfighting h2 {
        font-size: 1.6em;
    }

    .page-cockfighting .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }

    .page-cockfighting .section-why-hi88 .feature-item img {
        width: 100px;
        height: 100px;
    }
}