/* style/cockfighting.css */
/* Base styles for the cockfighting page */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background from shared.css */
    padding-bottom: 40px; /* Ensure space above footer */
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    overflow: hidden;
    background: linear-gradient(135deg, #26A9E0, #1a7bbd); /* Brand color gradient */
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-top: -80px; /* Pull content up slightly over the image for visual flow */
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background for text readability */
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__main-title {
    font-size: clamp(2rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* General Section Header */
.page-cockfighting__section-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand color for titles */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__section-description {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: #cccccc;
}

/* CTA Buttons */
.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-cockfighting__cta-buttons--center {
    margin-top: 40px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

.page-cockfighting__btn-primary {
    background: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
    box-shadow: 0 4px 10px rgba(234, 124, 7, 0.4);
}

.page-cockfighting__btn-primary:hover {
    background: #d46b00;
    border-color: #d46b00;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(234, 124, 7, 0.6);
}

.page-cockfighting__btn-secondary {
    background: #26A9E0; /* Main brand color for secondary action */
    color: #ffffff;
    border: 2px solid #26A9E0;
    box-shadow: 0 4px 10px rgba(38, 169, 224, 0.4);
}

.page-cockfighting__btn-secondary:hover {
    background: #1e8dc4;
    border-color: #1e8dc4;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(38, 169, 224, 0.6);
}

/* Video Section */
.page-cockfighting__video-section {
    padding: 60px 20px;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background */
    border-radius: 10px;
    margin: 40px auto;
    max-width: 1200px;
    box-sizing: border-box;
}

.page-cockfighting__video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    background-color: #000; /* Fallback for video area */
    width: 100%; /* Desktop requirement */
}

.page-cockfighting__video-link {
  display: block; /* Ensure the link covers the entire video area */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 1;
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    object-fit: cover;
}

/* Content Grid */
.page-cockfighting__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-cockfighting__content-grid--three-cols {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-cockfighting__card,
.page-cockfighting__feature-card,
.page-cockfighting__step-card {
    background-color: rgba(255, 255, 255, 0.08); /* Dark card background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-cockfighting__card-title,
.page-cockfighting__feature-title,
.page-cockfighting__step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-cockfighting__card-image,
.page-cockfighting__feature-icon {
    width: 100%; /* Ensure images take full width of card */
    max-width: 400px; /* Max width for consistency */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    display: block;
}

.page-cockfighting__card-text,
.page-cockfighting__feature-text,
.page-cockfighting__step-text {
    font-size: 1rem;
    color: #cccccc;
    text-align: left;
}

/* Why Choose Us Section */
.page-cockfighting__why-choose-us {
    padding: 60px 20px;
    margin: 40px auto;
    max-width: 1200px;
    box-sizing: border-box;
}

/* Guide Section */
.page-cockfighting__guide-section {
    padding: 60px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    margin: 40px auto;
    max-width: 1200px;
    border-radius: 10px;
    box-sizing: border-box;
}

.page-cockfighting__steps-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 40px;
}

.page-cockfighting__step-card {
    flex: 1 1 calc(50% - 30px); /* Two columns on larger screens */
    max-width: calc(50% - 15px);
    text-align: left;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 60px 20px;
    margin: 40px auto;
    max-width: 1000px;
    box-sizing: border-box;
}

.page-cockfighting__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-cockfighting__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #26A9E0;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.18);
}

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

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #EA7C07; /* Orange for toggle icon */
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to become cross */
}

.page-cockfighting__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: #cccccc;
    background-color: rgba(255, 255, 255, 0.05);
}

.page-cockfighting__faq-answer p {
    margin: 0;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, #1a7bbd, #26A9E0); /* Brand color gradient */
    border-radius: 10px;
    margin: 40px auto;
    max-width: 1200px;
    box-sizing: border-box;
}

.page-cockfighting__conclusion-section .page-cockfighting__section-title {
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__conclusion-section .page-cockfighting__section-description {
    color: #f0f0f0;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-cockfighting__hero-content {
        margin-top: -60px;
        padding: 25px 30px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 5vw, 3rem);
    }
    .page-cockfighting__hero-description {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.6rem, 4vw, 2.5rem);
    }
    .page-cockfighting__step-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    /* General responsive adjustments */
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Images */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__video-container,
    .page-cockfighting__content-grid,
    .page-cockfighting__why-choose-us,
    .page-cockfighting__guide-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important;
    }

    .page-cockfighting__hero-section,
    .page-cockfighting__video-section,
    .page-cockfighting__why-choose-us,
    .page-cockfighting__guide-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding-top: 10px !important; /* Small top padding, body already handles header offset */
        padding-bottom: 40px !important;
    }

    .page-cockfighting__hero-content {
        margin-top: -40px;
        padding: 20px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-cockfighting__hero-description {
        font-size: clamp(0.875rem, 3vw, 1rem);
        margin-bottom: 20px;
    }

    /* Buttons */
    .page-cockfighting__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
    }

    /* Video */
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-cockfighting__video-container {
        padding-bottom: 56.25% !important; /* Maintain aspect ratio */
        height: 0 !important;
        overflow: hidden !important;
    }

    /* Cards */
    .page-cockfighting__content-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
    }
    .page-cockfighting__card,
    .page-cockfighting__feature-card,
    .page-cockfighting__step-card {
        padding: 25px;
    }
    .page-cockfighting__card-title,
    .page-cockfighting__feature-title,
    .page-cockfighting__step-title {
        font-size: 1.3rem;
    }
    .page-cockfighting__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-cockfighting__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-content {
        margin-top: -30px;
        padding: 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.3rem, 7vw, 2.2rem);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }
}