/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #000000; /* Ensure consistency with body background if not inheriting */
    /* Fixed header offset for PC and mobile */
    padding-top: var(--header-offset, 120px);
}

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
    background-color: #0d0d0d; /* Slightly lighter than pure black for depth */
}

.page-contact__hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-contact__hero-title {
    font-size: 3.5em;
    color: #FCBC45; /* Golden accent for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(252, 188, 69, 0.6);
}

.page-contact__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__hero-image {
    display: block;
    width: 100%; /* Occupy full width of its container */
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* Section Titles and Descriptions */
.page-contact__section-title {
    font-size: 2.5em;
    color: #FCBC45;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 60px;
}

.page-contact__section-description {
    font-size: 1.1em;
    color: #e0e0e0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

/* Contact Methods Section */
.page-contact__methods-section {
    padding: 60px 0;
    background-color: #1a1a1a;
}

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

.page-contact__method-card {
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__method-icon {
    width: 100%; /* Make icon responsive within card */
    max-width: 250px; /* Max width for icons */
    height: auto;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

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

.page-contact__method-text {
    color: #cccccc;
    margin-bottom: 25px;
}

/* Contact Form Section */
.page-contact__form-section {
    padding: 60px 0;
    background-color: #0d0d0d;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 40px auto 0 auto;
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

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

.page-contact__form-label {
    display: block;
    color: #FCBC45;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: calc(100% - 20px); /* Adjust for padding */
    padding: 12px 10px;
    border: 1px solid #444444;
    border-radius: 5px;
    background-color: #333333;
    color: #ffffff;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #FCBC45;
    box-shadow: 0 0 8px rgba(252, 188, 69, 0.5);
    outline: none;
}

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

/* Call to Action Section */
.page-contact__cta-section {
    padding: 80px 0;
    background-color: #2a2a2a;
    text-align: center;
}

.page-contact__cta-title {
    font-size: 2.8em;
    color: #FCBC45;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(252, 188, 69, 0.5);
}

.page-contact__cta-description {
    font-size: 1.2em;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__cta-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    min-width: 200px;
    min-height: 200px;
}

.page-contact__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Buttons */
.page-contact__button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    min-width: 150px;
}

.page-contact__button--primary {
    background-color: #FCBC45; /* Login button color */
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-contact__button--primary:hover {
    background-color: #e0a53a;
    border-color: #e0a53a;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(252, 188, 69, 0.4);
}

.page-contact__button--secondary {
    background-color: transparent;
    color: #FFFFFF; /* Register button color */
    border: 2px solid #FFFFFF;
}

.page-contact__button--secondary:hover {
    background-color: #FFFFFF;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(255, 255, 255, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 3em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-contact {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    }
    .page-contact__hero-section {
        padding: 60px 15px;
    }
    .page-contact__hero-title {
        font-size: 2.5em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__section-description {
        font-size: 0.95em;
    }
    .page-contact__method-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__method-card {
        padding: 25px;
    }
    .page-contact__form-section {
        padding: 40px 0;
    }
    .page-contact__contact-form {
        padding: 30px 20px;
    }
    .page-contact__cta-section {
        padding: 60px 0;
    }
    .page-contact__cta-title {
        font-size: 1.8em;
    }
    .page-contact__cta-description {
        font-size: 1em;
    }
    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-contact__button {
        width: 80%;
        margin: 0 auto;
    }

    /* Ensure content area images do not overflow */
    .page-contact__method-icon,
    .page-contact__hero-image,
    .page-contact__cta-image {
        max-width: 100%;
        height: auto;
    }
    /* Enforce min size for all images in content area */
    .page-contact img {
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 2em;
    }
    .page-contact__hero-description {
        font-size: 0.9em;
    }
    .page-contact__section-title {
        font-size: 1.6em;
    }
    .page-contact__cta-title {
        font-size: 1.6em;
    }
    .page-contact__button {
        width: 90%;
        padding: 12px 20px;
        font-size: 1em;
    }
}

/* Ensure all content images meet min size and are responsive */
.page-contact img {
    display: block; /* Prevent extra space below images */
    min-width: 200px;
    min-height: 200px;
    /* CSS for responsive image scaling */
    max-width: 100%;
    height: auto;
}