@import url('https://cdn.jsdelivr.net/gh/fonts-archive/SacheonUju/SacheonUju.css');

@font-face {
    font-family: 'yg-jalnan';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_four@1.2/JalnanOTF00.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    /* padding-top: 80px; Removed as content-wrapper will handle spacing */
}

.hero-background {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; 
    z-index: -1; 
    overflow: hidden;
}

.hero-background .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fade-in-out 12.6s infinite;
}



@keyframes fade-in-out {
    0% { opacity: 0; }
    10% { opacity: 1; }
    33% { opacity: 1; }
    43% { opacity: 0; }
    100% { opacity: 0; }
}

.content-wrapper {
    position: relative; 
    z-index: 1;
    background-color: transparent; 
    flex-grow: 1; /* Allow content-wrapper to grow */
    display: flex; /* Enable flexbox for its children */
    flex-direction: column; /* Stack children vertically */
    min-height: calc(100vh - 40px); /* Fill space from top to footer (header is fixed) */
    margin-top: 80px; /* Push content down below fixed header */
}



header {
    position: fixed; /* 헤더 고정 */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100; /* 다른 요소들보다 위에 있도록 설정 */
    background-color: rgba(51, 51, 51, 0.5); /* 반투명한 배경색 추가 */
    padding: 1rem 2rem; /* 좌우 패딩 */
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left, .header-right {
    flex: 1;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px; /* 로고 크기 지정 */
    margin-right: 15px; /* 로고와 텍스트 사이 간격 */
}

nav {
    flex: 2; /* 중앙 정렬을 위해 flex-grow 설정 */
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0; /* header flex 정렬을 위해 추가 */
}

nav ul li {
    display: inline-block;
    margin: 0 15px; /* 로고가 커져서 메뉴 간격 살짝 줄임 */
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    padding-bottom: 5px; /* 밑줄과 텍스트 사이 간격 */
    border-bottom: 3px solid transparent; /* 평소에는 투명한 밑줄 */
    transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    font-size: 1.3em;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

nav ul li a:hover, nav ul li a:active, nav ul li a.active {
    color: #2ecc71;
    transform: scale(1.2);
    border-bottom-color: #2ecc71; /* 마우스 올리면 밑줄 색상 변경 */
}

nav ul li a.active {
    transform: scale(1.0); /* 활성 상태에서는 확대 효과 제거 */
}


.spacer {
    height: 86vh; /* 첫 화면에서 슬라이드 쇼가 보이도록 공간 확보 */
}

@font-face {
    font-family: 'BMJUA';
    src: url('https://cdn.jsdelivr.net/gh/fontbee/font@main/BM/BMJUA.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

h1 {
    font-family: 'SacheonUju', sans-serif;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    font-size: 2.6em; /* 기본 h1 폰트(2em)의 1.3배 */
    margin: 0; /* header flex 정렬을 위해 추가 */
}

.two-columns {
    display: flex;
    border-top: 5px solid #2ecc71;
}

.text-image-section {
    border-top: 5px solid #2ecc71;
    border-bottom: 5px solid #2ecc71;
}

.column-left {
    flex: 1; 
    padding: 0; 
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-around; /* Adjust as needed */
}

.column-left img {
    width: 60%;
    height: 60%;
    object-fit: cover; 
    display: block; 
}

.greenclean-text-container {
    width: 40%; /* Remaining space */
    text-align: center;
}

.greenclean-text-container p {
    font-size: 5.07em;
}

.greenclean-text-container p:last-child {
    font-size: 2.05em;
    color: #ffffff;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.45), 0 0 10px rgba(0, 0, 0, 0.35);
}

.greenclean-text-container p .highlight {
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.45), 0 0 10px rgba(0, 0, 0, 0.35);
}

.greenclean-text-container p:first-child {
    margin-bottom: 0.18em;
}
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.45), 0 0 10px rgba(0, 0, 0, 0.35);
}

.column-right {
    flex: 1; 
    background-color: #2ecc71; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
    box-sizing: border-box; 
    text-align: center;
}

.column-right p {
    color: #333;
    text-shadow: none;
    font-size: 1.95em; 
    line-height: 1.2; 
    margin: 0.5em 0;
}

.column-right .table-note {
    font-size: 1.26em;
    color: darkred;
}

.text-column {
    flex: 40%;
    padding: 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff3e0; 
}

.text-column p:nth-child(2) {
    margin-top: 0.75em;
}

.text-column p {
    color: #333;
    text-shadow: none;
    font-size: 1.95em; 
    line-height: 1.2; 
    margin: 0.5em 0;
    text-align: center;
}

.image-column {
    flex: 60%;
    padding: 0;
}

.image-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.full-width-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

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



.hero-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
}

.hero-text p {
    font-size: 4.5em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin: 0;
}


.section-note {
    font-size: 0.8em;
    color: #555;
}

.hero-text p:first-child {
    font-size: 3em;
}

.hero-text .sub-text {
    font-size: 0.67em;
    font-weight: bold;
}

.hero-text p .highlight {
    color: #00ff00; /* Brighter green */
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.7); /* Stronger shadow */
}

.highlight {
    font-weight: bold;
    color: limegreen;
    font-size: 1.3em;
}

.full-width-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

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

.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
}

.text-overlay p {
    font-size: 3em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin: 0;
}

.two-columns-like {
    display: flex;
    width: 100%;
    height: 56vh;
}

.column-right-like {
    flex: 1; 
    background-color: #e8f5e9; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
    box-sizing: border-box; 
}

.merged-green-section {
    background-color: #d3dfd4;
    padding: 50px 0; /* Let height be auto, add padding */
    width: 100%;
    border-top: 5px solid #2ecc71;
    border-bottom: 5px solid #2ecc71;
    flex-grow: 1; /* Allow section to grow and fill available space */
}

.table-container {
    width: 80%;
    margin: 50px auto;
    overflow-x: auto; /* For responsiveness */
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #ffffff;
}

.price-table th, .price-table td {
    padding: 15px;
    border: 1px solid #ddd;
}

.price-table thead {
    background-color: #2ecc71; /* Green from the theme */
    color: #ffffff;
}

.price-table thead th {
    font-weight: bold;
    font-size: 1.2em; /* 20% larger */
}

.price-table tbody tr:nth-child(even) {
    background-color: #f2f2f2; /* Zebra-striping */
}

.price-table tbody tr:hover {
    background-color: #e8f5e9; /* Highlight on hover */
}

/* For the multi-line prices */
.price-table td ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.ac-price-table th {
    font-size: 1.2em;
}

.ac-price-table th:nth-child(1),
.ac-price-table td:nth-child(1) {
    width: 20%;
}

.ac-price-table th:nth-child(2),
.ac-price-table td:nth-child(2) {
    width: 15%;
}

.ac-price-table th:nth-child(3),
.ac-price-table td:nth-child(3) {
    width: 65%;
}

/* Adjust width of the last column in the price table */
.price-table th:last-child,
.price-table td:last-child {
    width: 20%;
}

.table-title {
    position: relative;
    top: -20px; /* Move title up */
    text-align: center;
    font-size: 2.6em; /* 30% larger */
    margin-bottom: 20px;
    color: darkgreen; /* Darker green */
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* 50% smaller shadow */
}

.table-note {
    margin-top: 20px;
    text-align: center;
    font-size: 1.26em; /* 30% smaller */
    color: darkred; /* Dark red color */
}

.language-switcher {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align to the right */
}

.language-switcher li {
    margin-left: 15px;
}

.language-switcher a {
    color: #fff;
    text-decoration: none;
    font-size: 1.08em; /* 20% larger */
    padding: 6px 12px; /* Increased padding */
    border: 1px solid transparent;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.language-switcher a:hover, .language-switcher a.active {
    background-color: rgba(46, 204, 113, 0.3); /* Transparent green */
    transform: scale(1.2); /* More pronounced hover effect */
}

/* --- Dropdown Menu Styles --- */

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 220px; /* Increased width for longer sub-menu items */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 1em;
    font-weight: normal; /* Reset bold from parent */
    border-bottom: none;
    text-shadow: none;
    transition: background-color 0.3s, color 0.3s;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #2ecc71;
    border-bottom-color: transparent; /* Override parent hover */
    transform: none; /* Override parent hover */
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Ensure dropdown link doesn't have the main menu's bottom border */
.dropdown-content a, .dropdown-content a:hover {
    border-bottom: none;
}

/* Adjusting the main nav link hover effect to not interfere */
nav ul li.dropdown > a:hover {
    transform: scale(1.0); /* Prevent scaling on the dropdown parent */
}

/* --- English Title Style --- */
:lang(en) h1 {
    font-size: 1.82em; /* 30% smaller than the original 2.6em */
}

/* --- Homepage Hero Highlight Size Adjustment --- */
.hero-text .highlight {
    font-size: 0.91em; /* Adjusted to be 30% smaller */
}

/* --- English Hero Text Size Adjustment --- */
:lang(en) .hero-text p {
    font-size: 4.05em; /* 10% smaller */
}

:lang(en) .hero-text p:first-child {
    font-size: 2.7em; /* 10% smaller */
}

.image03-section {
    height: 63vh;
}

.kube03-section {
    border-bottom: 5px solid #2ecc71;
}

.image03-section-55-45 {
    height: 63vh;
}

.image03-section-55-45 .column-left {
    flex: 5.5;
    display: block;
    padding: 0;
}

.image03-section-55-45 .column-right {
    flex: 4.5;
    background-color: #e8f5e9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.image03-section-55-45 .column-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.kube03-section .text-column {
    flex: 4;
    background-color: #e8f5e9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.kube03-section .image-column {
    flex: 6;
    display: block;
    padding: 0;
}

.kube03-section .image-column img {
    width: 100%;
    object-fit: cover;
}

.icemaker-hero-text .highlight {
    font-size: 1.69em; /* 1.3 * 1.3 = 1.69 */
}

.image01-half-height .image-column img {
    height: 10%;
}

.section-height-63vh {
    height: 63vh;
}

.screen-first-section .column-left {
    display: block;
    padding: 0;
    flex: 5.5;
}

.screen-first-section .column-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.screen-first-section .column-right {
    flex: 4.5;
    background-color: #e8f5e9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.row-reverse {
    flex-direction: row-reverse;
}
.screen-second-section {
    height: 72.45vh;
}
.light-green-background {
    background-color: #e8f5e9;
    min-height: 63vh; /* Same as other sections */
    border-top: 5px solid #2ecc71;
    border-bottom: 5px solid #2ecc71;
}

.image-link-container {
    position: relative;
    width: 23%;
    transition: transform 0.3s ease;
}

.image-link-container:hover {
    transform: scale(1.05);
}

.text-overlay-style {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3.0em;
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 1px 2px black;
    width: 100%;
    transition: color 0.3s ease;
}


.image-link-container:hover .text-overlay-style {
    color: lightgreen;
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
    header {
        padding: 1rem;
        flex-direction: row;
        justify-content: space-between;
    }

    .header-left {
        flex: 1;
    }

    h1 {
        font-size: 1.8em; /* Adjust h1 font size for mobile */
    }

    .logo {
        height: 40px;
    }

    nav {
        display: none; /* Hide original nav */
        position: absolute;
        top: 70px; /* Position below header */
        left: 0;
        width: 100%;
        background-color: rgba(51, 51, 51, 0.9);
        flex-direction: column;
        align-items: center;
    }

    nav.active {
        display: flex; /* Show nav when active */
    }

    nav ul {
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
        text-align: center;
        width: 100%;
    }

    nav ul li a {
        font-size: 1.2em;
        padding: 10px 0;
    }

    .language-switcher {
        display: none; /* Hiding for simplicity, can be integrated into mobile nav later */
    }

    .menu-toggle {
        display: block; /* Show hamburger menu */
        cursor: pointer;
        padding: 10px;
        z-index: 101;
    }

    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: #fff;
        transition: all 0.3s ease-in-out;
    }

    /* Hamburger animation */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }


    .spacer {
        height: 60vh;
    }

    .hero-text p {
        font-size: 2.5em;
    }

    .hero-text p:first-child {
        font-size: 1.8em;
    }

    .two-columns,
    .image03-section-55-45,
    .kube03-section,
    .screen-first-section,
    .two-columns-like {
        flex-direction: column;
        height: auto; /* Let height be determined by content */
    }

    .row-reverse {
        flex-direction: column-reverse;
    }

    .column-left, .column-right, .text-column, .image-column,
    .image03-section-55-45 .column-left, .image03-section-55-45 .column-right,
    .kube03-section .text-column, .kube03-section .image-column,
    .screen-first-section .column-left, .screen-first-section .column-right {
        flex: 1 1 100%; /* Allow columns to take full width */
        padding: 20px;
    }

    .column-left img {
        width: 100%;
        height: auto;
    }

    .greenclean-text-container p {
        font-size: 3em;
    }
    .greenclean-text-container p:last-child {
        font-size: 1.5em;
    }

    .column-right p, .text-column p {
        font-size: 1.2em;
    }

    .table-container {
        width: 95%;
        margin: 20px auto;
    }

    .price-table th, .price-table td {
        padding: 8px;
        font-size: 0.9em;
    }

    .table-title {
        font-size: 1.8em;
    }

    .image-link-container {
        width: 48%;
        margin-bottom: 10px;
    }

    .text-overlay-style {
        font-size: 1.5em;
    }

    .screen-second-section {
        height: auto;
    }
}

/* Hide menu toggle on larger screens */
@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}



