/* Contact Us Page Styles */

/* Body */
.contact-us-body {
    background-color: #f5f0e0;
    font-family: 'Pretendard', sans-serif;
    overflow-x: hidden;
}

/* Main Container */
.contact-us-page {
    padding-top: 161px;
    /* header height 90px + spacing 71px */
    display: flex;
    min-height: calc(100vh - 161px - 364px);
    /* viewport - header - footer */
}

/* Left Section */
.left-section {
    width: 50%;
    background-color: #f5f0e0;
    padding: 50px 64px 60px 64px;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 88px;
}

.breadcrumb-item {
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    color: #000000;
}

.breadcrumb-separator {
    width: 40px;
    height: 1px;
    background-color: #000000;
}

/* Hero Section */
.hero-section {
    margin-bottom: 66px;
}

.hero-title-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 70px;
    font-weight: 600;
    line-height: 80px;
    color: #000000;
    margin: 0;
}

.hero-icon {
    width: 66px;
    height: 66px;
    flex-shrink: 0;
}

.hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-subtitle-line {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-image {
    width: 122px;
    height: 74px;
    flex-shrink: 0;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-subtitle {
    font-size: 70px;
    font-weight: 600;
    line-height: 80px;
    color: #000000;
    margin: 0;
}

/* Tags Section */
.tags-section {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: auto;
}

.tag {
    border: 1px solid #000000;
    border-radius: 100px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: #000000;
    color: #ffffff;
}

/* Icon Section */
.icon-section {
    margin-top: 60px;
    margin-bottom: 40px;
}

.icon-wrapper {
    width: 38px;
    height: 38px;
}

.icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Bottom Text Section */
.bottom-text-section {
    margin-bottom: 0;
}

.bottom-text {
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    color: #000000;
    margin: 0;
}

/* Right Section (Form) */
.right-section {
    width: 50%;
    background-color: #ffab58;
    padding: 138px 50px 110px 50px;
    display: flex;
    align-items: flex-start;
}

/* Contact Form */
.contact-form {
    width: 100%;
    max-width: 896px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 94px;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    color: #000000;
    margin-bottom: 18px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    height: 46px;
    border: none;
    border-bottom: 1px solid #000000;
    background-color: transparent;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    color: #000000;
    font-family: 'Pretendard', sans-serif;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: #ff7632;
}

.form-group textarea {
    height: 143px;
    resize: none;
    border: 1px solid #000000;
    padding: 12px 15px;
}

.form-group.textarea-group {
    margin-bottom: 30px;
}

/* Submit Button */
.submit-button {
    width: 413px;
    height: 50px;
    background-color: #000000;
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #ff7632;
}

.button-text {
    font-size: 15px;
    font-weight: 500;
    line-height: 22px;
    color: #ffffff;
}

.button-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(270deg);
    width: 16px;
    height: 16px;
}

.button-arrow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Responsive Design */
@media screen and (max-width: 1440px) {

    .hero-title,
    .hero-subtitle {
        font-size: 60px;
        line-height: 70px;
    }

    .hero-icon {
        width: 56px;
        height: 56px;
    }

    .submit-button {
        width: 100%;
        max-width: 413px;
    }
}

@media screen and (max-width: 1200px) {
    .contact-us-page {
        flex-direction: column;
    }

    .left-section,
    .right-section {
        width: 100%;
    }

    .left-section {
        padding: 40px 32px;
    }

    .right-section {
        padding: 60px 32px;
    }

    .hero-title,
    .hero-subtitle {
        font-size: 48px;
        line-height: 58px;
    }

    .hero-icon {
        width: 48px;
        height: 48px;
    }

    .form-row {
        gap: 15px;
        margin-bottom: 70px;
    }
}

@media screen and (max-width: 768px) {
    .breadcrumb {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 40px;
    }

    .breadcrumb-separator {
        width: 30px;
    }

    .hero-title-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .hero-subtitle-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .hero-title,
    .hero-subtitle {
        font-size: 32px;
        line-height: 42px;
    }

    .hero-icon {
        width: 40px;
        height: 40px;
    }

    .hero-image {
        width: 100px;
        height: 60px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 50px;
    }

    .form-group {
        grid-column: 1;
    }

    .submit-button {
        width: 100%;
    }

    .bottom-text {
        font-size: 16px;
        line-height: 24px;
    }
}