/* 연락처 섹션 */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 연락처 CTA */
.contact-cta {
    background: var(--gradient-light);
    border: 2px solid var(--gray-200);
    padding: 3rem;
    border-radius: var(--border-radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.05) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.contact-cta h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.contact-cta p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 500;
    font-size: 1.125rem;
    position: relative;
    z-index: 2;
}

.contact-btn {
    font-size: 1.5rem !important;
    padding: 1.5rem 3rem !important;
    margin: 1.5rem 0 2.5rem;
    display: inline-flex !important;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-blue) !important;
}

.contact-phone-icon {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1); /* 흰색으로 변환 */
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 6px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.contact-btn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: var(--shadow-xl), 0 0 40px rgba(30, 58, 138, 0.4) !important;
}

.service-hours {
    border-top: 2px solid var(--accent-blue);
    padding-top: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.service-hours p {
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.service-hours strong {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.125rem;
}

/* 푸터 */
.footer {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.footer-logo h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #67e8f9, #06b6d4);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo p {
    font-size: 1.25rem;
    opacity: 0.95;
    font-weight: 500;
    color: #e0f2fe;
}

.footer-info p {
    margin-bottom: 0.75rem;
    opacity: 0.95;
    font-weight: 500;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* 푸터 하단 영역 */
.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.privacy-link {
    color: #e0f2fe;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.privacy-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateY(-1px);
}

.terms-link {
    color: #e0f2fe;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.terms-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateY(-1px);
}

.privacy-officer {
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 400;
    white-space: nowrap;
}

.footer-copyright {
    opacity: 0.8;
}

.footer-copyright p {
    font-size: 0.9rem;
    margin: 0;
    color: #cbd5e1;
}

/* 큰 화면에서 플로팅 버튼과의 겹침 방지 */
@media (min-width: 1025px) {
    .footer-bottom {
        padding-right: 120px;
    }
}

/* 플로팅 전화 버튼 - 시원한 여름 디자인 */
.floating-phone {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 50%, #0e7490 100%);
    color: var(--white);
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4), 0 0 20px rgba(6, 182, 212, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.floating-btn::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #67e8f9, #06b6d4, #0891b2, #67e8f9);
    border-radius: 50%;
    z-index: -1;
    animation: coolRotate 3s linear infinite;
}

@keyframes coolRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.floating-btn:hover::before {
    width: 150%;
    height: 150%;
}

.floating-btn:hover {
    transform: scale(1.15);
    box-shadow: 
        0 12px 35px rgba(6, 182, 212, 0.5), 
        0 0 30px rgba(103, 232, 249, 0.4),
        0 0 50px rgba(6, 182, 212, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.floating-btn .phone-icon {
    width: 50px;
    height: 50px;
    z-index: 2;
    position: relative;
    filter: brightness(0) invert(1); /* 이미지를 흰색으로 변환 */
    animation: coolPulse 2s ease-in-out infinite;
}

@keyframes coolPulse {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    }
    50% { 
        transform: scale(1.1);
        filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(255, 255, 255, 0.4));
    }
}

/* 클릭 효과 */
.floating-btn:active {
    transform: scale(1.05);
}

/* 접근성 - 호버 시 툴팁 */
.floating-btn:hover::before {
    content: '';
}

.floating-phone::before {
    content: '전화 걸기';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(6, 182, 212, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-right: 1rem;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.floating-phone:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-5px);
}
