/* style/cockfighting.css */

:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --card-bg-color: #FFFFFF;
    --page-bg-color: #F4F7FB;
    --text-main-color: #1F2D3D;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main-color);
    background-color: var(--page-bg-color);
}

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--page-bg-color);
}

.page-cockfighting__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-cockfighting__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

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

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.page-cockfighting__hero-description {
    font-size: 1.15rem;
    color: var(--text-main-color);
    max-width: 800px;
    margin: 0 auto 30px;
}

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

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-cockfighting__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-cockfighting__section {
    padding: 80px 20px;
    background-color: var(--card-bg-color);
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__section:last-of-type {
    margin-bottom: 0;
}

.page-cockfighting__dark-bg {
    background-color: var(--primary-color);
    color: #ffffff;
}

.page-cockfighting__dark-bg .page-cockfighting__section-title,
.page-cockfighting__dark-bg .page-cockfighting__feature-title {
    color: #ffffff;
}

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

.page-cockfighting__container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-cockfighting__section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-cockfighting__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
}

.page-cockfighting__image-content {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-cockfighting__image-center {
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-cockfighting__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__feature-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 600;
}

.page-cockfighting__feature-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.page-cockfighting__guide-list {
    list-style: none;
    padding: 0;
}

.page-cockfighting__guide-list li {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-cockfighting__guide-list li:hover {
    transform: translateY(-3px);
}

.page-cockfighting__guide-step-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__list {
    list-style: none;
    padding: 0;
}

.page-cockfighting__list-item {
    background-color: var(--card-bg-color);
    border-left: 5px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.03);
    font-size: 1.05rem;
    color: var(--text-main-color);
}

.page-cockfighting__dark-bg .page-cockfighting__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-left-color: #ffffff;
}

/* FAQ Section */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-weight: 600;
  color: var(--text-main-color);
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: var(--page-bg-color);
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color);
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  background: var(--page-bg-color);
  border-radius: 0 0 5px 5px;
  font-size: 1rem;
  color: var(--text-main-color);
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer p {
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__section {
        padding: 60px 15px;
    }
    .page-cockfighting__section-title {
        font-size: 2rem;
    }
    .page-cockfighting__hero-description {
        font-size: 1rem;
    }
    .page-cockfighting__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-cockfighting__features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .page-cockfighting__hero-image {
        margin-bottom: 20px;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-cockfighting__cta-button,
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting a[class*="button"],
    .page-cockfighting a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

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

    .page-cockfighting__feature-item {
        padding: 25px;
    }

    .page-cockfighting__feature-title {
        font-size: 1.4rem;
    }
    
    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
    .page-cockfighting__faq-qtext { font-size: 15px; }
    .page-cockfighting__faq-toggle { font-size: 20px; }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 15px 15px; }

    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 9vw, 2.2rem);
    }
    .page-cockfighting__section-title {
        font-size: 1.5rem;
    }
    .page-cockfighting__hero-section {
        padding: 30px 10px 30px;
    }
    .page-cockfighting__section {
        padding: 40px 10px;
    }
}