/* ===========================================
   Contact Form Section
   플로팅 연락처 및 문의 폼 스타일
   =========================================== */

/* Floating Contact Button */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.floating-contact-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--theme-accent);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.floating-contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.5);
}

/* Contact Modal */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.contact-modal.active {
    display: flex;
}

.contact-modal-content {
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.contact-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 24px;
    color: #666;
    transition: color 0.3s ease;
}

.contact-modal-close:hover {
    color: #000;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form h2 {
    font-family: "Noto Sans KR", sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin: 0 0 10px 0;
}

.contact-form p {
    font-family: "Noto Sans KR", sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0 0 20px 0;
}

.contact-form .form-group {
    margin-bottom: 0;
}

.contact-form label {
    font-family: "Noto Sans KR", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
    font-family: "Noto Sans KR", sans-serif;
}

.contact-form textarea {
    min-height: 100px;
}

.contact-form .form-submit {
    width: 100%;
    margin-top: 10px;
}

/* Contact Page Styles */
.contact-page-section {
    padding: 120px 0 80px 0;
    background: #f8f9fa;
}

.contact-page-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-page-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-page-header h1 {
    font-family: "Noto Sans KR", sans-serif;
    font-size: 36px;
    font-weight: bold;
    color: #000;
    margin: 0 0 15px 0;
}

.contact-page-header p {
    font-family: "Noto Sans KR", sans-serif;
    font-size: 16px;
    color: #666;
    margin: 0;
}

.contact-page-form {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-page-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-page-form .form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* Contact Info Section */
.contact-info-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.contact-info-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--theme-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.contact-info-card h3 {
    font-family: "Noto Sans KR", sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin: 0 0 10px 0;
}

.contact-info-card p {
    font-family: "Noto Sans KR", sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
}

.contact-info-card a {
    color: var(--theme-accent);
    text-decoration: none;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .floating-contact {
        bottom: 20px;
        right: 20px;
    }

    .floating-contact-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .contact-modal-content {
        padding: 30px 20px;
        margin: 20px;
    }

    .contact-page-section {
        padding: 100px 0 60px 0;
    }

    .contact-page-header h1 {
        font-size: 28px;
    }

    .contact-page-form {
        padding: 30px 20px;
    }

    .contact-page-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-page-form .form-row .form-group {
        margin-bottom: 20px;
    }

    .contact-info-section {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
}
