/* 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 {
    font-family: 'Arial', sans-serif;
    color: var(--page-cockfighting-text-main);
    background-color: var(--page-cockfighting-background);
    line-height: 1.6;
}

.page-cockfighting__section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--page-cockfighting-divider);
}

.page-cockfighting__hero-section {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small decorative top padding */
    border-bottom: none;
}

.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;
    margin: 40px auto;
    padding: 0 20px;
}

.page-cockfighting__main-title {
    color: var(--page-cockfighting-gold);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
    text-transform: uppercase;
}

.page-cockfighting__hero-description {
    color: var(--page-cockfighting-text-secondary);
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-cockfighting__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background: var(--page-cockfighting-button-gradient);
    color: var(--page-cockfighting-text-main);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
    transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--page-cockfighting-gold);
    border: 2px solid var(--page-cockfighting-gold);
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--page-cockfighting-gold);
    color: var(--page-cockfighting-background);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
    transform: translateY(-2px);
}

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

.page-cockfighting__container--flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

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

.page-cockfighting__content-column {
    flex: 1;
}

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

.page-cockfighting__section-title {
    color: var(--page-cockfighting-gold);
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-cockfighting__sub-title {
    color: var(--page-cockfighting-text-main);
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
    border-left: 5px solid var(--page-cockfighting-gold);
    padding-left: 15px;
}

.page-cockfighting__text-block {
    color: var(--page-cockfighting-text-secondary);
    margin-bottom: 15px;
}

.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-cockfighting__list-item {
    color: var(--page-cockfighting-text-main);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.page-cockfighting__list-icon {
    color: var(--page-cockfighting-gold);
    font-weight: bold;
    font-size: 1.2em;
    flex-shrink: 0;
}

.page-cockfighting__ordered-list {
    list-style-type: decimal;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-cockfighting__ordered-list .page-cockfighting__list-item {
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: block;
}

.page-cockfighting__image-center {
    text-align: center;
    margin: 40px auto;
}

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

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

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

.page-cockfighting__card-title {
    color: var(--page-cockfighting-gold);
    font-size: 1.4em;
    margin-bottom: 15px;
}

.page-cockfighting__card-text {
    color: var(--page-cockfighting-text-secondary);
    font-size: 0.95em;
}

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

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

.page-cockfighting__btn-primary--center,
.page-cockfighting__btn-secondary--center {
    display: block;
    margin: 40px auto 20px auto;
    max-width: 300px;
}

.page-cockfighting__btn-primary--large {
    max-width: 400px;
    font-size: 1.2em;
    padding: 18px 35px;
}

.page-cockfighting__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    margin: 40px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background-color: var(--page-cockfighting-deep-green);
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-cockfighting__faq-list {
    margin-top: 30px;
}

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    color: var(--page-cockfighting-text-main);
    font-weight: bold;
    font-size: 1.1em;
    background-color: var(--page-cockfighting-deep-green);
    border-bottom: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__faq-question:hover {
    background-color: var(--page-cockfighting-deep-green);
    filter: brightness(1.2);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
    border-bottom: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 30px;
    text-align: center;
    flex-shrink: 0;
    color: var(--page-cockfighting-gold);
}

.page-cockfighting__faq-answer {
    padding: 20px;
    color: var(--page-cockfighting-text-secondary);
    background-color: var(--page-cockfighting-card-bg);
}

/* Details element specific styling */
.page-cockfighting__faq-item summary {
    list-style: none;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 2.8em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__sub-title {
        font-size: 1.5em;
    }
    .page-cockfighting__container--flex {
        flex-direction: column;
    }
    .page-cockfighting__content-column,
    .page-cockfighting__image-column {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__section {
        padding: 40px 15px;
    }
    .page-cockfighting__hero-content {
        margin: 20px auto;
        padding: 0 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2em, 8vw, 2.5em);
        margin-bottom: 15px;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__container {
        padding: 0 15px;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-cockfighting__sub-title {
        font-size: 1.3em;
        margin-top: 25px;
        margin-bottom: 15px;
    }
    .page-cockfighting__text-block {
        font-size: 0.95em;
    }
    .page-cockfighting__list-item {
        font-size: 0.95em;
    }
    .page-cockfighting__card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__card-title {
        font-size: 1.2em;
    }

    /* Mobile image adaptation */
    .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__image-wrapper,
    .page-cockfighting__image-column,
    .page-cockfighting__video-wrapper,
    .page-cockfighting__btn-container,
    .page-cockfighting__cta-buttons {
        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;
    }

    /* Mobile video adaptation */
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__video-wrapper {
        padding-bottom: 56.25% !important; /* Ensure aspect ratio is kept */
        margin-left: -15px !important;
        margin-right: -15px !important;
        width: calc(100% + 30px) !important; /* Adjust for padding in container */
        max-width: calc(100% + 30px) !important;
    }
    .page-cockfighting__video-wrapper .page-cockfighting__video {
        margin: 0 !important;
    }
}