/* style/contact.css */

.page-contact {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    overflow: hidden;
    color: #FFFFFF; /* Light text for hero section */
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    text-align: center;
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.page-contact__hero-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    padding: 40px;
    border-radius: 8px;
}

.page-contact__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FCBC45; /* Emphasize with login button color */
    line-height: 1.2;
}

.page-contact__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.page-contact__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-contact__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.page-contact__button--register {
    background-color: #FFFFFF; /* Custom color for register */
    color: #000000;
}

.page-contact__button--register:hover {
    background-color: #e0e0e0;
}

.page-contact__button--login {
    background-color: #FCBC45; /* Custom color for login */
    color: #000000;
}

.page-contact__button--login:hover {
    background-color: #e7a731;
}

/* General Section Styling */
.page-contact__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
}

/* Contact Methods Section */
.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: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-contact__method-card:hover {
    transform: translateY(-5px);
}

.page-contact__method-icon {
    width: 400px; /* HTML width is 400 */
    height: 300px; /* HTML height is 300 */
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-contact__method-description {
    color: #555555;
    margin-bottom: 25px;
}

.page-contact__button--livechat,
.page-contact__button--email,
.page-contact__button--phone,
.page-contact__button--faq {
    background-color: #000000; /* Main color */
    color: #FFFFFF;
}

.page-contact__button--livechat:hover,
.page-contact__button--email:hover,
.page-contact__button--phone:hover,
.page-contact__button--faq:hover {
    background-color: #333333;
}

/* Contact Form Section */
.page-contact__form-description {
    text-align: center;
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 40px;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto 60px auto;
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    color: #333333;
    background-color: #f9f9f9;
}

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

.page-contact__form-textarea {
    resize: vertical;
    min-height: 120px;
}

.page-contact__button--submit {
    width: 100%;
    background-color: #FCBC45; /* Login button color for submit */
    color: #000000;
    padding: 15px;
    font-size: 1.1em;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.page-contact__button--submit:hover {
    background-color: #e7a731;
}

/* FAQ Section */
.page-contact__faq-section {
    text-align: center;
    padding: 60px 0;
    background-color: #f8f8f8;
    margin-bottom: 60px;
}

.page-contact__faq-description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-contact__hero-title {
        font-size: 2.2em;
    }

    .page-contact__hero-description {
        font-size: 1em;
    }

    .page-contact__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-contact__button {
        width: 100%;
    }

    .page-contact__section-title {
        font-size: 2em;
    }

    .page-contact__methods-grid {
        grid-template-columns: 1fr;
    }
    
    .page-contact__method-icon {
        max-width: 100%;
        height: auto;
    }

    .page-contact__hero-image {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 1.8em;
    }

    .page-contact__hero-container {
        padding: 25px;
    }
}

/* Ensure no images have filters */
.page-contact img {
    filter: none !important;
}

/* Ensure content area images are not rendered below 200px. */
/* This implies that their containers should also be at least 200px wide. */
/* The grid setup ensures cards are min 300px wide, so images inside will be >200px. */
/* The hero image also scales down but will be >200px on typical mobile screens. */
.page-contact__method-icon {
    min-width: 200px;
    min-height: 200px;
    width: auto; /* Allow auto scaling */
    height: auto; /* Allow auto scaling */
}

.page-contact__hero-image {
    min-width: 200px;
    min-height: 200px;
    width: auto;
    height: auto;
}