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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 80px; /* 헤더 높이만큼 여백 추가 */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
header {
    background-color: black;
    color: white;
    padding: 1rem;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.logo {
    height: 50px;
    margin-right: 20px;
    flex-shrink: 0;
}

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

nav ul {
    display: flex;
    list-style: none;
    margin-left: 0;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Main Content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Social Links */
.social-links {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 999;
}

.social-link {
    display: flex;
    align-items: center;
    background: white;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.social-link img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.social-link span {
    font-size: 14px;
    color: #333;
}

.whatsapp {
    background-color: #dcf8c6;
}

.email {
    background-color: #ffe0b2;
}

/* WeChat QR Code Popup */
.wechat {
    position: relative;
}

.qr-code {
    display: none;
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.wechat:hover .qr-code {
    display: block;
}

.qr-code img {
    width: 150px;
    height: 150px;
    border-radius: 0;
}

/* Footer Styles */
footer {
    background-color: black;
    color: white;
    padding: 2rem;
    width: 100%;
    margin-top: auto;
}

.contact-info {
    max-width: 1200px;
    margin: 0 auto;
}

.social-contacts {
    margin-top: 1rem;
}

/* Footer Contact Info */
.contact-info a {
    color: white;
    text-decoration: underline;
}

/* Production Procedure Styles */
.procedure-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

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

.procedure-step {
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem;
    border-radius: 8px;
    background: white;
}

.procedure-step img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.procedure-step p {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .procedure-images {
        grid-template-columns: 1fr;
    }
}

.product-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4개 한 줄 */
    gap: 2rem;
    margin-top: 1rem;
    justify-items: center; /* 가운데 정렬 */
}

.product-images img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: block;
}

@media (max-width: 900px) {
    .product-images {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    .product-images {
        grid-template-columns: 1fr;
    }
} 