/* Japanese Study Page Specific Styles */

/* Hero Section */
.japanese-learning-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    background: url('https://images.unsplash.com/photo-1522383225653-ed111181a951?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 2.5rem;
    text-shadow: none;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-notice {
    margin-top: 2rem;
    padding-top: 1.5rem;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-notice p {
    color: #ffeb3b;
    font-size: 0.9rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    line-height: 1.6;
}

/* Study Detail Section */
.japanese-study-detail {
    background: white;
    padding: 6rem 0;
}

.study-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.study-intro h3 {
    color: var(--dark-text);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.study-points {
    margin-bottom: 4rem;
}

.study-points h3 {
    color: var(--dark-text);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.point-card {
    background: linear-gradient(135deg, #fff5f8 0%, #fff0f5 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--light-pink);
    transition: all 0.3s ease;
    position: relative;
}

.point-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.15);
    border-color: var(--primary-color);
}

.point-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.point-icon i {
    font-size: 1.8rem;
    color: white;
}

.point-card h4 {
    color: var(--dark-text);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

.point-card p {
    color: var(--light-text);
    line-height: 1.6;
    font-size: 1.05rem;
    text-align: left;
}

.point-card p strong {
    color: var(--primary-color);
    font-weight: 700;
}

.study-content {
    margin-bottom: 3rem;
}

.study-content h3 {
    color: var(--dark-text);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.study-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.study-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.study-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.15);
}

.study-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 24px;
}

.study-item span {
    color: var(--dark-text);
    font-size: 1.1rem;
    font-weight: 500;
}

.study-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px dashed var(--light-pink);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    margin: 0 1rem;
    border-radius: 50px;
    font-weight: 600;
}

/* Call to Action Button Styles Override */
.study-cta .btn-outline {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 600;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    border-radius: 50px;
}

.study-cta .btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .japanese-learning-hero {
        height: 50vh;
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.3rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
    }

    .points-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .study-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .point-card {
        padding: 1.5rem;
    }

    .point-icon {
        width: 60px;
        height: 60px;
    }

    .point-icon i {
        font-size: 1.5rem;
    }

    .btn-large,
    .study-cta .btn-outline {
        display: block;
        margin: 0.5rem 0;
        width: 100%;
        padding: 1.2rem 3rem;
        font-size: 1.2rem;
    }
}