@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Playfair+Display:wght@700&display=swap');

/* 기본 스타일 */
body {
    font-family: 'Inter', sans-serif;
    background-color: #F5F3FF; /* 연보라 */
    color: #333366; /* 인디고 계열 텍스트 */
}

/* 헤더 */
.main-header {
    background-color: #EDE9FE; /* 밝은 보라 */
    color: #333366;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #D8B4FE;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-link {
    font-family: 'Playfair Display', serif;
    color: #4B0082;
    font-weight: bold;
    font-size: 2rem;
    white-space: nowrap;
}

/* 네비게이션 */
.nav-menu {
    display: none;
}

.nav-menu.show {
    display: flex;
    font-family: 'Playfair Display', serif;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #4B0082;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
    z-index: 10;
}

.nav-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1rem;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
}

.nav-link {
    display: block;
    padding: 0.5rem;
    color: #4B0082;
    transition: color 0.2s;
    font-weight: 600;
}

.nav-link:hover {
    color: #F0ABFC;
}

.nav-link-active {
    color: #F0ABFC;
    font-weight: 700;
}

/* 배너 */
.main-banner {
    background-image: url('https://placehold.co/1200x500/b91c1c/ffffff?text=Five+Star+Upholstery+Banner');
    background-size: cover;
    background-position: center;
    width: 100%; /* 원하는 비율. 40%가 보기 좋음 */
    position: relative;
    height: 500px;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.banner-overlay {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    color: #F3E8FF;
}

/* 서비스 카드 */
.service-card {
    background-color: #ffffff;
    font-family: 'Playfair Display', serif;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-card-image {
    width: 100%;
    object-fit: cover;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.service-card-title {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.125rem;
    background-color: #EDE9FE;
    color: #4B0082;
}

/* 사이드바 */
.sidebar {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    top: 1rem;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    border-bottom: 2px solid #9333EA;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    color: #4B0082;
}

/* 푸터 */
.main-footer {
    background-color: #4B0082;
    color: #EDE9FE;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

/* 모달 */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 80%;
    text-align: center;
}

.modal-content h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.modal-content button {
    background-color: #8B5CF6;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.modal-content button:hover {
    background-color: #7C3AED;
}

/* 반응*
