/* 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; /* Body background is handled by shared.css (#000) */
    padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

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

/* Section titles */
.page-cockfighting__section-title {
    font-size: 2.8em;
    color: #E3B505; /* Auxiliary color for titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    font-weight: bold;
}

/* Text blocks */
.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
    text-align: justify;
}

/* Buttons */
.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: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    text-align: center;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding in width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-cockfighting__btn-primary {
    background-color: #E3B505; /* Auxiliary color */
    color: #0A2463; /* Main color for text */
    border: 2px solid #E3B505;
}

.page-cockfighting__btn-primary:hover {
    background-color: #ffda6a;
    color: #0A2463;
    transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #E3B505; /* Auxiliary color */
    border: 2px solid #E3B505;
    margin-left: 20px;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #E3B505;
    color: #0A2463;
    transform: translateY(-2px);
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 80px 0;
    overflow: hidden;
    background-color: #0A2463; /* Main color for hero background */
}

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

.page-cockfighting__hero-title {
    font-size: 3.8em;
    color: #E3B505;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 1.4em;
    color: #f0f0f0;
    margin-bottom: 40px;
}

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

.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; /* Subtle overlay */
    /* filter: brightness(0.7); Removed as per filter restriction */
}

/* Intro Section */
.page-cockfighting__intro-section {
    padding: 60px 0;
    background-color: #0A2463;
}

/* Types Section */
.page-cockfighting__types-section {
    padding: 60px 0;
    background-color: #0A2463;
}

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

.page-cockfighting__card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for cards */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    color: #ffffff;
    padding-bottom: 20px;
}

.page-cockfighting__card:hover {
    transform: translateY(-10px);
}

.page-cockfighting__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-cockfighting__card-title {
    font-size: 1.8em;
    color: #E3B505;
    margin: 0 15px 10px;
    text-align: center;
}

.page-cockfighting__card-title a {
    color: #E3B505;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-cockfighting__card-title a:hover {
    color: #ffda6a;
}

.page-cockfighting__card-description {
    font-size: 1em;
    color: #f0f0f0;
    margin: 0 15px;
    text-align: justify;
}

/* Why Choose Section */
.page-cockfighting__why-choose-section {
    padding: 60px 0;
    background-color: #0A2463;
}

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

.page-cockfighting__feature-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__feature-title {
    font-size: 1.8em;
    color: #E3B505;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__feature-description {
    font-size: 1em;
    color: #f0f0f0;
    text-align: justify;
}

/* Guide Section */
.page-cockfighting__guide-section {
    padding: 60px 0;
    background-color: #0A2463;
}

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

.page-cockfighting__step-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #E3B505;
    color: #0A2463;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-cockfighting__step-title {
    font-size: 1.6em;
    color: #E3B505;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__step-description {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    text-align: justify;
}

/* Promo Section */
.page-cockfighting__promo-section {
    padding: 60px 0;
    background-color: #0A2463;
}

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

.page-cockfighting__promo-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    color: #ffffff;
    padding-bottom: 20px;
    text-align: center;
}

.page-cockfighting__promo-card:hover {
    transform: translateY(-10px);
}

.page-cockfighting__promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-cockfighting__promo-title {
    font-size: 1.8em;
    color: #E3B505;
    margin: 0 15px 10px;
}

.page-cockfighting__promo-title a {
    color: #E3B505;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-cockfighting__promo-title a:hover {
    color: #ffda6a;
}

.page-cockfighting__promo-description {
    font-size: 1em;
    color: #f0f0f0;
    margin: 0 15px 20px;
    text-align: justify;
}

/* Tips Section */
.page-cockfighting__tips-section {
    padding: 60px 0;
    background-color: #0A2463;
}

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

.page-cockfighting__tip-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__tip-title {
    font-size: 1.8em;
    color: #E3B505;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__tip-description {
    font-size: 1em;
    color: #f0f0f0;
    text-align: justify;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 60px 0;
    background-color: #0A2463;
}

.page-cockfighting__faq-list {
    max-width: 900px;
    margin: 30px auto 0;
}

.page-cockfighting__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-cockfighting__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    color: #E3B505;
    background-color: #0A2463; /* Main color for summary background */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #E3B505;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    content: '−'; /* Change to minus when open */
}

.page-cockfighting__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #f0f0f0;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for answer */
    text-align: justify;
}

/* CTA Section */
.page-cockfighting__cta-section {
    padding: 60px 0;
    background-color: #0A2463;
    text-align: center;
}

.page-cockfighting__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 3em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.2em;
    }
    .page-cockfighting__section-title {
        font-size: 2.2em;
    }
    .page-cockfighting__features-grid,
    .page-cockfighting__card-grid,
    .page-cockfighting__steps,
    .page-cockfighting__promo-cards,
    .page-cockfighting__tips-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        font-size: 16px;
        line-height: 1.6;
    }

    .page-cockfighting__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__hero-section {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding: 60px 0;
    }
    .page-cockfighting__hero-content {
        order: 2;
        padding: 20px 15px;
    }
    .page-cockfighting__hero-image-wrapper {
        position: relative;
        height: 300px;
        order: 1;
    }
    .page-cockfighting__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-cockfighting__hero-buttons,
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
    }

    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
        padding-top: 30px;
    }

    .page-cockfighting__card,
    .page-cockfighting__feature-item,
    .page-cockfighting__step-item,
    .page-cockfighting__promo-card,
    .page-cockfighting__tip-item {
        padding: 20px;
        border-radius: 8px;
    }

    /* Images responsiveness */
    .page-cockfighting img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-cockfighting__hero-image {
      max-width: 100% !important;
      width: 100% !important;
      height: 100% !important;
      object-fit: cover !important;
    }

    /* Video responsiveness - if any (no video tag currently in HTML) */
    .page-cockfighting video,
    .page-cockfighting__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }

    .page-cockfighting__faq-item summary {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: 1.8em;
    }
    .page-cockfighting__section-title {
        font-size: 1.6em;
    }
    .page-cockfighting__step-number {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
    }
}