/**
 * Contact Page Styles
 * 문의하기 페이지
 */

/* Intro Section */
.intro {
    padding: 120px 0 60px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/assets/images/company/hero.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.intro__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.intro__subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.intro__title {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.intro__desc {
    font-size: 17px;
    color: #fff;
    line-height: 1.8;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .intro {
        padding: 100px 0 50px;
    }
    
    .intro__title {
        font-size: 30px;
    }
    
    .intro__desc {
        font-size: 15px;
    }
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

/* Contact Info */
.contact__info {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

.contact__info-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.contact__info-desc {
    font-size: 15px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact__info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.contact__info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.contact__info-item:last-child {
    border-bottom: none;
}

.contact__info-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0066cc, #004499);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.contact__info-item div {
    flex: 1;
}

.contact__info-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.contact__info-item span,
.contact__info-item a {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    text-decoration: none;
}

.contact__info-item a:hover {
    color: #0066cc;
}

/* Map */
.contact__map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact__map iframe {
    display: block;
}

/* Contact Form */
.contact__form-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact__form-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.contact__form-desc {
    font-size: 15px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

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

.contact__form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.contact__form-group .required {
    color: #e74c3c;
}

.contact__form-group input,
.contact__form-group select,
.contact__form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    font-family: inherit;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact__form-group input:focus,
.contact__form-group select:focus,
.contact__form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.contact__form-group input::placeholder,
.contact__form-group textarea::placeholder {
    color: #adb5bd;
}

.contact__form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

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

/* Checkbox */
.contact__form-group--checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact__form-group--checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #0066cc;
    cursor: pointer;
}

.contact__form-group--checkbox label {
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

/* Submit Button */
.contact__submit {
    width: 100%;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact__submit i {
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .contact__container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact__info {
        order: 2;
    }

    .contact__form-wrap {
        order: 1;
    }
}

@media (max-width: 576px) {
    .contact {
        padding: 60px 0;
    }

    .contact__info,
    .contact__form-wrap {
        padding: 30px 20px;
    }

    .contact__info-title,
    .contact__form-title {
        font-size: 20px;
    }

    .contact__form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact__info-item {
        padding: 12px 0;
    }

    .contact__info-item i {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* ===================================
   Floating Buttons
=================================== */
.floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating__btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.floating__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.floating__btn i {
    font-size: 20px;
}

.floating__btn--phone {
    background: #28a745;
    color: #fff;
}

.floating__btn--contact {
    background: #0066cc;
    color: #fff;
}

.floating__btn--top {
    background: #fff;
    color: #333;
    opacity: 0;
    visibility: hidden;
}

.floating__btn--top.visible {
    opacity: 1;
    visibility: visible;
}