/* 공통 변수 정의 */
:root {
    --primary-color: #ff6b6b;
    --primary-hover: #ff5252;
    --text-primary: #333;
    --text-secondary: #666;
    --bg-white: #fff;
    --bg-light: #f8f9fa;
    --bg-gray: #f5f5f5;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
    --border-color: #eee;
    --transition: all 0.3s ease;
}

/* 공통 스타일 */
.container {
    max-width: 1200px;
    min-width: 320px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

/* 공통 섹션 스타일 */
.section-bg {
    width: 100%;
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* 공통 카드 스타일 */
.card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* 햄버거 메뉴 스타일링 */
.hamburger {
    order: 3;
    margin-left: 2rem;
    display: none; /* 기본적으로 숨김 */
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1002;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

/* 햄버거 메뉴 활성화 상태 */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* 공통 그리드 레이아웃 */
.grid-layout {
    display: grid;
    gap: 2rem;
}

/* 공통 이미지 스타일 */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 공통 텍스트 스타일 */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-center { text-align: center; }

/* 공통 여백 */
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* 공통 패딩 */
.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

/* 공통 버튼 스타일 */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: var(--bg-white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 섹션별 배경색 */
.notice-section .section-bg { background: var(--bg-white); }
.featured-products .section-bg { background: var(--bg-light); }
.company-strengths .section-bg { background: var(--bg-white); }
.partners .section-bg { background: var(--bg-gray); }

/* 반응형 공통 스타일 */
@media (max-width: 768px) {
    .section-bg { padding: 3rem 0; }
    .section-title { 
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    .btn { 
        width: 100%;
        justify-content: center;
    }
}

/* 기존 중복 스타일 제거 */
.btn-more,
.btn-detail,
.btn-inquiry,
.btn-submit,
.btn-send,
.btn-download {
    /* 중복된 스타일 제거 */
}

/* 섹션별 중복 패딩 제거 */
.notice-section,
.featured-products,
.company-strengths,
.partners {
    padding: 0;
}

/* 기본 스타일 */
body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    min-width: 320px;
    overflow-x: hidden;
}

/* 전체 컨테이너 스타일링 */
.container {
    max-width: 1200px;
    min-width: 320px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

/* 헤더 스타일링 수정 */
.header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

header h1 {
    margin: 0;
    line-height: 0;
}

header h1 a {
    display: block;
}

/* 기본 로고 스타일 (모든 페이지) */
header h1 .logo {
    height: 40px;
    width: auto;
    vertical-align: middle;
    margin-top: 0;
    transition: all 0.3s ease;
}

/* index 페이지의 헤더 로고는 항상 흰색 */
body.home header h1 .logo {
    filter: brightness(0) invert(1);
    height: 50px;
}

/* index 페이지 제외한 다른 페이지들의 스크롤 전 로고 */
body:not(.home) .header.transparent h1 .logo {
    filter: none;
}

/* index 페이지 제외한 다른 페이지들의 스크롤 후 로고 */
body:not(.home) .header.solid h1 .logo {
    filter: brightness(0) invert(1);
}

/* 스크롤 시 헤더 스타일 */
.header.solid {
    background: #000;
}

.header.solid .header-inner {
    padding: 0.6rem 2rem;
}

/* 로고 크기 전환 효과 */
header h1 .logo {
    height: 40px;
    width: auto;
    vertical-align: middle;
    margin-top: 0;
    transition: all 0.3s ease;
}

.header.solid header h1 .logo {
    height: 35px;
    margin-top: 0;
}

/* 모바일 반응형 스타일 */
@media screen and (max-width: 1024px) {
    .header-inner {
        min-width: 320px;
        width: 100%;
        box-sizing: border-box;
    }

    .header.solid .header-inner {
        padding: 0.8rem 1.5rem;
    }

    header h1 .logo {
        height: 40px;
    }

    .header.solid header h1 .logo {
        height: 35px;
    }

    /* 햄버거 메뉴 스타일 개선 */
    .hamburger {
        display: block;
        width: 24px;
        height: 20px;
        margin-left: 1rem;
        z-index: 1002;
        position: relative;
    }

    .hamburger span {
        height: 2px;
        background: #fff;
        position: absolute;
        left: 0;
        width: 100%;
        transition: all 0.3s ease;
    }

    .hamburger span:nth-child(1) { top: 0; }
    .hamburger span:nth-child(2) { top: 9px; }
    .hamburger span:nth-child(3) { top: 18px; }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg);
        top: 9px;
    }

    /* 모바일 네비게이션 개선 */
    .header-inner nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        padding: 80px 2rem 2rem;
        z-index: 1001;
        overflow-y: auto;
    }

    .header-inner nav.active {
        display: block;
    }

    .header-inner nav ul {
        flex-direction: column;
        gap: 0;
        height: auto;
        margin: 0;
        padding: 0;
    }

    .header-inner nav li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header-inner nav li:last-child {
        border-bottom: none;
    }

    .header-inner nav a {
        color: #fff;
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
        width: 100%;
        display: block;
        text-align: left;
    }

    /* 서브메뉴 스타일 개선 */
    .submenu {
        min-width: 320px;
        width: 100%;
        left: 0;
        transform: none;
    }

    .has-submenu:hover .submenu {
        transform: none;
    }

    .submenu ul {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

    .submenu li {
        width: 100%;
        border-bottom: none;
    }

    .submenu a {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.8);
    }

    .submenu a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    /* 활성화된 메뉴 스타일 */
    .header-inner nav a.active,
    .header-inner nav a:hover {
        color: #ff6b6b;
        background: transparent;
    }

    /* 서브메뉴가 있는 항목 표시 */
    .has-submenu > a::after {
        content: '+';
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.2rem;
    }

    .has-submenu.active > a::after {
        content: '-';
    }

    /* 푸터 스타일 개선 */
    footer {
        padding: 2rem 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        padding-bottom: 1.5rem;
    }

    .company-info {
        order: 1;
    }

    .company-info h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .company-info address {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .company-info address span {
        display: block;
        margin: 0.3rem 0;
    }

    .footer-links {
        order: 2;
    }

    .footer-links ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        padding: 0;
    }

    .footer-links a {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.8rem;
    }
}

/* 데스크톱 스타일 */
@media screen and (min-width: 1025px) { /* 769px에서 1025px로 변경 */
    .header-inner {
        max-width: 1200px;
    }
    
    .hamburger {
        display: none;
    }

    .header-inner nav {
        display: block !important;
    }

    .header-inner nav ul {
        display: flex;
        gap: 2rem;
    }

    .submenu {
        min-width: 600px;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }

    .has-submenu:hover .submenu {
        transform: translateX(-50%) translateY(0);
    }
}

/* 서브메뉴 반응형 조정 */
@media screen and (max-width: 1200px) and (min-width: 1025px) {
    nav li {
        flex: 0 0 100px; /* 메뉴 아이템 너비 축소 */
    }

    nav a {
        font-size: 0.9rem; /* 폰트 사이즈 축소 */
    }

    .submenu {
        min-width: 500px; /* 서브메뉴 너비 축소 */
    }
}

/* 네비게이션 스타일링 */
nav {
    order: 2;
    position: static;
    padding: 0;
    flex: 1;
    max-width: 1025px;
    margin: 0 0 0 auto;
    height: 100%;
}

nav ul {
    display: flex;
    gap: 0;
    align-items: stretch; /* center에서 stretch로 변경 */
    height: 100%;
    justify-content: flex-end;
}

nav li {
    position: relative;
    flex: 0 0 130px;
    text-align: center;
    padding: 0;
    display: flex;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.5rem 0;
}

nav ul li a:hover {
    color: #ff6b6b;
}

/* active 상태도 동일하게 적용 */
nav > ul > li > a.active {
    color: #ff6b6b;
    background-color: rgba(255, 107, 107, 0.1);
}

.has-submenu:hover .submenu {
    display: block;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    margin-top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    padding: 1rem;
    z-index: 1001;
    min-width: 800px;
    transition: all 0.3s ease;
}

.submenu ul {
    display: flex;
    gap: 0;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0;
}

.submenu li {
    padding: 0;
    white-space: nowrap;
    text-align: center;
    flex: 1;
}

.submenu a {
    padding: 1rem 1.5rem;
    white-space: nowrap;
    display: block;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
    color: #fff;
    font-weight: 500;
}

.submenu a:hover {
    background-color: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}

/* 제품소개 메뉴 항목에 대한 위치 조정 수정 */
.has-submenu {
    position: relative;
}

.has-submenu .submenu {
    visibility: hidden;
    opacity: 0;
    display: block;
    transform: translateX(-50%) translateY(-10px); /* transform 수정 */
    transition: all 0.3s ease, visibility 0.3s ease;
}

.has-submenu:hover .submenu {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0); /* transform 수정 */
}

/* 화면 왼쪽 끝에 닿았을 때 잘리지 않도록 보정 수정 */
@media screen and (max-width: 1200px) {
    .submenu {
        min-width: 600px; /* 화면이 작아질 때 서브메뉴 너비 조정 */
    }
    
    .has-submenu .submenu {
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }

    .has-submenu:hover .submenu {
        transform: translateX(-50%) translateY(0);
    }
}

@media screen and (max-width: 900px) {
    .submenu {
        min-width: 100vw; /* 더 작은 화면에서는 전체 너비로 */
        left: 0;
        transform: translateX(0) translateY(-10px);
    }
    
    .has-submenu .submenu {
        left: 0;
        transform: translateX(0) translateY(-10px);
    }

    .has-submenu:hover .submenu {
        transform: translateX(0) translateY(0);
    }
}

/* 서브메뉴 호버 영역 수정 */
.has-submenu::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

/* 메인 컨텐츠 여백 조정 */
main {
    margin-top: 0; /* 80px에서 0으로 변경 */
}

/* 슬라이더 스타일링 */
.hero-slider {
    position: relative;
    width: 100%;
    height: 66.67vh; /* 변경: 100vh에서 66.67vh로 수정 (화면 높이의 2/3) */
    overflow: hidden;
}

.slide-content.fixed {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    z-index: 10;
    color: #fff;
}

.hero-slider h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero-slider h1 span {
    display: block;
    font-weight: 700;
    color: #fff;
}

.slide-description {
    color: #fff;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    line-height: 1.8;
}

.slide-description strong {
    font-weight: 500;
    position: relative;
    font-size: calc(100% + 2px);
    color: #ff6b6b;
}

.slide {
    position: absolute;
    width: 100%;
    height: 66.67vh; /* 변경: 슬라이드 개별 높이도 동일하게 수정 */
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.slider-controls .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-controls .dot.active {
    background-color: #fff;
}


/* 푸터 스타일링 */
footer {
    background-color: #f8f8f8;
    padding: 3rem 0 2rem;
    margin-top: 0;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.company-info h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.company-info address {
    font-style: normal;
    color: #666;
    line-height: 1.8;
}

.company-info address span {
    margin-right: 1.5rem;
    display: inline-block;
}

.footer-links ul {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #000;
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

/* 태블릿 반응형 스타일 */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    footer {
        padding: 2.5rem 1rem;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0 2rem;
    }

    .company-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .company-info h2 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .company-info address {
        font-size: 0.95rem;
        text-align: center;
    }

    .company-info address span {
        margin: 0.3rem;
    }

    .footer-links ul {
        justify-content: center;
        gap: 1.5rem;
    }

    .footer-bottom {
        text-align: center;
    }
}

/* 모바일 반응형 스타일 */
@media screen and (max-width: 767px) {
    footer {
        padding: 2rem 1rem;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        text-align: center;
        padding-bottom: 1.5rem;
    }

    .company-info {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .company-info h2 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .company-info address {
        font-size: 0.9rem;
        line-height: 1.6;
        text-align: center;
    }

    .company-info address span {
        display: block;
        margin: 0.3rem 0;
    }

    .footer-links {
        order: 2;
        width: 100%;
    }

    .footer-links ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        padding: 0;
    }

    .footer-links a {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.8rem;
        text-align: center;
    }
}

/* 데스크톱 스타일 */
@media screen and (min-width: 1025px) {
    .footer-content {
        padding: 0 2rem;
    }
}

/* body 스타일 추가 */
body.menu-open {
    overflow: hidden;
}

/* 회사소개 페이지 스타일 */
.about-hero {
    background-color: #f8f9fa;
    padding: 100px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
    

.img1{
    background-image: url(../images/about1.png);
}
.img2{
    background-image: url(../images/about2.png);
}
.img3{
    background-image: url(../images/about3.png);
}
.img4{
    background: linear-gradient(45deg, rgba(211,118,110,0.8), rgba(225,211,182,1));
}

.page-title {
    position: relative;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    z-index: 99;
    opacity: 1;
}

.subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    opacity: 1;
}

/* 탭 네비게이션 */
.about-tabs {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 70px;
    z-index: 100;
}

.tab-nav {
    display: flex;
    gap: 2rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.tab-nav li a {
    display: block;
    padding: 1rem 0;
    color: #666;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.tab-nav li.active a {
    color: #ff6b6b;
}

.tab-nav li.active a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ff6b6b;
}

/* 탭 컨텐츠 스타일 수정 */
.tab-content {
    padding: 4rem 0;
}

.tab-pane {
    display: none; /* 기본적으로 숨김 */
}

.tab-pane.active {
    display: block; /* active 클래스가 있을 때만 표시 */
}

/* 회사개요 섹션 */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.text-content {
    padding-right: 2rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.highlight-text {
    font-size: 1.5rem;
    color: #ff6b6b;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.description {
    color: #666;
    line-height: 1.8;
}

.image-content {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.main-image {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,107,107,0.2), rgba(0,0,0,0.1));
}

/* 연혁 타임라인 */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.year {
    font-size: 2rem;
    font-weight: 700;
    color: #ff6b6b;
    flex: 0 0 100px;
}

.event h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

/* 비전 섹션 */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.vision-card {
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.vision-card:hover {
    transform: translateY(-5px);
}

.icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

/* 반응형 스타일 */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .text-content {
        padding-right: 0;
    }

    .vision-grid {
        grid-template-columns: 1fr;
    }

    .tab-nav {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
    }
}

/* 주요 제품 섹션 스타일 */
.featured-products {
    padding: 5rem 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ff6b6b;
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-image {
    position: relative;
    padding-top: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    background: #f8f9fa;
}

.category-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: contain; /* Changed from cover to contain */
    object-position: center;
    transition: transform 0.5s ease;
    padding: 1rem;
}

/* .category-card:hover .category-image img {
    transform: scale(1.1);
} */

.category-content {
    padding: 2rem;
    text-align: center;
}

.category-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.category-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 2rem;
    background: #ff6b6b;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-more:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 회사 강점 섹션 스타일 */
.company-strengths {
    padding: 5rem 0;
    background: #fff;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.strength-card {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.strength-card:hover {
    transform: translateY(-5px);
}

.strength-card .icon {
    margin-bottom: 1.5rem;
}

.strength-card .icon img {
    width: 60px;
    height: 60px;
}

.strength-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
}

.strength-card p {
    color: #666;
    line-height: 1.6;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .featured-products,
    .company-strengths {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .product-categories,
    .strengths-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* 그리드 뷰 스타일 수정 */
.product-container {
    margin-top: 2rem;
}

.product-container.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 2rem auto;
}

.product-container.list-view {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 2rem auto;
}

.product-container.list-view .product-item {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    align-items: center;
}

.product-container.list-view .product-image {
    flex: 0 0 200px;
    padding-top: 150px; /* Fixed height for list view */
}

.product-container.list-view .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-info h3,
.category-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    height: 2.8em; /* 1.4(line-height) * 2줄 = 약 2.8em */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 최대 2줄까지 보이기 */
    -webkit-box-orient: vertical;
}

.product-container.list-view .btn-detail {
    align-self: flex-start;
    margin-top: 1rem;
}

.product-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    background: #f8f9fa;
}

.product-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: contain; /* Changed from cover to contain */
    object-position: center;
    transition: transform 0.3s ease;
    padding: 1rem; /* Add padding to prevent image from touching edges */
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.product-category {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-description {
    color: #777;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.btn-detail {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #ff6b6b;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-detail:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .product-container.grid-view {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .product-container.list-view .product-item {
        flex-direction: column;
        gap: 1rem;
    }

    .product-container.list-view .product-image {
        width: 100%;
        flex: none;
    }

    .product-container.list-view .product-info {
        text-align: center;
    }

    .product-container.list-view .btn-detail {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .product-container.grid-view {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* 뷰 토글 버튼 스타일 */
.view-controls {
    margin-bottom: 2rem;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.view-toggle {
    padding: 0.8rem 1.5rem;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.view-toggle i {
    font-size: 1rem;
}

.view-toggle.active {
    background: #ff6b6b;
    color: white;
    border-color: #ff6b6b;
}

/* 상세 페이지 스타일 */
.product-detail {
    padding: 2rem 0;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: #666;
    font-size: 0.95rem;
}

.product-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-breadcrumb a:hover {
    color: #ff6b6b;
}

.product-breadcrumb .current {
    color: #333;
    font-weight: 500;
}

.breadcrumb-separator {
    color: #ccc;
    margin: 0 0.2rem;
}

.product-detail-content {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: 2rem;
}

.product-detail-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.product-detail-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.product-detail-header .category {
    color: #666;
    font-size: 1.1rem;
}

.product-detail-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.product-left-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-right-column {
    position: sticky;
    top: 2rem;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-images {
    margin-bottom: 2rem;
}

@media (min-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr 300px;
    }

    .product-documents {
        background: var(--bg-white);
        padding: 1.5rem;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        margin-bottom: 1rem;
    }
}

@media (max-width: 991px) {
    .product-detail-content {
        padding: 0 1rem;
    }

    .product-detail-header h2 {
        font-size: 1.5rem;
    }

    .product-documents {
        margin: 2rem 0;
    }

    .product-inquiry {
        margin-bottom: 2rem;
    }
}

.sub-menu {
    margin-bottom: 2rem;
}

.sub-menu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    margin: 0 auto;
    justify-content: center;
    list-style: none;
    max-width: 960px;
}

.sub-menu ul li {
    margin: 0;
}

.sub-menu .menu-item {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
}

.sub-menu .menu-item:hover {
    background-color: #ffefef;
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.sub-menu .menu-item.active {
    background-color: #ff6b6b;
    color: #fff;
    border-color: #ff6b6b;
    font-weight: 500;
}
.sub-menu .menu-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ff6b6b;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: #4A90E2;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 1rem;
    text-align: center;
}

.btn-download:hover {
    background: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.btn-download i {
    font-size: 1.2rem;
    color: #fff;
}

.btn-inquiry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 1.5rem;
    background: #ff6b6b;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-inquiry:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.catalogue-image-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    background: #fff;
}

.catalogue-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 카탈로그 뷰일 때는 컨테이너 패딩 제거 */
.product-detail-content.catalogue-view {
    padding: 0;
    background: none;
    box-shadow: none;
}

/* 공지사항 영역 스타일 */
.notice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.notice-board {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.notice-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.notice-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notice-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #eee;
}

.notice-list li:last-child a {
    border-bottom: none;
}

.notice-list li a:hover {
    color: #ff6b6b;
}

.notice-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notice-date {
    color: #999;
    font-size: 0.9rem;
    margin-left: 1rem;
}

/* 포스터 영역 스타일 */
.poster-area {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 500px;
}

.poster-container {
    display: flex;
    gap: 1rem;
    height: 100%;
}

.poster-main {
    flex: 1;
    position: relative;
    height: 500px;
    overflow: hidden;
}

.poster-current {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.poster-current img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.poster-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.poster-current:hover .poster-overlay {
    transform: translateY(0);
}

.poster-overlay h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.poster-overlay p {
    margin-bottom: 1rem;
    opacity: 0.9;
    font-size: 1rem;
}

.poster-nav {
    width: 120px;
    padding: 0.5rem;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    height: 500px;
}

.thumb-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.2) transparent;
    scroll-behavior: smooth;
}

.thumb-list::-webkit-scrollbar {
    width: 4px;
}

.thumb-list::-webkit-scrollbar-track {
    background: transparent;
}

.thumb-list::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 4px;
}

.thumb {
    position: relative;
    padding-top: 100%;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumb.active {
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .poster-area {
        height: 500px;
    }

    .poster-container {
        flex-direction: column;
    }

    .poster-main {
        height: 350px;
    }

    .poster-nav {
        width: 100%;
        height: auto;
        padding: 0.5rem;
    }

    .thumb-list {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 0.5rem;
        scroll-behavior: smooth;
    }

    .thumb {
        flex: 0 0 90px;
        padding-top: 90px;
    }
}

/* 파트너사 슬라이더 스타일 */
.partner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
}

.partner-track {
    display: flex;
    animation: slide 20s linear infinite;
}

.partner-logo {
    flex: 0 0 200px;
    margin: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 150px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 공지사항 팝업 스타일 */
.notice-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1100;
    align-items: center;
    justify-content: center;
}

.notice-popup {
    background: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.notice-popup-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    position: relative;
}

.notice-popup-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-right: 2rem;
}

.notice-popup-date {
    color: #999;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.notice-popup-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.notice-popup-close::before,
.notice-popup-close::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 24px;
    background: #999;
    top: 50%;
    left: 50%;
}

.notice-popup-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.notice-popup-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.notice-popup-content {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.notice-popup-footer {
    padding: 1rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.notice-nav-button {
    padding: 0.8rem 1.5rem;
    background: #f5f5f5;
    border: none;
    border-radius: 8px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notice-nav-button:hover {
    background: #eee;
    color: #333;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .notice-grid {
        grid-template-columns: 1fr;
    }

    .thumb-list {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    }

    .partner-logo {
        flex: 0 0 150px;
        margin: 0 1rem;
    }

    .partner-logo img {
        max-width: 120px;
        max-height: 50px;
    }
}

/* 구매상담 페이지 스타일 */
.contact-section {
    padding: 4rem 0;
}

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-intro h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.contact-intro p {
    color: #666;
    line-height: 1.8;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ff6b6b;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255,107,107,0.1);
}

.form-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-send,
.btn-cancel {
    padding: 1rem 3rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-send {
    background: #ff6b6b;
    color: #fff;
    border: none;
}

.btn-send:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-cancel {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
}

.btn-cancel:hover {
    background: #eee;
    color: #333;
}

/* 고객지원 페이지 스타일 */
.board-list {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.board-list table {
    width: 100%;
    border-collapse: collapse;
}

.board-list th {
    background: #f8f9fa;
    padding: 1.2rem;
    font-weight: 500;
    color: #333;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.board-list td {
    padding: 1.2rem;
    border-bottom: 1px solid #eee;
    color: #666;
}

.board-list tr:last-child td {
    border-bottom: none;
}

.board-list td a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.board-list td a:hover {
    color: #ff6b6b;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.q-mark, .a-mark {
    font-size: 1.5rem;
    font-weight: 600;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.q-mark {
    background: #ff6b6b;
    color: #fff;
}

.a-mark {
    background: #f8f9fa;
    color: #ff6b6b;
}

.faq-answer {
    padding: 1.5rem;
    display: none;
    background: #f8f9fa;
    display: flex;
    gap: 1rem;
    border-top: 1px solid #eee;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    flex: 1;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .board-list th:first-child,
    .board-list td:first-child {
        display: none;
    }

    .board-list th:last-child,
    .board-list td:last-child {
        width: auto;
    }
}

/* 오시는 길 스타일 */
.location-content {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.location-info {
    margin-bottom: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.location-info h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.location-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.contact-info {
    list-style: none;
    margin-top: 1.5rem;
}

.contact-info li {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

.maps-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

#map {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .location-content {
        padding: 1rem;
    }
    .location-info {
        padding: 1rem;
    }
    .location-info h4 {
        font-size: 1.2rem;
    }
    .location-info p,
    .contact-info li {
        font-size: 0.9rem;
    }
    .maps-container {
        height: 300px;
    }
}

/* 이용약관 스타일 */
.terms-content {
    max-width: 800px;
    margin: 4rem auto;
    padding: 3rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.terms-section {
    margin-bottom: 2.5rem;
}

.terms-section h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.terms-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.terms-section ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.terms-section ul li {
    color: #666;
    margin-bottom: 0.8rem;
    position: relative;
    line-height: 1.6;
    font-size: 1.05rem;
}

.terms-section ul li:before {
    content: "•";
    position: absolute;
    left: -1rem;
    color: #ff6b6b;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .location-content {
        grid-template-columns: 1fr;
        margin: 2rem 0;
    }

    .location-info {
        padding: 1.5rem;
    }

    .location-info h4 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .location-info p,
    .contact-info li {
        font-size: 1rem;
    }

    .company-map {
        margin: 1.5rem 0;
    }

    .map-container {
        height: 350px;
    }

    .terms-content {
        margin: 2rem auto;
        padding: 1.5rem;
    }

    .terms-section {
        margin-bottom: 2rem;
    }

    .terms-section h3 {
        font-size: 1.2rem;
    }

    .terms-section p,
    .terms-section ul li {
        font-size: 1rem;
    }
}

/* 공지사항 상세 페이지 스타일 */
.notice-view-content {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin: 2rem 0;
    overflow: hidden;
}

.notice-view-header {
    padding: 2rem;
    border-bottom: 1px solid #eee;
}

.notice-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.notice-meta {
    display: flex;
    gap: 1.5rem;
    color: #666;
    font-size: 0.95rem;
}

.notice-meta span {
    display: flex;
    align-items: center;
}

.notice-author {
    position: relative;
    padding-left: 1.5rem;
}

.notice-author::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: #ddd;
}

.notice-view-body {
    padding: 2rem;
    min-height: 300px;
    line-height: 1.8;
    color: #333;
}

.notice-view-body p {
    margin-bottom: 1rem;
}

.notice-view-footer {
    padding: 2rem;
    border-top: 1px solid #eee;
}

.notice-navigation {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.prev-notice,
.next-notice {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.nav-label {
    color: #666;
    font-size: 0.95rem;
    min-width: 60px;
}

.nav-title {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-title:hover {
    color: #ff6b6b;
}

.notice-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-list {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 2rem;
    background: #ff6b6b;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-list:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .notice-view-header {
        padding: 1.5rem;
    }

    .notice-title {
        font-size: 1.5rem;
    }

    .notice-view-body {
        padding: 1.5rem;
        min-height: 200px;
    }

    .notice-view-footer {
        padding: 1.5rem;
    }

    .prev-notice,
    .next-notice {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .nav-label {
        min-width: auto;
    }

    .notice-meta {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .notice-author {
        padding-left: 0;
    }

    .notice-author::before {
        display: none;
    }
}
