/* style/-g.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f4f4f4;
    --bg-dark: #1a1a1a;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
}

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

.page--g h1, .page--g h2, .page--g h3, .page--g h4, .page--g h5, .page--g h6 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page--g h1 {
    font-size: 3em;
    text-align: center;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page--g h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

.page--g h3 {
    font-size: 1.8em;
    color: var(--secondary-color);
}

.page--g p {
    margin-bottom: 1em;
}

.page--g ul {
    list-style: disc inside;
    margin-bottom: 1em;
    padding-left: 20px;
}

.page--g ul li {
    margin-bottom: 0.5em;
}

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

.page--g__section {
    padding: 60px 0;
}

.page--g__hero-banner {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #330000 100%);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.page--g__hero-banner .page--g__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page--g__hero-content {
    max-width: 800px;
}

.page--g__hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.page--g__hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page--g__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px;
    white-space: nowrap;
}

.page--g__btn--primary {
    background-color: var(--primary-color);
    color: var(--text-dark);
}

.page--g__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page--g__btn--secondary {
    background-color: var(--secondary-color);
    color: var(--text-light);
    border: 1px solid var(--primary-color);
}

.page--g__btn--secondary:hover {
    background-color: #6a0000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page--g__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin: 5px;
}

.page--g__btn--large {
    padding: 18px 40px;
    font-size: 1.3em;
}

.page--g__cta-group {
    margin-top: 30px;
}

.page--g__cta-center {
    text-align: center;
    margin-top: 50px;
}

.page--g__about-dagatructuyen .page--g__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page--g__content-wrapper .page--g__text-content {
    flex: 1;
}

.page--g__content-wrapper .page--g__image-content {
    flex: 1;
    min-width: 300px;
}

.page--g__content-wrapper .page--g__image-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page--g__why-awin68 {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page--g__why-awin68 h2 {
    color: var(--primary-color);
}

.page--g__why-awin68 h2::after {
    background-color: var(--text-light);
}

.page--g__why-awin68 h3 {
    color: var(--primary-color);
}

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

.page--g__card {
    background-color: #2a0000; /* Darker red for cards on dark background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page--g__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page--g__card h3 {
    margin-top: 0;
    font-size: 1.5em;
}

.page--g__card h3 a.page--g__card-link {
    color: var(--primary-color);
    text-decoration: none;
}

.page--g__card h3 a.page--g__card-link:hover {
    text-decoration: underline;
}

.page--g__card p {
    color: rgba(255, 255, 255, 0.8);
}

.page--g__dagatructuyen-types .page--g__content-wrapper--reverse {
    flex-direction: row-reverse;
}

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

.page--g__step-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.page--g__step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page--g__step-item h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page--g__tips .page--g__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page--g__tips .page--g__image-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page--g__faq {
    background-color: var(--bg-light);
}

.page--g__faq-list {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 40px;
}

.page--g__faq-list .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page--g__faq-list .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: var(--card-bg);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page--g__faq-list .faq-question:hover {
    background-color: #f9f9f9;
}

.page--g__faq-list .faq-question h3 {
    margin: 0;
    font-size: 1.15em;
    color: var(--text-dark);
}

.page--g__faq-list .faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.page--g__faq-list .faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.page--g__faq-list .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: #fffaf0;
    padding: 0 25px;
}

.page--g__faq-list .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding: 20px 25px;
}

.page--g__faq-list .faq-answer p {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.page--g__faq-list .faq-answer .page--g__btn--small {
    margin-top: 10px;
}

.page--g__cta-final {
    background: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
    padding: 80px 0;
}

.page--g__cta-final h2 {
    color: var(--primary-color);
    font-size: 3em;
    margin-bottom: 25px;
}

.page--g__cta-final h2::after {
    background-color: var(--primary-color);
}

.page--g__cta-final p {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page--g h1 {
        font-size: 2.8em;
    }
    .page--g h2 {
        font-size: 2em;
    }
    .page--g h3 {
        font-size: 1.6em;
    }
    .page--g__hero-banner .page--g__hero-content h1 {
        font-size: 2.8em;
    }
    .page--g__about-dagatructuyen .page--g__content-wrapper,
    .page--g__dagatructuyen-types .page--g__content-wrapper,
    .page--g__tips .page--g__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .page--g__cta-final h2 {
        font-size: 2.5em;
    }
    .page--g__cta-final p {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page--g h1 {
        font-size: 2.2em;
    }
    .page--g h2 {
        font-size: 1.8em;
    }
    .page--g h3 {
        font-size: 1.4em;
    }
    .page--g__section {
        padding: 40px 0;
    }
    .page--g__hero-banner {
        padding: 60px 0;
    }
    .page--g__hero-banner .page--g__hero-content h1 {
        font-size: 2.2em;
    }
    .page--g__hero-banner .page--g__hero-content p {
        font-size: 1em;
    }
    .page--g__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page--g__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page--g__grid-3-cols {
        grid-template-columns: 1fr;
    }
    .page--g__steps {
        grid-template-columns: 1fr;
    }
    .page--g__faq-list .faq-question {
        padding: 15px 20px;
    }
    .page--g__faq-list .faq-question h3 {
        font-size: 1em;
    }
    .page--g__faq-list .faq-toggle {
        font-size: 1.5em;
    }
    .page--g__faq-list .faq-answer {
        padding: 0 20px;
    }
    .page--g__faq-list .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
    .page--g__cta-final h2 {
        font-size: 2em;
    }
    .page--g__cta-final p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page--g__hero-banner .page--g__hero-content h1 {
        font-size: 1.8em;
    }
    .page--g__btn {
        display: block;
        width: calc(100% - 20px);
        margin: 10px auto;
    }
    .page--g__cta-final h2 {
        font-size: 1.8em;
    }
}