/**
 * Lunix.com.ng Inspired Theme
 * Dark navy + coral + teal palette, geometric shapes, modern animations
 * Keeps your content – transforms look and feel
 */

/* ========== Ensure all headings and text stay visible ========== */
.section-title,
.skills-heading,
.work-together-title,
.skill-card-title,
.project-card-title {
    visibility: visible !important;
    opacity: 1 !important;
}
.about-text p,
.work-together-text,
.skills-text,
.skill-card-desc,
.project-card-desc,
.testimonial-text {
    visibility: visible !important;
    opacity: 1 !important;
}

/* ========== Lunix Color Palette ========== */
:root {
    --lunix-navy: #1A1E31;
    --lunix-navy-mid: #212638;
    --lunix-navy-light: #2A3045;
    --lunix-shape: #373E5B;
    --lunix-coral: #FF6B4A;
    --lunix-coral-soft: #FF8A6B;
    --lunix-teal: #00BFB3;
    --lunix-teal-soft: #00D9CC;
    --lunix-peach: #FFE5D9;
    --lunix-grad-cta: linear-gradient(135deg, #FFE5D9 0%, #FFB5A0 40%, #FF6B4A 100%);
}

/* Override base with Lunix palette */
:root {
    --bg-dark: var(--lunix-navy);
    --bg-offwhite: #f8fafc;
    --bg-card: #ffffff;
    --border-glass: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --accent: var(--lunix-coral);
    --accent-hover: #e85a3a;
    --accent-glow: rgba(255, 107, 74, 0.2);
    --accent-green: var(--lunix-teal);
    --accent-green-hover: #00a39a;
    --btn-accent: var(--lunix-teal);
    --btn-accent-hover: #00a39a;
    --btn-glow: rgba(0, 191, 179, 0.3);
}

/* ========== Dark Hero with Geometric Shapes ========== */
.hero {
    background: var(--lunix-navy) !important;
    color: #fff;
}
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.4;
}
.hero::before {
    width: 400px;
    height: 400px;
    background: var(--lunix-shape);
    top: -120px;
    right: -100px;
    animation: lunixBlob 20s ease-in-out infinite;
}
.hero::after {
    width: 280px;
    height: 280px;
    background: var(--lunix-shape);
    bottom: -60px;
    left: -80px;
    animation: lunixBlob 18s ease-in-out infinite reverse;
}
.hero .float-orb--1 {
    background: rgba(255, 107, 74, 0.2);
    top: 10%;
    right: 15%;
    width: 180px;
    height: 180px;
}
.hero .float-orb--2 {
    background: rgba(0, 191, 179, 0.15);
    bottom: 30%;
    left: 5%;
    width: 220px;
    height: 220px;
}
.hero .float-orb--3 {
    background: rgba(255, 107, 74, 0.12);
    top: 50%;
    right: 25%;
    width: 120px;
    height: 120px;
}
@keyframes lunixBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -25px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.98); }
}
.hero-bg {
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 107, 74, 0.08), transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0, 191, 179, 0.06), transparent 40%),
        radial-gradient(ellipse 40% 30% at 20% 80%, rgba(255, 107, 74, 0.05), transparent 40%) !important;
}
.hero-gradient,
.hero.gradient-mesh {
    background: var(--lunix-navy) !important;
    background-image: none !important;
}
.particle {
    background: rgba(255, 107, 74, 0.35) !important;
}
.particle:nth-child(3),
.particle:nth-child(7) {
    background: rgba(0, 191, 179, 0.3) !important;
}

/* Hero text – white on dark */
.hero .hero-greeting {
    color: var(--lunix-teal);
}
.hero .hero-name-highlight {
    color: #fff;
}
.hero .hero-tagline-slide {
    color: rgba(255, 255, 255, 0.9);
}

/* Hero CTA – teal button (Lunix "GET IN TOUCH" style) */
.hero .btn-primary,
.hero .btn-primary.btn-gradient {
    background: linear-gradient(135deg, var(--lunix-teal) 0%, var(--lunix-teal-soft) 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(0, 191, 179, 0.4) !important;
}
.hero .btn-primary:hover {
    box-shadow: 0 6px 28px rgba(0, 191, 179, 0.5) !important;
    transform: translateY(-3px) !important;
}

/* Hero social icons – coral background, white icons */
.hero .social-icon {
    background: rgba(255, 107, 74, 0.25) !important;
    border-color: rgba(255, 107, 74, 0.5) !important;
    color: #fff !important;
}
.hero .social-icon:hover {
    background: var(--lunix-coral) !important;
    border-color: var(--lunix-coral) !important;
}

/* Hero image arc – teal */
.hero-skills-arc {
    border-color: var(--lunix-teal) !important;
}
.hero-image-wrap:hover .skill-badge {
    background: var(--lunix-teal) !important;
    box-shadow: 0 6px 24px rgba(0, 191, 179, 0.45) !important;
}
.skill-badge {
    background: var(--lunix-navy-light) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Scroll indicator */
.hero-scroll {
    color: rgba(255, 255, 255, 0.6);
}
.scroll-line {
    background: linear-gradient(to bottom, var(--lunix-teal), transparent) !important;
}

/* ========== Nav – transparent on hero, dark glass on scroll ========== */
.nav-header {
    background: transparent;
}
.nav-header.scrolled {
    background: rgba(26, 30, 49, 0.95) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.nav-header .nav-menu a {
    color: rgba(255, 255, 255, 0.9);
}
.nav-header .nav-logo span:last-child {
    color: #fff;
}
.nav-header .btn-nav-cta {
    background: var(--lunix-teal) !important;
    color: #fff !important;
    border: none;
}
.nav-header .btn-nav-cta:hover {
    background: var(--lunix-teal-soft) !important;
}
.nav-header.scrolled .nav-menu a {
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile menu – dark panel with light text (fix white-on-white) */
@media (max-width: 768px) {
    .nav-menu {
        background: rgba(26, 30, 49, 0.98) !important;
        backdrop-filter: blur(16px);
        border-left-color: rgba(255, 255, 255, 0.08) !important;
    }
    .nav-menu a {
        color: rgba(255, 255, 255, 0.95) !important;
    }
    .nav-menu a:hover,
    .nav-menu a.active {
        color: #fff !important;
    }
}

/* ========== Section gradients – Lunix style ========== */
.section-gradient {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #ffffff 100%) !important;
}
.section-gradient-alt {
    background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 30%, #f8fafc 100%) !important;
}
.gradient-mesh {
    background-color: #f8fafc !important;
    background-image: 
        radial-gradient(at 40% 20%, rgba(0, 191, 179, 0.06) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(255, 107, 74, 0.05) 0px, transparent 50%) !important;
}

/* ========== Peach-to-Coral CTA Section (Discuss Your Project style) ========== */
.work-together {
    background: var(--lunix-grad-cta) !important;
    padding: 4rem 1.5rem !important;
}
.work-together-card {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 60px -20px rgba(255, 107, 74, 0.3) !important;
}
.work-together-title {
    color: var(--lunix-navy) !important;
}
.work-together-text {
    color: var(--text-secondary) !important;
}
.work-together .btn-primary {
    background: linear-gradient(135deg, var(--lunix-teal) 0%, var(--lunix-teal-soft) 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(0, 191, 179, 0.4) !important;
}
.work-together .btn-primary:hover {
    box-shadow: 0 6px 28px rgba(0, 191, 179, 0.5) !important;
}

/* ========== Footer – Dark Navy + Coral Headings (Lunix style) ========== */
.footer {
    background: var(--lunix-navy) !important;
    padding: 3rem 1.5rem 2rem !important;
}
.footer-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 3rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}
.footer-logo-icon {
    border-color: var(--lunix-teal) !important;
    border-top-color: transparent !important;
    border-right-color: transparent !important;
}
.footer-copyright {
    color: rgba(255, 255, 255, 0.6) !important;
}
.footer-contact {
    color: rgba(255, 255, 255, 0.85);
}
.footer-contact-link {
    color: rgba(255, 255, 255, 0.9) !important;
}
.footer-contact-link:hover {
    color: var(--lunix-coral) !important;
}

/* Footer social – coral square buttons (Lunix style) */
.footer .social-icon {
    background: var(--lunix-coral) !important;
    border-color: var(--lunix-coral) !important;
    color: #fff !important;
}
.footer .social-icon:hover {
    background: var(--lunix-coral-soft) !important;
    transform: translateY(-4px) scale(1.08) !important;
}
.footer .social-icon--whatsapp {
    background: #25D366 !important;
    border-color: #25D366 !important;
}
.footer .social-icon--whatsapp:hover {
    background: #2EE672 !important;
}

/* Footer scroll & contact buttons */
.footer-scroll-top {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
}
.footer-scroll-top:hover {
    background: rgba(255, 255, 255, 0.25) !important;
}
.footer-chat {
    background: var(--lunix-coral) !important;
    color: #fff !important;
}

/* ========== Outline button – teal border ========== */
.btn-outline {
    border-color: var(--lunix-teal) !important;
    color: var(--lunix-teal) !important;
}
.btn-outline:hover {
    background: rgba(0, 191, 179, 0.1) !important;
    color: var(--lunix-teal-soft) !important;
}

/* ========== Primary Buttons – Teal accent ========== */
.btn-primary,
.btn-primary.btn-gradient {
    background: linear-gradient(135deg, var(--lunix-teal) 0%, var(--lunix-teal-soft) 100%) !important;
    box-shadow: 0 4px 16px rgba(0, 191, 179, 0.35) !important;
}
.btn-primary:hover {
    box-shadow: 0 6px 24px rgba(0, 191, 179, 0.45) !important;
}

/* ========== Gradient text – coral/teal (keep text visible) ========== */
.gradient-text {
    background: linear-gradient(90deg, var(--lunix-coral), var(--lunix-teal), var(--lunix-coral)) !important;
    background-size: 200% auto;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* ========== Stats section – dark navy ========== */
.stats {
    background: var(--lunix-navy-mid) !important;
    color: #fff;
}
.stats .stat-number {
    color: var(--lunix-teal) !important;
}
.stats .stat-label {
    color: rgba(255, 255, 255, 0.8) !important;
}
.stats .stat-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.stats .stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
}
.stats .btn-view-all {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}
.stats .btn-view-all:hover {
    border-color: var(--lunix-teal);
    background: rgba(0, 191, 179, 0.15);
}

/* ========== Skills section – dark navy ========== */
.skills {
    background: var(--lunix-navy-mid) !important;
}
/* Skills headings – gradient-text stays visible; ensure no color override */
.skills .section-title,
.skills .skills-heading {
    -webkit-text-fill-color: transparent !important;
}
.skills .skills-subtitle {
    color: var(--lunix-teal) !important;
}
.skills .skills-text {
    color: rgba(255, 255, 255, 0.85) !important;
}
.skill-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}
.skill-card:hover {
    border-color: rgba(0, 191, 179, 0.4) !important;
    box-shadow: 0 20px 40px -12px rgba(0, 191, 179, 0.2) !important;
}
.skill-card-title {
    color: #fff !important;
}
.skill-card-desc {
    color: rgba(255, 255, 255, 0.75) !important;
}
.skill-card-icon {
    border-color: var(--lunix-teal) !important;
    color: var(--lunix-teal) !important;
}
.skill-card:hover .skill-card-icon {
    background: var(--lunix-teal) !important;
    color: #fff !important;
}
.skill-progress-fill {
    background: linear-gradient(90deg, var(--lunix-coral), var(--lunix-teal)) !important;
}
.skill-progress-value {
    color: var(--lunix-teal) !important;
}
.skills .btn-primary {
    background: linear-gradient(135deg, var(--lunix-teal) 0%, var(--lunix-teal-soft) 100%) !important;
}

/* ========== Loader – Lunix colors ========== */
.loader {
    background: var(--lunix-navy) !important;
}
.loader-dot {
    background: linear-gradient(135deg, var(--lunix-coral), var(--lunix-teal)) !important;
    box-shadow: 0 4px 12px rgba(0, 191, 179, 0.5) !important;
}

/* ========== WhatsApp FAB – keep green, enhance shadow ========== */
.whatsapp-fab {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5) !important;
}
.whatsapp-fab:hover {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6) !important;
}

/* ========== Hover lift on cards ========== */
.project-card:hover,
.skill-card:hover,
.stat-item:hover {
    transform: translateY(-8px);
}
.card-glow:hover::after {
    background: radial-gradient(circle at 50% 50%, rgba(0, 191, 179, 0.12), transparent 70%) !important;
}

/* ========== Testimonials section – dark accent ========== */
.testimonials {
    background: var(--lunix-navy-mid) !important;
}
.testimonials .section-title {
    -webkit-text-fill-color: transparent !important;
}
.testimonial-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.testimonial-card:hover {
    border-color: rgba(0, 191, 179, 0.3) !important;
}

/* ========== Pages without hero – dark nav from start ========== */
.page-contact .nav-header,
.page-portfolio .nav-header,
.page-booking .nav-header,
.page-project .nav-header {
    background: rgba(26, 30, 49, 0.95) !important;
    backdrop-filter: blur(16px);
}

/* ========== Contact page – Lunix gradient (Discuss Your Project style) ========== */
.page-contact .contact.section {
    background: var(--lunix-grad-cta) !important;
}
.page-contact .skills-heading,
.page-contact .skills-subtitle,
.page-contact .skills-text {
    color: var(--lunix-navy) !important;
}
.page-contact .skills-heading.gradient-text {
    -webkit-text-fill-color: var(--lunix-navy) !important;
    background: none !important;
    background-clip: unset !important;
}
.page-contact .contact-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 20px 60px -20px rgba(255, 107, 74, 0.25);
}

/* ========== Booking page – Lunix accents ========== */
.page-booking .section {
    background: linear-gradient(180deg, var(--lunix-navy) 0%, var(--lunix-navy-mid) 100%) !important;
}
.page-booking .skills-heading {
    -webkit-text-fill-color: transparent !important;
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand {
        align-items: center;
    }
}
@media (max-width: 640px) {
    .hero::before {
        width: 250px;
        height: 250px;
        top: -80px;
    }
    .hero::after {
        width: 180px;
        height: 180px;
    }
}
