/* styles.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.form-section {
    color: white;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;

    min-height: 100vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('./form-bg.png') center/cover no-repeat;
    background-blend-mode: lighten;
    position: relative;
}

.form-section::before {

    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(42, 63, 102, 0.7);
    pointer-events: none;
}

.form-section>div {
    position: relative;
    z-index: 1;
}

.washerMan-logo {
    display: flex;
    justify-content: center;
    padding-right: 120px;
}

.washerMan-logo>img {
    width: 800px;
    height: 500px;
    display: block;
}


.form-container-parent {

    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.form-container-child {
    padding: 40px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}



.content-section h1 {
    font-size: 2.2em;
    font-weight: bold;

    margin-bottom: 10px;
    letter-spacing: 2px;
}

.content-section h2 {
    font-size: 2.1em;

    margin-bottom: 30px;
    font-weight: normal;
}

.content-section h1,
.content-section h2,
.content-section label {
    color: white;
}

.emergency-form {
    width: 100%;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
}

.contact-form-group.full-width {
    margin-bottom: 25px;
}

.contact-form-group label {
    font-size: 0.9em;
    font-weight: bold;

    margin-bottom: 8px;
}

.contact-form-group input,
.contact-form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: white;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.contact-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}


.checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-item {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    user-select: none;
}

.checkbox-item .checkmark {
    position: absolute;
    left: 0;
    top: 2px;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: background 0.2s;
}

.checkbox-item input:checked~.checkmark {
    background-color: #2196F3;
    border-color: #2196F3;
}

.checkbox-item .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-item input:checked~.checkmark:after {
    display: block;
}

.checkbox-item .checkmark:after {
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}



.submit-btn {
    color: #4A90E2;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.submit-btn:hover {
    color: white;
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-container-child {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 20px;
    }

    .icon-section {
        order: -1;
        justify-content: center;
    }

    .pressure-washer-icon svg {
        width: 80px;
        height: 80px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .content-section h1 {
        font-size: 1.8em;
        text-align: center;
    }

    .content-section h2 {
        font-size: 1.1em;
        text-align: center;
    }

    .checkbox-group {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .form-container-parent {
        padding: 10px;
    }

    .form-container-child {
        padding: 20px 15px;
    }

    .content-section h1 {
        font-size: 1.5em;
    }

    .content-section h2 {
        font-size: 1em;
    }
}