/*
Theme Name: Ronan UIkit
Description: High-performance, Elementor-free theme for Ronan Robotics using UIkit.
Version: 1.2
Author: Antigravity
*/

/* Core Design System */
:root {
    --primary: #15c14a; /* Ronan Neon Green */
    --primary-glow: rgba(21, 193, 74, 0.4);
    --dark-bg: #0a0a0a;
    --black: #000000;
    --text-gray: #dddddd;
}

/* Typography Refresh */
body {
    background-color: var(--black);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
    font-size: 18px;
    line-height: 1.7;
}

/* Heading Defaults - Heavy & Modern */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-transform: uppercase;
}

/* Strong Section Titles */
.uk-heading-line > span {
    font-weight: 900;
    letter-spacing: 2px;
    background: var(--black);
}

.uk-heading-line::before, .uk-heading-line::after {
    border-bottom: 2px solid var(--primary) !important;
}

/* Navbar Typography Refresh */
.uk-navbar-container {
    background: transparent !important;
    min-height: 80px;
    transition: 0.4s ease-in-out;
}

.wdt-top-bar {
    background: #0d0d0d !important;
    padding: 0 !important;
    min-height: 38px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.wdt-top-bar .uk-navbar-nav > li > a {
    min-height: 35px !important;
    font-size: 15px !important;
    color: #fff !important;
}

.uk-navbar-nav > li > a {
    min-height: 80px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    transition: 0.3s ease;
    position: relative;
    color: rgba(255,255,255,0.7) !important;
}

.uk-navbar-nav > li > a:hover,
.uk-navbar-nav > li.uk-active > a {
    color: #ffffff !important;
}

.uk-navbar-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.uk-navbar-nav > li:hover > a::after,
.uk-navbar-nav > li.uk-active > a::after {
    transform: scaleX(1);
}

.uk-navbar-nav > li.uk-active > a {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Buttons with Presence */
.uk-button-primary {
    background-color: var(--primary) !important;
    color: #000 !important;
    font-weight: 800 !important;
    letter-spacing: 1px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.uk-button-primary:hover {
    background-color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.2);
}

/* Logo Fix - Prevents giant overflow */
.uk-logo img { 
    height: 65px !important; 
    width: auto !important;
    max-width: 250px !important;
    display: inline-block !important;
    object-fit: contain !important;
    transition: 0.3s ease; 
    filter: drop-shadow(0 0 10px rgba(21, 193, 74, 0.2));
}

.uk-navbar-center {
    max-width: 300px; /* Constraints the logo center area */
}

/* Tech Matrix Beautification */
.ronan-tech-box {
    background: rgba(255,255,255,0.01);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 40px;
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.ronan-tech-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: 0.5s;
}

.ronan-tech-box:hover {
    background: rgba(21, 193, 74, 0.04);
    border-color: rgba(21, 193, 74, 0.3);
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 20px rgba(21, 193, 74, 0.1);
}

.ronan-tech-box:hover::before {
    opacity: 1;
}

.tech-icon-wrapper {
    margin-bottom: 30px;
    filter: drop-shadow(0 0 10px rgba(21, 193, 74, 0.3));
    transition: 0.4s;
}

.ronan-tech-box:hover .tech-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(21, 193, 74, 0.6));
}

.uk-accordion-title {
    color: #fff !important;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.25rem;
    padding: 20px 0;
    transition: 0.3s;
}
.uk-accordion-title:hover { color: var(--primary) !important; }
.uk-accordion-content { color: #ccc; font-size: 1.2rem; padding-bottom: 20px; }

/* Section Header Decoration */
.ronan-section-title {
    font-weight: 900;
    font-size: 3.5rem;
    letter-spacing: -2px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .ronan-section-title { font-size: 2.2rem; }
}
