202 lines
3.9 KiB
CSS
202 lines
3.9 KiB
CSS
/* ==========================================================================
|
|
💡 [추가] 트렌디 푸터 (Trendy Footer) 스타일 - 완성본
|
|
========================================================================== */
|
|
|
|
.main-footer {
|
|
background-color: #2c3e50; /* 어두운 배경색 */
|
|
color: #bdc3c7; /* 밝은 회색 계열 글자색 */
|
|
padding: 60px 0 40px;
|
|
font-size: 14px;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
/* 💡 [핵심 수정] .container 스타일 강제 적용 */
|
|
.main-footer .container {
|
|
display: block !important; /* 다른 CSS의 display: inline 무력화 */
|
|
width: 100%;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 15px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.main-footer .footer-content {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
flex-wrap: wrap; /* 모바일에서 줄바꿈 */
|
|
gap: 40px;
|
|
padding-bottom: 40px;
|
|
margin-bottom: 40px;
|
|
border-bottom: 1px solid #34495e;
|
|
}
|
|
|
|
.main-footer .footer-left {
|
|
flex: 1;
|
|
min-width: 300px;
|
|
}
|
|
|
|
.main-footer .footer-right {
|
|
flex-shrink: 0;
|
|
text-align: right;
|
|
}
|
|
|
|
.main-footer .footer-logo {
|
|
display: block;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.main-footer .footer-logo img {
|
|
height: 30px;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.main-footer .footer-info p {
|
|
margin: 0 0 5px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.main-footer .footer-info span {
|
|
margin-right: 15px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.main-footer .footer-info strong {
|
|
color: #ecf0f1;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.main-footer .footer-links {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.main-footer .footer-links a {
|
|
color: #bdc3c7;
|
|
text-decoration: none;
|
|
margin-left: 25px;
|
|
font-weight: 500;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.main-footer .footer-links a:hover {
|
|
color: #fff;
|
|
}
|
|
|
|
.main-footer .footer-sns {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 15px;
|
|
}
|
|
|
|
.main-footer .footer-sns a {
|
|
color: #bdc3c7;
|
|
font-size: 20px;
|
|
transition: color 0.3s, transform 0.3s;
|
|
}
|
|
|
|
.main-footer .footer-sns a:hover {
|
|
color: #fff;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.main-footer .footer-bottom {
|
|
text-align: center;
|
|
}
|
|
|
|
.main-footer .footer-copyright {
|
|
font-size: 12px;
|
|
color: #7f8c8d;
|
|
}
|
|
|
|
/* 팝업(모달) 스타일 */
|
|
.modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.6);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 2000;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transition: opacity 0.3s ease, visibility 0.3s ease;
|
|
}
|
|
.modal-overlay.active {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
}
|
|
.modal-content {
|
|
background-color: #fff;
|
|
padding: 40px;
|
|
border-radius: 12px;
|
|
width: 90%;
|
|
max-width: 900px;
|
|
max-height: 90vh;
|
|
overflow-y: auto;
|
|
position: relative;
|
|
transform: scale(0.9);
|
|
transition: transform 0.3s ease;
|
|
}
|
|
.modal-overlay.active .modal-content {
|
|
transform: scale(1);
|
|
}
|
|
.modal-close {
|
|
position: absolute;
|
|
top: 15px;
|
|
right: 15px;
|
|
background: none;
|
|
border: none;
|
|
font-size: 2rem;
|
|
color: #aaa;
|
|
cursor: pointer;
|
|
}
|
|
.contact-wrapper {
|
|
display: flex;
|
|
gap: 40px;
|
|
margin-top: 30px;
|
|
}
|
|
.contact-info, .contact-form {
|
|
flex: 1;
|
|
}
|
|
.contact-info h3, .contact-form h3 {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 20px;
|
|
border-bottom: 2px solid #eee;
|
|
padding-bottom: 10px;
|
|
}
|
|
.info-item {
|
|
margin-bottom: 15px;
|
|
}
|
|
.info-item strong {
|
|
display: block;
|
|
font-weight: 700;
|
|
margin-bottom: 5px;
|
|
}
|
|
.contact-form input, .contact-form textarea {
|
|
width: 100%;
|
|
padding: 12px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
margin-bottom: 15px;
|
|
font-size: 1rem;
|
|
}
|
|
.cta-button {
|
|
display: inline-block;
|
|
background-color: #0056b3;
|
|
color: #fff;
|
|
padding: 12px 25px;
|
|
border-radius: 5px;
|
|
text-decoration: none;
|
|
font-weight: 700;
|
|
border: none;
|
|
cursor: pointer;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
/* 반응형 스타일 */
|
|
|