/*
    Hestia's Definitive Blueprint for the "Official Goods" Page
    -----------------------------------------------------------
    File: goods.css
    Role: To create a beautiful and exciting "concept store" for future treasures.
*/

/* --- [I] The Storefront: Hero Section --- */
.hero-goods {
    min-height: 400px;
    /* 温かく、親しみやすい、クラフト感のある、グラデーション */
    background-image: linear-gradient(to top, rgba(121, 85, 72, 0.8), rgba(161, 136, 127, 0.4)), url('../images/projects/goods-hero.jpg');
}

/* --- [II] The Dreamers' Dialogue: Introduction Section --- */
.goods-intro { padding: 5rem 0; background-color: #f8f9fa; }
.intro-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 2rem; }
.dialogue-turn { display: flex; align-items: flex-start; gap: 1.5rem; }
.dialogue-turn.connect-turn { flex-direction: row-reverse; }
.dialogue-turn img { height: 80px; flex-shrink: 0; }
.dialogue-turn p { margin: 0; padding: 1.5rem; border-radius: 12px; position: relative; line-height: 1.7; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.chisai-turn p { background-color: #fffde7; }
.connect-turn p { background-color: #fff3e0; }
/* 吹き出しのしっぽ */
.chisai-turn p::before { content: ''; position: absolute; top: 20px; left: -10px; border-width: 10px 10px 10px 0; border-style: solid; border-color: transparent #fffde7 transparent transparent; }
.connect-turn p::before { content: ''; position: absolute; top: 20px; right: -10px; border-width: 10px 0 10px 10px; border-style: solid; border-color: transparent transparent transparent #fff3e0; }


/* --- [III] The Store's Philosophy: About Section --- */
.goods-philosophy { padding: 5rem 0; }
.goods-philosophy .container {
    max-width: 800px;
    text-align: center;
}
.goods-philosophy p {
    font-size: 1.1rem;
    line-height: 1.8;
}
.goods-philosophy strong {
    color: var(--color-primary);
}

/* --- [IV] The Treasure Chests: Categories Section --- */
.goods-categories { padding: 5rem 0; background-color: #f8f9fa; }
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.category-card {
    background-color: white;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.card-image {
    background-color: #e9ecef;
    padding: 2rem;
}
.card-image img {
    width: 100%;
    max-width: 150px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}
.category-card h3 {
    font-size: 1.3rem;
    margin: 1.5rem 1rem 0.5rem 1rem;
}
.category-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    margin: 0 1rem 1.5rem 1rem;
}

/* --- [V] The Grand Opening Notice: CTA Section --- */
.goods-cta {
    padding: 5rem 0;
    background-color: #343a40;
    color: white;
    text-align: center;
}
.goods-cta h2 { font-family: 'Noto Serif JP', serif; font-size: 2.5rem; margin: 0 0 1rem 0; }
.goods-cta p { max-width: 600px; margin: 0 auto 2rem auto; color: #ced4da; line-height: 1.8; }
.cta-button.inactive {
    background-color: #6c757d;
    cursor: not-allowed;
    transform: none;
}
.cta-button.inactive:hover {
    background-color: #6c757d;
}