/* Contact 페이지 전용 스타일 */
.contact-page {
    max-width: 1000px;
    margin: 0 auto;
}

/* Contact form widget (moved from ContactForm.php) */
.contact-form-widget {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 20px;
}

.widget-header h3 {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-form {}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.required { color: #dc3545; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .25);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.file-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

.file-input:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .25);
}

.file-help {
    display: block;
    margin-top: 5px;
    color: #6c757d;
    font-size: 12px;
}

.privacy-agreement { margin: 20px 0; }

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0 10px 0 0;
    cursor: pointer;
    flex-shrink: 0;
}

.agreement-text { color: #333; }
.privacy-link { color: #333; text-decoration: underline; }
.privacy-link:hover { color: #000; }

.privacy-modal {
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 { margin: 0; font-size: 20px; color: #333; }
.close { font-size: 28px; font-weight: bold; cursor: pointer; color: #aaa; }
.close:hover { color: #000; }

.modal-body { padding: 20px; }
.modal-body h4 { margin: 20px 0 10px 0; font-size: 16px; color: #333; }
.modal-body p { margin: 10px 0; line-height: 1.6; color: #666; }
.modal-body ul { margin: 10px 0; padding-left: 20px; }
.modal-body li { margin: 5px 0; color: #666; }

.modal-footer { padding: 20px; border-top: 1px solid #ddd; text-align: right; }

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    font-weight: 500;
}

.btn-primary { background: #333; color: white; }
.btn-primary:hover { background: #000; transform: translateY(-1px); }

.btn-submit { width: 100%; padding: 15px; }

@media (max-width: 768px) {
    .contact-form-widget { padding: 20px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .widget-header h3 { font-size: 20px; }
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h1 {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.contact-header p {
    font-size: 18px;
    color: #6c757d;
    line-height: 1.6;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.info-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-item .icon {
    font-size: 24px;
    width: 30px;
    text-align: center;
}

.info-content strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
    font-weight: 600;
}

.info-content p {
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item strong {
    display: block;
    color: #333;
    margin-bottom: 8px;
    font-size: 16px;
}

.faq-item p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
    padding-left: 15px;
    border-left: 3px solid #e9ecef;
}

/* 반응형 */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-header h1 {
        font-size: 24px;
    }

    .contact-header p {
        font-size: 16px;
    }

    .info-card {
        padding: 20px;
    }

    .info-item {
        flex-direction: row;
        gap: 15px;
        text-align: left;
    }

    .info-item .icon {
        width: 30px;
        color:#666;
    }
}