/* ============================================================
   LOISTE STUDIO - POSTCARD CONTACT SECTION
   Premium Vintage Aesthetic for contact.html
   ============================================================ */

.postcard-section {
    background-color: transparent;
    padding: 0 0 10rem 0;
    position: relative;
    overflow: hidden;
    color: #C19467;
    /* Gold/Tan theme */
    font-family: var(--font-heading);
}

@media (max-width: 991px) {
    .postcard-section {
        padding: 0 0 6rem 0;
    }
}

@media (max-width: 768px) {
    .postcard-section {
        padding: 0 0 4rem 0;
    }
}

.postcard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 4rem;
    position: relative;
}

@media (max-width: 768px) {
    .postcard-container {
        padding: 2rem 2.5rem;
    }
}

@media (max-width: 480px) {
    .postcard-container {
        padding: 1.5rem 1.5rem;
    }
}

/* Header: Logo & Stamp */
.postcard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6rem;
}

.postcard-logo-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.postcard-logo-mark {
    font-size: 4rem;
    line-height: 1;
    font-weight: 300;
}

.postcard-logo-text {
    font-size: 1.2rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.postcard-stamp-wrap {
    position: relative;
}

.postcard-stamp {
    width: 120px;
    height: auto;
    filter: sepia(0.2) contrast(1.1);
    transform: rotate(2deg);
}

.stamp-waves {
    position: absolute;
    top: 50%;
    right: 80%;
    transform: translateY(-50%);
    width: 150px;
    opacity: 0.4;
}

/* Body: Form Columns */
.postcard-body {
    margin-top: 4rem;
}

.postcard-form {
    display: grid;
    grid-template-columns: 1fr 1px 1.2fr;
    gap: 6rem;
    align-items: stretch;
    /* Ensuring columns and divider take full height */
}

.postcard-divider {
    background-color: rgba(193, 148, 103, 0.3);
    height: 100%;
    width: 1px;
}

/* Inputs */
.postcard-column-left {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    /* Reduced from 5rem */
}

.postcard-form-group {
    position: relative;
    border-bottom: 1px solid rgba(193, 148, 103, 0.4);
    margin-bottom: 0;
    /* Reduced from 2rem */
}

.postcard-form-group input,
.postcard-form-group textarea {
    width: 100%;
    border: none;
    background: transparent;
    font-family: var(--font-heading);
    color: #C19467;
    padding: 1.5rem 0 0.5rem;
    /* Reduced padding */
    outline: none;
    font-size: 2.8rem;
}

/* Designing the Placeholders to act as Titles */
.postcard-form-group input::placeholder,
.postcard-form-group textarea::placeholder {
    color: #C19467;
    opacity: 0.8;
    font-size: 3.6rem;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 0.05em;
    font-family: var(--font-heading);
}

.postcard-form-group textarea {
    height: 300px;
    resize: none;
}

.postcard-column-right .postcard-form-group {
    border-bottom: none;
}

.textarea-underline {
    border-bottom: 1px solid rgba(193, 148, 103, 0.4);
    margin-top: -2rem;
}

.postcard-column-left,
.postcard-column-right {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Footer elements within columns */
.postcard-email-hint {
    grid-column: 1;
    margin-top: 6rem;
    font-size: 3.2rem;
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.3;
}

.postcard-email-hint em {
    font-style: italic;
    opacity: 0.9;
}

.postcard-submit {
    margin-top: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 85px;
    height: 48px;
    border: 1px solid rgba(193, 148, 103, 0.6);
    border-radius: 40px;
    background: transparent;
    cursor: pointer;
    transition: all 0.4s ease;
    color: #C19467;
}

.postcard-submit:hover {
    background-color: #C19467;
    color: #f6f5ec;
    transform: translateX(5px);
}

.postcard-submit svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

/* Responsiveness */
@media (max-width: 991px) {
    .postcard-form {
        grid-template-columns: 1fr;
        gap: 6rem;
    }

    .postcard-divider {
        display: none;
    }

    .postcard-email-hint {
        grid-column: 1;
        font-size: 2.8rem;
        margin-top: 4rem;
        text-align: left;
        line-height: 1.4;
    }

    .postcard-form-group input::placeholder,
    .postcard-form-group textarea::placeholder {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .postcard-header {
        margin-bottom: 4rem;
    }

    .postcard-form-group label {
        display: none;
    }

    .postcard-stamp {
        width: 100px;
    }

    .stamp-waves {
        width: 120px;
        right: 70%;
    }
}

@media (max-width: 480px) {
    .postcard-header {
        margin-bottom: 3rem;
    }

    .postcard-logo-mark {
        font-size: 3rem;
    }

    .postcard-stamp {
        width: 80px;
    }

    .postcard-form-group input::placeholder,
    .postcard-form-group textarea::placeholder {
        font-size: 2.2rem;
    }

    .postcard-email-hint {
        font-size: 2.4rem;
        margin-top: 3.5rem;
        line-height: 1.5;
    }

    .postcard-submit {
        margin-top: 3.5rem;
        width: 70px;
        height: 42px;
    }
}