/* style/contact.css */

/* Variables for colors */
:root {
    --page-contact-primary-color: #FFD700; /* Gold */
    --page-contact-secondary-color: #8B0000; /* Dark Red */
    --page-contact-dark-bg: #1a1a1a; /* Dark background */
    --page-contact-light-text: #ffffff; /* White text for dark backgrounds */
    --page-contact-dark-text: #333333; /* Dark text for light backgrounds */
    --page-contact-accent-blue: #00BFFF; /* Deep Sky Blue for accent */
    --page-contact-accent-green: #32CD32; /* Lime Green for accent */
    --page-contact-card-bg: #2a2a2a; /* Slightly lighter dark for cards */
    --page-contact-border-color: rgba(255, 215, 0, 0.3); /* Gold with transparency */
}

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

/* Hero Section */
.page-contact__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--page-contact-secondary-color) 0%, var(--page-contact-dark-bg) 100%);
    position: relative;
    overflow: hidden;
    min-height: 350px; /* Ensure hero section has some height */
    justify-content: center;
}

.page-contact__hero-content {
    z-index: 1;
    max-width: 800px;
    position: relative;
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2; /* Subtle background image */
    z-index: 0;
}

.page-contact__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-contact__title {
    font-size: 3.5em;
    color: var(--page-contact-primary-color);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    font-weight: bold;
}

.page-contact__description {
    font-size: 1.2em;
    color: var(--page-contact-light-text);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-contact__section-title {
    font-size: 2.5em;
    color: var(--page-contact-primary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.page-contact__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-contact-primary-color);
    border-radius: 2px;
}

.page-contact__text {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    color: var(--page-contact-light-text);
}

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

.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: var(--page-contact-card-bg);
    border: 1px solid var(--page-contact-border-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__method-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--page-contact-primary-color));
}

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

.page-contact__method-text {
    color: var(--page-contact-light-text);
    margin-bottom: 25px;
}

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

.page-contact__btn--primary {
    background-color: var(--page-contact-primary-color);
    color: var(--page-contact-dark-bg); /* Dark text for gold button */
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-contact__btn--primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-contact__btn--secondary {
    background-color: var(--page-contact-secondary-color);
    color: var(--page-contact-light-text);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
}

.page-contact__btn--secondary:hover {
    background-color: #a00000; /* Slightly darker red */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.6);
}

.page-contact__btn--outline {
    background-color: transparent;
    color: var(--page-contact-primary-color);
    border: 2px solid var(--page-contact-primary-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.page-contact__btn--outline:hover {
    background-color: var(--page-contact-primary-color);
    color: var(--page-contact-dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* FAQ Section */
.page-contact__faq {
    padding: 60px 0;
    background-color: #1a1a1a; /* Same as dark background */
}

/* Call to Action Section */
.page-contact__cta {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(90deg, var(--page-contact-secondary-color), var(--page-contact-dark-bg));
    border-top: 1px solid var(--page-contact-border-color);
    border-bottom: 1px solid var(--page-contact-border-color);
}

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

.page-contact__btn--register {
    background-color: var(--page-contact-primary-color);
    color: var(--page-contact-dark-bg);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-contact__btn--register:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-contact__btn--login {
    background-color: var(--page-contact-accent-blue); /* Using an accent color for login */
    color: var(--page-contact-light-text);
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.4);
}

.page-contact__btn--login:hover {
    background-color: #0099cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 191, 255, 0.6);
}


/* Social Media Section */
.page-contact__social {
    padding: 60px 0;
    text-align: center;
    background-color: var(--page-contact-dark-bg);
}

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

.page-contact__social-icon {
    display: inline-flex;
    width: 50px;
    height: 50px;
    background-color: var(--page-contact-card-bg);
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-contact__social-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(1.2); /* Make icons pop */
}

.page-contact__social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    background-color: var(--page-contact-primary-color);
}
.page-contact__social-icon:hover img {
    filter: brightness(0.2); /* Darken icon on hover */
}

/* Copyright Section */
.page-contact__copyright {
    padding: 30px 20px;
    text-align: center;
    background-color: #111; /* Even darker background */
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9em;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-contact__hero {
        padding: 60px 20px;
    }

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

    .page-contact__description {
        font-size: 1em;
    }

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

    .page-contact__method-grid {
        grid-template-columns: 1fr;
    }

    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-contact__btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .page-contact__hero {
        padding: 40px 15px;
    }

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

    .page-contact__description {
        font-size: 0.9em;
    }

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

    .page-contact__method-card {
        padding: 20px;
    }

    .page-contact__method-icon {
        width: 60px;
        height: 60px;
    }

    .page-contact__method-title {
        font-size: 1.5em;
    }

    .page-contact__btn {
        padding: 10px 20px;
        font-size: 1em;
    }
}