/* style/da-ga.css */

/* Custom CSS Variables for colors */
:root {
    --main-color: #C91F17;
    --aux-color: #E53935;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    --card-bg: #D32F2F;
    --background: #B71C1C;
    --text-main: #FFF5E1;
    --border: #F2B544;
    --glow: #FFCC66;
    --gold: #F4D34D;
    --deep-red: #7A0E0E;
}

/* Base styles for the page */
.page-da-ga {
    font-family: 'Arial', sans-serif;
    color: var(--text-main);
    background-color: var(--background);
    line-height: 1.6;
    padding-bottom: 40px;
}

.page-da-ga__container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-da-ga__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    margin-bottom: 40px;
    overflow: hidden;
}

.page-da-ga__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background-color: var(--deep-red);
}

.page-da-ga__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-da-ga__hero-content {
    text-align: center;
    padding: 40px 20px;
    background: var(--card-bg);
    margin-top: -80px; /* Overlap slightly with image for visual flow */
    position: relative;
    z-index: 1;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--border);
}

.page-da-ga__main-title {
    color: var(--text-main);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-da-ga__hero-description {
    color: var(--text-main);
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* General Buttons */
.page-da-ga__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal;
    word-wrap: break-word;
}

.page-da-ga__btn--primary {
    background: var(--button-gradient);
    color: var(--deep-red); /* Deep Red text for contrast */
    border: 2px solid var(--border);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-da-ga__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
}

.page-da-ga__btn--secondary {
    background: var(--deep-red);
    color: var(--text-main);
    border: 2px solid var(--border);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-da-ga__btn--secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    background: var(--main-color);
}

.page-da-ga__btn--small {
    padding: 10px 20px;
    font-size: 0.95rem;
    margin-top: 15px;
}

/* Content Sections */
.page-da-ga__content-section {
    padding: 40px 0;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
}

.page-da-ga__section-title {
    color: var(--gold);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-da-ga__text-block {
    color: var(--text-main);
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-align: justify;
}

.page-da-ga__highlight {
    color: var(--glow);
    font-weight: 600;
}

/* Images in content */
.page-da-ga__image-figure {
    margin: 30px auto;
    max-width: 100%;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-da-ga__article-image {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-da-ga__image-caption {
    color: var(--text-main);
    font-size: 0.9rem;
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.3);
}

/* Type Cards Grid */
.page-da-ga__type-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-da-ga__type-card {
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: var(--text-main);
    border: 1px solid var(--border);
}

.page-da-ga__card-title {
    color: var(--glow);
    font-size: 1.6rem;
    font-weight: 600;
    padding: 20px 20px 0;
    margin-bottom: 15px;
    text-align: center;
}

.page-da-ga__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-da-ga__card-description {
    padding: 15px 20px 20px;
    font-size: 0.95rem;
    flex-grow: 1;
    text-align: justify;
}

/* Guide Section */
.page-da-ga__step-by-step-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-da-ga__guide-step {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}

.page-da-ga__step-title {
    color: var(--glow);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.page-da-ga__step-description {
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 15px;
    flex-grow: 1;
    text-align: justify;
}

.page-da-ga__list {
    list-style: disc;
    padding-left: 25px;
    color: var(--text-main);
    margin-bottom: 15px;
}

.page-da-ga__list li {
    margin-bottom: 8px;
    font-size: 1rem;
}

/* Strategy Section */
.page-da-ga__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-da-ga__strategy-item {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
}

.page-da-ga__strategy-title {
    color: var(--glow);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.page-da-ga__strategy-description {
    color: var(--text-main);
    font-size: 1rem;
    text-align: justify;
}

/* Benefits Section */
.page-da-ga__benefits-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-da-ga__benefit-item {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.page-da-ga__benefit-title {
    color: var(--glow);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.page-da-ga__benefit-description {
    color: var(--text-main);
    font-size: 1rem;
    text-align: justify;
    flex-grow: 1;
}

/* FAQ Section */
.page-da-ga__faq-list {
    margin-top: 30px;
}

.page-da-ga__faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.page-da-ga__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold);
    cursor: pointer;
    background-color: var(--deep-red);
    list-style: none; /* Remove default marker */
    position: relative;
    user-select: none;
}

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

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

.page-da-ga__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    width: 20px;
    text-align: center;
    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' */
}