/*
Theme Name: AstroTheme
Theme URI: https://astrotheme.com
Author: AI Studio
Description: .
Version: 1.0
Text Domain: astrotheme


/* ==========================================================================
   BuddyPress Premium Dark Theme Integration
   ========================================================================== */

/* General Text & Links */
#buddypress { color: #e5e7eb; font-family: 'Poppins', sans-serif; }
#buddypress a { color: #FFD700; transition: all 0.3s ease; text-decoration: none; }
#buddypress a:hover { color: #FFA500; }

/* Item Header (Profile & Group Cover Area) */
#buddypress div#item-header {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}
#buddypress div#item-header img.avatar {
    border-radius: 50%;
    border: 4px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease;
}
#buddypress div#item-header img.avatar:hover {
    transform: scale(1.05);
}
#buddypress div#item-header h2 {
    color: #ffffff;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
#buddypress div#item-header h2 a { color: #ffffff; }

/* Navigation Tabs */
#buddypress div#item-nav {
    background: rgba(26, 11, 46, 0.6);
    border-radius: 1rem;
    padding: 0.5rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    overflow-x: auto;
}
#buddypress div#item-nav ul {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
#buddypress div#item-nav ul li {
    margin: 0;
}
#buddypress div#item-nav ul li a {
    color: #9ca3af;
    font-weight: 600;
    padding: 1rem 1.5rem;
    display: block;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}
#buddypress div#item-nav ul li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}
#buddypress div#item-nav ul li.current a, 
#buddypress div#item-nav ul li.selected a {
    color: #1a0b2e;
    background: linear-gradient(to right, #FFD700, #FFA500);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Sub Navigation */
#buddypress div.item-list-tabs {
    background: transparent;
    border: none;
    margin-bottom: 2rem;
}
#buddypress div.item-list-tabs ul li a {
    background: rgba(255, 255, 255, 0.05);
    color: #d1d5db;
    border-radius: 9999px;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
#buddypress div.item-list-tabs ul li.selected a,
#buddypress div.item-list-tabs ul li.current a {
    background: rgba(255, 215, 0, 0.1);
    color: #FFD700;
    border-color: #FFD700;
}

/* Forms & Inputs */
#buddypress form#whats-new-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 2rem;
    margin-bottom: 2.5rem;
}
#buddypress textarea#whats-new,
#buddypress .standard-form textarea,
#buddypress .standard-form input[type="text"],
#buddypress .standard-form input[type="password"],
#buddypress .standard-form input[type="email"],
#buddypress div.dir-search input[type="text"] {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    width: 100%;
    transition: all 0.3s ease;
}
#buddypress textarea#whats-new:focus,
#buddypress .standard-form input:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

/* Buttons */
#buddypress input[type="submit"], 
#buddypress button, 
#buddypress a.button,
#buddypress div.generic-button a {
    background: linear-gradient(to right, #FFD700, #FFA500);
    color: #1a0b2e !important;
    border: none;
    border-radius: 9999px;
    padding: 0.6rem 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}
#buddypress input[type="submit"]:hover, 
#buddypress button:hover, 
#buddypress a.button:hover,
#buddypress div.generic-button a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Activity Stream */
#buddypress div.activity-list li {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
#buddypress div.activity-list li:hover {
    border-color: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}
#buddypress div.activity-list li .activity-avatar img.avatar {
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
}
#buddypress div.activity-list li .activity-header {
    color: #d1d5db;
    line-height: 1.6;
}
#buddypress div.activity-list li .activity-content .activity-inner {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.03);
}
#buddypress div.activity-list li .activity-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
#buddypress div.activity-list li .activity-meta a {
    background: rgba(255, 255, 255, 0.05);
    color: #d1d5db !important;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 500;
}
#buddypress div.activity-list li .activity-meta a:hover {
    background: rgba(255, 215, 0, 0.1);
    color: #FFD700 !important;
}

/* Activity Comments */
#buddypress div.activity-comments {
    background: transparent;
    margin-top: 1.5rem;
}
#buddypress div.activity-comments ul li {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 1rem;
}

/* Directories (Members / Groups) */
#buddypress ul.item-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
#buddypress ul.item-list li {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#buddypress ul.item-list li:hover {
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
#buddypress ul.item-list li div.item-avatar img.avatar {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    border: 3px solid rgba(255, 215, 0, 0.2);
    margin-bottom: 1rem;
}
#buddypress ul.item-list li div.item-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
#buddypress ul.item-list li div.item-meta {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
#buddypress ul.item-list li div.action {
    margin-top: auto;
    width: 100%;
}
#buddypress ul.item-list li div.action .button {
    width: 100%;
    text-align: center;
}

/* Profile Tables */
#buddypress table.profile-fields {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
#buddypress table.profile-fields tr td, 
#buddypress table.profile-fields tr th {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e5e7eb;
}
#buddypress table.profile-fields tr:last-child td,
#buddypress table.profile-fields tr:last-child th {
    border-bottom: none;
}
#buddypress table.profile-fields tr th {
    background: rgba(0, 0, 0, 0.2);
    width: 30%;
    font-weight: 600;
    color: #FFD700;
}

/* Messages & Notifications */
#buddypress table.messages-notices,
#buddypress table.notifications {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
#buddypress table.messages-notices thead th,
#buddypress table.notifications thead th {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    color: #FFD700;
    font-weight: 600;
    text-align: left;
}
#buddypress table.messages-notices tbody td,
#buddypress table.notifications tbody td {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #d1d5db;
}
#buddypress table.messages-notices tbody tr.unread td,
#buddypress table.notifications tbody tr.unread td {
    background: rgba(255, 215, 0, 0.05);
    font-weight: 600;
    color: #ffffff;
}

/* Pagination */
#buddypress div.pagination {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
    padding: 1rem 2rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9ca3af;
}
#buddypress div.pagination .page-numbers {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}
#buddypress div.pagination .page-numbers.current {
    background: #FFD700;
    color: #1a0b2e;
    font-weight: bold;
}
#buddypress div.pagination a.page-numbers:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
}

/* Notices & Errors */
#buddypress div#message {
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    font-weight: 500;
}
#buddypress div#message.info,
#buddypress div#message.updated {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #FFD700;
}
#buddypress div#message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    #buddypress div#item-header { padding: 1.5rem; }
    #buddypress div#item-nav ul { flex-direction: column; }
    #buddypress div#item-nav ul li a { text-align: center; }
    #buddypress ul.item-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   AI Modülleri — Günün Planı, Bilinç Pratiği, Astroloji
   ========================================================================== */

/* Loading Animation */
.module-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
    gap: 1rem;
}

.module-loading span {
    color: #9ca3af;
    font-size: 0.85rem;
    animation: pulse-text 2s ease-in-out infinite;
}

.loading-pulse {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #8B5CF6, #3B82F6);
    animation: pulse-glow 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.3);
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
        box-shadow: 0 0 30px 10px rgba(139, 92, 246, 0.2);
    }
}

@keyframes pulse-text {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Content Loaded Transition */
.module-content .content-loaded {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Module Content Typography */
.module-content p {
    margin-bottom: 1rem;
    line-height: 1.85;
}

.module-content p:last-child {
    margin-bottom: 0;
}

.module-empty {
    color: #6b7280;
    font-style: italic;
    text-align: center;
    padding: 2rem 0;
}

/* Daily Plan Cards */
.daily-plan-card {
    position: relative;
    overflow: hidden;
}

.daily-plan-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.daily-plan-card:hover::before {
    opacity: 1;
}

/* Consciousness Module Card */
#consciousness-module {
    position: relative;
    overflow: hidden;
}

#consciousness-module::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Astrology Module Card */
#astrology-module {
    position: relative;
    overflow: hidden;
}

#astrology-module::before {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Responsive — Modüller */
@media (max-width: 768px) {
    .daily-plan-card {
        padding: 1.5rem;
    }
    
    #consciousness-module,
    #astrology-module {
        padding: 1.5rem;
    }
    
    .module-content {
        min-height: 150px !important;
    }
}

/* Section Smooth Scroll */
#daily-plan,
#consciousness-astrology {
    scroll-margin-top: 80px;
}

