/* style/cockfighting.css */

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

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--color-text-main); /* Default text color for the page content */
    background-color: var(--color-background); /* Page background, assuming body has var(--background-color) for overall site */
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    padding: 20px; /* Small decorative padding, body handles --header-offset */
    padding-top: 10px; /* Specific small top padding for hero */
    text-align: center;
    overflow: hidden;
    background-color: var(--color-deep-green); /* Fallback/base for hero */
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for the image container */
    margin-bottom: 20px; /* Space between image and content */
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__hero-content {
    max-width: 900px;
    padding: 0 20px;
    position: relative;
    z-index: 1; /* Ensure content is above any background elements */
    color: var(--color-text-main);
}

.page-cockfighting__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-cockfighting__description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--color-text-secondary);
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; /* Crucial for button responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

.page-cockfighting__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-cockfighting__btn-secondary {
    background: #ffffff;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.page-cockfighting__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: var(--color-primary);
    color: #ffffff;
}

/* General Section Styling */
.page-cockfighting__section {
    padding: 60px 20px;
    margin: 0 auto;
    background-color: var(--color-background); /* Default section background */
}

.page-cockfighting__dark-section {
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
}

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

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
}

.page-cockfighting__text-block {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--color-text-secondary);
}

.page-cockfighting__image-content-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__content-image {
    flex: 1 1 45%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-cockfighting__image-text {
    flex: 1 1 45%;
    min-width: 300px;
}

.page-cockfighting__sub-title {
    font-size: 1.8rem;
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: 600;
}

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

.page-cockfighting__list li {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: var(--color-text-secondary);
}

.page-cockfighting__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.page-cockfighting__list-highlight {
    color: var(--color-text-main);
    font-weight: 600;
}

.page-cockfighting__btn-text {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 15px;
}

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

.page-cockfighting__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Grid Cards for Types Section */
.page-cockfighting__grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__card {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
    display: flex;
    flex-direction: column;
    color: var(--color-text-secondary);
}

.page-cockfighting__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

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

.page-cockfighting__card-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow text to grow */
}

/* Guide Section */
.page-cockfighting__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__guide-card {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: var(--color-text-secondary);
}

.page-cockfighting__guide-title {
    font-size: 1.6rem;
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-cockfighting__guide-text {
    font-size: 1rem;
    line-height: 1.6;
}

/* Promotions Section */
.page-cockfighting__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__promo-card {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
    display: flex;
    flex-direction: column;
    color: var(--color-text-secondary);
}