﻿/* =============================================================
   Clean Crew Jamaica
   Contact Page

   Contact-page-specific styles only.
   Shared site styles belong in ccj-core.css.
   Header styles belong in ccj-header.css.
   Footer styles belong in ccj-footer.css.
   ============================================================= */


/* =============================================================
   Contact Hero
   ============================================================= */

.ccj-contact-hero {
    min-height: 520px;
    padding-top: 160px;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(0, 12, 35, 0.82), rgba(0, 12, 35, 0.48)), url("../images/service-commercial.png") center / cover no-repeat;
}

.ccj-contact-hero-content {
    width: min(1100px, calc(100% - 120px));
    margin: 0 auto;
}

    .ccj-contact-hero-content span {
        display: block;
        margin-bottom: 14px;
        color: #4f8cff;
        font-size: 13px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .ccj-contact-hero-content h1 {
        max-width: 820px;
        margin: 0;
        color: #ffffff;
        font-size: clamp(44px, 5vw, 78px);
        line-height: 1.05;
        letter-spacing: -0.06em;
        font-weight: 900;
    }

    .ccj-contact-hero-content p {
        max-width: 680px;
        margin: 28px 0 0;
        color: rgba(255, 255, 255, 0.86);
        font-size: 20px;
        line-height: 1.65;
        font-weight: 500;
    }


/* =============================================================
   Contact Main Section
   ============================================================= */

.ccj-contact-section {
    padding: 110px 0;
    background: #ffffff;
}

.ccj-contact-container {
    width: min(1350px, calc(100% - 120px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: start;
}


/* =============================================================
   Contact Information
   ============================================================= */

.ccj-contact-info {
    display: grid;
    gap: 18px;
}


/* =============================================================
   Contact Information Cards
   ============================================================= */

/*
 * Compact contact cards used for phone, email, and service area.
 * The visual treatment keeps the left column consistent with the
 * modern card-based layout used throughout the public website.
 */
.ccj-contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    background: #ffffff;
    border: 1px solid rgba(10, 31, 68, 0.08);
    border-radius: 20px;
    box-shadow: 0 14px 38px rgba(10, 31, 68, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .ccj-contact-card:hover {
        transform: translateY(-2px);
        border-color: rgba(0, 87, 231, 0.16);
        box-shadow: 0 18px 46px rgba(10, 31, 68, 0.1);
    }

    .ccj-contact-card > i {
        width: 52px;
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 52px;
        color: var(--ccj-blue);
        font-size: 22px;
        border-radius: 16px;
        background: rgba(0, 87, 231, 0.08);
    }

    .ccj-contact-card div {
        min-width: 0;
    }

    .ccj-contact-card span {
        display: block;
        margin-bottom: 4px;
        color: #071a3d;
        font-size: 13px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .ccj-contact-card a,
    .ccj-contact-card p {
        margin: 0;
        color: var(--ccj-muted);
        font-size: 16px;
        line-height: 1.5;
        font-weight: 600;
        text-decoration: none;
        overflow-wrap: anywhere;
    }

        .ccj-contact-card a:hover,
        .ccj-contact-card a:focus {
            color: var(--ccj-blue);
            text-decoration: none;
        }


/* =============================================================
   Contact Information Callout
   ============================================================= */

/*
 * Secondary visual block used below the contact details.
 * The darker overlay improves readability over the background image.
 */
.ccj-contact-note {
    position: relative;
    overflow: hidden;
    margin-top: 10px;
    padding: 34px;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(6, 26, 64, 0.35), rgba(6, 26, 64, 0.96)), url("../images/service-recycling.png") center / cover no-repeat;
    box-shadow: 0 24px 65px rgba(10, 31, 68, 0.14);
}

    .ccj-contact-note h2 {
        position: relative;
        z-index: 2;
        margin: 0;
        color: #ffffff;
        font-size: 26px;
        line-height: 1.15;
        font-weight: 900;
        letter-spacing: -0.03em;
    }

    .ccj-contact-note p {
        position: relative;
        z-index: 2;
        margin: 10px 0 0;
        color: rgba(255, 255, 255, 0.88);
        font-size: 15px;
        line-height: 1.6;
    }


/* =============================================================
   Contact Form Card
   ============================================================= */

.ccj-contact-form-card {
    padding: 46px;
    border-radius: 30px;
    background: var(--ccj-soft);
    border: 1px solid rgba(10, 31, 68, 0.07);
}

    .ccj-contact-form-card > span {
        display: block;
        margin-bottom: 8px;
        color: var(--ccj-blue);
        font-size: 13px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .ccj-contact-form-card h2 {
        margin: 0 0 10px;
        color: #071a3d;
        font-size: 32px;
        font-weight: 900;
        letter-spacing: -0.035em;
    }


/* =============================================================
   Contact Form
   ============================================================= */

.ccj-contact-form {
    display: grid;
    gap: 22px;
    margin-top: 28px;
}

.ccj-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ccj-form-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

    .ccj-form-group label {
        color: #071a3d;
        font-size: 14px;
        font-weight: 800;
    }

    .ccj-form-group input,
    .ccj-form-group select,
    .ccj-form-group textarea {
        width: 100%;
        padding: 15px 17px;
        color: #15213a;
        background: #ffffff;
        border: 1px solid rgba(10, 31, 68, 0.14);
        border-radius: 13px;
        font: inherit;
        font-size: 15px;
        outline: none;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .ccj-form-group input,
    .ccj-form-group select {
        min-height: 54px;
    }

    .ccj-form-group textarea {
        min-height: 170px;
        resize: vertical;
    }

        .ccj-form-group input:focus,
        .ccj-form-group select:focus,
        .ccj-form-group textarea:focus {
            border-color: var(--ccj-blue);
            box-shadow: 0 0 0 4px rgba(0, 87, 231, 0.08);
        }

        .ccj-form-group input::placeholder,
        .ccj-form-group textarea::placeholder {
            color: #8b97aa;
        }


/* =============================================================
   Contact Form Submit Button
   ============================================================= */

.ccj-form-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 28px;
    align-self: flex-start;
    color: #ffffff;
    background: var(--ccj-blue);
    border: 0;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 16px 38px rgba(0, 87, 231, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

    .ccj-form-button:hover,
    .ccj-form-button:focus {
        color: #ffffff;
        background: #004dcc;
        transform: translateY(-2px);
        box-shadow: 0 20px 46px rgba(0, 87, 231, 0.3);
    }


/* =============================================================
   Contact Responsive Layout
   ============================================================= */

@media (max-width: 1024px) {
    .ccj-contact-container {
        width: min(100% - 80px, 1350px);
        grid-template-columns: 1fr;
    }

    .ccj-contact-info {
        max-width: 760px;
    }
}

@media (max-width: 720px) {
    .ccj-contact-hero {
        min-height: 500px;
        padding-top: 130px;
    }

    .ccj-contact-hero-content,
    .ccj-contact-container {
        width: calc(100% - 32px);
    }

    .ccj-contact-section {
        padding: 72px 0;
    }

    .ccj-contact-container {
        gap: 50px;
    }

    .ccj-contact-card {
        padding: 20px;
    }

        .ccj-contact-card > i {
            width: 48px;
            height: 48px;
            flex-basis: 48px;
            font-size: 20px;
            border-radius: 14px;
        }

    .ccj-contact-note {
        min-height: 210px;
        padding: 28px 24px;
    }

    .ccj-contact-form-card {
        padding: 30px 22px;
        border-radius: 24px;
    }

    .ccj-form-grid {
        grid-template-columns: 1fr;
    }

    .ccj-form-button {
        width: 100%;
    }
}
