/* Contact Page Specific Styles */

/* Hero section with a background image */
.hero-contact {
    /* The first part of the background is a dark overlay to ensure text is readable. */
    /* The second part is your image. You will need to add an image to this path. */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/assets/Images/backgrounds/home-plate-flag.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-text-white);
}

.hero-contact h1,
.hero-contact p {
    color: var(--color-text-white);
    /* Adds a subtle shadow to the text to make it stand out against the background */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-section {
    position: relative;
    overflow: hidden; /* Ensures the pseudo-element doesn't spill out */
    background-color: var(--color-bg-light);
}

/* This pseudo-element creates the transparent logo background */
.contact-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 500px;
    height: 100%;
    background-image: url('/assets/Images/logo/bandit-boys-logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.05; /* Adjust for desired transparency */
    z-index: 0;
}

.contact-card {
    position: relative; /* Needed to appear above the pseudo-element */
    background: var(--color-white);
    padding: var(--space-12);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 700px;
    margin: 0 auto; /* Center the card */
    text-align: center;
}

.contact-card p {
    margin-bottom: var(--space-8);
    color: var(--color-text-secondary);
}

/* Make form labels and inputs left-aligned for better readability */
#contact-form .form-group {
    text-align: left;
}

/* Styles for the "floating" input fields */
#contact-form .form-input,
#contact-form .form-textarea {
    background-color: #f8f9fa;
    border: 2px solid transparent;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--space-4);
    font-size: var(--font-size-base);
}

#contact-form .form-input:focus,
#contact-form .form-textarea:focus {
    background-color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg), 0 0 0 3px rgba(75, 156, 211, 0.2);
    transform: translateY(-2px);
}

#contact-form .form-actions {
    justify-content: center;
}