:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #007bff;
    --text-color: #333333;
    --background-light: #f8f9fa;
    --spacing-unit: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
}

/* 헤더 및 네비게이션 */
header {
    background-color: var(--secondary-color);
    padding: var(--spacing-unit);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.main-nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-color);
}

.language-switch {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.language-switch button {
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
}

.language-switch button.active {
    color: var(--accent-color);
}

/* 히어로 섹션 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/acutal/working.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    color: var(--secondary-color);
    z-index: 1;
    margin-top: 15vh;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

.cta-primary, .cta-secondary {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.cta-secondary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.cta-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* 섹션 공통 스타일 */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

/* 제품 섹션 */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 10px 20px;
    margin: 0 5px;
    border: none;
    background: #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.tab-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.category {
    display: none;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.category.active {
    display: block;
    opacity: 1;
    transform: scale(1);
}

.product-categories {
    margin-top: 20px;
    position: relative;
    min-height: 400px;
}

.category {
    width: 100%;
}

.category h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
}

.category ul {
    list-style: none;
}

.category li {
    margin-bottom: 0.5rem;
}

/* 문의하기 섹션 */
.contact-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-map {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-map img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.contact-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 0 1rem;
}

.contact-info {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.5em;
}

.contact-info p {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.6;
}

.contact-info p i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
    font-size: 1.2em;
    width: 25px;
    text-align: center;
}

.contact-info p::before {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.contact-info p[data-translate="korean-contact"]::before,
.contact-info p[data-translate="filipino-contact"]::before {
    content: "\f3cd";  /* 전화 아이콘 */
}

.contact-info p[data-translate="korean-email"]::before,
.contact-info p[data-translate="filipino-email"]::before {
    content: "\f0e0";  /* 이메일 아이콘 */
}

.contact-info p[data-translate="kakao-id"]::before {
    content: "\f075";  /* 말풍선 아이콘 */
}

.contact-form {
    width: 100%;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.contact-form textarea {
    min-height: 150px;
}

/* 푸터 */
footer {
    background-color: var(--background-light);
    padding: 3rem 2rem;
    margin-top: 5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 0;
}

.footer-info {
    margin-bottom: 1rem;
}

.footer-info p {
    margin: 0.5rem 0;
}

.copyright {
    color: var(--text-color);
    font-size: 0.9rem;
}

.footer-links {
    margin: 1rem 0;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 1rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* 프로젝트 갤러리 섹션 */
.projects-section {
    background-color: var(--background-light);
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
}

.project-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--secondary-color);
}

.project-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* 공장 & 제조 섹션 */
.factory-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.factory-info {
    text-align: center;
    padding: 0 2rem;
    margin-bottom: 1rem;
}

.factory-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.factory-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
}

.factory-image {
    width: 100%;
}

.factory-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.factory-features {
    list-style: none;
    margin-top: 2rem;
}

.factory-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.factory-features i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.factory-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

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

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

.gallery-item p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--secondary-color);
    margin: 0;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }

    .main-nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .main-nav ul.active {
        display: flex;
    }

    .main-nav ul li {
        width: 100%;
        text-align: center;
    }

    .main-nav ul li a {
        font-size: 0.9rem;
        padding: 0.5rem;
        display: block;
    }

    .language-switch {
        margin-left: 0;
        font-size: 0.8rem;
    }

    .language-switch button {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons a {
        width: 100%;
        text-align: center;
        font-size: 0.9rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text {
        padding: 1rem;
    }

    .about-text p {
        font-size: 0.9rem;
    }

    .key-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature h3 {
        font-size: 1rem;
    }

    .feature p {
        font-size: 0.9rem;
    }

    .core-values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .value-item h3 {
        font-size: 1rem;
    }

    .value-item p {
        font-size: 0.9rem;
    }

    .product-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tab-btn {
        width: 100%;
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    .window-gallery, .door-gallery {
        grid-template-columns: 1fr;
    }

    .window-item p, .door-item p {
        font-size: 0.9rem;
    }

    .project-gallery {
        grid-template-columns: 1fr;
    }

    .project-info h3 {
        font-size: 1rem;
    }

    .project-info p {
        font-size: 0.9rem;
    }

    .factory-info p {
        font-size: 0.9rem;
    }

    .contact-info h3 {
        font-size: 1rem;
    }

    .contact-info p {
        font-size: 0.9rem;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.9rem;
    }

    .contact-form button {
        font-size: 0.9rem;
    }

    .footer-content {
        text-align: center;
        font-size: 0.8rem;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero-content {
        margin-top: 20vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    section {
        padding: 3rem 1rem;
    }

    .factory-content {
        gap: 1rem;
    }

    .factory-info {
        padding: 0 1rem;
        margin-bottom: 0.5rem;
    }

    .factory-info h3 {
        font-size: 1.8rem;
    }

    .factory-info p {
        font-size: 1rem;
    }

    .project-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-item img {
        height: 300px;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .tab-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .contact-map img {
        max-height: 400px;
        object-fit: contain;
    }
}

/* 작은 모바일 화면 스타일 */
@media (max-width: 480px) {
    .main-nav ul li a {
        font-size: 0.8rem;
    }

    .language-switch button {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .cta-buttons a {
        font-size: 0.8rem;
    }

    .about-text p {
        font-size: 0.8rem;
    }

    .feature h3 {
        font-size: 0.9rem;
    }

    .feature p {
        font-size: 0.8rem;
    }

    .value-item h3 {
        font-size: 0.9rem;
    }

    .value-item p {
        font-size: 0.8rem;
    }

    .tab-btn {
        font-size: 0.8rem;
    }

    .window-item p, .door-item p {
        font-size: 0.8rem;
    }

    .project-info h3 {
        font-size: 0.9rem;
    }

    .project-info p {
        font-size: 0.8rem;
    }

    .factory-info p {
        font-size: 0.8rem;
    }

    .contact-info h3 {
        font-size: 0.9rem;
    }

    .contact-info p {
        font-size: 0.8rem;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.8rem;
    }

    .contact-form button {
        font-size: 0.8rem;
    }
}

.about-section {
    background-color: var(--background-light);
    padding: 5rem 2rem;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.about-image {
    flex: 1;
    max-width: 500px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.key-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.feature {
    background-color: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.feature h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.feature p {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }

    .about-image {
        max-width: 100%;
    }

    .key-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-text p {
        font-size: 1rem;
        text-align: center;
    }

    .feature {
        text-align: center;
    }
}

.category-image {
    margin-bottom: 1rem;
}

.category-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.factory-image {
    margin-bottom: 2rem;
}

.factory-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
    align-items: center;
}

.menu-toggle:hover {
    color: var(--accent-color);
}

.menu-toggle.active {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .language-switch {
        position: static;
        margin-left: auto;
        margin-right: 1rem;
    }

    .main-nav ul {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--secondary-color);
        padding: 5rem 1rem 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        flex-direction: column;
        align-items: center;
        z-index: 1000;
    }

    .main-nav ul.active {
        display: flex;
    }

    .main-nav li {
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

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

    .contact-map img {
        max-height: 400px;
        object-fit: contain;
    }

    .contact-bottom {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        text-align: center;
    }

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

.window-gallery, .door-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1rem;
}

.window-item, .door-item {
    background-color: var(--background-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.window-item:hover, .door-item:hover {
    transform: translateY(-5px);
}

.window-item img, .door-item img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background-color: white;
    padding: 1rem;
}

.window-item p, .door-item p {
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    color: var(--text-color);
    margin: 0;
}

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

    .window-item img, .door-item img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .window-gallery, .door-gallery {
        grid-template-columns: 1fr;
    }
}

.door-item {
    background-color: var(--background-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.door-item:hover {
    transform: translateY(-5px);
}

.door-item img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background-color: white;
    padding: 1rem;
}

.door-item p {
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    color: var(--text-color);
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .door-item p {
        font-size: 0.9rem;
        min-height: 3rem;
    }
}

.glassing-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.glassing-item {
    background-color: var(--background-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.glassing-item:hover {
    transform: translateY(-5px);
}

.glassing-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background-color: white;
    padding: 1rem;
}

@media (max-width: 768px) {
    .glassing-gallery {
        gap: 1rem;
    }
}

.core-values-section {
    background-color: var(--background-light);
    padding: 5rem 2rem;
}

.core-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.value-item {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-item p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1rem;
}

@media (max-width: 1024px) {
    .core-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .value-item {
        padding: 1.5rem;
    }

    .value-item h3 {
        font-size: 1.3rem;
    }
}

.factory-additional {
    width: 100%;
    margin-top: 2rem;
}

.factory-additional img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .factory-additional {
        margin-top: 1rem;
    }
}

.factory-permits {
    width: 100%;
    margin-top: 2rem;
}

.factory-permits img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .factory-permits {
        margin-top: 1rem;
    }
} 