/* style/cockfighting.css */

/* Custom Colors */
:root {
    --page-cockfighting-background: #08160F;
    --page-cockfighting-card-bg: #11271B;
    --page-cockfighting-text-main: #F2FFF6;
    --page-cockfighting-text-secondary: #A7D9B8;
    --page-cockfighting-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-cockfighting-border: #2E7A4E;
    --page-cockfighting-glow: #57E38D;
    --page-cockfighting-gold: #F2C14E;
    --page-cockfighting-divider: #1E3A2A;
    --page-cockfighting-deep-green: #0A4B2C;
}

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

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

.page-cockfighting__section-title {
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    font-weight: 700;
    color: var(--page-cockfighting-glow);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-cockfighting__sub-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    color: var(--page-cockfighting-text-main);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-cockfighting__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--page-cockfighting-text-main);
}

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

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

.page-cockfighting__cta-button {
    display: inline-block;
    background: var(--page-cockfighting-button-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    text-align: center;
}

.page-cockfighting__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(87, 227, 141, 0.4);
}

.page-cockfighting__cta-button--large {
    padding: 18px 40px;
    font-size: 1.25rem;
}

.page-cockfighting__card {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--page-cockfighting-text-main);
    transition: transform 0.3s ease;
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
}

.page-cockfighting__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--page-cockfighting-glow);
    margin-bottom: 15px;
}

.page-cockfighting__card-description {
    font-size: 1rem;
    color: var(--page-cockfighting-text-secondary);
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
    background-color: var(--page-cockfighting-deep-green);
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.page-cockfighting__hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--page-cockfighting-glow);
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

.page-cockfighting__hero-description {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--page-cockfighting-text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Intro Section */
.page-cockfighting__intro-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-background);
}

/* Advantages Section */
.page-cockfighting__advantages-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-card-bg);
}

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

/* Guide Section */
.page-cockfighting__guide-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-background);
}

.page-cockfighting__guide-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.page-cockfighting__guide-steps {
    flex: 1;
    min-width: 300px;
}

.page-cockfighting__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.page-cockfighting__step-number {
    background: var(--page-cockfighting-glow);
    color: var(--page-cockfighting-deep-green);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-right: 15px;
}

.page-cockfighting__step-title {
    font-size: 1.3rem;
    color: var(--page-cockfighting-glow);
    margin-top: 0;
    margin-bottom: 5px;
}

.page-cockfighting__step-description {
    font-size: 1rem;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__guide-image-wrapper {
    flex: 1;
    min-width: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__guide-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Halls Section */
.page-cockfighting__halls-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-card-bg);
}

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

.page-cockfighting__hall-card {
    text-align: center;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__hall-card .page-cockfighting__card-title {
    margin-bottom: 20px;
}

.page-cockfighting__hall-card .page-cockfighting__card-description {
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-cockfighting__btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--page-cockfighting-glow);
    border: 2px solid var(--page-cockfighting-glow);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
    text-align: center;
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--page-cockfighting-glow);
    color: var(--page-cockfighting-deep-green);
}

/* Tips Section */
.page-cockfighting__tips-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-background);
}

.page-cockfighting__tips-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.page-cockfighting__tips-image-wrapper {
    flex: 1;
    min-width: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__tips-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-cockfighting__tips-list {
    flex: 2;
    min-width: 400px;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-card-bg);
    text-align: center;
}

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

.page-cockfighting__promo-card {
    text-align: left;
    overflow: hidden;
    padding: 0;
}

.page-cockfighting__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
    padding: 20px 25px 0;
    margin-bottom: 10px;
}

.page-cockfighting__promo-card .page-cockfighting__card-description {
    padding: 0 25px 25px;
}

.page-cockfighting__cta-wrapper {
    margin-top: 40px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-background);
}

.page-cockfighting__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-cockfighting__faq-item {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--page-cockfighting-text-main);
    transition: background-color 0.3s ease;
    list-style: none;
}

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

.page-cockfighting__faq-question:hover {
    background-color: rgba(var(--page-cockfighting-glow), 0.1);
}

.page-cockfighting__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--page-cockfighting-glow);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

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

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

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

/* Conclusion Section */
.page-cockfighting__conclusion-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-card-bg);
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .page-cockfighting__guide-content {
        flex-direction: column;
    }
    .page-cockfighting__guide-image-wrapper {
        min-width: unset;
        width: 100%;
    }
    .page-cockfighting__tips-content {
        flex-direction: column-reverse;
    }
    .page-cockfighting__tips-image-wrapper {
        min-width: unset;
        width: 100%;
    }
    .page-cockfighting__tips-list {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding: 40px 15px;
    }
    .page-cockfighting__main-title {
        font-size: 2.2rem;
    }
    .page-cockfighting__hero-description {
        font-size: 1rem;
    }
    .page-cockfighting__cta-button {
        font-size: 1rem;
        padding: 12px 25px;
    }
    .page-cockfighting__cta-button--large {
        font-size: 1.1rem;
        padding: 15px 30px;
    }

    .page-cockfighting__section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    .page-cockfighting__sub-title {
        font-size: 1.3rem;
    }
    .page-cockfighting__text-block, .page-cockfighting__list-item {
        font-size: 0.95rem;
    }

    /* Mobile image and video responsiveness */
    .page-cockfighting img,
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__guide-image-wrapper,
    .page-cockfighting__tips-image-wrapper,
    .page-cockfighting__promo-card,
    .page-cockfighting__advantages-grid,
    .page-cockfighting__halls-grid,
    .page-cockfighting__promotions-grid,
    .page-cockfighting__faq-list,
    .page-cockfighting__container,
    .page-cockfighting__guide-content,
    .page-cockfighting__tips-content,
    .page-cockfighting__cta-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Buttons mobile adaptation */
    .page-cockfighting__cta-button,
    .page-cockfighting__btn-secondary,
    .page-cockfighting a[class*="button"],
    .page-cockfighting a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 10px; /* Add spacing between stacked buttons */
    }

    .page-cockfighting__cta-button:last-child,
    .page-cockfighting__btn-secondary:last-child {
        margin-bottom: 0;
    }

    /* Flex containers for buttons to stack */
    .page-cockfighting__cta-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px; /* Spacing between buttons */
    }

    .page-cockfighting__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px 15px;
    }
    .page-cockfighting__faq-toggle {
        font-size: 1.5rem;
    }

    .page-cockfighting__intro-section,
    .page-cockfighting__advantages-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__halls-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding: 40px 0;
    }
    .page-cockfighting__promo-image {
      height: 180px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: 1.8rem;
    }
    .page-cockfighting__section-title {
        font-size: 1.6rem;
    }
    .page-cockfighting__card-title {
        font-size: 1.2rem;
    }
    .page-cockfighting__promo-image {
      height: 150px;
    }
}