/* =====================================
   Time Trials UK - Contact Page Styling
   ===================================== */
   
.content-section {
    max-width: 1200px;      /* limits content width on large screens */
    margin: 0 auto;          /* centers content horizontally */
    padding: 0 20px;         /* small horizontal padding for smaller screens */
}


.content {
    max-width: 700px;
    margin: 60px auto;
    background: #f9f9fb;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

.content h2 {
    font-size: 2rem;
    color: #cc5500;
    /*color: #003366;*/
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content p {
    color: #444;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* ===============================
   Form Styling
   =============================== */

form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: left;
}

label {
    font-weight: 600;
    color: #003366;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

input:focus,
textarea:focus {
    border-color: #0056b3;
    box-shadow: 0 0 6px rgba(0, 86, 179, 0.3);
    outline: none;
}

textarea {
    resize: vertical;
}

/* ===============================
   Submit Button
   =============================== */

button[type="submit"] {
    background: #CC5500;
    /*background: #0056b3;*/
    color: #fff;
    padding: 12px 22px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
    transition: background 0.3s ease, transform 0.1s ease;
}

button[type="submit"]:hover {
    background: #c55b40;
    /*background: #003d80;*/
    transform: scale(1.02);
}

/* ===============================
   Messages
   =============================== */

.success-message,
.error-message {
    padding: 14px;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 20px;
    animation: fadeIn 0.5s ease-in-out;
}

.success-message {
    background: #e8f7ed;
    color: #1b5e20;
    border: 1px solid #81c784;
}

.error-message {
    background: #fdecea;
    color: #c62828;
    border: 1px solid #e57373;
}

/* ===============================
   Hidden Honeypot Field
   =============================== */

.honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ===============================
   Animation
   =============================== */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===============================
   Responsive
   =============================== */

@media (max-width: 600px) {
    .content {
        margin: 20px;
        padding: 25px;
    }

    .content h2 {
        font-size: 1.6rem;
    }

    button[type="submit"] {
        width: 100%;
        text-align: center;
    }
}








