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

/* Base styles for the page content, inherits body background from shared.css */
.page-cockfighting {
    font-family: 'Arial', sans-serif; /* Or a more suitable font for Vietnamese */
    color: var(--page-cockfighting-text-main); /* Light text for dark background */
    background-color: var(--page-cockfighting-bg); /* Use specified background color */
    line-height: 1.6;
    font-size: 18px;
}

/* Sections for light background (using page-cockfighting-bg as it's a dark background) */
.page-cockfighting__light-bg {
    background-color: var(--page-cockfighting-bg);
    color: var(--page-cockfighting-text-main);
}

/* Sections for dark background (using page-cockfighting-bg as it's a dark background) */
.page-cockfighting__dark-bg {
    background-color: var(--page-cockfighting-bg);
    color: var(--page-cockfighting-text-main);
}

/* Containers for content within sections */
.page-cockfighting__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

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

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 70vh; /* Limit hero image height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly dim the image to make text pop */
}

.page-cockfighting__hero-content {
    position: relative; /* Not absolute, for upper-image-lower-text layout */
    z-index: 2;
    padding: 20px;
    max-width: 900px;
    margin-top: -100px; /* Pull content up slightly over the image, but not *on* it */
    background-color: transparent; /* Ensure no overlay */
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    color: var(--page-cockfighting-gold-color); /* Gold color for H1 */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    text-align: center;
}

.page-cockfighting__btn-primary {
    background: var(--page-cockfighting-btn-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}