/* 문의하기 페이지 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333333;
    line-height: 1.8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 페이지 헤더 */
.page-header {
    padding: 80px 0 60px;
    text-align: center;
    color: #ffffff;
}

.inquiry-header {
    position: relative;
    overflow: hidden;
}

.inquiry-header::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: url('../../img/inquiry.jpg') center/cover no-repeat;
    z-index: 0;
}

.inquiry-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.inquiry-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease;
}

.page-header .subtitle {
    font-size: 20px;
    font-weight: 400;
    opacity: 0.95;
    animation: fadeInUp 1s ease;
}

/* 환영 메시지 섹션 */
.welcome-section {
    padding: 80px 0 60px;
    background-color: #f8f9fa;
}

.welcome-box {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.welcome-text {
    font-size: 28px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
}

.description {
    font-size: 18px;
    line-height: 1.8;
    color: #666666;
}

/* 문의 유형 섹션 */
.inquiry-types-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.inquiry-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.inquiry-type-card {
    background-color: #f8f9fa;
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.inquiry-type-card:hover {
    border-color: #dc143c;
    background-color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
}

.inquiry-type-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
}

/* 연락처 정보 섹션 */
.contact-info-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background-color: #ffffff;
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #dc143c;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.contact-main {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 30px;
}

.contact-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #dc143c 0%, #dc143c 100%);
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 반응형 디자인 */
@media (max-width: 968px) {
    .inquiry-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .page-header {
        padding: 60px 0 40px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .page-header .subtitle {
        font-size: 16px;
    }

    .welcome-section {
        padding: 60px 0 40px;
    }

    .welcome-text {
        font-size: 22px;
    }

    .description {
        font-size: 16px;
    }

    .inquiry-types-section {
        padding: 60px 0;
    }

    .inquiry-types-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .inquiry-type-card {
        padding: 30px 20px;
    }

    .inquiry-type-card h3 {
        font-size: 18px;
    }

    .contact-info-section {
        padding: 60px 0;
    }

    .contact-card {
        padding: 40px 20px;
    }

    .contact-main {
        font-size: 18px;
    }
}
