/*
Theme Name: Kinetix Trade
Theme URI: https://kinetixtrade.com/
Author: Kinetix Trade
Author URI: https://kinetixtrade.com/
Description: Custom WordPress theme for Kinetix Trade, a professional trading journal. Built based on the Minimalistic Portfolio template structure.
Version: 1.2.8
License: GPLv3 or later
Text Domain: kinetixtrade
Tags: custom-theme, trading, journal
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&display=swap');

body { 
    font-family: 'Inter', sans-serif; 
}
.dark-bg { 
    background-color: #0f172a; 
}
.accent-color { 
    color: #38bdf8; 
}
.btn-primary { 
    background-color: #0284c7; 
}
.btn-primary:hover { 
    background-color: #0369a1; 
}

/* Include any additional custom CSS from the static site here if needed */

/* WordPress Dropdown Menu Support */
.menu-item-has-children {
    position: relative;
    padding-right: 15px; /* Space for arrow */
    padding-bottom: 20px; /* Expand hover area downwards */
    margin-bottom: -20px; /* Offset the padding to not break layout */
}
.menu-item-has-children > a::after {
    content: '';
    border: solid #9ca3af; /* Tailwind gray-400 */
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2.5px;
    transform: rotate(45deg);
    position: absolute;
    right: 0px;
    top: 40%;
    transition: all 0.2s;
}
.menu-item-has-children:hover > a::after {
    border-color: #38bdf8; /* Tailwind sky-400 */
}
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1e293b; /* Tailwind slate-800 */
    min-width: 200px;
    padding: 0.5rem 0;
    margin-top: 15px; /* Visual gap */
    border-radius: 0.5rem;
    border: 1px solid #334155; /* Tailwind slate-700 */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    z-index: 100;
}
/* Invisible bridge to keep hover active across the margin gap */
.sub-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}
/* Show submenu on hover */
.menu-item-has-children:hover > .sub-menu {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}
.sub-menu li {
    display: block;
    width: 100%;
}
.sub-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #94a3b8 !important; /* Tailwind slate-400 */
    transition: all 0.2s;
    font-size: 0.875rem;
}
.sub-menu li a:hover {
    color: #38bdf8 !important; /* Tailwind sky-400 */
    background-color: #0f172a; /* Tailwind slate-900 */
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}