/* style/cockfighting.css */

:root {
    --primary-color: #0A192F;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-light: #f8f8f8;
    --background-dark: #0A192F;
    --card-bg-light: #ffffff;
    --card-bg-dark: rgba(255, 255, 255, 0.1);
    --border-color: #e0e0e0;
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default for light background sections */
    background-color: var(--background-light);
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-cockfighting__section-title {
    font-size: 38px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-cockfighting__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    color: var(--text-dark);
    text-align: justify;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 80px 20px;
    background-color: var(--background-dark);
    color: var(--text-light);
    overflow: hidden;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 20px;
}

.page-cockfighting__main-title {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--secondary-color);
}

.page-cockfighting__description {
    font-size: 20px;
    margin-bottom: 40px;
    line-height: 1.5;
    color: var(--text-light);
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 16px 45px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    word-wrap: break-word;
}

.page-cockfighting__cta-button:hover {
    background: #e6c200; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__cta-button--secondary {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    margin-left: 20px;
}

.page-cockfighting__cta-button--secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.page-cockfighting__cta-button--centered {
    display: block;
    margin: 40px auto 20px auto;
    max-width: 350px; /* Limit width for centered buttons */
}

.page-cockfighting__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Overlay to make text readable */
    display: block;
}

/* General Section Styles */
.page-cockfighting__dark-bg {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-cockfighting__light-bg {
    background-color: var(--background-light);
    color: var(--text-dark);
}

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

.page-cockfighting__card {
    background-color: var(--card-bg-light);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-cockfighting__dark-bg .page-cockfighting__card {
    background-color: var(--card-bg-dark);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-cockfighting__card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-cockfighting__dark-bg .page-cockfighting__card-title {
    color: var(--secondary-color);
}

.page-cockfighting__card-text {
    font-size: 16px;
    line-height: 1.7;
}

.page-cockfighting__card--gold-border {
    border: 2px solid var(--secondary-color);
}

/* Lists */
.page-cockfighting__steps-list,
.page-cockfighting__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-cockfighting__list-item {
    background-color: var(--card-bg-light);
    padding: 25px 30px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--secondary-color);
}

.page-cockfighting__dark-bg .page-cockfighting__list-item {
    background-color: var(--card-bg-dark);
    color: var(--text-light);
    border-left-color: var(--secondary-color);
}

.page-cockfighting__list-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-cockfighting__dark-bg .page-cockfighting__list-title {
    color: var(--secondary-color);
}

.page-cockfighting__list-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
}

.page-cockfighting__dark-bg .page-cockfighting__list-item p {
    color: var(--text-light);
}

.page-cockfighting__list-item a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-cockfighting__dark-bg .page-cockfighting__list-item a {
    color: var(--secondary-color);
}

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

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-section {
        min-height: 500px;
        padding: 60px 20px;
    }
    .page-cockfighting__main-title {
        font-size: 44px;
    }
    .page-cockfighting__description {
        font-size: 18px;
    }
    .page-cockfighting__section-title {
        font-size: 32px;
    }
    .page-cockfighting__card-title {
        font-size: 22px;
    }
    .page-cockfighting__list-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-cockfighting__hero-section {
        flex-direction: column;
        text-align: center;
        min-height: 450px;
        padding: 40px 15px;
    }
    .page-cockfighting__hero-content {
        margin: 0;
        max-width: 100%;
    }
    .page-cockfighting__main-title {
        font-size: 36px;
        margin-bottom: 15px;
    }
    .page-cockfighting__description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-cockfighting__cta-button {
        padding: 14px 30px;
        font-size: 18px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0 !important; /* Reset margin for secondary button */
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }
    .page-cockfighting__container {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-cockfighting__text-block {
        font-size: 16px;
    }
    .page-cockfighting__grid-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__card {
        padding: 25px;
    }
    .page-cockfighting__card-title {
        font-size: 20px;
    }
    .page-cockfighting__list-item {
        padding: 20px 25px;
    }
    .page-cockfighting__list-title {
        font-size: 18px;
    }
    .page-cockfighting__list-item p {
        font-size: 15px;
    }
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        display: block !important;
    }
    .page-cockfighting__hero-image-wrapper {
        height: 100%; /* Adjust for better mobile fit */
    }
    .page-cockfighting__image-content {
        margin: 30px auto;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: 30px;
    }
    .page-cockfighting__description {
        font-size: 15px;
    }
    .page-cockfighting__cta-button {
        font-size: 16px;
        padding: 12px 25px;
    }
    .page-cockfighting__section-title {
        font-size: 24px;
    }
    .page-cockfighting__card-title {
        font-size: 18px;
    }
    .page-cockfighting__list-title {
        font-size: 17px;
    }
}