/* style/cockfighting.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

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

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 20px;
    box-sizing: border-box;
    margin-top: 40px; /* Separates content from image */
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

.page-cockfighting__description {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--text-main);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__cta-button--small {
    padding: 10px 20px;
    font-size: 1rem;
}

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

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

.page-cockfighting__section-title {
    font-size: 2.5rem;
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-cockfighting__section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

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

.page-cockfighting__intro-section {
    background-color: var(--background-color);
}

.page-cockfighting__content-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    gap: 30px;
}

.page-cockfighting__content-block p {
    font-size: 1.05rem;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto;
}

.page-cockfighting__image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    margin: 20px 0;
    max-width: 800px;
}

.page-cockfighting__image--right {
    float: none; /* Reset float for mobile */
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-cockfighting__link:hover {
    color: var(--glow-color);
    text-decoration: underline;
}

.page-cockfighting__types-section {
    background-color: var(--card-bg);
}

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

.page-cockfighting__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-cockfighting__card-image {
    width: 100%;
    max-width: 300px; /* Ensure images don't stretch too wide in cards */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-cockfighting__card-title {
    font-size: 1.5rem;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 600;
}

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

.page-cockfighting__guide-section {
    background-color: var(--background-color);
}

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

.page-cockfighting__step-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-cockfighting__step-number {
    background-color: var(--primary-color);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-cockfighting__step-title {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__step-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.page-cockfighting__advantages-section {
    background-color: var(--card-bg);
}

.page-cockfighting__grid--advantages {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-cockfighting__advantage-item {
    background-color: var(--deep-green);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__advantage-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    filter: none; /* Ensure no CSS filter is applied */
}

.page-cockfighting__advantage-title {
    font-size: 1.4rem;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 600;
}

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

.page-cockfighting__tips-section {
    background-color: var(--background-color);
}

.page-cockfighting__tips-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.page-cockfighting__tips-list li {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--text-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__tips-list li strong {
    color: var(--primary-color);
}

.page-cockfighting__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__video-link-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    text-decoration: none;
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

.page-cockfighting__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-main);
    font-size: 1.5rem;
    font-weight: bold;
    opacity: 1;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.page-cockfighting__video-link-container:hover .page-cockfighting__video-overlay {
    opacity: 0;
}

.page-cockfighting__video-play-icon {
    font-size: 3rem;
    color: var(--glow-color);
    margin-bottom: 10px;
}

.page-cockfighting__video-cta {
    font-size: 1.2rem;
    color: var(--text-main);
}

.page-cockfighting__faq-section {
    background-color: var(--deep-green);
}

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

.page-cockfighting__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--card-bg);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-question:hover {
    background-color: var(--divider-color);
}

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-left: 15px;
}

.page-cockfighting__faq-answer {
    padding: 0 20px 15px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    content: '−';
}

.page-cockfighting__cta-final-section {
    background-color: var(--background-color);
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        margin-top: 20px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-cockfighting__section-title {
        font-size: 2rem;
    }
    .page-cockfighting__grid, .page-cockfighting__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting__hero-section {
        padding-bottom: 40px;
    }
    .page-cockfighting__hero-content {
        padding: 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-cockfighting__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .page-cockfighting__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .page-cockfighting__section {
        padding: 40px 15px;
    }
    .page-cockfighting__section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    .page-cockfighting__section-subtitle {
        font-size: 1.05rem;
        margin-bottom: 30px;
    }
    .page-cockfighting__content-block p {
        font-size: 0.95rem;
    }
    .page-cockfighting__grid, .page-cockfighting__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__card, .page-cockfighting__step-card, .page-cockfighting__advantage-item {
        padding: 20px;
    }
    .page-cockfighting__card-title, .page-cockfighting__step-title, .page-cockfighting__advantage-title {
        font-size: 1.3rem;
    }
    .page-cockfighting__card-description, .page-cockfighting__step-description, .page-cockfighting__advantage-description {
        font-size: 0.9rem;
    }
    .page-cockfighting__tips-list {
        margin-top: 20px;
    }
    .page-cockfighting__tips-list li {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    .page-cockfighting__faq-question {
        font-size: 1rem;
        padding: 12px 15px;
    }
    .page-cockfighting__faq-answer {
        font-size: 0.95rem;
        padding: 0 15px 12px;
    }
    .page-cockfighting__cta-final-section {
        padding: 50px 15px;
    }

    /* Image responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-cockfighting__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    /* Video responsiveness */
    .page-cockfighting video,
    .page-cockfighting__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }

    /* Button responsiveness */
    .page-cockfighting__cta-button,
    .page-cockfighting__btn-primary,
    .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;
    }
    .page-cockfighting__cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-wrap: wrap !important;
      gap: 10px;
    }
    .page-cockfighting__cta-buttons {
      display: flex;
      flex-direction: column;
    }
}

@media (min-width: 769px) {
    .page-cockfighting__content-block {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    .page-cockfighting__content-block p {
        width: calc(50% - 15px);
        margin: 0;
    }
    .page-cockfighting__image--right {
        width: calc(50% - 15px);
        float: right;
        margin-left: 30px;
        margin-bottom: 0;
    }
}