/* Contact Page Styles */


/* Subpage Hero Section */
.subpage-hero-section {
    position: relative;
    width: 100%;
    height: 280px;
    background-image: url('/image/contact_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.subpage-hero-section .inner {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 10;
}

.subpage-hero-content {
    position: relative;
    z-index: 10;
    color: white;
}

.subpage-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 48px;
    margin-bottom: 0px;
    color: white;
    font-style: Italic;
    font-size: 80px;
    letter-spacing: 0%;

}

.subpage-subtitle {
    font-family: 'Inter', sans-serif;
    color: white;
    margin: 0;
    font-weight: 900;
    font-style: Italic;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
}

/* Contact Hero Banner */
.contact-hero-banner {
    margin-top:150px;
    position: relative;
    width: 100%;
    max-width:1440px;
    padding: 175px 0;
    background-image: url('/image/contact_hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.contact-hero-banner .inner {
    position: relative;
    z-index: 10;
    max-width: 1440px;
    padding: 0 50px;
    margin: 0 auto;
}

/* Contact Form Section */
.contact-section {
    width: 100%;
    padding: 150px 0;
    background: white;
}

.contact-section .inner {
    max-width: 1440px;
    padding: 0 20px;
    margin: 0 auto;
}

.contact-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* gap: 60px; */
    align-items: center;
}

.contact-hero-text {
    color: white;
}

.contact-hero-title {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    font-weight: 800;
    font-size: 48px;
    line-height: 1.3;
    color: white;
    margin-bottom: 30px;
}

.contact-hero-description {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.8;
    color: white;
    margin: 0;
}

.contact-hero-image {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right:100px;
}

.contact-hero-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .contact-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-hero-title {
        font-size: 36px;
    }
    
    .contact-hero-description {
        font-size: 16px;
    }
}

.contact-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-row.full-width {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: black;
    margin-bottom: 12px;
}

.form-group label .required {
    color: #FF4800;
    font-weight: 700;
}

.form-group label .optional {
    font-weight: 400;
    color: #797979;
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    font-size: 16px;
    color: black;
    background: white;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2b8d8f;
}

.form-group textarea {
    resize: vertical;
    min-height: 200px;
}

.form-agreement {
    display: flex;
    justify-content: center;
    margin: 50px 0 30px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    font-size: 16px;
    color: black;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #2b8d8f;
}

.privacy-view-link {
    color: #000;
    text-decoration: underline;
    margin-left: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.privacy-view-link:hover {
    color: #1f6a6c;
}

.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.submit-btn {
    padding: 16px 60px;
    background: #fff;
    color: #000;
    border: none;
    /* border-radius: 4px; */
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border:2px solid #000;
}

.submit-btn:hover {
    background: #1f6a6c;
    transform: translateY(-2px);
    color:#fff;
}

.submit-btn:active {
    transform: translateY(0);
}

/* Privacy Popup Styles */
.privacy-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.privacy-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.privacy-popup {
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.privacy-popup-overlay.active .privacy-popup {
    transform: scale(1);
}

.privacy-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    background: #2b8d8f;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.privacy-popup-header h3 {
    margin: 0;
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: white;
}

.privacy-popup-close {
    background: none;
    border: none;
    color: white;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.privacy-popup-close:hover {
    transform: rotate(90deg);
}

.privacy-popup-content {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(90vh - 180px);
    flex: 1;
}

.privacy-popup-content::-webkit-scrollbar {
    width: 8px;
}

.privacy-popup-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.privacy-popup-content::-webkit-scrollbar-thumb {
    background: #2b8d8f;
    border-radius: 4px;
}

.privacy-popup-content::-webkit-scrollbar-thumb:hover {
    background: #1f6a6c;
}

.privacy-content {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.privacy-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #2b8d8f;
    margin-top: 24px;
    margin-bottom: 12px;
}

.privacy-content h4:first-child {
    margin-top: 0;
}

.privacy-content p {
    margin: 12px 0;
    color: #555;
}

.privacy-content ul {
    margin: 12px 0;
    padding-left: 24px;
}

.privacy-content li {
    margin: 8px 0;
    color: #555;
}

.privacy-popup-footer {
    padding: 20px 30px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: center;
}

.privacy-popup-close-btn {
    padding: 12px 40px;
    background: #2b8d8f;
    color: white;
    border: none;
    border-radius: 4px;
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.privacy-popup-close-btn:hover {
    background: #1f6a6c;
}

/* Privacy Popup Mobile */
@media (max-width: 768px) {
    .privacy-popup {
        width: 95%;
        max-height: 85vh;
    }
    
    .privacy-popup-header {
        padding: 18px 20px;
    }
    
    .privacy-popup-header h3 {
        font-size: 20px;
    }
    
    .privacy-popup-close {
        font-size: 32px;
        width: 32px;
        height: 32px;
    }
    
    .privacy-popup-content {
        padding: 20px;
    }
    
    .privacy-content {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .privacy-content h4 {
        font-size: 16px;
    }
    
    .privacy-popup-footer {
        padding: 16px 20px;
    }
    
    .privacy-popup-close-btn {
        padding: 10px 30px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .subpage-hero-section .inner {
        justify-content: center;
    }
    /* Subpage Hero Section Mobile */
    .subpage-hero-section {
        height: 230px;
    }

    .subpage-title {
        text-align: center;
        font-size: 36px;
    }

    .subpage-subtitle {
        font-size: 18px;
    }

    /* Contact Hero Banner Mobile */
    .contact-hero-banner {
        margin-top: 20px;
        margin-left: 20px;
        margin-right: 20px;
        padding: 20px;
        text-align:center;
        width: calc(100% - 40px);
    }

    .contact-hero-banner .inner {
        padding: 70px 0;
    }

    .contact-hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .contact-hero-image {
        padding-right:0;
        justify-content: center;
    }
    .contact-hero-title {
        font-size: 24px;
        line-height: 1.4;
        margin-bottom: 20px;
    }

    .contact-hero-description {
        font-size: 16px;
        line-height: 1.6;
    }

    .contact-hero-image {
        order: -1;
    }

    .contact-hero-image img {
        max-width: 200px;
    }

    /* Contact Form Section Mobile */
    .contact-section {
        padding: 60px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .form-group label .optional {
        font-size: 14px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 14px;
    }

    .form-group textarea {
        min-height: 150px;
    }

    .form-agreement {
        margin: 30px 0 20px;
    }

    .checkbox-label {
        font-size: 14px;
        gap: 8px;
    }

    .checkbox-label input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }

    .form-submit {
        margin-top: 20px;
    }

    .submit-btn {
        padding: 14px 40px;
        font-size: 16px;
        width: 100%;
    }
}
