
/* =========================================
   SGA WEDDING DESTINATION ENQUIRY
========================================= */

.sga-wedding-enquiry {
    padding: 80px 0;
    background: #f5f3ed;
}

.sga-wedding-enquiry-container {
    width: min(1180px, 92%);
    margin: auto;
    display: grid;
    grid-template-columns: .88fr 1.25fr;
    background: #fff;
    box-shadow: 0 15px 55px rgba(24, 60, 48, .09);
    border-radius: 5px;
    overflow: hidden;
}

/* LEFT IMAGE */

.sga-wedding-visual {
    position: relative;
    min-height: 650px;
    background: #183c30;
    overflow: hidden;
}

.sga-wedding-visual > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

.sga-wedding-visual:hover > img {
    transform: scale(1.05);
}

.sga-wedding-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(9, 30, 22, .94),
        rgba(9, 30, 22, .28) 70%,
        rgba(9, 30, 22, .1)
    );
}

.sga-wedding-visual-content {
    position: absolute;
    left: 35px;
    right: 30px;
    bottom: 38px;
    color: #fff;
}

.sga-wedding-visual-content > span {
    color: #e2c48c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.sga-wedding-visual-content h2 {
    color: #fff;
    font-family: Georgia, serif;
    font-size: 44px;
    font-weight: 500;
    line-height: 1.12;
    margin: 18px 0 14px;
}

.sga-wedding-visual-content h2 em {
    color: #e2c48c;
    font-weight: 400;
}

.sga-wedding-visual-content p {
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    line-height: 1.8;
    max-width: 340px;
    margin-bottom: 28px;
}

.sga-wedding-visual-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, .25);
    padding-top: 20px;
}

.sga-wedding-visual-bottom i {
    color: #e2c48c;
    font-size: 20px;
}

.sga-wedding-visual-bottom span {
    color: rgba(255, 255, 255, .8);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

/* RIGHT FORM */

.sga-wedding-enquiry-form {
    padding: 40px 42px;
    background: #fff;
}

.sga-wedding-form-heading {
    margin-bottom: 27px;
}

.sga-wedding-form-heading > span {
    color: #a27a3d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}

.sga-wedding-form-heading h3 {
    color: #183c30;
    font-family: Georgia, serif;
    font-size: 29px;
    font-weight: 500;
    line-height: 1.25;
    margin: 10px 0;
}

.sga-wedding-form-heading p {
    color: #888d84;
    font-size: 12px;
    line-height: 1.7;
    margin: 0;
}

/* FORM GRID */

.sga-wedding-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 19px;
}

.sga-wedding-input {
    min-width: 0;
}

.sga-wedding-input.full-width {
    grid-column: 1 / -1;
}

.sga-wedding-input label {
    display: block;
    color: #35463c;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 7px;
}

.sga-wedding-input input,
.sga-wedding-input select,
.sga-wedding-input textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e5e8e1;
    border-radius: 3px;
    background: #fafbf8;
    color: #34473d;
    padding: 11px 12px;
    font-family: inherit;
    font-size: 11px;
    outline: none;
    transition: .25s ease;
}

.sga-wedding-input input,
.sga-wedding-input select {
    height: 43px;
}

.sga-wedding-input textarea {
    min-height: 85px;
    resize: vertical;
}

.sga-wedding-input input::placeholder,
.sga-wedding-input textarea::placeholder {
    color: #a6aaa3;
}

.sga-wedding-input input:focus,
.sga-wedding-input select:focus,
.sga-wedding-input textarea:focus {
    border-color: #a27a3d;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(162, 122, 61, .08);
}

/* SUBMIT BUTTON */

.sga-wedding-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    width: 100%;
    min-height: 48px;
    margin-top: 23px;
    border: 0;
    border-radius: 3px;
    background: #183c30;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
    cursor: pointer;
    transition: .3s ease;
}

.sga-wedding-submit:hover {
    background: #a27a3d;
}

.sga-wedding-submit > i:last-child {
    transition: transform .3s ease;
}

.sga-wedding-submit:hover > i:last-child {
    transform: translateX(5px);
}

.sga-wedding-submit > i:first-child {
    color: #e2c48c;
}

.sga-wedding-privacy {
    color: #969b93;
    font-size: 10px;
    text-align: center;
    margin: 13px 0 0;
}

.sga-wedding-privacy i {
    color: #a27a3d;
    margin-right: 5px;
}

/* TABLET */

@media (max-width: 900px) {
    .sga-wedding-enquiry-container {
        grid-template-columns: 1fr 1.3fr;
    }

    .sga-wedding-visual {
        min-height: 620px;
    }

    .sga-wedding-enquiry-form {
        padding: 32px 25px;
    }

    .sga-wedding-visual-content {
        left: 24px;
        right: 20px;
    }

    .sga-wedding-visual-content h2 {
        font-size: 36px;
    }
}

/* MOBILE */

@media (max-width: 650px) {
    .sga-wedding-enquiry {
        padding: 55px 0;
    }

    .sga-wedding-enquiry-container {
        grid-template-columns: 1fr;
    }

    .sga-wedding-visual {
        min-height: 370px;
    }

    .sga-wedding-visual-content {
        left: 24px;
        bottom: 25px;
    }

    .sga-wedding-visual-content h2 {
        font-size: 37px;
    }

    .sga-wedding-enquiry-form {
        padding: 30px 22px;
    }

    .sga-wedding-form-heading h3 {
        font-size: 26px;
    }

    .sga-wedding-form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .sga-wedding-input.full-width {
        grid-column: auto;
    }
}
/* Hide wedding enquiry section initially */
.sga-wedding-enquiry.wedding-hidden {
    display: none;
}

/* Show wedding enquiry section */
.sga-wedding-enquiry.wedding-visible {
    display: block;
    animation: weddingSectionShow .5s ease;
}

@keyframes weddingSectionShow {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}