@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=Inter:wght@300;400;600&display=swap');

/* 기본 설정 */
body {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    overflow-x: hidden; /* 가로 스크롤 방지 */
}

/* 색상 변수 (Tailwind config 대체용 커스텀 클래스) */
.text-corporate-red { color: #d6001c; } /* 로고의 붉은색 계열 추정 */
.bg-corporate-red { background-color: #d6001c; }
.text-corporate-dark { color: #1a1a1a; }
.bg-corporate-dark { background-color: #1a1a1a; }

/* Hero Slider 스타일 */
.hero-slider {
    position: relative;
    width: 100%;
    height: 80vh; /* 화면 높이의 80% */
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 10;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* 텍스트 가독성을 위한 어두운 오버레이 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 5%; /* 왼쪽 여백 */
}

/* Mega Menu Styles */
.mega-menu-wrapper:hover .mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
}

.mega-menu {
    background-color: white !important;
}

/* 메가메뉴 내부 텍스트 색상 강제 지정 */
.mega-menu a {
    color: #6b7280 !important;
}

.mega-menu a:hover {
    color: #dc2626 !important;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 섹션 타이틀 공통 */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #333;
}

/* 호버 효과 등 유틸리티 */
.hover-zoom {
    overflow: hidden;
}
.hover-zoom img {
    transition: transform 0.5s ease;
}
.hover-zoom:hover img {
    transform: scale(1.1);
}