html {
    scroll-behavior: smooth;
}

/* 헤더 고유 스타일 */
.strike-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    box-sizing: border-box;
    z-index: 1000;
}

.strike-header .logo-area a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.strike-header .logo-img {
    height: 30px; /* 로고 이미지 높이에 맞게 조절 */
    object-fit: contain;
}

.strike-header .nav-menu ul {
    display: flex;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.strike-header .nav-menu a {
    color: #94a3b8;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.strike-header .nav-menu a:hover {
    color: #ef4444; /* STRIKE 테마 레드 */
}

/*-----------------------------------------------------------------------*/
/* 본문 기본 초기화 및 공통 공백 설정 (헤더 고정 높이 80px 반영) */
body {
    margin: 0;
    padding: 0;
    background-color: #0f172a;
    color: #f8fafc;
    font-family: 'Noto Sans KR', sans-serif;
}

.slide-section {
    min-height: 100vh;
    padding: 120px 50px 80px 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-container {
    width: 100%;
    max-width: 1200px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: left;
}

.section-title span {
    color: #ef4444;
}

/* 슬라이드 1: 메인 비주얼 */
.hero-box {
    text-align: center;
    padding: 40px 0;
}

.hero-logo {
    height: 100px;
    margin-bottom: 30px;
    object-fit: contain;
}

.hero-tagline {
    font-size: 24px;
    color: #cbd5e1;
    margin-bottom: 50px;
}

.info-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
}

.info-table td {
    padding: 18px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 16px;
}

.info-table td.label {
    font-weight: 700;
    color: #94a3b8;
    width: 20%;
}

/* 슬라이드 2: 4개 타일 역량 */
.capability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.capability-card {
    background: #1e293b;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.capability-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 20px;
}

.capability-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.capability-card p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.5;
}

/* DA광고, 광고대행, 채용광고 */
/* 슬라이드 3, 4, 5 공통: 박스 라인은 맞추고 이미지는 절대 안 잘리게 */
.gallery-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 25px;
    align-items: stretch; 
}

.gallery-item {
    background: #1e293b; /* 박스 배경색 */
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    
    /* [핵심 1] 모든 박스의 높이를 동일하게 고정 (400px이 크면 350px로 조절) */
    height: 400px; 
    
    /* [핵심 2] 이미지를 박스 중앙에 배치 */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px; /* 이미지와 박스 테두리 사이 최소 간격 */
}

.gallery-item img {
    /* [핵심 3] 너비와 높이 중 큰 쪽을 100%에 맞추고 작은 쪽은 자동(auto)으로 */
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    
    /* [핵심 4] contain을 사용하여 절대 잘리지 않도록 함 */
    object-fit: contain; 
    
    display: block;
}

.section-desc-box {
    background: rgba(239, 68, 68, 0.06);
    border-left: 4px solid #ef4444;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    font-size: 16px;
    line-height: 1.6;
    color: #cbd5e1;
}

/* 슬라이드 6: Contact Us 폼 */
.contact-wrapper {
    background: #1e293b;
    border-radius: 20px;
    padding: 45px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.form-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-item.full-width {
    grid-column: span 2;
}

.form-item label {
    font-size: 14px;
    font-weight: 600;
    color: #cbd5e1;
}

.form-item input[type="text"],
.form-item input[type="email"],
.form-item input[type="tel"],
.form-item select {
    width: 100%;
    padding: 12px 16px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 6px;
    color: #fff;
    font-size: 15px;
    box-sizing: border-box;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}

.submit-button-area {
    grid-column: span 2;
    text-align: center;
    margin-top: 15px;
}

.btn-submit {
    background: #ef4444;
    color: #fff;
    border: none;
    padding: 15px 60px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: #dc2626;
}

/*-----------------------------------------------------------------------*/
/* 푸터 영역 고유 디자인 */
.strike-footer {
    background-color: #020617;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 50px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.8;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-info {
    word-break: keep-all;
}

.footer-info span {
    display: inline-block;
    margin-right: 15px;
}

.footer-info span::after {
    content: "|";
    margin-left: 15px;
    color: #334155;
}

.footer-info span:last-child::after {
    content: "";
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 20px;
}

.footer-copyright {
    color: #475569;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.footer-links a:hover {
    color: #ef4444;
}

/* PC에서는 햄버거 버튼 숨김 */
@media screen and (min-width: 769px) {
    .mobile-menu-btn { display: none; }
}

/* 모바일 반응형 스타일 (화면 너비 768px 이하) */
@media screen and (max-width: 768px) {
	img { max-width: 100%;}

    .strike-header {
        padding: 0 20px; /* 모바일에서 좌우 여백 축소 */
    }
    
    .strike-header .nav-menu {
        display: none; /* 모바일에서는 일단 숨김 (필요시 햄버거 메뉴로 구현) */
    }

    /* 2. 섹션 여점 조정: 상단 여백을 헤더 높이에 맞춤 */
    .slide-section {
        padding: 80px 20px 40px 20px;
    }

    .section-title {
        font-size: 28px; /* 제목 크기 축소 */
    }
    
    /* 1. 태그라인 수정: 줄바꿈 방지 및 폰트 최적화 */
    .hero-tagline {
        font-size: 4.5vw; /* 화면 너비에 따라 폰트 크기 자동 조절 */
        white-space: nowrap; /* 절대 줄바꿈 되지 않음 */
        overflow: hidden;
        text-overflow: ellipsis; /* 혹시라도 넘치면 ... 처리 (안전장치) */
        margin-bottom: 30px;
        width: 100%;
        text-align: center;
    }
    
    /* 2. 표 쏠림 현상 해결 및 모바일 최적화 */
    .info-table {
        width: 100% !important;
        max-width: 100%;
        margin: 0 auto; /* 중앙 정렬 강제 */
        table-layout: fixed; /* 테이블 너비 고정 */
    }

    .info-table td {
        display: block;
        box-sizing: border-box;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        padding: 12px 10px !important;
        font-size: 13px !important;
    }

    /* 라벨(기업명, 설립일 등)은 35% 너비 */
    .info-table td.label {
        width: 35% !important;
        background: rgba(255, 255, 255, 0.05);
        text-align: left;
    }
    
    /* 값((주)수투락 등)은 65% 너비 */
    .info-table td:not(.label) {
        width: 65% !important;
        text-align: left;
    }
    
    /* 모바일에서는 4열 대신 2열씩 나오게 구성하는 것이 가장 깔끔합니다 */
    .info-table tr {
        display: flex;
        flex-wrap: wrap;
    }
    
    /* 마지막 사업분야 행은 100% 전체 너비 사용 */
    .info-table tr:last-child td.label {
        width: 100% !important;
    }
    .info-table tr:last-child td[colspan="3"] {
        width: 100% !important;
    }

    /* 4. 슬라이드 2: 4열 타일을 1열 혹은 2열로 변경 */
    .capability-grid {
        grid-template-columns: repeat(1, 1fr); /* 한 줄에 하나씩 */
        gap: 15px;
    }

    /* 5. 슬라이드 3, 4, 5: 5열 갤러리를 2열 혹은 1열로 변경 */
    .gallery-grid-5 {
        grid-template-columns: repeat(2, 1fr); /* 한 줄에 두 개씩 */
    }
    
    .gallery-item {
        height: 250px; /* 모바일에서는 높이를 좀 낮춰줌 */
    }

    /* 6. 슬라이드 6: Contact Us 폼을 1열로 */
    .contact-form-grid {
        grid-template-columns: 1fr; /* 한 줄에 하나씩 */
    }
    
    .form-item.full-width {
        grid-column: span 1;
    }
    
    /* 1. 햄버거 버튼 디자인 */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
        z-index: 1001;
    }

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #fff;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* 기본적으로 우측 밖에 숨김 */
        width: 250px; /* 메뉴판 너비 */
        height: 100vh;
        background-color: #0f172a; /* 짙은 배경색 */
        padding: 80px 30px;
        transition: 0.3s ease-in-out;
        display: block !important; /* flex 해제하고 block으로 */
        z-index: 999;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }

    .nav-menu.active {
        right: 0; /* 클래스 추가 시 화면에 나타남 */
    }

    .nav-menu ul {
        flex-direction: column; /* 세로 정렬 */
        gap: 20px;
        display: flex;
    }

    .nav-menu ul li a {
        font-size: 18px;
        padding: 10px 0;
        display: block;
    }

    .nav-menu a {
        font-size: 20px;
        display: block;
    }

    /* 햄버거 버튼이 항상 위에 보이도록 */
    .mobile-menu-btn {
        display: flex !important;
        z-index: 1000;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
	    transform: translateY(8.5px) rotate(45deg);
	}
	.mobile-menu-btn.active span:nth-child(2) {
	    opacity: 0; /* 가운데 줄은 숨김 */
	}
	.mobile-menu-btn.active span:nth-child(3) {
	    transform: translateY(-8.5px) rotate(-45deg);
	}
	
	/* 1. 컨테이너 패딩 조정 */
    .contact-wrapper {
        padding: 30px 20px !important;
    }

    /* 2. 그리드를 완전한 1열로 강제 */
    .contact-form-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    /* 3. 각 항목이 가로 100%를 차지하도록 수정 */
    .form-item {
        width: 100% !important;
    }

    .form-item.full-width {
        grid-column: auto !important;
    }

    /* 4. 입력창과 선택창 너비 100% 및 높이 확보 */
    .form-item input[type="text"],
    .form-item input[type="email"],
    .form-item input[type="tel"],
    .form-item select {
        width: 100% !important;
        min-width: 100% !important;
        height: 50px !important; /* 터치하기 편하도록 높이 조절 */
        font-size: 16px !important; /* 모바일에서 줌 현상 방지 */
        box-sizing: border-box !important;
    }

    /* 5. 개인정보 동의 체크박스 영역 정리 */
    .checkbox-label {
        align-items: flex-start !important;
        line-height: 1.4 !important;
        font-size: 13px !important;
    }

    .checkbox-label input[type="checkbox"] {
        margin-top: 3px !important;
        width: 18px !important;
        height: 18px !important;
    }

    /* 6. 제출 버튼 모바일 최적화 */
    .submit-button-area {
        margin-top: 10px !important;
    }

    .btn-submit {
        width: 100% !important; /* 버튼도 가로를 꽉 채우면 훨씬 보기 좋습니다 */
        padding: 15px 0 !important;
    }
    
    .privacy-container table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* 부드러운 스크롤 */
        white-space: nowrap; /* 내용이 너무 많으면 줄바꿈 방지 후 스크롤 유도 */
    }
    
    th, td {
        padding: 8px 10px !important; /* 모바일에서는 여백을 조금 줄임 */
        font-size: 12px !important;
    }
	
}

/* 개인정보 처리방침 전용 리스트 스타일 */
.privacy-content ul {
    list-style: none; /* 점(.) 제거 */
    padding: 0;
    margin: 0;
}

.privacy-content li {
    margin: 0; /* 위아래 간격 제거 */
    padding: 2px 0;
    line-height: 1.6;
}

/* 첫 번째 단계 들여쓰기 (①, ② 부분) */
.indent-1 {
    padding-left: 20px !important;
}

/* 두 번째 단계 들여쓰기 (- 부분) */
.indent-2 {
    padding-left: 40px !important;
    text-indent: -10px; /* 불렛 기호만큼 내어쓰기 (선택사항) */
}
