/* content.css - Styling for Course Idea Machine and Subject/Content pages */

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600;700&display=swap');

/* --- Explore Ideas Page (Course Idea Machine) --- */
.explore-ideas-page {
    font-family: 'Quicksand', sans-serif;
    color: #4a4a4a;
}

.explore-ideas-page h1 {
    font-weight: 700;
    color: #FF6B6B;
    /* Soft Red */
    margin-bottom: 0.5rem;
}

.explore-ideas-page .lead {
    font-size: 1.25rem;
    color: #555;
}

/* Hero Section */
.hero-sentence-container {
    background-color: #ffffff;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    margin-bottom: 40px;
    border: 4px solid #4ECDC4;
    /* Teal Border */
    position: relative;
    overflow: hidden;
}

.hero-sentence-container::before {
    content: '\f005';
    /* Star icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 5rem;
    color: #FFE66D;
    /* Yellow */
    opacity: 0.2;
    transform: rotate(15deg);
}

.action-text {
    color: #FF6B6B;
    /* Soft Red */
    font-weight: 700;
    font-size: 2.5rem;
}

.topic-text {
    color: #4ECDC4;
    /* Teal */
    font-weight: 700;
    font-size: 2.5rem;
    display: block;
    margin-top: 10px;
}

.topic-icon {
    margin-right: 15px;
    color: #FFE66D;
    /* Yellow Icon */
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

/* Generate Button */
.btn-generate {
    background-color: #FF6B6B;
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-generate:hover {
    transform: scale(1.05) rotate(-2deg);
    background-color: #FF5252;
}

.btn-generate:active {
    transform: scale(0.95);
}

/* Idea Cards */
.idea-card {
    border: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.idea-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.idea-card .card-body {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Pastel Card Colors */
.bg-pastel-1 {
    background-color: #FFF0F5;
    color: #D63384;
}

/* Lavender Blush */
.bg-pastel-2 {
    background-color: #E0F7FA;
    color: #00838F;
}

/* Cyan */
.bg-pastel-3 {
    background-color: #FFF9C4;
    color: #F57F17;
}

/* Yellow */
.bg-pastel-4 {
    background-color: #F3E5F5;
    color: #8E24AA;
}

/* Purple */
.bg-pastel-5 {
    background-color: #E8F5E9;
    color: #2E7D32;
}

/* Green */
.bg-pastel-6 {
    background-color: #E3F2FD;
    color: #1565C0;
}

/* Blue */

.idea-icon-large {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.idea-text {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}

.explore-ideas-page h2.h4 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    color: #292F36;
    margin-top: 50px;
    font-size: 1.8rem;
}

/* --- Classes (Subject) Pages Styling --- */
.classes-page h2 {
    color: #FF6B6B;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.classes-page h3 {
    color: #4ECDC4;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.classes-page ul {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.classes-page li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.classes-page strong {
    color: #292F36;
}

/* --- Search/Subject Card Grid --- */
.subject-grid-section {
    border-radius: 15px;
    padding: 20px;
}

.subject-grid-section h2 {
    font-family: 'Merriweather', serif;
}

.subject-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.subject-card .card-body {
    text-align: center;
    font-weight: 600;
    color: #292F36;
    text-decoration: none;
    display: block;
}

body.dark-mode .subject-card {
    background-color: #252525;
    border-color: #444;
}

body.dark-mode .subject-card .card-body {
    color: #e0e0e0;
}

body.dark-mode .hero-sentence-container {
    background-color: #1a1a1a;
    border-color: #4ECDC4;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

body.dark-mode .explore-ideas-page h1 {
    color: #ff8a80;
}

body.dark-mode .explore-ideas-page .lead,
body.dark-mode .explore-ideas-page h2.h4,
body.dark-mode .classes-page h2,
body.dark-mode .classes-page h3,
body.dark-mode .classes-page strong {
    color: #e0e0e0 !important;
}

body.dark-mode .idea-card {
    background-color: #252525 !important;
    border: 1px solid #333;
}

body.dark-mode .idea-text {
    color: #b0b0b0;
}