/* BUDDY BRAND FITNESS - CONTENT INSPIRATION BOARD */
/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-black: #000000;
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --text-white: #ffffff;
    --text-gray: #aaaaaa;
    --text-dim: #666666;
    --accent-orange: #ff6b35;
    --border-color: #333333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-black);
    color: var(--text-white);
    min-height: 100vh;
    line-height: 1.6;
}

/* Header */
.header {
    background: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 100%);
    padding: 40px 20px 30px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 25px;
}

/* Search Container */
.search-container {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-white);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--accent-orange);
}

.search-btn, .clear-btn {
    padding: 12px 24px;
    background: var(--accent-orange);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover, .clear-btn:hover {
    background: #ff8c5a;
    transform: translateY(-2px);
}

.clear-btn {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: calc(100vh - 300px);
}

.view-title {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-white);
}

/* Hide all views by default */
.category-view, .topic-view, .sub-angle-view, .content-view, .search-view {
    display: none;
}

.category-view.active, .topic-view.active, .sub-angle-view.active, .content-view.active, .search-view.active {
    display: block;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 20px;
}

.breadcrumb-btn {
    padding: 10px 20px;
    background: var(--bg-card);
    color: var(--text-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.breadcrumb-btn:hover {
    background: #2a2a2a;
    border-color: var(--accent-orange);
}

/* LEVEL 1: Category Bubbles */
.category-bubbles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.category-bubble {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bubble-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-bubble:hover::before {
    opacity: 1;
}

.category-bubble:hover {
    transform: translateY(-5px);
    border-color: var(--bubble-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.bubble-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.category-bubble h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-white);
}

.bubble-count {
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* LEVEL 2: Topic Grid */
.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.topic-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-left: 4px solid var(--topic-color);
    border-radius: 12px;
    padding: 25px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.topic-card:hover {
    transform: translateY(-3px);
    border-left-width: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.topic-card h3 {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 8px;
}

.topic-card .sub-angle-count {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* LEVEL 3: Sub-Angle List */
.sub-angle-header {
    text-align: center;
    margin-bottom: 30px;
}

.sub-angle-category {
    font-size: 1rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sub-angle-list-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

.sub-angle-list {
    display: grid;
    gap: 15px;
}

.sub-angle-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--topic-color);
    border-radius: 10px;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sub-angle-item:hover {
    background: #222;
    transform: translateX(5px);
    border-left-width: 8px;
}

.sub-angle-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 5px;
}

.sub-angle-category-tag {
    font-size: 0.85rem;
    color: var(--accent-orange);
    font-style: italic;
}

/* LEVEL 4: Full Content Page */
.content-details {
    max-width: 900px;
    margin: 0 auto;
}

.content-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.content-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.content-breadcrumb-path {
    font-size: 0.95rem;
    color: var(--text-gray);
}

.content-section {
    margin-bottom: 50px;
}

.content-section h3 {
    font-size: 1.5rem;
    color: var(--accent-orange);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hook-list, .storyline-list, .scripture-list {
    list-style: none;
}

.hook-list li, .storyline-list li {
    padding: 15px 20px;
    background: var(--bg-card);
    border-left: 4px solid var(--accent-orange);
    border-radius: 8px;
    margin-bottom: 12px;
    line-height: 1.7;
    transition: all 0.3s ease;
}

.hook-list li:hover, .storyline-list li:hover {
    background: #222;
    transform: translateX(5px);
}

.scripture-list li {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.scripture-ref {
    color: var(--accent-orange);
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 10px;
}

.greek-word, .hebrew-word {
    padding: 4px 8px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.greek-word {
    background: rgba(52, 152, 219, 0.2);
    color: #3498DB;
    border: 1px solid #3498DB;
}

.greek-word:hover {
    background: rgba(52, 152, 219, 0.4);
    transform: scale(1.05);
}

.hebrew-word {
    background: rgba(155, 89, 182, 0.2);
    color: #9B59B6;
    border: 1px solid #9B59B6;
}

.hebrew-word:hover {
    background: rgba(155, 89, 182, 0.4);
    transform: scale(1.05);
}

/* Weekly Content Arc */
.weekly-arc {
    background: linear-gradient(135deg, var(--bg-card) 0%, #0f0f0f 100%);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.weekly-arc h4 {
    color: var(--accent-orange);
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.day-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.day-item:last-child {
    border-bottom: none;
}

.day-label {
    font-weight: 700;
    color: var(--accent-orange);
    margin-right: 10px;
    display: inline-block;
    min-width: 100px;
}

/* Modal for Greek/Hebrew Word Studies */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    overflow-y: auto;
    padding: 40px 20px;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.modal-content {
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    max-width: 900px;
    width: 100%;
    position: relative;
    margin: 20px auto;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-white);
}

.word-study-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent-orange);
}

.word-study-section {
    margin-bottom: 30px;
}

.word-study-section h3 {
    font-size: 1.3rem;
    color: var(--text-white);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

/* Search Results */
.search-results {
    max-width: 900px;
    margin: 0 auto;
}

.search-result-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-orange);
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background: #222;
    transform: translateX(5px);
}

.search-result-type {
    font-size: 0.85rem;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.search-result-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
}

.search-result-context {
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 30px 20px;
    text-align: center;
    color: var(--text-gray);
}

.footer a {
    color: var(--accent-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ff8c5a;
}

.footer-stats {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 1.8rem;
    }
    
    .category-bubbles {
        grid-template-columns: 1fr;
    }
    
    .topic-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 25px;
    }
    
    .day-label {
        display: block;
        margin-bottom: 5px;
    }
}
