/* style/da-ga.css */

:root {
    --primary-color: #0A2463;
    --secondary-color: #E0B14A;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f4f7f6;
    --bg-dark: #071a44;
    --accent-color-hover: #c99a3a;
}

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

.page-da-ga-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-da-ga-section {
    padding: 60px 0;
    text-align: center;
}

.page-da-ga-section:nth-of-type(even) {
    background-color: #eaf1f0;
}

.page-da-ga h1, .page-da-ga h2, .page-da-ga h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-da-ga h1 {
    font-size: 2.8em;
    font-weight: bold;
    line-height: 1.2;
    color: var(--text-light);
}

.page-da-ga h2 {
    font-size: 2.2em;
    margin-top: 30px;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.page-da-ga h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-da-ga h3 {
    font-size: 1.6em;
    color: var(--primary-color);
}

.page-da-ga p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.page-da-ga strong {
    color: var(--primary-color);
}

.page-da-ga a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-da-ga a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Hero Section */
.page-da-ga-hero {
    position: relative;
    width: 100%;
    height: 500px; /* Adjusted height for content page banner */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--primary-color);
}

.page-da-ga-hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-da-ga-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6); /* Subtle darkening for text readability */
}

.page-da-ga-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    color: var(--text-light);
    padding: 20px;
}

.page-da-ga-hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-da-ga-cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-da-ga-cta-button:hover {
    background-color: var(--accent-color-hover);
    transform: translateY(-2px);
    text-decoration: none;
}

.page-da-ga-cta-button.small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-da-ga-cta-button.large {
    padding: 18px 40px;
    font-size: 1.3em;
}

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

.page-da-ga-feature-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-da-ga-feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-da-ga-feature-item h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 15px;
    min-height: 3em; /* Ensure consistent height for titles */
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-da-ga-feature-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

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

.page-da-ga-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-da-ga-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-da-ga-card-img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-da-ga-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    min-height: 2em;
}

.page-da-ga-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-da-ga-card h3 a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

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

.page-da-ga-step {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
}

.page-da-ga-step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    margin: -60px auto 20px auto;
    border: 5px solid var(--bg-light);
}

.page-da-ga-step h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
}

/* Tips Section */
.page-da-ga-tips ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 30px auto 0 auto;
    text-align: left;
}

.page-da-ga-tips li {
    background-color: #ffffff;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    display: flex;
    align-items: flex-start;
}

.page-da-ga-tips li::before {
    content: '✓';
    color: var(--secondary-color);
    font-size: 1.2em;
    margin-right: 15px;
    font-weight: bold;
}

/* Promotions Section */
.page-da-ga-promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-da-ga-promo-card {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-da-ga-promo-card:hover {
    transform: translateY(-8px);
    background-color: var(--bg-dark);
}

.page-da-ga-promo-card h3 {
    color: var(--secondary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
    min-height: 2em;
}

.page-da-ga-promo-card h3 a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-da-ga-promo-card h3 a:hover {
    color: var(--accent-color-hover);
    text-decoration: underline;
}

.page-da-ga-promo-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.page-da-ga-promo-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-da-ga-promo-button:hover {
    background-color: var(--accent-color-hover);
    transform: translateY(-2px);
    text-decoration: none;
}

/* FAQ Section */
.page-da-ga-faq {
    text-align: left;
}

.page-da-ga-faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f5f5f5;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
    background: #f9f9f9;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 15px 25px;
    border: 1px solid #e0e0e0;
    border-top: none;
}

.faq-answer p {
    margin-bottom: 0;
    color: var(--text-dark);
    font-size: 1em;
}

/* Contact CTA Section */
.page-da-ga-contact-cta {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 80px 0;
}

.page-da-ga-contact-cta h2 {
    color: var(--secondary-color);
    font-size: 2.5em;
}

.page-da-ga-contact-cta p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-da-ga-hero {
        height: 400px;
    }

    .page-da-ga-hero-content h1 {
        font-size: 2.2em;
    }

    .page-da-ga-hero-content p {
        font-size: 1em;
    }

    .page-da-ga h2 {
        font-size: 1.8em;
    }

    .page-da-ga h3 {
        font-size: 1.3em;
    }

    .page-da-ga-feature-item h3 {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .page-da-ga-hero {
        height: 350px;
    }

    .page-da-ga-hero-content h1 {
        font-size: 1.8em;
    }

    .page-da-ga-hero-content p {
        font-size: 0.95em;
    }

    .page-da-ga-cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-da-ga-section {
        padding: 40px 0;
    }

    .page-da-ga h2 {
        font-size: 1.6em;
    }

    .page-da-ga h3 {
        font-size: 1.2em;
    }

    .page-da-ga-features-grid, .page-da-ga-type-cards, .page-da-ga-guide-steps, .page-da-ga-promo-cards {
        grid-template-columns: 1fr;
    }

    .page-da-ga-step-icon {
        margin-top: -50px;
    }

    .page-da-ga-tips li {
        font-size: 1em;
        padding: 15px;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-question h3 {
        font-size: 1.1em;
    }

    .faq-toggle {
        font-size: 20px;
    }

    .faq-item.active .faq-answer {
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .page-da-ga-hero {
        height: 300px;
    }

    .page-da-ga-hero-content h1 {
        font-size: 1.5em;
    }

    .page-da-ga-hero-content p {
        font-size: 0.9em;
    }

    .page-da-ga-cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-da-ga h2 {
        font-size: 1.4em;
    }

    .page-da-ga h3 {
        font-size: 1.1em;
    }

    .page-da-ga-feature-img {
        min-height: 150px;
    }

    .page-da-ga-card-img {
        height: 200px;
    }

    .page-da-ga-contact-cta h2 {
        font-size: 2em;
    }

    .page-da-ga-contact-cta p {
        font-size: 1em;
    }
}