/* style/cockfighting-event-viewing.css */
:root {
    --primary-color: #1A202C;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f8f9fa;
    --bg-dark: #1A202C;
}

.page-cockfighting-event-viewing {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark); /* Assuming body background is dark */
}

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

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

.page-cockfighting-event-viewing__hero-section {
    position: relative;
    width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-cockfighting-event-viewing__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

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

.page-cockfighting-event-viewing__hero-title {
    font-size: 3.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting-event-viewing__hero-description {
    font-size: 1.2em;
    color: var(--text-light);
    margin-bottom: 30px;
}

.page-cockfighting-event-viewing__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-cockfighting-event-viewing__btn-primary,
.page-cockfighting-event-viewing__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting-event-viewing__btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.page-cockfighting-event-viewing__btn-primary:hover {
    background-color: darken(var(--secondary-color), 10%);
    border-color: darken(var(--secondary-color), 10%);
}

.page-cockfighting-event-viewing__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-cockfighting-event-viewing__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-cockfighting-event-viewing__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-cockfighting-event-viewing__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: inherit; /* Inherit from parent, will be white or dark */
}

.page-cockfighting-event-viewing__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: inherit;
}

.page-cockfighting-event-viewing__features-grid,
.page-cockfighting-event-viewing__grid-2-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting-event-viewing__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
}

.page-cockfighting-event-viewing__feature-item h3 {
    color: var(--secondary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-cockfighting-event-viewing__video-section {
    position: relative;
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-cockfighting-event-viewing__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-cockfighting-event-viewing__video,
.page-cockfighting-event-viewing__video-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    display: block;
}

.page-cockfighting-event-viewing__video-link-overlay {
  background: rgba(0, 0, 0, 0.3); /* Slightly darken video for better overlay visibility */
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.page-cockfighting-event-viewing__video-link-overlay::before {
  content: '▶'; /* Play icon */
  font-size: 80px;
  color: var(--secondary-color);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.page-cockfighting-event-viewing__video-link-overlay:hover::before {
  opacity: 1;
}

.page-cockfighting-event-viewing__card {
    background-color: var(--text-light);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--text-dark);
}

.page-cockfighting-event-viewing__dark-card {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.page-cockfighting-event-viewing__dark-card h3 {
    color: var(--secondary-color);
}

.page-cockfighting-event-viewing__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting-event-viewing__card-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-cockfighting-event-viewing__dark-card .page-cockfighting-event-viewing__card-title {
    color: var(--secondary-color);
}

.page-cockfighting-event-viewing__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-cockfighting-event-viewing__step-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-event-viewing__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-cockfighting-event-viewing__step-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-cockfighting-event-viewing__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-cockfighting-event-viewing__list li {
    background-color: var(--text-light);
    color: var(--text-dark);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
}

.page-cockfighting-event-viewing__list li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2em;
    line-height: 1;
}

.page-cockfighting-event-viewing__image-full-width {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-event-viewing__faq-list {
    margin-top: 40px;
}

.page-cockfighting-event-viewing__faq-item {
    background-color: var(--text-light);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    color: var(--text-dark);
}

.page-cockfighting-event-viewing__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    background-color: var(--bg-light);
    border-bottom: 1px solid #e0e0e0;
}

.page-cockfighting-event-viewing__faq-question:hover {
    background-color: #e9ecef;
}

.page-cockfighting-event-viewing__faq-question h3 {
    margin: 0;
    color: inherit;
}

.page-cockfighting-event-viewing__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-cockfighting-event-viewing__faq-item.active .page-cockfighting-event-viewing__faq-toggle {
    transform: rotate(45deg);
}

.page-cockfighting-event-viewing__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-dark);
}

.page-cockfighting-event-viewing__faq-item.active .page-cockfighting-event-viewing__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to contain content */
    padding: 20px !important;
}

.page-cockfighting-event-viewing__faq-answer p {
    margin: 0;
    color: inherit;
}

.page-cockfighting-event-viewing__cta-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
}

.page-cockfighting-event-viewing__cta-title {
    font-size: 3em;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.page-cockfighting-event-viewing__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
}

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

.page-cockfighting-event-viewing__cta-buttons .page-cockfighting-event-viewing__btn-primary,
.page-cockfighting-event-viewing__cta-buttons .page-cockfighting-event-viewing__btn-secondary {
    min-width: 200px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-cockfighting-event-viewing__hero-title {
        font-size: 3em;
    }
    .page-cockfighting-event-viewing__section-title {
        font-size: 2em;
    }
    .page-cockfighting-event-viewing__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting-event-viewing__hero-section {
        min-height: 60vh;
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header */
    }
    .page-cockfighting-event-viewing__hero-title {
        font-size: 2.2em;
    }
    .page-cockfighting-event-viewing__hero-description {
        font-size: 1em;
    }
    .page-cockfighting-event-viewing__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting-event-viewing__btn-primary,
    .page-cockfighting-event-viewing__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-cockfighting-event-viewing__content-area {
        padding: 40px 15px;
    }
    .page-cockfighting-event-viewing__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting-event-viewing__text-block {
        font-size: 1em;
    }
    .page-cockfighting-event-viewing__features-grid,
    .page-cockfighting-event-viewing__grid-2-cols,
    .page-cockfighting-event-viewing__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting-event-viewing__feature-item,
    .page-cockfighting-event-viewing__card,
    .page-cockfighting-event-viewing__step-item {
        padding: 20px;
    }
    .page-cockfighting-event-viewing__video-section {
        padding: 40px 15px;
    }
    .page-cockfighting-event-viewing__cta-title {
        font-size: 2em;
    }
    .page-cockfighting-event-viewing__cta-description {
        font-size: 1em;
    }
    .page-cockfighting-event-viewing__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        box-sizing: border-box;
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
    }
    .page-cockfighting-event-viewing__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-cockfighting-event-viewing__faq-answer {
        padding: 0 15px;
    }
    .page-cockfighting-event-viewing__faq-item.active .page-cockfighting-event-viewing__faq-answer {
        padding: 15px !important;
    }
    
    /* Mobile image and video responsiveness */
    .page-cockfighting-event-viewing img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting-event-viewing video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting-event-viewing__video-section,
    .page-cockfighting-event-viewing__video-container,
    .page-cockfighting-event-viewing__video-wrapper,
    .page-cockfighting-event-viewing__section,
    .page-cockfighting-event-viewing__card,
    .page-cockfighting-event-viewing__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    /* Specific padding for content areas to prevent overflow */
    .page-cockfighting-event-viewing__content-area,
    .page-cockfighting-event-viewing__video-section,
    .page-cockfighting-event-viewing__cta-section {
      padding-left: 15px !important;
      padding-right: 15px !important;
    }
}