
/* ==========================================
   CONTACT PAGE - VINTAGE ROCK DESIGN
========================================== */

.contact-page {
    padding: 25px 30px 40px;
    box-sizing: border-box;
    width: 100%;
}

.contact-page > h1 {
    display: none;
}

/* MAIN PANEL */

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 35px;
    max-width: 1250px;
    margin: 0 auto;
    padding: 35px;
    box-sizing: border-box;

    background-color: #78AEB1;
    background-image:
        radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
    background-size: 5px 5px;

    border: 1px solid #397C83;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* ==========================================
   LEFT COLUMN
========================================== */

.contact-left {
    display: flex;
    align-items: flex-start;
}

.contact-info {
    width: 100%;
    padding: 10px;
    border: none;

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* PAPER HEADING */

.contact-info h2 {
    position: relative;
    z-index: 1;

    display: inline-block;
    width: 90%;
    box-sizing: border-box;

    padding: 15px 10px;
    margin: 10px 0 35px;

    background: url(../images/backcontentpng.png); 
    color: #164B58;

    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(42px, 5vw, 75px);
    letter-spacing: 3px;
    text-align: center;

    transform: rotate(-1.5deg);

    /* Irregular paper edges */
    clip-path: polygon(
        2% 3%, 98% 0%, 99% 12%,
        97% 25%, 100% 40%, 98% 60%,
        100% 80%, 97% 98%, 3% 100%,
        1% 85%, 3% 65%, 0% 45%,
        2% 25%
    );

    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.15));
}

/* BAND PHOTO */

.contact-photo {
    width: 100%;
    max-width: 540px;
    box-sizing: border-box;

    border: 6px solid #F4EBDD;
    border-radius: 13px;
    overflow: hidden;

    box-shadow: 0 8px 18px rgba(0,0,0,0.22);
}

.contact-photo img {
    display: block;
    width: 100%;
    height: auto;
}

/* HANDWRITTEN TEXT */

.contact-tagline {
    margin-top: 25px;
    padding: 0;
    border: none;

    font-family: 'Caveat', cursive;
    font-size: clamp(42px, 5vw, 65px);
    font-weight: 600;
    font-style: normal;

    color: #000;
    text-align: center;
    line-height: 1.1;
}

.contact-tagline::after {
    content: "";
    display: block;

    width: 75%;
    height: 7px;

    background: #A83A2C;
    margin: 12px auto;

    border-radius: 50%;
    transform: rotate(-3deg);
}

/* ==========================================
   RIGHT COLUMN - FORM PANEL
========================================== */

.contact-form {
    background: url(../images/backcontentpng.png);

    
    padding: 30px;
    border: 1px solid #D7C8B4;
    border-radius: 18px;

    box-shadow: 0 6px 18px rgba(0,0,0,0.10);

    box-sizing: border-box;
}

/* FORM HEADING */

.contact-form h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    letter-spacing: 2px;
    color: #164B58;

    margin: 0 0 25px;
}

.contact-form h2::after {
    content: "";
    display: block;

    width: 110px;
    height: 5px;

    background: #A83A2C;
    margin-top: 12px;

    border-radius: 5px;
}

/* ==========================================
   LABELS LEFT / INPUTS RIGHT
========================================== */

.contact-form form {
    display: grid;

    grid-template-columns: 130px minmax(0, 1fr);

    column-gap: 20px;
    row-gap: 0;

    align-items: start;
}

/* Labels */

.contact-form form label {
    grid-column: 1;
    align-self: center;

    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    letter-spacing: 0.5px;

    color: #164B58;

    padding: 17px 0;

    border-bottom: 1px solid #D7C8B4;
}

/* Input fields */

.contact-form form input,
.contact-form form textarea {
    grid-column: 2;

    width: 100%;
    box-sizing: border-box;

    padding: 12px 15px;

    background: #FFFFFF;
    border: 1.5px solid #789A9A;
    border-radius: 9px;

    color: #202B2D;

    font-family: 'Lato', sans-serif;
    font-size: 16px;

    outline: none;

    transition: all 0.25s ease;

    margin: 9px 0;
}

.contact-form form input {
    height: 48px;
}

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

/* Focus */

.contact-form form input:focus,
.contact-form form textarea:focus {
    border-color: #16778A;

    box-shadow:
        0 0 0 3px rgba(22,119,138,0.13);
}

/* Label for message */

.contact-form form label[for="contact-message"] {
    align-self: start;
    padding-top: 17px;
}

/* ==========================================
   SUBMIT BUTTON
========================================== */

.contact-form form button {
    grid-column: 2;
    justify-self: end;

    margin-top: 15px;
    padding: 14px 30px;

    background: #16778A;
    color: #FFFFFF;

    border: none;
    border-radius: 9px;

    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 1px;

    cursor: pointer;

    box-shadow: 0 5px 10px rgba(0,0,0,0.15);

    transition: all 0.3s ease;
}

.contact-form form button:hover {
    background: #164B58;
    transform: translateY(-2px);
}

/* STATUS MESSAGE */

.contact-status {
    padding: 15px;
    margin-bottom: 20px;

    background: #DCE5E2;
    border-left: 4px solid #28566B;
    border-radius: 5px;

    color: #164B58;
    font-family: 'Lato', sans-serif;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 850px) {

    .contact-layout {
        grid-template-columns: 1fr;
        padding: 25px;
        gap: 30px;
    }

    .contact-info h2 {
        max-width: 450px;
    }

    .contact-photo {
        max-width: 600px;
    }

    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 550px) {

    .contact-page {
        padding: 15px 5px 25px;
    }

    .contact-layout {
        padding: 15px;
        gap: 25px;
    }

    .contact-info h2 {
        font-size: 48px;
        margin-bottom: 25px;
    }

    .contact-tagline {
        font-size: 48px;
    }

    .contact-form {
        padding: 20px 15px;
    }

    .contact-form h2 {
        font-size: 30px;
    }

    /* Stack labels and fields on mobile */

    .contact-form form {
        grid-template-columns: 1fr;
    }

    .contact-form form label {
        grid-column: 1;
        border-bottom: none;
        padding: 12px 0 2px;
    }

    .contact-form form input,
    .contact-form form textarea {
        grid-column: 1;
        margin: 4px 0 10px;
    }

    .contact-form form button {
        grid-column: 1;
        justify-self: stretch;
        width: 100%;
    }
}
