/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

/* Reset & Global Styles */
:root {
  --primary-color: #0d47a1;
  --secondary-color: #1a237e;
  --dark-color: #212121;
  --gray-color: #616161;
  --light-gray-color: #f5f5f5;
  --white-color: #ffffff;
  --border-color: #e0e0e0;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans KR', sans-serif; color: var(--dark-color); line-height: 1.7; background-color: var(--white-color); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; margin-bottom: 20px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 10px; }
.section-title p { font-size: 1.1rem; color: var(--gray-color); max-width: 600px; margin: 0 auto; }

/* Header & Navigation */
.header {
  width: 100%;
  background-color: var(--white-color);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header .nav-container { display: flex; justify-content: space-between; align-items: center; height: 80px; max-width: 1400px; margin: 0 auto; padding: 0 30px; }
.header .logo a { font-size: 1.8rem; font-weight: 700; color: var(--primary-color); }
.header .nav-menu { display: flex; gap: 30px; align-items: center; }
.header .nav-menu a { font-size: 1rem; font-weight: 500; color: var(--dark-color); transition: color 0.3s; padding-bottom: 5px; border-bottom: 2px solid transparent; white-space: nowrap; }
.header .nav-menu a:hover, .header .nav-menu a.active { color: var(--primary-color); border-bottom: 2px solid var(--primary-color); }
.hamburger { display: none; font-size: 1.5rem; background: none; border: none; cursor: pointer; color: var(--primary-color); }

/* --- Language Selector Styles --- */
.language-selector {
    position: relative;
}
.language-button {
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.9rem;
}
.language-button i.fa-caret-down {
    transition: transform 0.3s;
}
.language-selector.active .language-button i.fa-caret-down {
    transform: rotate(180deg);
}
.language-list {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    z-index: 1100;
    width: 120px;
}
.language-selector.active .language-list {
    display: block;
}
.language-option {
    display: block;
    padding: 10px 15px;
    font-size: 0.9rem;
    color: var(--dark-color);
}
.language-option:hover {
    background-color: var(--light-gray-color);
}

/* Desktop Styles */
@media (min-width: 993px) {
    .language-selector-container {
        margin-left: auto;
        padding-left: 20px;
    }
}

/* Mobile Menu Styles */
@media (max-width: 992px) {
    .header .nav-menu { display: none; position: absolute; top: 80px; left: 0; width: 100%; background-color: var(--white-color); flex-direction: column; text-align: center; gap: 0; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
    .header .nav-menu.active { display: flex; }
    .header .nav-menu a { padding: 20px 0; width: 100%; border-bottom: 1px solid var(--border-color); }
    .header .nav-menu a:hover, .header .nav-menu a.active { background-color: var(--light-gray-color); border-bottom: 1px solid var(--border-color); }
    .hamburger { display: block; }

    /* 모바일 메뉴 내 언어 선택 스타일 */
    .language-selector-container {
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    .language-selector {
        width: 50%;
        margin: 0 auto;
    }
    .language-button {
        width: 100%;
        justify-content: center;
    }
    .language-list {
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
    }
}

/* Hero Section */
#hero { height: 70vh; position: relative; display: flex; align-items: center; justify-content: center; color: var(--white-color); text-align: center; overflow: hidden; }
.hero-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-slider .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; animation: fade-in-out 25s infinite; }
.hero-slider .slide:nth-child(1) { animation-delay: 0s; }
.hero-slider .slide:nth-child(2) { animation-delay: 5s; }
.hero-slider .slide:nth-child(3) { animation-delay: 10s; }
.hero-slider .slide:nth-child(4) { animation-delay: 15s; }
.hero-slider .slide:nth-child(5) { animation-delay: 20s; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 2; }
.hero-content { position: relative; z-index: 3; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; }
.hero-content p { font-size: 1.3rem; font-weight: 300; margin-bottom: 30px; }
@keyframes fade-in-out { 0% { opacity: 0; transform: scale(1); } 10% { opacity: 1; } 20% { opacity: 0; transform: scale(1.05); } 100% { opacity: 0; } }

/* Button Styles */
.btn { display: inline-block; padding: 12px 30px; border-radius: 5px; font-size: 1rem; font-weight: 500; transition: all 0.3s; cursor: pointer; border: none; }
.btn-primary { background-color: var(--primary-color); color: var(--white-color); }
.btn-primary:hover { background-color: var(--secondary-color); transform: translateY(-2px); }

/* Services Section */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { position: relative; height: 250px; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--white-color); background-size: cover; background-position: center; transition: transform 0.3s ease; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); transition: background-color 0.3s ease; }
.service-card:hover { transform: scale(1.05); }
.service-card:hover::before { background-color: rgba(0, 0, 0, 0.3); }
.service-card h3 { position: relative; z-index: 2; font-size: 1.8rem; font-weight: 700; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
@media (max-width: 992px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .services-grid { grid-template-columns: 1fr; } }

/* Portfolio Section */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.portfolio-item { position: relative; overflow: hidden; border-radius: 8px; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-item .overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: white; padding: 40px 20px 20px; transition: opacity 0.4s ease; }
.portfolio-item h3 { margin: 0; font-size: 1.4rem; }

/* Footer */
.footer { background-color: var(--dark-color); color: var(--light-gray-color); padding: 60px 0; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-info, .footer-links { flex: 1; min-width: 250px; }
.footer-info h3 { color: var(--white-color); margin-bottom: 20px; }
.footer-info p { margin-bottom: 10px; color: #ccc; font-size: 0.9rem; }
.footer-links ul { display: flex; gap: 20px; }
.footer-links a { color: #ccc; transition: color 0.3s; }
.footer-links a:hover { color: var(--primary-color); }
.footer-bottom { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid #444; font-size: 0.9rem; color: #aaa; }

/* Strengths Section */
.strengths-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.strength-item { text-align: center; padding: 30px; }
.strength-item i { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; }
.strength-item h3 { font-size: 1.3rem; margin-bottom: 10px; }
.strength-item p { color: var(--gray-color); }

/* CTA Section */
#cta { background-color: var(--primary-color); color: var(--white-color); text-align: center; }
#cta h2 { font-size: 2.2rem; margin-bottom: 15px; }
#cta p { font-size: 1.1rem; margin-bottom: 30px; opacity: 0.9; }
#cta .btn { background-color: var(--white-color); color: var(--primary-color); font-size: 1.1rem; padding: 15px 40px; }
#cta .btn:hover { background-color: var(--light-gray-color); }

/* Blog Preview Section */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.blog-item { border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.blog-item:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.blog-item .blog-img { width: 100%; height: 200px; overflow: hidden; }
.blog-item .blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-item .blog-content { padding: 20px; }
.blog-item .blog-content h3 { font-size: 1.2rem; margin-bottom: 10px; }
.blog-item .blog-content .date { font-size: 0.9rem; color: var(--gray-color); }

/* Social Links */
.social-links { position: fixed; top: 50%; right: 0; transform: translateY(-50%); z-index: 1001; display: flex; flex-direction: column; gap: 5px; }
.social-link { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; color: white; font-size: 1.5rem; transition: width 0.3s; overflow: hidden; border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
.social-link span { display: none; font-size: 1rem; margin-left: 10px; white-space: nowrap; }
.social-link:hover { width: 150px; }
.social-link:hover span { display: inline; }
.social-link.kakao { background-color: #FEE500; color: #191919; }
.social-link.blog { background-color: #03C75A; }
.social-link.store { background-color: #2DB400; }

/* Equipment Page Styles */
.equipment-list .equipment-item { display: flex; gap: 40px; align-items: center; margin-bottom: 80px; }
.equipment-list .equipment-item:nth-child(even) { flex-direction: row-reverse; }
.equipment-item .equipment-image { flex: 1; min-width: 300px; }
.equipment-item .equipment-image img { width: 100%; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.equipment-item .equipment-info { flex: 1.2; }
.equipment-item .equipment-info h3 { font-size: 2rem; color: var(--primary-color); margin-bottom: 15px; }
.equipment-item .equipment-info p { margin-bottom: 20px; }
.equipment-item .equipment-specs { list-style: none; padding: 20px; background-color: var(--light-gray-color); border-radius: 8px; }
.equipment-item .equipment-specs li { margin-bottom: 10px; color: var(--gray-color); }
.equipment-item .equipment-specs li:last-child { margin-bottom: 0; }
.equipment-item .equipment-specs li strong { color: var(--dark-color); margin-right: 10px; font-weight: 500; }
@media (max-width: 768px) { .equipment-list .equipment-item, .equipment-list .equipment-item:nth-child(even) { flex-direction: column; } }

/* Process Page Styles */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.process-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.process-card .process-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f0f0f0;
}
.process-card .process-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.process-card .process-content {
    padding: 25px;
    flex-grow: 1;
}
.process-card .process-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}
.process-card .process-content p {
    font-size: 1rem;
    color: var(--gray-color);
    line-height: 1.7;
}

/* [수정됨] 구글 번역 위젯 스타일 숨기기 (더 강력한 버전) */
.goog-te-banner-frame, #goog-gt-tt {
    display: none !important;
}
body {
    top: 0 !important;
}
html {
    overflow-x: hidden; /* 가로 스크롤바 방지 */
}
.skiptranslate {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
}
