@charset "UTF-8";

/* 공통 스타일 */
* {
    margin: 0;
    padding: 0;
}

img {
    width: 100%;
    height: 100%;
}

/* 메인 배너 스타일 */
.main-banner {
    width: 100%;
    height: calc(100vh - 60px);
}

.swiper-wrapper {
    height: 100vh;   
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-slide-1 {
    background: url(/images/main/washing_main_01.webp) no-repeat center;
    background-size: cover;
}

.banner-slide-2 {
    background: url(/images/main/washing_main_02.webp) no-repeat center;
    background-size: cover;
}

.banner-slide-3 {
    background: url(/images/main/washing_main_03.webp) no-repeat center;
    background-size: cover;
}
.banner-slide-4 {
    background: url(/images/main/washing_main_04.webp) no-repeat center;
    background-size: cover;
}

.swiper-pagination-bullet-active {
    background-color: #000;
}

.swiper-horizontal>.swiper-pagination-bullets, 
.swiper-pagination-bullets.swiper-pagination-horizontal, 
.swiper-pagination-custom, 
.swiper-pagination-fraction {
    bottom: var(--swiper-pagination-bottom,85px);
    top: var(--swiper-pagination-top,auto);
    left: 0;
    width: 100%;
}

.banner-content {
    position: absolute;
    z-index: 30;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(17, 137, 236, 0.3);
    background-color: rgba(0, 0, 0, 0.4);
}

.banner-circle {
    background-color: rgba(10, 89, 155, 0.8);
    width: 380px;
    height: 380px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    border-radius: 50%;
    border: 20px solid #494cf8;
}

.banner-text {
    padding: 50px;
}

.banner-text h1 {
    font-size: 20px;
}

.banner-text h2 {
    color: rgb(255, 255, 70);
}

/* 서비스 소개 섹션 */
.service-intro {
    margin-top: 15px;
}

.service-intro h2 {
    color: var(--primary-color);
    text-align: center;
}

.service-grid {
    margin: 0 auto;
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-card {
    margin-top: 10px;
    display: flex;
    justify-content: space-around;
    background-color: rgba(10, 89, 155, 0.2);
    border-radius: 20px;
    padding: 5px;
    font-size: 14px;
    width: 23%;
    height: 120px;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    border: 2px solid #494cf8;
}

.service-icon {
    width: 100px;
    height: 100px;
}

.service-content {
    text-align: end;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: end;
}

hr {
    display: none;
}

/* 공지사항 섹션 */
.notice-section {
    margin-top: 15px;
}

.notice-content {
    position: inherit;
    margin: 0 0 0 300px;
    padding: 0 30px;
    border-left: 1px solid #e7e7e7;
}

.section-divider {
    background-color: #e7e7e7;
    width: 100%;
    height: 1px;
    margin-top: 10px;
    margin-bottom: 10px;
}

body {
    font-family: Arial, sans-serif;
    background: #fff;
    color: var(--text-color);
}

.notice-table {
    width: 100%;
    border-collapse: collapse;
}

.notice-table th, .notice-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.notice-table th {
    background-color: #b3e5fc;
}

.notice-table a {
    color: var(--navy-color);
    text-decoration: none;
}

.notice-table a:hover {
    text-decoration: underline;
}

.add-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    margin-bottom: 15px;
    float: left;
    display: inline-block;
}

.add-button:hover {
    background-color: var(--navy-color);
}

.sidebarCs_call {
    display: none;
}

.sidebarCs > div {
    margin: 25px auto;
}

/* 갤러리 섹션 */
.gallery-section {
    width: 100%;
    margin: 15px auto;
    clear: both;
}
.notice-content>h2, .gallery-section>h2, .review-header>h2, .blog-section>h2 {
    margin-left: 10px;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.gallery-item {
    text-align: center;
    width: 16%;
}

.gallery-item h2 {
    font-size: 16px;
}

.gallery-image {
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    width: 100%;
}

.gallery-image img {
    display: block;
    transition: transform 0.3s;
    object-fit: cover;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.gallery-item p {
    margin: 5px auto;
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.gallery-item h2 {
    margin-top: 10px;
}

/* 리뷰 섹션 */
.review-section {
    width: 100%;
    margin: 15px auto;
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review-grid {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.review-grid > a {
    display: block;
    width: 16%;
    margin-top: 10px;
}

.review-card {
    height: 220px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    vertical-align: top;
    box-sizing: border-box;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    background-color: #fff2d8;
}

.review-card:hover {
    background-color: #fce4b4;
}

.review-author {
    font-size: 18px;
    color: #333;
}

.review-rating {
    color: gold;
    font-size: 20px;
    margin-bottom: 30px;
}

.review-text {
    font-size: 14px;
    color: #555;
    height: 63px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    white-space: normal;
    line-height: 1.5em;
}

.review-date {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}

.rating-stars {
    font-size: 20px;
    color: gold;
}

/* 블로그 섹션 */
.blog-section {
    width: 100%;
    margin: 30px auto;
    clear: both;
}

.blog-section h2 {
    margin-bottom: 15px;
}

.blog-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 15px;
}

.blog-grid > a {
    display: block;
    flex-basis: calc(16.666% - 13px);
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
}

.blog-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff2d8;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    background-color: #fce4b4;
}

.blog-image {
    width: 100%;
    height: 130px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-image img.placeholder {
    object-fit: contain;
}

.blog-content {
    padding: 12px 15px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.blog-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin: 0 0 8px;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    min-height: 58px;
}

/* 반응형 스타일 */
@media only screen and (max-width: 1100px) {
    .service-grid {
        flex-wrap: wrap;
    }
    .service-card {
        width: 48%;
    }
}

@media only screen and (max-width: 991px) {
    .blog-grid > a {
        flex-basis: calc(33.333% - 10px);
    }
}

@media only screen and (max-width: 767px) {
    .main-banner,
    .banner-content {
        font-size: 14px;
    }
    
    .banner-circle {
        width: 340px;
        height: 340px;
    }
    
    .service-intro h2 {
        font-size: 16px;
    }
    
    .service-grid {
        width: 100%;
        justify-content: space-around;
    }
    
    .service-card {
        font-size: 12px;
        margin-top: 5px;
        height: 80px;
    }
    
    .service-icon {
        width: 30px;
        height: 30px;
    }
    
    hr {
        display: block;
        margin-bottom: 15px;
    }
    
    .sidebarCs {
        display: none;
    }
    
    .notice-content {
        margin: auto;
        border-left: none;
        padding: 0 5px;
    }
    
    .notice-table a {
        font-size: 14px;
    }
    
    .notice-table th:nth-child(2),
    .notice-table td:nth-child(2),
    colgroup col:nth-child(2) {
        display: none;
    }
    
    .gallery-section {
        width: 98%;
    }
    
    .gallery-item {
        width: 48%;
    }
    
    .gallery-item h2,
    .gallery-item p {
        font-size: 14px;
    }
    
    .review-grid > a {
        width: 48%;
    }
    
    .blog-grid {
        gap: 5px;
    }
    
    .blog-grid > a {
        flex-basis: calc(50% - 8px);
    }
    
    .blog-image {
        height: 110px;
    }
    
    .blog-title {
        font-size: 14px;
    }
    
    .blog-excerpt {
        -webkit-line-clamp: 2;
        min-height: 36px;
    }
} 

:root {
  --primary-color: #2196f3;    /* 시원한 블루 */
  --accent-color: #1de9b6;     /* 청량한 민트 */
  --navy-color: #1565c0;       /* 포인트 네이비 */
  --background-color: #e3f2fd; /* 밝은 하늘색 */
  --text-color: #222;
}

.header, .footer {
    background: var(--primary-color);
    color: #fff;
}

.button, .highlight {
    background: var(--accent-color);
    color: #fff;
}

.section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(33,150,243,0.08);
} 