/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

.section {
    padding: 80px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #34495e, #2980b9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.btn-secondary:hover {
    background: #2c3e50;
    color: white;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2c3e50;
}

.logo {
    height: 50px;
    margin-right: 15px;
}

.company-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #3498db;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - 동영상 배경 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* 동영상 배경 스타일 */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
}

/* 동영상 위에 반투명 오버레이 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.4) 0%, rgba(52, 152, 219, 0.3) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 1px, transparent 2px);
    opacity: 0.3;
    z-index: 2;
    animation: sparkle 4s infinite ease-in-out;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero-text h1 {
    margin-bottom: 15px;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.8), 1px 1px 3px rgba(0,0,0,0.9);
    font-size: 3.5rem;
    line-height: 1.2;
    color: #ffffff;
    font-weight: 700;
}

.hero-text h2 {
    color: #f39c12;
    margin-bottom: 25px;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.8), 1px 1px 3px rgba(0,0,0,0.9);
    font-size: 2.5rem;
    font-weight: 600;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    opacity: 0.95;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8), 1px 1px 3px rgba(0,0,0,0.9);
    max-width: 600px;
    line-height: 1.6;
    color: #ffffff;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 10px;
}

.hero-buttons .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 20% {
        transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    80%, 100% {
        transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: #2c3e50;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #3498db;
}

.section-header p {
    color: #7f8c8d;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* About Section */
.about {
    background: #f8f9fa;
}

/* Services Section */
.services {
    background: white;
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-item {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    text-align: center;
    transform: translateY(0);
    transition: all 0.3s ease;
}

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

.service-content h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.service-content p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.service-link {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.service-link:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ceo-message {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    max-width: 800px;
    text-align: center;
}

.ceo-message h3 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.greeting {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
}

.signature {
    text-align: right;
    font-style: italic;
    margin-top: 20px;
}

.ceo-info {
    text-align: right;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
}

/* History Section */
.history {
    background: white;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #3498db;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 50px 0;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 0 0 200px;
    background: #2c3e50;
    color: white;
    padding: 15px 20px;
    border-radius: 25px;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 30px;
    margin: 0 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.timeline-content li::before {
    content: '▪';
    color: #3498db;
    position: absolute;
    left: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
        text-shadow: 3px 3px 8px rgba(0,0,0,0.8), 1px 1px 3px rgba(0,0,0,0.9);
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
        text-shadow: 3px 3px 8px rgba(0,0,0,0.8), 1px 1px 3px rgba(0,0,0,0.9);
    }
    
    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 25px;
        text-shadow: 2px 2px 6px rgba(0,0,0,0.8), 1px 1px 3px rgba(0,0,0,0.9);
    }
    
    /* 모바일에서 동영상 최적화 */
    .hero-video {
        object-fit: cover;
        min-width: 100%;
        min-height: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 200px;
        padding: 15px 25px;
        font-size: 1.1rem;
    }

    .ceo-message {
        padding: 30px;
        margin: 0 15px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 50px;
        margin: 50px 0 30px 0;
    }

    .timeline-year {
        position: relative !important;
        left: auto !important;
        margin-bottom: 35px;
        transform: none !important;
        z-index: auto;
    }

    .timeline-content {
        margin: 0;
        margin-left: 0;
    }

    .timeline-content::before {
        left: -32px;
        width: 16px;
        height: 16px;
        top: 25px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-item {
        margin: 0 15px;
    }
    
    .product-info {
        padding: 20px 15px;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .certification-item {
        margin: 0 15px;
        padding: 25px 15px;
    }
}

/* Equipment Section */
.equipment {
    background: #f8f9fa;
}

.equipment-grid-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.equipment-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.equipment-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.equipment-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.equipment-placeholder {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    border: 2px dashed #dee2e6;
}

.equipment-placeholder i {
    font-size: 2rem;
    margin-bottom: 10px;
    opacity: 0.6;
}

.equipment-placeholder span {
    font-size: 0.9rem;
    font-weight: 500;
}

.equipment-item:hover .equipment-image img {
    transform: scale(1.1);
}

/* equipment-overlay 스타일 제거됨 - 동영상 아이콘 효과 비활성화 */

.equipment-info {
    padding: 25px 20px;
}

.equipment-info h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.equipment-info p {
    color: #7f8c8d;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.equipment-spec {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Products Section - 인증현황과 같은 스타일로 새로 제작 */
.products {
    background: #f8f9fa;
}

/* Products Cards - 인증현황과 같은 스타일로 만든 주요제품 카드 */
.products-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.products-card {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background-image: linear-gradient(rgba(52, 152, 219, 0.85), rgba(41, 128, 185, 0.85)), url('../images/주요제품배경.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.products-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.products-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.products-card:hover::before {
    left: 100%;
}

.products-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    text-align: center;
    transform: translateY(0);
    transition: all 0.3s ease;
}

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

.products-card-content i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #f39c12;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.products-card-content h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.8rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.products-card-content p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-size: 1.1rem;
}

.products-link {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.products-card:hover .products-link {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 주요제품 추가 정보 - 인증현황의 cert-description과 같은 스타일 */
.products-info {
    margin-top: 60px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.products-description {
    max-width: 800px;
    margin: 0 auto;
}

.products-description h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.6rem;
}

.products-description p {
    color: #2c3e50;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

.products-benefits {
    list-style: none;
    padding: 0;
}

.products-benefits li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: #34495e;
    font-size: 1rem;
}

.products-benefits li:last-child {
    border-bottom: none;
}

.products-benefits li i {
    color: #3498db;
    margin-right: 10px;
}

/* 주요제품 모달 스타일 - 인증현황 모달과 같은 스타일 */
.products-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.products-modal.show {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 1;
}

.products-modal-content {
    position: relative;
    background: white;
    border-radius: 0;
    width: 100%;
    height: 100vh;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    animation: productsModalSlideIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes productsModalSlideIn {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.products-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    border-bottom: 2px solid #eee;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: sticky;
    top: 0;
    z-index: 10;
    flex-shrink: 0;
}

.products-modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 600;
}

.products-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #6c757d;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    line-height: 1;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-modal-close:hover {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    transform: scale(1.1);
}

.products-modal-body {
    padding: 50px 60px;
    overflow-y: auto;
    flex: 1;
    background: #ffffff;
    min-height: 0;
    background-image: url('../images/주요제품배경.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.products-modal-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1;
}

.products-grid-modal {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-item-modal {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid #f8f9fa;
    position: relative;
    cursor: pointer;
}

.product-item-modal:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.product-item-modal img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item-modal:hover img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 200px; /* 이미지 높이에 맞춤 */
    background: rgba(52, 152, 219, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.product-item-modal:hover .product-overlay {
    opacity: 1;
}

.product-overlay i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.product-overlay span {
    font-size: 0.9rem;
    font-weight: 500;
}

.product-info {
    padding: 25px 20px;
    text-align: center;
}

.product-info h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.product-info p {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.product-category {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-category.electric {
    background: #e3f2fd;
    color: #1976d2;
}

.product-category.railway {
    background: #f3e5f5;
    color: #7b1fa2;
}

.product-category.structure {
    background: #e8f5e8;
    color: #388e3c;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .products-cards {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .products-card {
        height: 250px;
        margin: 0 15px;
    }
    
    .products-card-content {
        padding: 25px 20px;
    }
    
    .products-card-content i {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .products-card-content h3 {
        font-size: 1.5rem;
    }
    
    .products-info {
        padding: 30px 20px;
        margin: 40px 15px 0;
    }
    
    .products-description h3 {
        font-size: 1.4rem;
    }
    
    .products-description p {
        font-size: 1rem;
    }
    
    .products-benefits li {
        font-size: 0.9rem;
    }
    
    .products-modal-content {
        width: 100%;
        height: 100vh;
        border-radius: 0;
    }
    
    .products-modal-header {
        padding: 20px;
    }
    
    .products-modal-header h3 {
        font-size: 1.4rem;
    }
    
    .products-modal-close {
        font-size: 24px;
        width: 36px;
        height: 36px;
    }
    
    .products-modal-body {
        padding: 30px 20px;
        background-attachment: scroll;
    }
    
    .products-grid-modal {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-item-modal {
        margin: 0;
    }
    
    .product-info {
        padding: 20px 15px;
    }
    
    .product-info h4 {
        font-size: 1.1rem;
    }
    
    .product-info p {
        font-size: 0.85rem;
    }
}

/* 제품 갤러리 모달 스타일 (JavaScript로 동적 생성되는 모달용) */
.product-gallery-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-gallery-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.product-gallery-container {
    position: relative;
    background: white;
    border-radius: 15px;
    max-width: 90%;
    max-height: 90%;
    width: 900px;
    overflow: hidden;
    animation: productGalleryZoom 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes productGalleryZoom {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.product-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    flex-shrink: 0;
}

.product-gallery-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
}

.product-gallery-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
    line-height: 1;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery-close:hover {
    color: #dc3545;
}

.product-gallery-main {
    position: relative;
    display: flex;
    align-items: center;
    background: #000;
    flex: 1;
    min-height: 400px;
}

.product-main-image-container {
    flex: 1;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-main-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.product-image-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.product-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.product-gallery-nav:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.product-gallery-nav.prev {
    left: 15px;
}

.product-gallery-nav.next {
    right: 15px;
}

.product-gallery-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.product-gallery-nav i {
    font-size: 1.2rem;
    color: #2c3e50;
}

.product-gallery-info {
    padding: 20px 25px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    text-align: center;
    flex-shrink: 0;
}

.product-gallery-info h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
}

.product-gallery-info p {
    margin: 0 0 15px 0;
    color: #7f8c8d;
    font-size: 1rem;
    line-height: 1.5;
}

.product-info-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info-category.electric {
    background: #e3f2fd;
    color: #1976d2;
}

.product-info-category.railway {
    background: #f3e5f5;
    color: #7b1fa2;
}

.product-info-category.structure {
    background: #e8f5e8;
    color: #388e3c;
}

.product-info-category.default {
    background: #e9ecef;
    color: #6c757d;
}

.product-gallery-thumbnails {
    display: flex;
    gap: 10px;
    padding: 20px 25px;
    background: #f8f9fa;
    overflow-x: auto;
    max-height: 100px;
    flex-shrink: 0;
}

.product-gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.product-gallery-thumbnails::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 3px;
}

.product-gallery-thumbnails::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 3px;
}

.product-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.product-thumbnail.active {
    border-color: #3498db;
    opacity: 1;
    transform: scale(1.05);
}

.product-thumbnail:hover {
    opacity: 1;
    transform: scale(1.02);
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 제품 갤러리 모달 모바일 반응형 */
@media (max-width: 768px) {
    .product-gallery-container {
        max-width: 95%;
        max-height: 95%;
        width: auto;
    }
    
    .product-gallery-header {
        padding: 15px 20px;
    }
    
    .product-gallery-header h3 {
        font-size: 1.2rem;
    }
    
    .product-gallery-close {
        font-size: 20px;
        width: 28px;
        height: 28px;
    }
    
    .product-main-image-container {
        height: 300px;
    }
    
    .product-gallery-nav {
        width: 35px;
        height: 35px;
    }
    
    .product-gallery-nav i {
        font-size: 1rem;
    }
    
    .product-gallery-info {
        padding: 15px 20px;
    }
    
    .product-gallery-info h4 {
        font-size: 1.1rem;
    }
    
    .product-gallery-info p {
        font-size: 0.9rem;
    }
    
    .product-thumbnail {
        width: 60px;
        height: 45px;
    }
    
    .product-gallery-thumbnails {
        padding: 15px 20px;
        gap: 8px;
    }
}

/* Certifications Section */
.certifications {
    background: #f8f9fa;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.certification-item {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid #f8f9fa;
    position: relative;
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.certification-item img {
    width: 180px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 10px;
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certification-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cert-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.3);
}

.cert-icon i {
    font-size: 2rem;
    color: white;
}

.certification-item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.certification-item p {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.cert-period {
    display: inline-block;
    background: #f8f9fa;
    color: #6c757d;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

/* Sparkle Animation for Hero Section */
@keyframes sparkle {
    0% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        opacity: 0.1;
    }
}

/* Additional Hero Enhancements */
.hero-text {
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.hero-text h1 {
    color: #ffffff;
    font-weight: 700;
}

/* 인증현황 추가 정보 섹션 */
.certification-info {
    margin-top: 60px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.cert-description {
    max-width: 800px;
    margin: 0 auto;
}

.cert-description h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.6rem;
}

.cert-description p {
    color: #2c3e50;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

.cert-benefits {
    list-style: none;
    padding: 0;
}

.cert-benefits li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: #34495e;
    font-size: 1rem;
}

.cert-benefits li:last-child {
    border-bottom: none;
}

.cert-benefits li i {
    color: #3498db;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .certification-info {
        padding: 30px 20px;
        margin: 40px 15px 0;
    }
    
    .cert-description h3 {
        font-size: 1.4rem;
    }
    
    .cert-description p {
        font-size: 1rem;
    }
    
    .cert-benefits li {
        font-size: 0.9rem;
    }
}

/* Contact Section */
.contact {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid #3498db;
}

.contact-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.contact-item i {
    font-size: 2rem;
    color: #3498db;
    margin-top: 5px;
}

.contact-item h3 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.contact-item p {
    color: #7f8c8d;
    margin: 0;
    font-size: 1.1rem;
}

.contact-item a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #3498db;
}

.contact-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form h3 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-group textarea {
    grid-column: 1 / -1;
    min-height: 120px;
    resize: vertical;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

/* 성일철강 logo_full 이미지 크기를 적절하게 조정 */
.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-logo h3 {
    color: white;
    margin: 0;
    font-size: 1.3rem;
}

.footer-info p {
    color: #bdc3c7;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.footer-contact h4,
.footer-links h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-contact h4::after,
.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #3498db;
}

.footer-contact p {
    color: #bdc3c7;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-contact i {
    color: #3498db;
    font-size: 1rem;
    width: 16px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
}

.footer-bottom p {
    color: #95a5a6;
    margin: 5px 0;
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #2980b9, #1f4e79);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.back-to-top i {
    font-size: 1.2rem;
}

/* Inquiry Section */
.inquiry {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.inquiry-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.inquiry-option {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.inquiry-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.inquiry-option:hover::before {
    left: 100%;
}

.inquiry-option:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.phone-inquiry {
    border-left: 6px solid #27ae60;
}

.phone-inquiry:hover {
    border-color: #27ae60;
    box-shadow: 0 20px 40px rgba(39, 174, 96, 0.2);
}

.email-inquiry {
    border-left: 6px solid #3498db;
}

.email-inquiry:hover {
    border-color: #3498db;
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.2);
}

.inquiry-option {
    display: flex;
    align-items: center;
    gap: 25px;
}

.inquiry-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.phone-inquiry .inquiry-icon {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
}

.email-inquiry .inquiry-icon {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.inquiry-option:hover .inquiry-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.inquiry-content {
    flex: 1;
}

.inquiry-content h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.6rem;
    font-weight: 600;
}

.inquiry-content p {
    color: #7f8c8d;
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.inquiry-action {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.phone-inquiry .inquiry-action {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
}

.email-inquiry .inquiry-action {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.inquiry-option:hover .inquiry-action {
    transform: translateX(5px);
}

.inquiry-info {
    margin-top: 60px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.inquiry-description h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.6rem;
}

.inquiry-guidelines {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.inquiry-guidelines li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: #34495e;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.inquiry-guidelines li:last-child {
    border-bottom: none;
}

.inquiry-guidelines li i {
    color: #3498db;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* ===========================================
   회사정보 페이지 전용 스타일
   =========================================== */

/* Company Navigation */
.company-nav {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.company-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.company-nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: #f8f9fa;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.company-nav-btn:hover,
.company-nav-btn.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.company-nav-btn i {
    font-size: 1.2rem;
}

/* Company Hero Backgrounds */
.company-hero {
    background-image: linear-gradient(rgba(52, 152, 219, 0.8), rgba(41, 128, 185, 0.8)), url('../images/metal-processing-main.jpg');
}

.history-hero {
    background-image: linear-gradient(rgba(52, 73, 94, 0.8), rgba(44, 62, 80, 0.8)), url('../images/laser-cutting-main.jpg');
}

.certifications-hero {
    background-image: linear-gradient(rgba(52, 152, 219, 0.8), rgba(41, 128, 185, 0.8)), url('../images/인증모음.jpg');
}

/* CEO Section */
.ceo-section {
    background: white;
}

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

.ceo-message h2 {
    color: #2c3e50;
    border-bottom: 3px solid #3498db;
    padding-bottom: 25px;
    margin-bottom: 40px;
    font-size: 2.2rem;
}

.ceo-message .greeting {
    font-size: 1.6rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 30px;
}

.ceo-message p {
    margin-bottom: 30px;
    line-height: 1.9;
    color: #2c3e50;
    font-size: 1.2rem;
}

.ceo-message .signature {
    text-align: right;
    font-style: italic;
    margin-top: 40px;
    font-weight: 500;
    font-size: 1.2rem;
}

.ceo-info {
    text-align: right;
    margin-top: 25px;
    padding-top: 30px;
    border-top: 2px solid #ecf0f1;
}

.ceo-info p {
    margin: 0;
    font-weight: 600;
    color: #3498db;
    font-size: 1.3rem;
}

/* Company Values */
.company-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.value-item {
    background: #f8f9fa;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

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

.value-item i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
}

.value-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.value-item p {
    color: #7f8c8d;
    font-size: 1rem;
    line-height: 1.6;
}

/* Company Overview */
.company-overview {
    background: #f8f9fa;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.overview-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #3498db;
}

.overview-item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.overview-item p {
    color: #34495e;
    margin: 0;
    line-height: 1.6;
}

/* Timeline Section */
.timeline-section {
    background: white;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom, #3498db, #2980b9);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin: 60px 0;
    padding-left: 140px;
}

.timeline-year {
    position: absolute;
    left: -50px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 18px 30px;
    border-radius: 30px;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    min-width: 160px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 6px solid #3498db;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -46px;
    top: 30px;
    width: 20px;
    height: 20px;
    background: #3498db;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px #3498db;
}

.timeline-content h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.6rem;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
}

.timeline-content li {
    padding: 15px 0;
    position: relative;
    padding-left: 35px;
    color: #34495e;
    line-height: 1.7;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.timeline-content li:last-child {
    border-bottom: none;
}

.timeline-content li::before {
    content: '▪';
    color: #3498db;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.3rem;
    top: 15px;
}

/* Certifications Grid */
.certifications-grid-section {
    background: white;
}

.certification-grid-modal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Quality Management */
.quality-management {
    background: #f8f9fa;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.quality-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #3498db;
}

.quality-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.quality-item i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 25px;
}

.quality-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.quality-item p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .company-nav-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .company-nav-btn {
        width: 200px;
        justify-content: center;
    }
    
    .ceo-message h2 {
        font-size: 1.8rem;
    }
    
    .ceo-message .greeting {
        font-size: 1.3rem;
    }
    
    .ceo-message p {
        font-size: 1.1rem;
        line-height: 1.7;
    }
    
    .company-values {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .timeline::before {
        left: 30px;
        width: 4px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 80px;
        margin: 50px 0 30px 0;
    }
    
    .timeline-year {
        position: relative !important;
        left: auto !important;
        min-width: 120px;
        font-size: 1rem;
        padding: 12px 20px;
        margin-bottom: 35px;
        transform: none !important;
        z-index: auto;
    }
    
    .timeline-content {
        padding: 25px 20px;
        margin: 0;
        margin-left: 0;
    }
    
    .timeline-content::before {
        left: -32px;
        width: 16px;
        height: 16px;
        top: 25px;
    }
    
    .timeline-content h3 {
        font-size: 1.3rem;
    }
    
    .timeline-content li {
        font-size: 1rem;
        padding: 12px 0;
        padding-left: 25px;
    }
    
    .quality-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Contact & Footer 모바일 반응형 스타일 */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-map {
        height: 300px;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .form-group {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    /* 문의하기 모바일 스타일 */
    .inquiry-options {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .inquiry-option {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }
    
    .inquiry-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .inquiry-content h3 {
        font-size: 1.4rem;
    }
    
    .inquiry-content p {
        font-size: 1rem;
    }
    
    .inquiry-action {
        font-size: 1rem;
    }
    
    .inquiry-info {
        padding: 30px 20px;
        margin-top: 40px;
    }
    
    .inquiry-description h3 {
        font-size: 1.4rem;
    }
    
    .inquiry-guidelines li {
        font-size: 1rem;
        padding: 12px 0;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .inquiry-guidelines li i {
        font-size: 1.2rem;
    }
}

/* ===========================================
   새로운 갤러리 및 서비스 스타일 (2025년 업데이트)
   =========================================== */

/* 회사 정보 카드 스타일 */
.company-info {
    background: #f8f9fa;
}

.company-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.company-card {
    position: relative;
    height: 280px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.company-card.about-card {
    background-image: linear-gradient(rgba(52, 152, 219, 0.85), rgba(41, 128, 185, 0.85)), url('../images/metal-processing-main.jpg');
}

.company-card.history-card {
    background-image: linear-gradient(rgba(52, 73, 94, 0.85), rgba(44, 62, 80, 0.85)), url('../images/laser-cutting-main.jpg');
}

.company-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.company-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.company-card:hover::before {
    left: 100%;
}

.company-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    text-align: center;
    transform: translateY(0);
    transition: all 0.3s ease;
}

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

.company-card-content h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.8rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.company-card-content p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-size: 1.1rem;
}

.company-link {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.company-card:hover .company-link {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 회사 정보 모달 */
.company-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.company-modal.show {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 1;
}

.company-modal-content {
    position: relative;
    background: white;
    border-radius: 0;
    width: 100%;
    height: 100vh;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes modalSlideIn {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.company-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    border-bottom: 2px solid #eee;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: sticky;
    top: 0;
    z-index: 10;
    flex-shrink: 0;
}

.company-modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 600;
}

.company-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #6c757d;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    line-height: 1;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-modal-close:hover {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    transform: scale(1.1);
}

.company-modal-body {
    padding: 50px 60px;
    overflow-y: auto;
    flex: 1;
    background: #ffffff;
    min-height: 0;
}

/* CEO 메시지 스타일 */
.ceo-message {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.ceo-message h3 {
    color: #2c3e50;
    border-bottom: 3px solid #3498db;
    padding-bottom: 25px;
    margin-bottom: 40px;
    font-size: 2.2rem;
}

.ceo-message .greeting {
    font-size: 1.6rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 30px;
}

.ceo-message p {
    margin-bottom: 30px;
    line-height: 1.9;
    color: #2c3e50;
    font-size: 1.25rem;
}

.ceo-message .signature {
    text-align: right;
    font-style: italic;
    margin-top: 40px;
    font-weight: 500;
    font-size: 1.2rem;
}

.ceo-info {
    text-align: right;
    margin-top: 25px;
    padding-top: 30px;
    border-top: 2px solid #ecf0f1;
}

.ceo-info p {
    margin: 0;
    font-weight: 600;
    color: #3498db;
    font-size: 1.3rem;
}

/* 타임라인 스타일 (모달용) */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom, #3498db, #2980b9);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin: 60px 0;
    padding-left: 140px;
}

.timeline-year {
    position: absolute;
    left: -50px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 18px 30px;
    border-radius: 30px;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    min-width: 160px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 6px solid #3498db;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -46px;
    top: 30px;
    width: 20px;
    height: 20px;
    background: #3498db;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px #3498db;
}

.timeline-content h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.6rem;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
}

.timeline-content li {
    padding: 15px 0;
    position: relative;
    padding-left: 35px;
    color: #34495e;
    line-height: 1.7;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.timeline-content li:last-child {
    border-bottom: none;
}

.timeline-content li::before {
    content: '▪';
    color: #3498db;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.3rem;
    top: 15px;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .company-cards {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .company-card {
        height: 250px;
        margin: 0 15px;
    }
    
    .company-card-content {
        padding: 25px 20px;
    }
    
    .company-card-content h3 {
        font-size: 1.5rem;
    }
    
    .company-modal-content {
        width: 100%;
        height: 100vh;
        border-radius: 0;
    }
    
    .company-modal-header {
        padding: 20px;
    }
    
    .company-modal-header h3 {
        font-size: 1.4rem;
    }
    
    .company-modal-close {
        font-size: 24px;
        width: 36px;
        height: 36px;
    }
    
    .company-modal-body {
        padding: 30px 20px;
    }
    
    .ceo-message {
        max-width: 100%;
    }
    
    .ceo-message h3 {
        font-size: 1.8rem;
    }
    
    .ceo-message .greeting {
        font-size: 1.3rem;
    }
    
    .ceo-message p {
        font-size: 1.1rem;
        line-height: 1.7;
    }
    
    .timeline::before {
        left: 30px;
        width: 4px;
    }
    
    .timeline-item {
        padding-left: 80px;
        margin: 40px 0;
    }
    
    .timeline-year {
        left: -40px;
        min-width: 120px;
        font-size: 1rem;
        padding: 12px 20px;
    }
    
    .timeline-content {
        padding: 25px 20px;
    }
    
    .timeline-content::before {
        left: -32px;
        width: 16px;
        height: 16px;
        top: 25px;
    }
    
    .timeline-content h3 {
        font-size: 1.3rem;
    }
    
    .timeline-content li {
        font-size: 1rem;
        padding: 12px 0;
        padding-left: 25px;
    }
}

/* 심플 갤러리 스타일 */
.simple-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #f1f3f4;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: #3498db;
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover .card-image img {
    transform: scale(1.03);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(52, 152, 219, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.gallery-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.card-overlay span {
    font-size: 0.9rem;
    font-weight: 500;
}

.card-content {
    padding: 20px;
}

.card-content h4 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 600;
}

.card-content p {
    color: #6c757d;
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* 카테고리 태그 */
.tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag.electric {
    background: #e3f2fd;
    color: #1976d2;
}

.tag.railway {
    background: #f3e5f5;
    color: #7b1fa2;
}

.tag.structure {
    background: #e8f5e8;
    color: #388e3c;
}

/* 다중 이미지 갤러리 */
.multi-gallery {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.multi-gallery.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.gallery-container {
    position: relative;
    background: white;
    border-radius: 15px;
    max-width: 90%;
    max-height: 90%;
    width: 800px;
    overflow: hidden;
    animation: galleryZoom 0.3s ease;
}

@keyframes galleryZoom {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.gallery-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
}

.gallery-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
    line-height: 1;
}

.gallery-close:hover {
    color: #dc3545;
}

.gallery-main {
    position: relative;
    display: flex;
    align-items: center;
    background: #000;
}

.main-image-container {
    flex: 1;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.main-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.image-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.gallery-nav.prev {
    left: 15px;
}

.gallery-nav.next {
    right: 15px;
}

.gallery-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gallery-nav i {
    font-size: 1.2rem;
    color: #2c3e50;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    padding: 20px;
    background: #f8f9fa;
    overflow-x: auto;
    max-height: 120px;
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 3px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 3px;
}

.thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumbnail.active {
    border-color: #3498db;
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.02);
}

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

/* 새로운 서비스 배경 이미지 스타일 */
.service-item.laser-cutting {
    background-image: linear-gradient(rgba(52, 152, 219, 0.8), rgba(41, 128, 185, 0.8)), url('../images/laser-cutting-main.jpg');
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-item.press-bending {
    background-image: linear-gradient(rgba(155, 89, 182, 0.8), rgba(142, 68, 173, 0.8)), url('../images/press-bending-main.jpg');
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-item.welding {
    background-image: linear-gradient(rgba(231, 76, 60, 0.8), rgba(192, 57, 43, 0.8)), url('../images/welding-main.jpg');
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-item.design-mockup {
    background-image: linear-gradient(rgba(52, 73, 94, 0.8), rgba(44, 62, 80, 0.8)), url('../images/design-mockup-main.jpg');
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-item.nct-sheet {
    background-image: linear-gradient(rgba(39, 174, 96, 0.8), rgba(34, 153, 84, 0.8)), url('../images/nct_punching.jpg');
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    text-align: center;
    transform: translateY(0);
    transition: all 0.3s ease;
}

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

.service-content h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.service-content p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.service-content .service-link {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.service-content .service-link:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 모바일 갤러리 반응형 */
@media (max-width: 768px) {
    .simple-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px 0;
    }
    
    .gallery-card {
        margin: 0 10px;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .gallery-container {
        max-width: 95%;
        max-height: 95%;
        width: auto;
    }
    
    .gallery-header {
        padding: 15px 20px;
    }
    
    .gallery-header h3 {
        font-size: 1.2rem;
    }
    
    .main-image-container {
        height: 300px;
    }
    
    .gallery-nav {
        width: 35px;
        height: 35px;
    }
    
    .gallery-nav i {
        font-size: 1rem;
    }
    
    .thumbnail {
        width: 60px;
        height: 45px;
    }
    
    .gallery-thumbnails {
        padding: 15px;
        gap: 8px;
    }

    /* 서비스 모바일 */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .service-item {
        height: 250px !important;
        margin: 0 15px;
    }
    
    .service-item.laser-cutting,
    .service-item.press-bending,
    .service-item.welding,
    .service-item.design-mockup,
    .service-item.nct-sheet {
        height: 250px !important;
        margin: 0 15px;
    }
    
    .service-content {
        padding: 20px 15px;
    }
    
    .service-content h3 {
        font-size: 1.3rem;
    }
}

/* 새로운 인증현황 카드 스타일 */
.certification-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.certification-card {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background-image: linear-gradient(rgba(52, 152, 219, 0.85), rgba(41, 128, 185, 0.85)), url('../images/인증모음.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.certification-card:hover::before {
    left: 100%;
}

.certification-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    text-align: center;
    transform: translateY(0);
    transition: all 0.3s ease;
}

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

.certification-card-content i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #f39c12;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.certification-card-content h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.8rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.certification-card-content p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-size: 1.1rem;
}

.certification-link {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.certification-card:hover .certification-link {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 인증 모달 스타일 */
.certification-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certification-modal.show {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 1;
}

.certification-modal-content {
    position: relative;
    background: white;
    border-radius: 0;
    width: 100%;
    height: 100vh;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    animation: certModalSlideIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes certModalSlideIn {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.certification-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    border-bottom: 2px solid #eee;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: sticky;
    top: 0;
    z-index: 10;
    flex-shrink: 0;
}

.certification-modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 600;
}

.certification-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #6c757d;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    line-height: 1;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certification-modal-close:hover {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    transform: scale(1.1);
}

.certification-modal-body {
    padding: 50px 60px;
    overflow-y: auto;
    flex: 1;
    background: #ffffff;
    min-height: 0;
    background-image: url('../images/인증모음.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.certification-modal-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1;
}

.certification-grid-modal {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.cert-item-modal {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid #f8f9fa;
    position: relative;
}

.cert-item-modal:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.cert-item-modal img {
    width: 200px;
    height: 140px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 10px;
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-item-modal:hover img {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cert-info h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.cert-info p {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.cert-item-modal .cert-period {
    display: inline-block;
    background: #f8f9fa;
    color: #6c757d;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .certification-cards {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .certification-card {
        height: 250px;
        margin: 0 15px;
    }
    
    .certification-card-content {
        padding: 25px 20px;
    }
    
    .certification-card-content i {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .certification-card-content h3 {
        font-size: 1.5rem;
    }
    
    .certification-modal-content {
        width: 100%;
        height: 100vh;
        border-radius: 0;
    }
    
    .certification-modal-header {
        padding: 20px;
    }
    
    .certification-modal-header h3 {
        font-size: 1.4rem;
    }
    
    .certification-modal-close {
        font-size: 24px;
        width: 36px;
        height: 36px;
    }
    
    .certification-modal-body {
        padding: 30px 20px;
        background-attachment: scroll;
    }
    
    .certification-grid-modal {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cert-item-modal {
        padding: 20px 15px;
    }
    
    .cert-item-modal img {
        width: 180px;
        height: 120px;
    }
    
    .cert-info h4 {
        font-size: 1.1rem;
    }
    
    .cert-info p {
        font-size: 0.85rem;
    }
}