/* style/cockfighting.css */

/* Base styles for the page content */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Inherit from body or shared.css */
}

/* Light background sections */
.page-cockfighting__light-bg {
    background-color: #ffffff;
    color: #333333;
    padding: 60px 0;
}

/* Dark background sections */
.page-cockfighting__dark-section {
    background-color: #017439; /* Primary brand color */
    color: #ffffff;
    padding: 60px 0;
}

/* Container for content width */
.page-cockfighting__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Titles */
.page-cockfighting__section-title {
    font-size: 2.5rem;
    color: inherit; /* Inherit from parent section */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-cockfighting__section-description {
    font-size: 1.1rem;
    color: inherit; /* Inherit from parent section */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Subtitles */
.page-cockfighting__sub-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: inherit; /* Inherit from parent section */
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Buttons */
.page-cockfighting__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding in width */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-cockfighting__btn--primary {
    background-color: #C30808; /* Red for Register/Login */
    color: #FFFF00; /* Yellow text */
    border: 2px solid #C30808;
}

.page-cockfighting__btn--primary:hover {
    background-color: #a80707;
    border-color: #a80707;
    color: #ffffff;
}

.page-cockfighting__btn--secondary {
    background-color: #017439; /* Primary brand color */
    color: #ffffff;
    border: 2px solid #017439;
    margin-left: 15px;
}

.page-cockfighting__btn--secondary:hover {
    background-color: #005f2e;
    border-color: #005f2e;
    color: #FFFF00;
}

.page-cockfighting__btn--link {
    background: none;
    border: none;
    color: #017439; /* Primary brand color for links on light bg */
    padding: 0;
    margin: 20px 0 0 0;
    text-align: left;
    font-size: 1rem;
    display: block;
}

.page-cockfighting__dark-section .page-cockfighting__btn--link {
    color: #FFFF00; /* Yellow for links on dark bg */
}

.page-cockfighting__btn--link:hover {
    text-decoration: underline;
    color: #a80707; /* Red for hover */
}

.page-cockfighting__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-cockfighting__cta-buttons--center {
    justify-content: center;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    box-sizing: border-box;
}

.page-cockfighting__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-cockfighting__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    z-index: 2;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-cockfighting__hero-title {
    font-size: 3.8rem;
    color: #FFFF00; /* Yellow for main title */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.1;
}

.page-cockfighting__hero-description {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Introduction Section */
.page-cockfighting__introduction-section .page-cockfighting__section-title,
.page-cockfighting__introduction-section .page-cockfighting__section-description {
    color: #333333;
}

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

.page-cockfighting__feature-item {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting__feature-title {
    font-size: 1.5rem;
    color: #017439; /* Primary brand color */
    margin-bottom: 10px;
}

.page-cockfighting__feature-text {
    color: #555555;
    font-size: 1rem;
}

/* Types Section */
.page-cockfighting__types-section .page-cockfighting__section-title,
.page-cockfighting__types-section .page-cockfighting__section-description {
    color: #ffffff;
}

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

.page-cockfighting__type-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-cockfighting__type-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.page-cockfighting__type-title {
    font-size: 1.6rem;
    color: #FFFF00; /* Yellow for titles on dark bg */
    padding: 15px 20px 5px;
}

.page-cockfighting__type-text {
    color: #f0f0f0;
    padding: 0 20px 20px;
    font-size: 1rem;
}

/* Data Analysis Section */
.page-cockfighting__data-analysis-section .page-cockfighting__section-title,
.page-cockfighting__data-analysis-section .page-cockfighting__section-description {
    color: #333333;
}
.page-cockfighting__data-analysis-section .page-cockfighting__sub-title {
    color: #017439;
}
.page-cockfighting__data-analysis-section p {
    color: #555555;
}

.page-cockfighting__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 50px;
}

.page-cockfighting__text-block {
    padding-right: 20px;
}

.page-cockfighting__image-block {
    text-align: center;
}

.page-cockfighting__content-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}