/* Base styles for the Đá Gà page */
.page-da-ga {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #FFFFFF); /* Use shared body background */
}

/* Hero Section */
.page-da-ga__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, body handles header offset */
    margin-bottom: 40px;
    display: flex;
    flex-direction: column; /* Ensure image is above text in DOM order */
    align-items: center;
    background-color: #FFFFFF; /* Ensure a light background for hero text */
}

.page-da-ga__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.page-da-ga__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-da-ga__hero-content {
    max-width: 1200px;
    width: 100%;
    padding: 30px 20px;
    text-align: center;
    box-sizing: border-box;
}

.page-da-ga__main-title {
    font-size: clamp(2em, 3.5vw, 3em); /* H1 font size with clamp */
    font-weight: 700;
    color: #26A9E0;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-da-ga__main-description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* General Sections */
.page-da-ga__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-da-ga__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-da-ga__section-title--light {
    color: #FFFFFF;
}

.page-da-ga__light-bg {
    background-color: #FFFFFF;
    color: #333333;
    padding: 60px 0;
}

.page-da-ga__dark-bg {
    background-color: #26A9E0;
    color: #FFFFFF;
    padding: 60px 0;
}

/* Intro Section */
.page-da-ga__intro-section .page-da-ga__content-wrapper {
    display: flex;
    gap: 30px;
    align-items: center;
}

.page-da-ga__intro-section .page-da-ga__text-block {
    flex: 1;
}

.page-da-ga__intro-section .page-da-ga__image-block {
    flex: 0 0 50%;
    max-width: 50%;
}

.page-da-ga__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-da-ga__content-image--center {
    margin: 40px auto 0 auto;
}

/* Types Section */
.page-da-ga__types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-da-ga__type-card {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #FFFFFF;
}

.page-da-ga__type-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #FFFFFF;
    font-weight: 600;
}

.page-da-ga__type-description {
    font-size: 1em;
    line-height: 1.6;
    color: #f0f0f0;
}

/* Guide Section */
.page-da-ga__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-da-ga__guide-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-da-ga__guide-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-da-ga__guide-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

/* Tips Section */
.page-da-ga__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-da-ga__tip-card {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #FFFFFF;
}

.page-da-ga__tip-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #FFFFFF;
    font-weight: 600;
}

.page-da-ga__tip-description {
    font-size: 1em;
    line-height: 1.6;
    color: #f0f0f0;
}

/* Why Choose Section */
.page-da-ga__why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-da-ga__reason-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-da-ga__reason-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-da-ga__reason-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-da-ga__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-da-ga__faq-item {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    margin-bottom: 15px;
    color: #FFFFFF;
    overflow: hidden;
}

.page-da-ga__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    color: #FFFFFF;
    list-style: none; /* For details/summary */
}

.page-da-ga__faq-question::-webkit-details-marker {
    display: none;
}

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

.page-da-ga__faq-item[open] .page-da-ga__faq-toggle {
    transform: rotate(45deg);
}

.page-da-ga__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #f0f0f0;
    line-height: 1.6;
}

/* Buttons */
.page-da-ga__btn-primary,
.page-da-ga__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text break */
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-da-ga__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border-color: #26A9E0;
}

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

.page-da-ga__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border-color: #26A9E0;
}

.page-da-ga__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #1a8ac7;
    border-color: #1a8ac7;
}

.page-da-ga__btn-small {
    padding: 8px 18px;
    font-size: 0.9em;
    margin-top: 15px;
}

/* General image and button responsive styles */
.page-da-ga img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-da-ga__content-wrapper,
.page-da-ga__types-grid,
.page-da-ga__guide-steps,
.page-da-ga__tips-grid,
.page-da-ga__why-grid,
.page-da-ga__cta-buttons,
.page-da-ga__faq-list {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* Prevent content overflow */
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .page-da-ga {
        font-size: 16px;
        line-height: 1.6;
    }

    /* HERO Section */
    .page-da-ga__hero-section {
        padding-top: 10px; /* Consistent small top padding */
        margin-bottom: 20px;
    }

    .page-da-ga__hero-content {
        padding: 20px 15px;
    }

    .page-da-ga__main-title {
        font-size: 2em;
        margin-bottom: 10px;
    }

    .page-da-ga__main-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-da-ga__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    /* General Sections */
    .page-da-ga__container {
        padding: 15px;
    }

    .page-da-ga__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

    .page-da-ga__light-bg,
    .page-da-ga__dark-bg {
        padding: 40px 0;
    }

    /* Intro Section */
    .page-da-ga__intro-section .page-da-ga__content-wrapper {
        flex-direction: column;
    }

    .page-da-ga__intro-section .page-da-ga__image-block {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Types Section */
    .page-da-ga__types-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-da-ga__type-card {
        padding: 20px;
    }

    .page-da-ga__type-title {
        font-size: 1.4em;
    }

    /* Guide Section */
    .page-da-ga__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-da-ga__guide-item {
        padding: 20px;
    }

    .page-da-ga__guide-title {
        font-size: 1.5em;
    }

    /* Tips Section */
    .page-da-ga__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-da-ga__tip-card {
        padding: 20px;
    }

    .page-da-ga__tip-title {
        font-size: 1.4em;
    }

    /* Why Choose Section */
    .page-da-ga__why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-da-ga__reason-card {
        padding: 20px;
    }

    .page-da-ga__reason-title {
        font-size: 1.4em;
    }

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

    .page-da-ga__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-da-ga__faq-answer {
        padding: 0 20px 15px;
    }

    /* Buttons responsive */
    .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__cta-buttons,
    .page-da-ga__button-group,
    .page-da-ga__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-da-ga__cta-buttons {
        flex-direction: column; /* Mobile vertical stacking for hero CTAs */
    }

    /* Images responsive */
    .page-da-ga img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-da-ga__section,
    .page-da-ga__card,
    .page-da-ga__container,
    .page-da-ga__content-wrapper,
    .page-da-ga__types-grid,
    .page-da-ga__guide-steps,
    .page-da-ga__tips-grid,
    .page-da-ga__why-grid,
    .page-da-ga__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}