/* style.css 파일 */
body {
    font-family: Arial, sans-serif; /* 기본 폰트 설정  */
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #333;
    color: white;
    padding: 20px; /* 박스 모델 padding 적용  */
    text-align: center;
}

nav ul {
    list-style: none; /* 리스트 마커 제거  */
    padding: 0;
    margin: 10px 0 0 0;
}

nav ul li {
    display: inline-block; /* 메뉴를 가로로 나열  */
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

main {
    width: 80%;
    margin: 20px auto;
    padding: 20px; /* 박스 모델 padding 적용  */
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* 박스 그림자 적용  */
}

/* 퀵 견적 섹션 스타일링 */
#quick-quote {
    border: 1px solid #ccc; /* 박스 모델 border 적용  */
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}

/* 푸터 스타일링 */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    position: fixed; /* 하단 고정 예시  */
    bottom: 0;
    width: 100%;
}

.image-gallery {
    display: flex;
    flex-direction: row; /* 가로 방향으로 배치 */
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px; /* 이미지 간 간격 */
    margin: 20px 0;
}

.image-gallery img {
    width: 400px;
    height: 300px;
    object-fit: cover; /* 이미지 비율을 유지하면서 컨테이너에 맞춤 */
    border-radius: 5px;
    margin-top: 0 !important; /* 기존 이미지 스타일의 margin-top 재정의 */
}

/* 배경음악 플레이어 스타일 */
.music-player {
    position: fixed;
    bottom: 80px; /* 푸터 위에 배치 */
    right: 20px;
    background-color: white;
    border: 2px solid #333;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-width: 250px;
    max-width: 280px;
}

.music-player-header {
    background-color: #333;
    color: white;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
}

.music-player-header span {
    font-weight: bold;
    font-size: 14px;
}

.toggle-music {
    background-color: #555;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.toggle-music:hover {
    background-color: #777;
}

.music-player-content {
    padding: 15px;
}

.music-player-content audio {
    width: 100%;
    max-width: 250px;
    margin-bottom: 10px;
}

.music-link {
    margin: 10px 0 0 0;
    text-align: center;
}

.music-link a {
    color: #007bff;
    text-decoration: none;
    font-size: 12px;
}

.music-link a:hover {
    text-decoration: underline;
}