/* 전체 스타일 리셋 및 기본 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* HTML, Body 기본 설정 */
html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* 프레임 관련 스타일 */
iframe, object, embed {
    max-width: 100%;
    height: auto;
    border: none;
}

/* 스크롤바 숨기기 */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* 헤더 스타일 */
header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    left: 0;
    right: 0;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.logo i {
    margin-right: 0.5rem;
    color: #3498db;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 40px;
    max-width: 120px;
    object-fit: contain;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.main-nav a:hover {
    color: #3498db;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #3498db;
    transition: width 0.3s;
}

.main-nav a:hover::after {
    width: 100%;
}

/* 메인 콘텐츠 */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* 섹션 공통 스타일 */
section {
    padding: 4rem 0;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* 히어로 섹션 */
#hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/hero-bg.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.cta-button:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

/* 서비스 섹션 */
#services {
    background: #f8f9fa;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* 시공사진 섹션 */
#construction-site {
    background: #2c3e50;
    color: white;
    padding: 4rem 0;
}

#construction-site h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
}

.construction-slider {
    margin-top: 3rem;
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.slider-container {
    display: flex;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    min-height: 400px; /* 최소 높이 보장 */
    background: #34495e; /* 배경색 추가 */
}

.slide {
    min-width: 100%;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    flex-shrink: 0; /* 슬라이드가 줄어들지 않도록 */
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block; /* 이미지 간격 제거 */
}

.slide:hover img {
    transform: scale(1.05);
}

/* 로딩 스피너 */
.loading-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.1);
    color: white;
    min-height: 400px;
}

.loading-spinner {
    text-align: center;
}

.loading-spinner i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #3498db;
    animation: spin 1s linear infinite;
}

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

.loading-spinner p {
    font-size: 1rem;
    color: #666;
}

/* 슬라이드 정보 */
.slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.slide:hover .slide-info {
    transform: translateY(0);
}

.slide-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.slide-info p {
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none; /* 버튼이 아닌 영역 클릭 방지 */
}

.prev-btn, .next-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: auto; /* 버튼 클릭 가능 */
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.prev-btn:active, .next-btn:active {
    transform: scale(0.95);
}

.construction-more {
    text-align: center;
    margin-top: 3rem;
    padding: 0 2rem;
}

.construction-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 1.5rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.4);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.construction-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.construction-more-btn:hover::before {
    left: 100%;
}

.construction-more-btn:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.6);
}

.construction-more-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.construction-more-btn:focus {
    outline: none;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.4), 0 0 0 3px rgba(231, 76, 60, 0.3);
}

.construction-more-btn i:first-child {
    font-size: 1.3rem;
    color: #f39c12;
}

.construction-more-btn i:last-child {
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.construction-more-btn:hover i:last-child {
    transform: translateX(8px);
}

/* 회사소개 섹션 */
#about {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 견적문의 섹션 */
#quote {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.quote-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.quote-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.quote-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.quote-btn {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.quote-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

/* 연락처 섹션 */
#contact {
    background: #f8f9fa;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-item i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.contact-item p {
    color: #666;
}

/* 폼 스타일 */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
}

.submit-btn {
    background: #3498db;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: #2980b9;
}

/* 게시판 스타일 */
.board-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.board-header {
    text-align: center;
    margin-bottom: 3rem;
}

.board-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.board-actions {
    margin-bottom: 2rem;
    text-align: center;
}

.upload-btn {
    background: #28a745;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-block;
}

.upload-btn:hover {
    background: #218838;
}

.login-btn {
    background: #6c757d;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-block;
}

.login-btn:hover {
    background: #5a6268;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.post-card:hover .post-image img {
    transform: scale(1.1);
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.post-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-text {
    color: #666;
    line-height: 1.6;
}

/* 업로드 폼 스타일 */
.upload-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.upload-header {
    text-align: center;
    margin-bottom: 2rem;
}

.upload-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.file-upload {
    border: 2px dashed #e9ecef;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    transition: border-color 0.3s;
}

.file-upload:hover {
    border-color: #3498db;
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload label {
    cursor: pointer;
    color: #3498db;
    font-weight: 600;
}

.cancel-btn {
    background: #6c757d;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-block;
    margin-top: 1rem;
}

.cancel-btn:hover {
    background: #5a6268;
}

/* 관리자 버튼 스타일 */
.admin-btn {
    background: #28a745;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.admin-btn:hover {
    background: #218838;
}

.admin-only {
    display: none;
}

/* 관리자 모드 표시 */
.admin-mode-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #2c3e50;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    animation: adminPulse 2s infinite;
}

.admin-mode-indicator i {
    color: #2c3e50;
    font-size: 1rem;
}

@keyframes adminPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
    }
}

/* 푸터 스타일 */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    margin: 0;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-left,
.footer-center,
.footer-right {
    text-align: center;
}

.footer-logo {
    height: 600px;
    margin-bottom: 1rem;
}

.footer-links-bottom {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
    overflow-x: hidden;
}

.footer-links-bottom a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links-bottom a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .main-nav {
        padding: 0.8rem 1rem;
    }
    
    .main-nav ul {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-container {
        padding: 2rem 1rem;
        margin: 0 1rem;
    }
    
    .board-container {
        padding: 1rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .upload-container {
        padding: 2rem 1rem;
        margin: 0 1rem;
    }
    
    footer {
        padding: 2rem 1rem 1rem;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
        margin: 0;
        position: relative;
        display: block;
    }
    
    .footer-content {
        text-align: center;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-left,
    .footer-center,
    .footer-right {
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }
    
    .footer-logo {
        height: 400px;
    }
    
    .footer-links-bottom {
        display: flex;
        justify-content: center;
        gap: 2rem;
        margin-top: 1.5rem;
        margin-bottom: 0.5rem;
        width: 100%;
        box-sizing: border-box;
        flex-wrap: wrap;
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .main-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .quote-content h2 {
        font-size: 2rem;
    }
    
    .quote-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .contact-item {
        padding: 1.5rem;
    }
    
    .form-container {
        padding: 1.5rem 1rem;
    }
    
    .board-header h1 {
        font-size: 2rem;
    }
    
    .upload-header h1 {
        font-size: 2rem;
    }
    
    .upload-container {
        padding: 1.5rem 1rem;
    }
    
    footer {
        padding: 2rem 0.5rem 1rem;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
        margin: 0;
        position: relative;
        display: block;
    }
    
    .footer-content {
        padding: 1rem 0.5rem;
        gap: 1rem;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
    }
    
    .footer-center p {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .footer-links-bottom {
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .footer-links-bottom a {
        font-size: 0.9rem;
    }
    
    /* 모바일에서 전체 너비 적용 */
    html, body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    header {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    .main-nav {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    main, section {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 2rem 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    .container, .form-container, .detail-container, .board-container, .upload-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    .hero-content, .service-grid, .about-content, .quote-content, .contact-info, .construction-slider, .slider-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    #hero, #services, #about, #quote, #contact, #construction-site {
        padding: 2rem 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    footer {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        position: relative !important;
        display: block !important;
    }
    
    .footer-content {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    .footer-left, .footer-center, .footer-right {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }
    
    .footer-links-bottom {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    /* 터치 최적화 */
    button, input, textarea, select {
        min-height: 44px !important;
    }
    
    input, textarea, select {
        font-size: 16px !important;
    }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    #construction-site h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .construction-slider {
        margin-top: 2rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .slide img {
        height: 300px;
    }
    
    .loading-slide {
        min-height: 300px;
    }
    
    .slider-controls {
        padding: 0 0.5rem;
    }
    
    .prev-btn, .next-btn {
        width: 45px;
        height: 45px;
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    .slide-info {
        padding: 1.5rem 1rem 1rem;
    }
    
    .slide-info h4 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .slide-info p {
        font-size: 0.9rem;
    }
    
    .construction-more {
        margin-top: 2rem;
        padding: 0 1rem;
    }
    
    .construction-more-btn {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    #construction-site h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .slide img {
        height: 250px;
    }
    
    .loading-slide {
        min-height: 250px;
    }
    
    .prev-btn, .next-btn {
        width: 40px;
        height: 40px;
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .slide-info {
        padding: 1rem 0.8rem 0.8rem;
    }
    
    .slide-info h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .slide-info p {
        font-size: 0.8rem;
    }
    
    .construction-more-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        gap: 0.6rem;
    }
}