/* 메인 페이지 스타일 */

/* 메인 비주얼 영역 */
.main-visual {
    padding: 100px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.main-visual .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.visual-text {
    padding: 40px;
}

.visual-text h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.visual-text .subtitle {
    font-family: 'Alex Brush', cursive;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 400;
}

.visual-description {
    margin-bottom: 3rem;
}

.visual-description p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
}

.visual-image {
    padding: 0 2vw;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    height: 600px;
}

.grid-item {
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
}

.grid-item:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.grid-item:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.grid-item:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.grid-item:hover {
    transform: scale(1.02);
}

/* 퀵 메뉴 영역 */
.quick-menu {
    background-color: #fff;
    padding: 100px 0;
    overflow: hidden;
}

.quick-menu-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0 -1px;
}

.quick-item {
    position: relative;
    height: 400px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border: 1px solid transparent;
    text-decoration: none;
    display: block;
    color: white;
}

.quick-item:hover {
    text-decoration: none;
    color: white;
}

.quick-item:nth-child(1) {
    background-image: url('../images/quick1.jpg');
}

.quick-item:nth-child(2) {
    background-image: url('../images/quick2.jpg');
}

.quick-item:nth-child(3) {
    background-image: url('../images/quick3.jpg');
}

.quick-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    transform: translateY(60px);
    transition: transform 0.3s ease;
}

.quick-item:hover .quick-content {
    transform: translateY(0);
}

.quick-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.quick-content p {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-item:hover .quick-content p {
    opacity: 1;
}

.btn-more {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 5px;
    display: inline-block;
}

.btn-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: white;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.quick-item:hover .btn-more::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* 회사 소개 영역 */
.company-intro {
    background-color: #f8f9fa;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-text {
    display: flex;
    align-items: center;
    padding: 5vw;
}

.text-wrapper {
    max-width: 600px;
}

.intro-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.intro-text .lead {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.intro-text .description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 3rem;
}


/* 반응형 스타일 */
@media (max-width: 991px) {
    .visual-text {
        padding: 0 15px;
        text-align: center;
        margin-bottom: 50px;
    }

    .visual-text h1 {
        font-size: 3rem;
    }

    .image-grid {
        height: 60vh;
    }

    .quick-menu-wrapper {
        grid-template-columns: 1fr;
    }

    .quick-item {
        height: 300px;
    }

    .intro-text {
        padding: 50px 15px;
    }

    .intro-text h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .main-visual {
        padding-top: calc(var(--header-height) + 30px);
        padding-right: 15px;
        padding-left: 15px;
        padding-bottom: 60px;
    }

    .visual-text {
        padding: 20px 0;
        text-align: center;
    }

    .visual-text h1 {
        font-size: 2.5rem;
    }

    .visual-text .subtitle {
        font-size: 2rem;
    }

    .visual-description p {
        font-size: 1.1rem;
    }

    .visual-image {
        padding: 0;
    }

    .image-grid {
        height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 250px);
        gap: 15px;
    }

    .grid-item:nth-child(1),
    .grid-item:nth-child(2),
    .grid-item:nth-child(3) {
        grid-column: 1;
    }

    .grid-item:nth-child(1) { grid-row: 1; }
    .grid-item:nth-child(2) { grid-row: 2; }
    .grid-item:nth-child(3) { grid-row: 3; }
}

@media (max-width: 576px) {
    .main-visual {
        padding-top: calc(var(--header-height) + 30px);
        padding-right: 15px;
        padding-left: 15px;
        padding-bottom: 40px;
    }

    .visual-text h1 {
        font-size: 2rem;
    }

    .visual-text .subtitle {
        font-size: 1.8rem;
    }

    .image-grid {
        grid-template-rows: repeat(3, 200px);
        gap: 10px;
    }
}

/* 패키지 섹션 스타일 */
.main-packages {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

.package-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.package-item:hover {
    transform: translateY(-10px);
}

.package-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff6b6b;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.package-content {
    padding: 25px;
}

.package-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.package-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9rem;
}

.package-meta span i {
    margin-right: 5px;
    color: #ff6b6b;
}

.package-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    min-height: 7.5em; /* 1.5(line-height) × 5줄 */
    max-height: 7.5em; /* 5줄까지만 보이게 고정 */
}

.package-price {
    margin-bottom: 20px;
}

.package-price .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff6b6b;
}

.package-price small {
    display: block;
    margin-top: 5px;
}

.package-item .btn-more {
    display: inline-block;
    padding: 8px 20px;
    background: transparent;
    border: 2px solid #ff6b6b;
    color: #ff6b6b;
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.package-item .btn-more:hover {
    background: #ff6b6b;
    color: #fff;
} 