/* ============================================================================
 * File    : contact.css
 * Desc    : Contact Us 페이지 (글래스모피즘, 폼), 카카오톡 버튼
 * ============================================================================ */

:root {
    --contact-bg: radial-gradient(circle at center, #111a28 0%, #0a0a0e 100%);
    --teal-glow: 0 0 15px rgba(0, 255, 255, 0.2);
    --panel-border: rgba(0, 255, 255, 0.15);
    --input-border: rgba(255, 255, 255, 0.1);
    --red-accent: #e53935;
    --red-hover: #ff5252;
    --text-muted: #999;
    --text-light: #ddd;
}

.contact-section {
    position: relative;
    background: var(--contact-bg) !important;
    overflow: hidden;
}

.contact-bg-decor {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.wireframe {
    position: absolute; opacity: 0.1;
    background-size: contain; background-repeat: no-repeat;
}

.wf-1 { width: 400px; height: 400px; top: 10%; left: -100px; transform: rotate(-15deg); }
.wf-2 { width: 300px; height: 300px; bottom: 10%; right: -50px; transform: rotate(15deg); }

.light-orb {
    position: absolute; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%; top: 50%; left: 50%;
    transform: translate(-50%, -50%); pointer-events: none;
}

.contact-wrapper {
    position: relative; max-width: 1100px; margin: 0 auto;
    padding: 80px 20px; color: #fff; z-index: 1;
}

.contact-header { text-align: center; margin-bottom: 60px; }
.contact-header .subtitle { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.contact-header .title { font-size: 3.5rem; font-weight: 800; margin-bottom: 25px; letter-spacing: -1px; }
.contact-header .desc { font-size: 1.15rem; color: var(--text-light); line-height: 1.7; margin-bottom: 30px; }
.contact-header .highlight-text { color: var(--red-accent); font-weight: 700; }

.pdf-download-box { margin-bottom: 30px; }
.btn-pdf {
    display: inline-flex; align-items: center; padding: 12px 25px;
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px; text-decoration: none; color: #fff; transition: 0.3s ease;
}
.btn-pdf .pdf-icon { font-size: 1.5rem; color: var(--red-accent); margin-right: 12px; }
.btn-pdf .pdf-name { font-size: 0.95rem; font-weight: 500; color: #ccc; }
.btn-pdf:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.15); transform: translateY(-2px); }

.contact-content { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }

.contact-panel {
    background: rgba(25, 25, 30, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--panel-border);
    border-radius: 20px; padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.panel-header { margin-bottom: 35px; }
.panel-header h3 { font-size: 1.6rem; font-weight: 700; color: #fff; letter-spacing: -0.5px; }

.info-items { margin-bottom: 40px; }
.info-item { display: flex; align-items: flex-start; margin-bottom: 30px; }
.info-item .item-icon { font-size: 1.3rem; color: var(--primary); margin-right: 20px; margin-top: 5px; }
.info-item h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; color: #fff; }
.info-item p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

.info-item .email-link, .info-item .email-link:visited {
    color: #ccc !important; text-decoration: none !important;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.info-item .email-link:hover {
    color: var(--primary) !important; text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}

.social-links-container .social-icons .social-btn,
.social-links-container .social-icons .social-btn:visited {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    width: 40px !important; height: 40px !important;
    background-color: rgba(255, 255, 255, 0.05) !important; border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important; color: #ccc !important; text-decoration: none !important;
    font-size: 1.2rem !important; transition: all 0.3s ease !important; margin-right: 10px;
}
.social-links-container .social-icons .social-btn:hover {
    transform: translateY(-3px) !important; background-color: rgba(0, 255, 255, 0.1) !important;
    border-color: var(--primary) !important; color: #fff !important; box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3) !important;
}

.form-panel { width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; color: #aaa; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }

.form-group input, .form-group textarea {
    width: 100%; background: rgba(0, 0, 0, 0.2); border: 1px solid var(--input-border);
    border-radius: 10px; padding: 15px; color: #fff; font-size: 1rem; transition: 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #555; font-size: 0.95rem; }
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: rgba(0, 255, 255, 0.4); box-shadow: var(--teal-glow); background: rgba(0, 0, 0, 0.3);
}

.btn-send-advanced {
    width: 100%; background-color: var(--primary); color: #000; border: none; border-radius: 12px;
    padding: 18px; font-size: 1.1rem; font-weight: 800; cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(20, 184, 166, 0.2); margin-top: 15px;
}
.btn-send-advanced:hover {
    background-color: #00e0eb; color: #000; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 194, 203, 0.4);
}
.btn-send-advanced:active { transform: translateY(1px); }

/* 구형 Contact Box 보존 */
.contact-box {
    background: var(--card); padding: 40px; border-radius: 20px; border: 1px solid #222; max-width: 500px; margin: 0 auto;
}

/* 카카오톡 버튼 */
#kakao-talk-channel-chat-button {
    position: fixed; bottom: 30px; right: 30px; z-index: 9999; text-decoration: none;
}
.kakao-btn {
    display: flex; align-items: center; gap: 10px; background: #fee500; color: #191919;
    padding: 10px 18px; border-radius: 30px; font-weight: bold; font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); transition: 0.3s;
}
.kakao-btn:hover { transform: scale(1.05); background: #fada00; }
.kakao-btn img { width: 25px; height: 25px; }

@media (max-width: 900px) {
    .contact-wrapper { padding: 60px 20px; }
    .contact-header .title { font-size: 2.8rem; }
    .contact-content { grid-template-columns: 1fr; gap: 30px; }
    .contact-panel { padding: 30px; }
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 768px) {
    #kakao-talk-channel-chat-button { bottom: 20px; right: 20px; }
    .kakao-btn span { display: none; }
    .kakao-btn { padding: 12px; }
}