/* 전체 기본 설정 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4; /* 배경색 */
    color: #333; /* 기본 글자색 */
}

/* === 롤백: 기존 헤더 스타일 복원 === */
header {
    text-align: center;
    padding: 10px 10px;
    background-color: white;
    border-bottom: 1px solid #eee;
}
header h1 {
    margin: 0;
    font-size: 1.4rem;
}
/* === 롤백 완료 === */


/* 2. 내비게이션 메뉴 (HTML에서 주석 처리됨) */
/*
nav {
    background-color: #333;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; 
    justify-content: center; 
}
nav li a {
    display: block;
    padding: 12px 15px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
}
nav li a:hover {
    background-color: #555;
}
*/

/* 3. 메인 콘텐츠 영역 */
main {
    padding-bottom: 10px; /* 푸터와의 여백 조정 */
}
section {
    padding: 20px 15px;
    background-color: white;
    margin-bottom: 10px; /* 섹션 간 구분 */
}
section h2 {
    font-size: 1rem;
    margin-top: 0;
    text-align: center;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

/* 3-1. 슬라이더(#home) 섹션 */
#home {
    padding: 0; /* 슬라이더는 꽉 차게 */
    margin-bottom: 10px;
}
.swiper {
    width: 100%;
    aspect-ratio: 1 / 1; /* 1:1 비율 (모바일) */
}
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* 이미지 중앙 정렬 */
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 이미지가 비율 맞춰 꽉 차게 */
}

/* PC 화면 (601px 이상) 설정 */
@media (min-width: 601px) {
    /* (1) 슬라이더 전체의 높이 */
    .swiper {
        height: 60vh;        /* PC 높이 (이 수치 조절) */
        aspect-ratio: initial; /* 1:1 비율 제한 해제 */
    }

    /* 🔴 (2) script.js의 'auto'와 짝을 이루는 코드 🔴 */
    /* PC에서 슬라이드 1개의 가로 폭 */
    .swiper-slide {
        width: 60vh; /* 1:1 이미지를 위해 높이(60vh)와 동일하게 설정 */
    }

    /* (3) PC에서 이미지 꽉 채우기 (상하단 잘림) */
    .swiper-slide img {
        object-fit: cover; 
    }
}


/* 3-2. 연락처(#contact) 섹션 */
/* 'Contact & Proposal' 제목 숨기기 */
/*
section#contact h2 {
    display: none;
}
*/

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 16px;
    margin-top: 30px;
    margin-bottom: 40px; 
}
.button {
    display: flex;
    align-items: center;
    background: #ffffff;
    color: #333;
    width: 100%; 
    max-width: 450px; 
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    box-sizing: border-box; 
}
.button:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}
.button img {
    width: 42px;   
    height: 42px;  
    object-fit: contain; 
    margin-right: 20px;
}

@media (max-width: 600px) {
    .button {
        max-width: 100%; 
    }
}


/* 폼 제안서 버튼 (HTML에서 버튼 리스트로 통합됨) */
/*
.proposal-link {
    margin-top: 0; 
    display: flex;
    justify-content: center;
}
.btn-proposal {
    display: block; 
    width: 100%; 
    max-width: 450px; 
    padding: 15px;
    background-color: #007bff; 
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 10px; 
    font-weight: bold;
    font-size: 1.1rem;
    box-sizing: border-box; 
}
*/


/* 4. 푸터 */
footer {
    background-color: #f4f4f4; /* 배경색 */
    color: #aaa;
    padding: 20px 15px;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.5;
}
.footer-logo {
    margin-bottom: 10px;
}
.footer-logo img {
    width: 250px; /* 로고 크기 조정 */
    opacity: 1; /* 투명도 조정 */
}

/* 👇 사업자 정보 스타일 추가 */
.biz-info {
    margin-top: 10px; /* 로고와 약간의 간격을 줍니다. */
}

