/*
Theme Name: Hello Elementor Child
Template: hello-elementor
*/

/* =========================================
   1. CORE VARIABLES & FONTS
   ========================================= */
:root {
    /* Backgrounds */
    --bg-deep: #020617;       
    --bg-card: #0f172a;       
    
    /* Text Colors */
    --text-white: #ffffff;
    --text-grey: #94a3b8;     
    --text-cyan: #22d3ee;     
    --text-pink: #ec4899;     
    
    /* Exact Gradients */
    --grad-blue: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
    --grad-pink: linear-gradient(135deg, #f472b6 0%, #fbbf24 100%);
    --grad-btn: linear-gradient(90deg, #d946ef 0%, #ec4899 100%); 
    
    /* Glows */
    --glow-purple: radial-gradient(circle at 80% 20%, rgba(126, 34, 206, 0.25) 0%, transparent 50%);
    --glow-blue: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
}

/* Global Reset & Background */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-white);
    margin: 0;
    line-height: 1.6;
    background-image: var(--glow-purple), var(--glow-blue);
    background-attachment: fixed;
    background-size: cover;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
.site-header {
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: transparent; 
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.header-flex {
    display: flex;
    justify-content: space-between; 
    align-items: center;
}
.logo-text {
    font-size: 1.5rem;
    font-weight: 800; 
    color: var(--text-pink); /* Pink Logo Text */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-icon-circle {
    width: 32px;
    height: 32px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    color: var(--text-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 0; padding: 0;
}
.main-navigation a {
    color: var(--text-grey);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}
.main-navigation a:hover {
    color: #fff;
}
.nav-btn-explore {
    background: var(--grad-btn);
    padding: 10px 24px;
    border-radius: 50px;
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* =========================================
   3. HERO TYPOGRAPHY
   ========================================= */
.hero-title {
    font-family: 'Inter', sans-serif !important;
    font-weight: 900 !important;
    font-size: 5rem !important;
    letter-spacing: -0.04em !important;
    line-height: 1.05 !important;
    margin-bottom: 25px;
    color: #fff;
}
.text-cyan {
    background: var(--grad-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-pink {
    background: var(--grad-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-grey);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
}

/* =========================================
   4. PREMIUM SEARCH BAR (Icon Right)
   ========================================= */
.search-wrapper {
    position: relative;
    max-width: 800px;
    width: 90%;
    margin: 40px auto 30px auto;
    background: linear-gradient(90deg, #ec4899, #8b5cf6, #22d3ee, #ec4899);
    background-size: 300% 100%;
    padding: 3px;
    border-radius: 50px;
    animation: neon-flow 4s linear infinite;
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.3);
    display: flex;
    align-items: center;
    z-index: 50; 
}
.search-wrapper input {
    width: 100%;
    height: 100%;
    padding: 22px 70px 22px 30px; 
    background: var(--bg-deep);
    border: none;
    border-radius: 47px;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    outline: none;
}
.search-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}
.search-icon {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-cyan);
    z-index: 10;
    pointer-events: none;
}
.search-icon svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 5px rgba(34, 211, 238, 0.8));
}
@keyframes neon-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* AJAX Dropdown Styles */
#datafetch {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    margin-top: 10px;
    z-index: 99;
    display: none;
    overflow: hidden;
}
.search-results-dropdown {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}
.search-results-dropdown li a {
    display: block;
    padding: 15px 20px;
    color: #cbd5e1;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.2s;
}
.search-results-dropdown li a:hover {
    background: rgba(34, 211, 238, 0.1);
    color: #fff;
}

/* =========================================
   5. CATEGORIES & CARDS
   ========================================= */
.category-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
}
.cat-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    color: var(--text-grey);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.cat-link svg {
    width: 18px;
    height: 18px;
    color: #a855f7;
}
.cat-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--text-cyan);
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 5px 15px rgba(34, 211, 238, 0.2);
}
.cat-link:hover svg {
    color: var(--text-cyan);
}

/* =========================================
   6. FOOTER & MISC
   ========================================= */
.site-footer {
    background: #010409;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 60px 0 20px;
    color: var(--text-grey);
    margin-top: auto;
}
.blog-card, .trending-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s;
}
.single-post-container {
    max-width: 740px;
    margin: 80px auto;
    color: #e2e8f0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 3.5rem !important; }
    .main-navigation { display: none; }
    .search-wrapper input { padding: 18px 60px 18px 25px; font-size: 1.1rem; }
    .category-nav { gap: 10px; padding: 0 10px; }
    .cat-link { padding: 8px 14px; font-size: 0.85rem; }
}