/* ============================================
   CONTACT PAGE STYLES (bubble1.html only)
   Requires styles.css to be loaded first
   for the header, nav, and body.
   ============================================ */

/* Page Title */
.contact-page main h1 {
    color: #000;
    padding-top: 10px;
    text-align: center;
    font-size: 24px;
    font-family: 'Arial', Helvetica, sans-serif;
    margin-bottom: 30px;
}

/* Form container styled like .blog-posts for consistency */
.contact-page form {
    width: 80%;
    max-width: 600px;
    margin: 0 auto 40px auto;
    border: 1px solid #000;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    padding: 25px 20px;
    background-color: #f0f0f0;
    text-align: center;
}

/* Inputs and textarea */
.contact-page input,
.contact-page textarea {
    background-color: #fff;
    width: 100%;
    font-size: 16px;
    font-family: 'Courier New', Courier, monospace;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #000;
    margin-bottom: 20px;
    box-sizing: border-box;
    display: block;
}

.contact-page input::placeholder,
.contact-page textarea::placeholder {
    color: #666;
    font-family: 'Courier New', Courier, monospace;
}

.contact-page input:focus,
.contact-page textarea:focus {
    outline: none;
    border: 3px solid #000;
}

.contact-page textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Courier New', Courier, monospace;
}

/* Submit button styled like .nav-button */
.contact-page button {
    background-color: #00ff00;
    color: #000;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 18px;
    padding: 0.5rem 1.5rem;
    border: 1px solid #000;
    border-radius: 50px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    min-width: 150px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.contact-page button:hover {
    background-color: #ff0;
    color: #000;
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-page main h1 {
        font-size: 40px;
    }

    .contact-page form {
        width: 90%;
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .contact-page main h1 {
        font-size: 32px;
    }

    .contact-page input,
    .contact-page textarea {
        font-size: 14px;
        padding: 10px 12px;
    }
}
