/* style/contact.css */

/* Variables for consistency */
:root {
    --page-contact-primary-color: #0A192F; /* Deep Blue */
    --page-contact-accent-color: #FFD700; /* Gold */
    --page-contact-light-text: #FFFFFF;
    --page-contact-dark-text: #333333; /* A dark color for light backgrounds */
    --page-contact-light-background: #F8F8F8; /* Light grey for contrast */
    --page-contact-button-hover: #E6C200; /* Slightly darker gold */
    --page-contact-border-color: #2a3a4c; /* Slightly lighter deep blue for borders */
}

/* Ensure body and html are not targeted directly, use .page-contact wrapper */
.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-contact-dark-text); /* Default text color for light backgrounds */
    background-color: var(--page-contact-light-background);
}

/* Hero Section */
.page-contact__hero {
    background: var(--page-contact-primary-color); /* Deep blue background */
    color: var(--page-contact-light-text);
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.page-contact__hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 215, 0, 0.1); /* Light gold overlay */
    border-radius: 50%;
    filter: blur(50px);
    z-index: 0;
}

.page-contact__hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background-color: rgba(255, 215, 0, 0.08); /* Light gold overlay */
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.page-contact__hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 1; /* Ensure content is above pseudo-elements */
}

.page-contact__title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--page-contact-light-text);
    font-weight: bold;
    line-height: 1.2;
}

.page-contact__subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-contact__cta-button {
    display: inline-block;
    background-color: var(--page-contact-accent-color);
    color: var(--page-contact-primary-color); /* Dark text for gold button */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 2px solid var(--page-contact-accent-color);
}

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

.page-contact__hero-image-wrapper {
    margin-top: 40px;
    max-width: 600px;
    width: 100%;
    z-index: 1;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Container for sections */
.page-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Section Titles */
.page-contact__section-title {
    font-size: 2.5em;
    color: var(--page-contact-primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__section-description {
    font-size: 1.1em;
    color: var(--page-contact-dark-text);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

/* Contact Methods Section */
.page-contact__methods {
    padding: 60px 0;
    background-color: var(--page-contact-light-background);
}

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

.page-contact__method-item {
    background-color: var(--page-contact-light-text);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--page-contact-accent-color);
}

.page-contact__method-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-contact__method-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.page-contact__method-title {
    font-size: 1.8em;
    color: var(--page-contact-primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__method-text {
    font-size: 1em;
    color: var(--page-contact-dark-text);
    margin-bottom: 25px;
}

.page-contact__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: 10px; /* For spacing with social links */
}

.page-contact__button--primary {
    background-color: var(--page-contact-accent-color);
    color: var(--page-contact-primary-color);
    border: 2px solid var(--page-contact-accent-color);
}

.page-contact__button--primary:hover {
    background-color: var(--page-contact-button-hover);
    border-color: var(--page-contact-button-hover);
}

.page-contact__button--secondary {
    background-color: transparent;
    color: var(--page-contact-primary-color);
    border: 2px solid var(--page-contact-primary-color);
}

.page-contact__button--secondary:hover {
    background-color: var(--page-contact-primary-color);
    color: var(--page-contact-light-text);
}

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

.page-contact__social-icon-link {
    display: block;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--page-contact-primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-contact__social-icon-link:hover {
    background-color: var(--page-contact-accent-color);
    transform: translateY(-3px);
}

.page-contact__social-icon-link:hover .page-contact__social-icon {
    filter: invert(0%); /* Make icon dark on hover */
}

.page-contact__social-icon {
    width: 28px;
    height: 28px;
    filter: invert(100%); /* Make icons white */
    transition: filter 0.3s ease;
}


/* FAQ Section */
.page-contact__faq {
    padding: 60px 0;
    background-color: var(--page-contact-light-background); /* Use light background for this section too */
}

.page-contact__faq-items {
    margin-top: 40px;
    display: grid;
    gap: 25px;
}

.page-contact__faq-item {
    background-color: var(--page-contact-light-text);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-left: 5px solid var(--page-contact-primary-color);
}

.page-contact__faq-question {
    font-size: 1.4em;
    color: var(--page-contact-primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-contact__faq-answer {
    font-size: 1em;
    color: var(--page-contact-dark-text);
}

.page-contact__more-faq {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: var(--page-contact-dark-text);
}

.page-contact__more-faq a {
    color: var(--page-contact-primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-contact__more-faq a:hover {
    color: var(--page-contact-accent-color);
    text-decoration: underline;
}


/* Responsive Design */
@media (min-width: 768px) {
    .page-contact__hero {
        flex-direction: row;
        text-align: left;
        padding: 100px 40px;
    }

    .page-contact__hero-content {
        flex: 1;
        margin: 0;
        padding-right: 40px;
    }

    .page-contact__hero-image-wrapper {
        flex: 1;
        margin-top: 0;
        max-width: 50%;
    }

    .page-contact__title {
        font-size: 3.8em;
    }

    .page-contact__method-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .page-contact__method-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .page-contact__title {
        font-size: 4.5em;
    }
}

@media (max-width: 480px) {
    .page-contact__title {
        font-size: 2.5em;
    }
    .page-contact__subtitle {
        font-size: 1.1em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__method-title {
        font-size: 1.5em;
    }
    .page-contact__faq-question {
        font-size: 1.2em;
    }
    .page-contact__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-contact__button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* Ensure text contrast */
.page-contact h1, .page-contact h2, .page-contact h3, .page-contact p, .page-contact a, .page-contact span, .page-contact div {
    /* Specific overrides for contrast if needed, but general colors should cover this */
}

/* Specific contrast checks */
.page-contact__hero .page-contact__title,
.page-contact__hero .page-contact__subtitle {
    color: var(--page-contact-light-text); /* White text on deep blue background */
}

.page-contact__cta-button {
    background-color: var(--page-contact-accent-color); /* Gold background */
    color: var(--page-contact-primary-color); /* Deep blue text on gold */
}

.page-contact__method-item {
    background-color: var(--page-contact-light-text); /* White background */
    color: var(--page-contact-dark-text); /* Dark text on white */
}

.page-contact__method-title {
    color: var(--page-contact-primary-color); /* Deep blue title on white */
}

.page-contact__button--primary {
    background-color: var(--page-contact-accent-color); /* Gold background */
    color: var(--page-contact-primary-color); /* Deep blue text on gold */
}

.page-contact__button--secondary {
    background-color: transparent; /* Transparent background */
    color: var(--page-contact-primary-color); /* Deep blue text */
    border-color: var(--page-contact-primary-color); /* Deep blue border */
}

.page-contact__button--secondary:hover {
    background-color: var(--page-contact-primary-color); /* Deep blue background on hover */
    color: var(--page-contact-light-text); /* White text on hover */
}

.page-contact__social-icon-link {
    background-color: var(--page-contact-primary-color); /* Deep blue background */
}

.page-contact__social-icon {
    filter: invert(100%); /* White icon on deep blue */
}

.page-contact__social-icon-link:hover {
    background-color: var(--page-contact-accent-color); /* Gold background on hover */
}

.page-contact__social-icon-link:hover .page-contact__social-icon {
    filter: invert(0%); /* Dark icon on gold */
}

.page-contact__faq-item {
    background-color: var(--page-contact-light-text); /* White background */
}

.page-contact__faq-question {
    color: var(--page-contact-primary-color); /* Deep blue question on white */
}

.page-contact__faq-answer {
    color: var(--page-contact-dark-text); /* Dark text on white */
}

.page-contact__more-faq a {
    color: var(--page-contact-primary-color); /* Deep blue link */
}

.page-contact__more-faq a:hover {
    color: var(--page-contact-accent-color); /* Gold link on hover */
}