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

body {
    font-family: "Noto Sans KR", sans-serif;
    background: #f8f6ff;
    color: #333;
}

/* 헤더 */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #6a0dad;
    color: white;
    padding: 15px 30px;
    flex-wrap: wrap;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

nav {
    display: flex;
    gap: 25px;
}

    nav a {
        color: white;
        text-decoration: none;
        font-weight: 500;
        transition: opacity 0.2s;
    }

        nav a:hover {
            opacity: 0.7;
        }

/* 배너 */
.banner {
    background: #b388ff;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

    .banner h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .banner p {
        font-size: 1.1rem;
    }

/* 상품 섹션 */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
    padding: 50px 30px;
}

.product-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    text-align: center;
    padding: 15px;
    transition: transform 0.2s;
}

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

    .product-card img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        object-fit: cover;
    }

    .product-card h2 {
        margin: 10px 0 5px;
        font-size: 1.2rem;
    }

    .product-card p {
        font-weight: 600;
        color: #6a0dad;
        margin-bottom: 10px;
    }

    .product-card button {
        background: #6a0dad;
        color: white;
        border: none;
        padding: 10px 18px;
        border-radius: 6px;
        cursor: pointer;
        transition: background 0.2s;
    }

        .product-card button:hover {
            background: #4a0072;
        }

/* 푸터 */
footer {
    background: #6a0dad;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* 반응형 */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    nav {
        margin-top: 10px;
        gap: 15px;
    }

    .banner {
        padding: 60px 15px;
    }

        .banner h1 {
            font-size: 1.6rem;
        }
}
