/* style/da-ga.css */

/* General styles for the page */
.page-da-ga {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: var(--auxiliary-color, #FFFFFF); /* Inherit from shared, default to white */
}

/* Hero Section */
.page-da-ga__hero-section {
    padding-top: 10px; /* Small top padding, assuming body has header offset */
    padding-bottom: 60px;
    background-color: #f5f5f5; /* Light background for hero section */
}

.page-da-ga__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 40px 20px;
    gap: 30px;
}

.page-da-ga__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    color: #333333;
}

.page-da-ga__hero-title {
    font-size: clamp(1.8em, 5vw, 3.2em); /* Responsive font size */
    font-weight: bold;
    color: #017439; /* Brand color for title */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-da-ga__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 600px;
}

.page-da-ga__hero-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-da-ga__hero-image {
    flex: 1 1 40%;
    text-align: center;
    min-width: 250px;
}

.page-da-ga__hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Buttons */
.page-da-ga__btn-primary,
.page-da-ga__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure responsiveness */
}

.page-da-ga__btn-primary {
    background-color: #C30808; /* Red for primary action */
    color: #FFFF00; /* Yellow text for contrast */
    border: 2px solid #C30808;
}

.page-da-ga__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-da-ga__btn-secondary {
    background-color: #FFFFFF; /* White background */
    color: #017439; /* Brand green text */
    border: 2px solid #017439; /* Brand green border */
}

.page-da-ga__btn-secondary:hover {
    background-color: #017439;
    color: #FFFFFF;
}

/* Container for content sections */
.page-da-ga__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Section Titles */
.page-da-ga__section-title {
    font-size: 2.5em;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-da-ga__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #C30808;
    border-radius: 2px;
}

/* Text Blocks */
.page-da-ga__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Intro Section */
.page-da-ga__intro-section {
    padding: 60px 0;
}

.page-da-ga__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Gameplay Section */
.page-da-ga__gameplay-section {
    background-color: #017439; /* Dark background */
    color: #FFFFFF; /* White text */
    padding: 60px 0;
}

.page-da-ga__gameplay-section .page-da-ga__section-title {
    color: #FFFFFF; /* White title on dark background */
}
.page-da-ga__gameplay-section .page-da-ga__section-title::after {
    background-color: #FFFF00; /* Yellow accent on dark background */
}

.page-da-ga__gameplay-section .page-da-ga__text-block {
    color: #f0f0f0;
}

.page-da-ga__list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.page-da-ga__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    font-size: 1.05em;
    border-left: 5px solid #FFFF00;
}

.page-da-ga__list-item strong {
    color: #FFFF00;
}

/* Benefits Section */
.page-da-ga__benefits-section {
    padding: 60px 0;
}

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

.page-da-ga__benefit-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.page-da-ga__benefit-icon {
    width: 100%;
    max-width: 250px; /* Constrain icon image width */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-da-ga__benefit-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 15px;
}

.page-da-ga__benefit-description {
    font-size: 0.95em;
    color: #555555;
}

/* CTA Section */
.page-da-ga__cta-section {
    background-color: #017439; /* Dark background */
    color: #FFFFFF; /* White text */
    padding: 80px 0;
    text-align: center;
}

.page-da-ga__cta-section .page-da-ga__section-title {
    color: #FFFFFF;
}
.page-da-ga__cta-section .page-da-ga__section-title::after {
    background-color: #FFFF00;
}

.page-da-ga__cta-section .page-da-ga__text-block {
    max-width: 700px;
    margin: 0 auto 40px;
    color: #f0f0f0;
}

.page-da-ga__cta-section .page-da-ga__cta-buttons {
    justify-content: center;
}

/* FAQ Section */
.page-da-ga__faq-section {
    padding: 60px 0;
}

.page-da-ga__faq-list {
    margin-top: 40px;
}

.page-da-ga__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-da-ga__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
    list-style: none; /* For details/summary */
}
.page-da-ga__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker */
}
.page-da-ga__faq-question::marker {
    display: none; /* Hide default marker */
}

.page-da-ga__faq-qtext {
    flex-grow: 1;
}

.page-da-ga__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #C30808;
    transition: transform 0.3s ease;
}

.page-da-ga__faq-item[open] .page-da-ga__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to form an X or minus */
}

.page-da-ga__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #555555;
    background-color: #FFFFFF;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-da-ga__hero-title {
        font-size: clamp(1.8em, 4vw, 2.8em); /* Adjusted clamp for smaller screens */
    }
    .page-da-ga__section-title {
        font-size: 2.2em;
    }
    .page-da-ga__hero-container {
        padding: 30px 15px;
    }
    .page-da-ga__container {
        padding: 30px 15px;
    }
    .page-da-ga__list {
        grid-template-columns: 1fr;
    }
    .page-da-ga__benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-da-ga__hero-section {
        padding-top: 10px !important; /* Small top padding, no header offset here */
        padding-bottom: 40px;
    }
    .page-da-ga__hero-container {
        flex-direction: column;
        padding: 20px 15px;
    }
    .page-da-ga__hero-content,
    .page-da-ga__hero-image {
        flex: 1 1 100%;
        min-width: unset;
    }
    .page-da-ga__hero-title {
        font-size: 2em; /* Smaller title for mobile */
        text-align: center;
        margin-bottom: 15px;
    }
    .page-da-ga__hero-description {
        font-size: 1em;
        text-align: center;
        margin-bottom: 25px;
    }
    .page-da-ga__hero-cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px; /* Add horizontal padding to buttons container */
    }

    /* Buttons responsive adaptation */
    .page-da-ga__btn-primary,
    .page-da-ga__btn-secondary,
    .page-da-ga a[class*="button"],
    .page-da-ga 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-da-ga__hero-cta-buttons, /* Also apply to button groups */
    .page-da-ga__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column; /* Ensure vertical stacking on mobile */
    }

    /* General content sections */
    .page-da-ga__container {
        padding: 20px 15px !important; /* Smaller padding for mobile */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-da-ga__section-title {
        font-size: 1.8em; /* Smaller section titles */
        margin-bottom: 30px;
    }
    .page-da-ga__text-block {
        font-size: 0.95em;
        text-align: left; /* Align text left on mobile for readability */
    }

    /* All images responsive */
    .page-da-ga img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Benefits Grid - stack items */
    .page-da-ga__benefits-grid {
        grid-template-columns: 1fr;
    }
    .page-da-ga__benefit-item {
        padding: 20px;
    }
    .page-da-ga__benefit-icon {
        max-width: 200px; /* Ensure minimum size is met */
        width: 100%;
        margin: 0 auto 15px;
    }

    /* FAQ Section */
    .page-da-ga__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-da-ga__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95em;
    }
    .page-da-ga__faq-toggle {
        font-size: 1.2em;
    }
}