/* =============================================
   SOUTH SHORE RECOVERY CLUB - contact.css
   Page-specific styles (shared styles in ../css/site.css)
   ============================================= */

/* Full-screen overlay navigation */
.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.92);
    overflow-x: hidden;
    transition: 0.4s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
    padding: 10px;
    text-decoration: none;
    font-size: 2rem;
    color: #ccc;
    display: block;
    transition: 0.2s;
}

.overlay a:hover,
.overlay a:focus {
    color: #fff;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 3.5rem;
    color: #fff;
}

@media screen and (max-height: 450px) {
    .overlay a { font-size: 1.25rem; }
    .overlay .closebtn { font-size: 2.5rem; top: 15px; right: 35px; }
}

/* Contact form wrapper */
.form-page-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(44,44,44,0.09);
    max-width: 640px;
    margin: 0 auto;
}

.form-page-wrapper h1 {
    font-size: 1.6rem;
    color: #1e3a52;
    margin-bottom: 1.25rem;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.form-row label {
    min-width: 160px;
    font-weight: 700;
    color: #2c2c2c;
    padding-top: 0.4rem;
}

.input-text {
    border: 2px solid #d5cfc6;
    border-radius: 6px;
    padding: 0.45rem 0.75rem;
    font-size: 0.97rem;
    transition: border-color 0.18s;
    flex: 1;
    min-width: 200px;
}

.input-text:focus {
    border-color: #2d7b6e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(45,123,110,0.12);
}

.btn-submit {
    background-color: #2d7b6e;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background-color: #3a9484;
}

#testSuccessful {
    background: #e8f8f2;
    border-left: 4px solid #2d7b6e;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    color: #1e3a52;
}

#testFailed {
    background: #fdecea;
    border-left: 4px solid #c0392b;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    color: #c0392b;
}
