/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

.page-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-contact__section-title {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #F2FFF6; /* Text Main */
    line-height: 1.2;
}

.page-contact__text-block {
    margin-bottom: 20px;
    font-size: 16px;
    text-align: center;
}

.page-contact__text-main {
    color: #F2FFF6; /* Text Main */
}

.page-contact__text-secondary {
    color: #A7D9B8; /* Text Secondary */
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-contact__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    border: 2px solid transparent;
}

.page-contact__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-contact__btn-secondary {
    background-color: transparent;
    color: #2AD16F; /* A lighter shade of primary for contrast */
    border: 2px solid #2AD16F; /* Border */
}

.page-contact__btn-secondary:hover {
    background-color: rgba(42, 209, 111, 0.1);
    color: #F2FFF6;
}

.page-contact__small-btn {
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 5px;
}

.page-contact__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-contact__cta-single {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    min-height: 500px;
    justify-content: center;
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-height: 675px;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

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

.page-contact__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

.page-contact__main-title {
    font-size: clamp(32px, 4.5vw, 60px);
    font-weight: 900;
    margin-bottom: 20px;
    color: #F2FFF6; /* Text Main */
    line-height: 1.1;
}

.page-contact__description {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 30px;
    color: #A7D9B8; /* Text Secondary */
}

/* Why Us Section */
.page-contact__why-us-section {
    padding: 60px 20px;
    background-color: #08160F; /* Background */
}

/* Methods Section */
.page-contact__methods-section {
    padding: 60px 20px;
    background-color: #11271B; /* Card BG */
}

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

.page-contact__method-card {
    background-color: #11271B; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border */
    color: #F2FFF6; /* Text Main */
}

.page-contact__method-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__method-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-contact__social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.page-contact__social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    text-decoration: none;
    font-size: 18px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.page-contact__social-icon-link:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 60px 20px;
    background-color: #08160F; /* Background */
}

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

.page-contact__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #F2FFF6; /* Text Main */
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    color: #F2FFF6; /* Text Main */
    background-color: rgba(17, 39, 27, 0.8); /* Slightly darker card bg for summary */
    user-select: none;
    list-style: none;
}

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

.page-contact__faq-toggle {
    font-size: 24px;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

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

.page-contact__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 16px;
    line-height: 1.7;
    color: #A7D9B8; /* Text Secondary */
}

.page-contact__faq-answer p {
    margin-bottom: 15px;
}

.page-contact__faq-answer .page-contact__btn-secondary {
    margin-top: 10px;
}

/* Feedback Form Section */
.page-contact__feedback-section {
    padding: 60px 20px;
    background-color: #08160F; /* Background */
    text-align: center;
}

.page-contact__feedback-form {
    max-width: 700px;
    margin: 40px auto 0 auto;
    background-color: #11271B; /* Card BG */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border */
}

.page-contact__form-group {
    margin-bottom: 25px;
    text-align: left;
}

.page-contact__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 16px;
    color: #F2FFF6; /* Text Main */
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #2E7A4E; /* Border */
    background-color: #0A4B2C; /* Deep Green */
    color: #F2FFF6; /* Text Main */
    font-size: 16px;
    box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: #A7D9B8; /* Text Secondary */
    opacity: 0.7;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    outline: none;
    border-color: #2AD16F; /* Button highlight color */
    box-shadow: 0 0 0 3px rgba(42, 209, 111, 0.3);
}

.page-contact__form-textarea {
    resize: vertical;
}

.page-contact__form-submit-btn {
    width: auto;
    margin-top: 20px;
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 8px;
}

/* Responsible Gaming Section */
.page-contact__responsible-gaming-section {
    padding: 60px 20px;
    background-color: #08160F; /* Background */
    text-align: center;
}

/* Explore Games CTA Section */
.page-contact__explore-games-section {
    padding: 60px 20px;
    background-color: #11271B; /* Card BG */
    text-align: center;
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .page-contact__methods-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-contact__container,
    .page-contact__feedback-form {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-contact__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
        min-height: 400px;
    }

    .page-contact__main-title {
        font-size: 36px;
    }

    .page-contact__description {
        font-size: 16px;
    }

    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact a[class*="button"],
    .page-contact a[class*="btn"] {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-contact__methods-grid {
        grid-template-columns: 1fr;
    }

    .page-contact__method-card,
    .page-contact__faq-item,
    .page-contact__feedback-form {
        padding: 25px;
    }

    .page-contact__faq-question {
        font-size: 16px;
        padding: 15px 20px;
    }

    .page-contact__faq-answer {
        font-size: 15px;
        padding: 0 20px 15px 20px;
    }

    .page-contact__form-submit-btn {
        width: 100%;
    }

    /* Image responsive */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__hero-image-wrapper,
    .page-contact__cta-buttons,
    .page-contact__cta-single {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-contact__main-title {
        font-size: 30px;
    }

    .page-contact__section-title {
        font-size: 26px;
    }

    .page-contact__method-title {
        font-size: 20px;
    }
}