/* style/contact.css */

.page-contact {
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent;
    padding-top: var(--header-offset, 120px);
    min-height: 100vh;
}

.page-contact__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    overflow: hidden;
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.2;
    filter: brightness(0.6);
}

.page-contact__hero-container {
    max-width: 900px;
    z-index: 1;
    background-color: rgba(26, 32, 44, 0.7);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-title {
    font-size: 3.5rem;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-contact__hero-description {
    font-size: 1.25rem;
    color: #f0f0f0;
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-contact__cta-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A202C;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-contact__cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

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

.page-contact__section-title {
    font-size: 2.5rem;
    color: #FFD700;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.page-contact__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0;
    border-radius: 2px;
}

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

.page-contact__method-card {
    background-color: #1A202C;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-contact__method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
}

.page-contact__method-icon {
    width: 200px;
    height: auto;
    margin: 0 auto 25px;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-contact__method-title {
    font-size: 1.8rem;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-contact__method-description {
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-contact__method-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A202C;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-contact__method-button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-contact__form-section {
    background-color: #1A202C;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.page-contact__form-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #2a313e;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

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

.page-contact__form-label {
    display: block;
    font-size: 1.1rem;
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #444;
    border-radius: 8px;
    background-color: #1A202C;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: #888;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
    outline: none;
}

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

.page-contact__form-submit-button {
    display: block;
    width: 100%;
    background-color: #FFD700;
    color: #1A202C;
    padding: 18px;
    border-radius: 8px;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-contact__form-submit-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-contact__form-message {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1rem;
    color: #FFD700;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 3rem;
    }
    .page-contact__hero-description {
        font-size: 1.1rem;
    }
    .page-contact__section-title {
        font-size: 2rem;
    }
    .page-contact__method-card {
        padding: 25px;
    }
    .page-contact__method-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding: 60px 15px;
    }
    .page-contact__hero-title {
        font-size: 2.2rem;
    }
    .page-contact__hero-description {
        font-size: 1rem;
    }
    .page-contact__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .page-contact__section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    .page-contact__methods-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__method-icon {
        width: 250px;
        height: auto;
    }
    .page-contact__method-title {
        font-size: 1.4rem;
    }
    .page-contact__contact-form {
        padding: 30px;
    }
    .page-contact__form-label {
        font-size: 1rem;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 12px;
        font-size: 0.95rem;
    }
    .page-contact__form-submit-button {
        padding: 15px;
        font-size: 1.1rem;
    }
    .page-contact__container {
        padding: 30px 15px;
    }
    .page-contact__hero-container {
        padding: 30px;
    }

    /* Ensure all images within .page-contact are responsive and don't overflow */
    .page-contact img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 1.8rem;
    }
    .page-contact__hero-description {
        font-size: 0.9rem;
    }
    .page-contact__section-title {
        font-size: 1.5rem;
    }
    .page-contact__method-icon {
        width: 200px;
    }
    .page-contact__hero-container {
        padding: 20px;
    }
}

/* Image sizing check: ensure content images are not too small */
.page-contact__method-icon, .page-contact__hero-image {
    min-width: 200px;
    min-height: 200px;
    /* These will be overridden by specific width/height for layout but ensure minimums */
}

/* Additional check for img tags in content area */
.page-contact img:not(.shared-header__logo):not(.shared-footer__payment-icon):not(.shared-footer__social-icon):not(.shared-footer__game-provider-icon) {
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
}