/* General Styles */
body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 40px;
    color: #5a4a42;
}

/* Header */
header {
    background: #fff;
    color: #5a4a42;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    color: #5a4a42;
    text-decoration: none;
    font-weight: bold;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header nav ul li {
    display: inline;
    margin-left: 30px;
}

header nav ul li a {
    color: #5a4a42;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #a08a7d;
}

/* Hero Section */
.hero {
    background: #f0e8e1 url('https://via.placeholder.com/1500x600?text=Handmade+Accessories') no-repeat center center/cover;
    color: #5a4a42;
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6); /* Semi-transparent overlay */
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #5a4a42;
}

.hero-content p {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: #777;
}

.btn {
    display: inline-block;
    color: #fff;
    background: #a08a7d;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #8b776b;
}

/* Products Section */
.products {
    padding: 60px 0;
    background: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-item {
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.product-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 15px;
}

.product-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    color: #5a4a42;
    margin-bottom: 10px;
}

.product-item .price {
    font-size: 1.3em;
    color: #a08a7d;
    font-weight: bold;
    margin-bottom: 15px;
}

.add-to-cart-btn {
    background: #a08a7d;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s ease;
}

.add-to-cart-btn:hover {
    background: #8b776b;
}

/* About Section */
.about {
    padding: 60px 0;
    background: #f0e8e1;
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: 0 auto 20px auto;
    font-size: 1.1em;
    color: #666;
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background: #fff;
    text-align: center;
}

.contact p {
    margin-bottom: 30px;
    font-size: 1.1em;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact input[type="text"],
.contact input[type="email"],
.contact textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
}

.contact button {
    width: 100%;
    padding: 15px;
    border: none;
    background: #a08a7d;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    transition: background 0.3s ease;
}

.contact button:hover {
    background: #8b776b;
}

/* Footer */
footer {
    background: #5a4a42;
    color: #fff;
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    header nav ul li {
        margin: 0 15px;
    }

    .hero-content h2 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1.1em;
    }

    h2 {
        font-size: 2em;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}