/************************************************************/
/*  DEDICATED STYLES FOR THE CONTACT PAGE                   */
/*  (crazyinloveforyou.com)                                 */
/************************************************************/

/* Use the page-wrapper for consistent top/bottom spacing */
.page-wrapper {
    padding: 60px 20px;
}

/* This is the main container that will be centered on the page */
.contact-container {
    max-width: 700px;
    /* This is the key to centering the box */
    margin: 0 auto;
    background: #ffffff;
    padding: 40px 50px 50px 50px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border-top: 5px solid #A63D40; /* Your Brand's Red */
}

/* Style the text inside the container */
.contact-container h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #A63D40; /* Red */
    margin-bottom: 10px;
    text-align: center;
}

.contact-container .subtitle {
    color: #666;
    margin-bottom: 40px;
    text-align: center;
    font-size: 1.1rem;
}

/* Style the form itself for consistency */
.contact-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.contact-form .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
}

.contact-form .form-group input[type="text"],
.contact-form .form-group input[type="email"],
.contact-form .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form .form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* The beautiful "focus" glow effect */
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: #E9B872; /* Your Brand's Gold */
    box-shadow: 0 0 0 3px rgba(233, 184, 114, 0.4);
}

/* The main submit button */
.contact-form .form-button {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
    background-color: #A63D40; /* Red */
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form .form-button:hover {
    background-color: #8c3235; /* Darker Red on hover */
}

/* Styles for success and error messages */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: left;
}
.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}