/* style/contact.css */
.page-contact {
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

.page-contact__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: var(--header-offset, 120px);
    background-color: #0A0A0A; /* Ensure consistent dark background */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px;
    filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-contact__hero-content {
    padding: 40px 15px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text */
    width: 100%;
    box-sizing: border-box;
}

.page-contact__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    color: #FFD36B; /* Glow color for prominence */
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.page-contact__tagline {
    font-size: clamp(1em, 1.5vw, 1.3em);
    color: #FFF6D6; /* Text Main */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    color: #FFD36B; /* Glow color */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__section-description {
    font-size: 1.1em;
    color: #FFF6D6; /* Text Main */
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

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

.page-contact__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #0A0A0A; /* Dark text for bright button */
    border: 2px solid transparent;
}

.page-contact__btn-primary:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-contact__btn-secondary {
    background-color: transparent;
    color: #FFD36B; /* Glow color for text */
    border: 2px solid #FFD36B; /* Glow color for border */
}

.page-contact__btn-secondary:hover {
    background-color: #FFD36B;
    color: #0A0A0A; /* Dark text on hover */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 211, 107, 0.2);
}

/* Sections */
.page-contact__methods-section,
.page-contact__faq-section,
.page-contact__feedback-section {
    padding: 80px 0;
    background-color: #0A0A0A; /* Background */
}

.page-contact__form-section,
.page-contact__responsible-gaming-section {
    padding: 80px 0;
    background-color: #111111; /* Card BG */
}

.page-contact__dark-section {
    background-color: #0A0A0A; /* Background */
}

.page-contact__light-bg {
    background-color: #111111; /* Card BG, which is a dark color */
    color: #FFF6D6; /* Text Main */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-contact__method-card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 350px;
}

.page-contact__method-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-contact__card-title {
    font-size: 1.8em;
    color: #FFD36B; /* Glow color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__card-text {
    color: #FFF6D6; /* Text Main */
    font-size: 1em;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Contact Form */
.page-contact__contact-form {
    max-width: 700px;
    margin: 40px auto 0 auto;
    padding: 30px;
    background-color: #0A0A0A; /* Background */
    border-radius: 10px;
    border: 1px solid #3A2A12; /* Border */
}

.page-contact__form-group {
    margin-bottom: 20px;
}

.page-contact__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #FFD36B; /* Glow color */
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #3A2A12; /* Border */
    border-radius: 5px;
    background-color: #111111; /* Card BG */
    color: #FFF6D6; /* Text Main */
    font-size: 1em;
    box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: rgba(255, 246, 214, 0.6); /* Lighter version of Text Main */
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #FFD36B; /* Glow color */
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 211, 107, 0.3);
}

/* FAQ Section */
.page-contact__faq-list {
    margin-top: 40px;
}

.page-contact__faq-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD36B; /* Glow color */
    cursor: pointer;
    background-color: #111111; /* Card BG */
    transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
    background-color: #0A0A0A; /* Slightly darker on hover */
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
    transform: rotate(0deg); /* Explicitly set to 0 for minus sign */
}

.page-contact__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #FFF6D6; /* Text Main */
    background-color: #111111; /* Card BG */
}

.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px 25px;
}

.page-contact__faq-answer p {
    margin: 0;
    color: #FFF6D6; /* Text Main */
}

/* Responsible Gaming & Feedback Sections */
.page-contact__responsible-gaming-section .page-contact__container,
.page-contact__feedback-section .page-contact__container {
    text-align: center;
    padding: 60px 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-image {
        max-height: 500px;
    }
    .page-contact__hero-content {
        padding: 30px 15px;
    }
    .page-contact__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }
    .page-contact__tagline {
        font-size: clamp(0.9em, 2vw, 1.2em);
    }
    .page-contact__methods-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-contact__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile specific padding top */
    }
    .page-contact__hero-image {
        max-height: 400px;
    }
    .page-contact__hero-content {
        padding: 20px 10px;
    }
    .page-contact__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }
    .page-contact__tagline {
        font-size: clamp(0.8em, 2.5vw, 1em);
    }
    .page-contact__section-title {
        font-size: clamp(1.5em, 5vw, 2em);
    }
    .page-contact__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    /* Images */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__contact-form {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Buttons */
    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact a[class*="button"],
    .page-contact 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;
        margin-bottom: 10px; /* Add some space between stacked buttons */
    }
    .page-contact__hero-content .page-contact__btn-primary {
        margin-bottom: 0; /* Remove extra margin if only one button */
    }
    .page-contact__methods-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__method-card {
        padding: 25px;
        min-height: auto;
    }
    .page-contact__contact-form {
        padding: 20px;
    }
    .page-contact__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-contact__faq-answer {
        padding: 0 20px;
    }
    .page-contact__faq-item.active .page-contact__faq-answer {
        padding: 10px 20px 20px 20px;
    }
    .page-contact__responsible-gaming-section .page-contact__container,
    .page-contact__feedback-section .page-contact__container {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-image {
        max-height: 300px;
    }
    .page-contact__hero-content {
        padding: 15px 10px;
    }
    .page-contact__main-title {
        font-size: clamp(1.2em, 7vw, 2em);
    }
    .page-contact__tagline {
        font-size: clamp(0.75em, 3vw, 0.9em);
    }
    .page-contact__methods-section,
    .page-contact__faq-section,
    .page-contact__feedback-section,
    .page-contact__form-section,
    .page-contact__responsible-gaming-section {
        padding: 50px 0;
    }
}