/* --- General Section --- */
section {
    margin: 0 auto 25px auto;
    padding: 30px 15px;
    max-width: 1200px;
    font-family: 'Noto Sans JP', sans-serif;
}



/* --- Introduction Section --- */
.intro-zone {
    background: #e0dcd5 url('/bizapla/english/images/street_texture1.png') repeat;
    border-left: 6px dashed #5a3e36;
    border-radius: 6px;
    padding: 35px 20px;
    text-align: center;
}

.intro-zone img {
    max-width: 100%;
    border: 3px solid #8b5e3c;
    transform: rotate(-1deg);
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    margin-top: 20px;
}

/* --- Quiz Section --- */
.quiz-zone {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #f5f3f0 0%, #c6bfa8 100%);
    padding: 40px 20px;
    border-radius: 20px 0 20px 0;
    gap: 20px;
}

.quiz-zone img {
    width: 300px;
    max-width: 100%;
    filter: brightness(0.95);
    transform: rotate(-2deg);
    box-shadow: 2px 2px 6px rgba(0,0,0,0.25);
}

.quiz-text {
    flex: 1;
    min-width: 250px;
    color: #3b2e2c;
}

.quiz-text h2 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
}

.quiz-text p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.quiz-btn {
    display: inline-block;
    background-color: #8b5e36;
    color: #fff;
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.quiz-btn:hover {
    background-color: #5a3e36;
}

/* --- Recommended Articles --- */
.recommend-zone {
    background-color: #d1c6b0;
    border-top: 4px solid #5a3e36;
    border-bottom: 4px solid #5a3e36;
    padding: 40px 20px;
    text-align: center;
}

.recommend-zone img {
    max-width: 100%;
    transform: rotate(-2deg);
    box-shadow: 2px 2px 6px rgba(0,0,0,0.25);
    margin-top: 20px;
}

/* --- Grammar Categories --- */
.grammar-zone {
    text-align: center;
}

.grammar-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.grammar-card {
    display: block;
    text-decoration: none;
    color: #3b2e2c;
    width: 180px;
}

.grammar-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.25);
    transition: transform 0.3s, box-shadow 0.3s;
}

.grammar-card img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.card-title {
    margin-top: 8px;
    font-weight: bold;
}

/* --- Learning Resources --- */
.resource-zone {
    text-align: center;
    padding: 40px 20px;
}

.resource-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.resource-gallery img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.resource-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* --- Contact Section --- */
.contact-zone {
    background-color: #5a3e36;
    color: #fff;
    padding: 50px 20px;
    text-align: center;
    border-radius: 10px;
}

.contact-zone .contact-btn {
    background-color: #fff;
    color: #5a3e36;
    padding: 12px 22px;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 15px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.contact-zone .contact-btn:hover {
    transform: scale(1.05);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-zone {
        height: 50vh;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-sub {
        font-size: 1rem;
    }
    .quiz-zone {
        flex-direction: column;
        text-align: center;
    }
    .quiz-zone img {
        width: 80%;
        margin: 0 auto;
    }
    .grammar-grid {
        flex-direction: column;
        align-items: center;
    }
    .resource-gallery img {
        max-width: 200px;
    }
}
