/* style/contact.css */

/* Variables for colors */
:root {
    --page-contact-primary-color: #003366;
    --page-contact-secondary-color: #FFCC00;
    --page-contact-text-light: #ffffff;
    --page-contact-text-dark: #222222; /* Ensuring high contrast */
    --page-contact-background-light: #f4f7f6; /* Light background for sections */
    --page-contact-card-background: #ffffff;
    --page-contact-border-color: #e0e0e0;
}

.page-contact {
    font-family: 'Arial', sans-serif;
    color: var(--page-contact-text-dark); /* Default text color */
    line-height: 1.6;
    background-color: var(--page-contact-background-light);
}

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

/* Hero Section */
.page-contact__hero {
    background: linear-gradient(135deg, var(--page-contact-primary-color), #004488); /* Slightly lighter gradient for visual depth */
    color: var(--page-contact-text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-contact__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:abstract,gaming,security]'); /* Subtle background pattern */
    background-size: cover;
    background-position: center;
    opacity: 0.1; /* Very subtle overlay */
    z-index: 0;
}

.page-contact__hero .page-contact__container {
    position: relative;
    z-index: 1;
}

.page-contact__title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-contact-secondary-color); /* Golden yellow for title */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-contact__description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--page-contact-text-light);
}

.page-contact__description strong {
    color: var(--page-contact-secondary-color);
}

.page-contact__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1em;
    border: none;
}

.page-contact__btn--primary {
    background-color: var(--page-contact-secondary-color);
    color: var(--page-contact-primary-color);
}

.page-contact__btn--primary:hover {
    background-color: #e6b800; /* Slightly darker yellow on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

.page-contact__btn--secondary:hover {
    background-color: #004488;
    border-color: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Contact Methods Section */
.page-contact__methods {
    padding: 60px 0;
    text-align: center;
    background-color: var(--page-contact-card-background); /* White background for this section */
}

.page-contact__subtitle {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--page-contact-primary-color);
    font-weight: bold;
}

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

.page-contact__method-card {
    background-color: var(--page-contact-background-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-contact__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

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

.page-contact__method-text {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
}

.page-contact__method-link {
    color: var(--page-contact-primary-color);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid var(--page-contact-secondary-color);
    padding-bottom: 3px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-contact__method-link:hover {
    color: var(--page-contact-secondary-color);
    border-color: var(--page-contact-primary-color);
}

.page-contact__social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.page-contact__social-icon {
    display: block;
    width: 40px;
    height: 40px;
    transition: transform 0.2s ease;
}

.page-contact__social-icon img {
    width: 100%;
    height: 100%;
    filter: grayscale(100%) brightness(50%) sepia(100%) hue-rotate(180deg) saturate(300%) contrast(100%); /* Makes icons blue */
}

.page-contact__social-icon:hover img {
    filter: grayscale(0%) brightness(100%); /* Color on hover */
    transform: translateY(-3px);
}

/* Contact Form Section */
.page-contact__form-section {
    padding: 60px 0;
    background-color: var(--page-contact-background-light);
    text-align: center;
}

.page-contact__form {
    max-width: 700px;
    margin: 40px auto 0 auto;
    background-color: var(--page-contact-card-background);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

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

.page-contact__label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--page-contact-primary-color);
    font-size: 1.1em;
}

.page-contact__input,
.page-contact__textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--page-contact-border-color);
    border-radius: 5px;
    font-size: 1em;
    color: var(--page-contact-text-dark);
    background-color: #fcfcfc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__input:focus,
.page-contact__textarea:focus {
    border-color: var(--page-contact-secondary-color);
    box-shadow: 0 0 8px rgba(255, 204, 0, 0.3);
    outline: none;
}

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

/* Call to Action Section */
.page-contact__cta {
    background: linear-gradient(45deg, #002244, var(--page-contact-primary-color));
    color: var(--page-contact-text-light);
    padding: 60px 0;
    text-align: center;
}

.page-contact__cta-content {
    max-width: 900px;
}

.page-contact__cta .page-contact__subtitle {
    color: var(--page-contact-secondary-color);
}

.page-contact__cta .page-contact__description {
    color: var(--page-contact-text-light);
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-contact__title {
        font-size: 2.5em;
    }
    .page-contact__subtitle {
        font-size: 2em;
    }
    .page-contact__description {
        font-size: 1em;
    }
    .page-contact__hero {
        padding: 60px 0;
    }
    .page-contact__grid {
        grid-template-columns: 1fr;
    }
    .page-contact__form {
        padding: 30px;
    }
    .page-contact__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-contact__title {
        font-size: 2em;
    }
    .page-contact__subtitle {
        font-size: 1.8em;
    }
    .page-contact__hero {
        padding: 40px 0;
    }
    .page-contact__methods,
    .page-contact__form-section,
    .page-contact__cta {
        padding: 40px 0;
    }
}

/* Ensure text contrast for all elements */
.page-contact h1, .page-contact h2, .page-contact h3 {
    color: var(--page-contact-primary-color);
}
.page-contact p, .page-contact label, .page-contact__method-text {
    color: var(--page-contact-text-dark);
}
.page-contact__hero h1, .page-contact__hero p {
    color: var(--page-contact-text-light);
}
.page-contact__cta h2, .page-contact__cta p {
    color: var(--page-contact-text-light);
}
.page-contact__btn--primary {
    color: var(--page-contact-primary-color);
}
.page-contact__btn--secondary {
    color: var(--page-contact-secondary-color);
}