/**
 * 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;
}

/* ========== Brand Color Palette (TeraaTech-inspired; overridden by admin theme) ========== */
:root {
    --lunix-navy: #003366;
    --lunix-navy-mid: #004080;
    --lunix-navy-light: #0056b3;
    --lunix-shape: #1a4a7a;
    --lunix-coral: #f26522;
    --lunix-coral-soft: #ff8533;
    --lunix-teal: #004080;
    --lunix-teal-soft: #0056b3;
    --lunix-peach: rgba(242, 101, 34, 0.16);
    --lunix-grad-cta: linear-gradient(135deg, rgba(0, 64, 128, 0.12) 0%, rgba(242, 101, 34, 0.2) 40%, #f26522 100%);
}

/* Override base with brand palette */
:root {
    --bg-dark: var(--lunix-navy);
    --bg-offwhite: #f8fafc;
    --bg-card: #ffffff;
    --border-glass: #e2e8f0;
    --text-primary: #1a2332;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --accent: var(--lunix-teal);
    --accent-hover: #003366;
    --accent-glow: rgba(0, 64, 128, 0.2);
    --accent-green: var(--lunix-coral);
    --accent-green-hover: #d4551a;
    --btn-accent: var(--lunix-coral);
    --btn-accent-hover: #d4551a;
    --btn-glow: rgba(242, 101, 34, 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(242, 101, 34, 0.22);
    top: 10%;
    right: 15%;
    width: 180px;
    height: 180px;
}
.hero .float-orb--2 {
    background: rgba(0, 64, 128, 0.25);
    bottom: 30%;
    left: 5%;
    width: 220px;
    height: 220px;
}
.hero .float-orb--3 {
    background: rgba(242, 101, 34, 0.14);
    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(242, 101, 34, 0.1), transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0, 86, 179, 0.12), transparent 40%),
        radial-gradient(ellipse 40% 30% at 20% 80%, rgba(242, 101, 34, 0.06), 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, orange accents for visibility */
.hero .hero-greeting {
    color: var(--lunix-coral) !important;
}
.hero .hero-name {
    color: #ffffff !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.hero .hero-name-highlight {
    color: var(--lunix-coral) !important;
    -webkit-text-fill-color: var(--lunix-coral) !important;
    background: none !important;
}
.hero .hero-tagline-slide {
    color: rgba(255, 255, 255, 0.92);
}

/* Hero CTA – orange for clear visibility */
.hero .btn-primary,
.hero .btn-primary.btn-gradient {
    background: linear-gradient(135deg, var(--lunix-coral) 0%, var(--lunix-coral-soft) 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(242, 101, 34, 0.4) !important;
}
.hero .btn-primary:hover {
    box-shadow: 0 6px 28px rgba(242, 101, 34, 0.5) !important;
    transform: translateY(-3px) !important;
}

/* Hero social icons – coral background, white icons */
.hero .social-icon {
    background: rgba(242, 101, 34, 0.28) !important;
    border-color: rgba(242, 101, 34, 0.55) !important;
    color: #fff !important;
}
.hero .social-icon:hover {
    background: var(--lunix-coral) !important;
    border-color: var(--lunix-coral) !important;
}

/* Hero image arc – brand blue */
.hero-skills-arc {
    border-color: var(--lunix-teal-soft) !important;
}
.hero-image-wrap:hover .skill-badge {
    border-color: rgba(255, 255, 255, 0.35) !important;
}
.skill-badge {
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #fff !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: color-mix(in srgb, var(--lunix-navy) 95%, transparent) !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 .nav-brand-name,
.nav-header .nav-logo span:last-child {
    color: #fff;
}
.nav-header .nav-profile-photo {
    border-color: var(--lunix-coral);
}
.nav-header .btn-nav-cta {
    background: var(--lunix-coral) !important;
    color: #fff !important;
    border: none;
}
.nav-header .btn-nav-cta:hover {
    background: var(--lunix-coral-soft) !important;
}
.nav-header.scrolled .nav-menu a {
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile menu – white bar, orange toggle, light drawer */
@media (max-width: 768px) {
    .nav-header,
    .nav-header.scrolled {
        background: #ffffff !important;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
        box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06) !important;
    }
    .nav-header .nav-brand-name,
    .nav-header .nav-logo span:last-child {
        color: #004080 !important;
    }
    .nav-toggle {
        color: #f26522 !important;
    }
    .nav-toggle span {
        background: #f26522 !important;
    }
    .btn-nav-cta {
        display: none !important;
    }
    .nav-menu {
        background: #ffffff !important;
        backdrop-filter: none !important;
        border-left-color: rgba(15, 23, 42, 0.08) !important;
    }
    .nav-menu a {
        color: #1a2332 !important;
    }
    .nav-menu a:hover,
    .nav-menu a.active {
        color: #004080 !important;
    }
    .nav-menu .nav-icon {
        color: #f26522 !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-coral) 0%, var(--lunix-coral-soft) 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(242, 101, 34, 0.4) !important;
}
.work-together .btn-primary:hover {
    box-shadow: 0 6px 28px rgba(242, 101, 34, 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 {
    background: var(--lunix-coral) !important;
    border: none !important;
    border-radius: 6px !important;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transform: none !important;
}
.footer-profile-photo {
    border-color: var(--lunix-coral);
}
.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 – solid brand color for clear visibility ========== */
.gradient-text {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    color: var(--brand-primary, var(--lunix-teal)) !important;
    animation: none !important;
}

/* ========== Stats section – dark navy ========== */
.stats {
    background: var(--lunix-navy-mid) !important;
    color: #fff;
}
.stats .stat-number {
    color: var(--lunix-coral) !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 – solid white/orange for contrast on dark navy */
.skills .section-title,
.skills .skills-heading {
    -webkit-text-fill-color: unset !important;
    background: none !important;
    color: #ffffff !important;
}
.skills .skills-subtitle {
    color: var(--lunix-coral) !important;
}
.skills .skills-text {
    color: rgba(255, 255, 255, 0.9) !important;
}
.skill-card {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
}
.skill-card:hover {
    border-color: rgba(242, 101, 34, 0.55) !important;
    box-shadow: 0 24px 48px -16px rgba(242, 101, 34, 0.32) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-10px);
}
.skill-card-title {
    color: #fff !important;
}
.skill-card-desc {
    color: rgba(255, 255, 255, 0.8) !important;
}
.skill-card-icon {
    border-color: var(--lunix-coral) !important;
    color: var(--lunix-coral) !important;
    background: rgba(242, 101, 34, 0.12) !important;
}
.skill-card:hover .skill-card-icon {
    background: var(--lunix-coral) !important;
    color: #fff !important;
    box-shadow: 0 12px 28px -10px rgba(242, 101, 34, 0.55) !important;
}
.skill-progress-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.12) !important;
    border-radius: 3px;
    overflow: hidden;
    transition: background 0.35s ease;
}
.skill-card:hover .skill-progress-track {
    background: rgba(242, 101, 34, 0.22) !important;
}
.skill-progress-fill {
    background: linear-gradient(90deg, var(--lunix-coral), var(--lunix-teal-soft)) !important;
}
.skill-progress-value {
    color: var(--lunix-coral) !important;
}
.skill-progress-label {
    color: rgba(255, 255, 255, 0.65) !important;
}
.skills .skills-content {
    margin-bottom: 0.25rem;
}
.skills .btn-primary {
    background: linear-gradient(135deg, var(--lunix-coral) 0%, var(--lunix-coral-soft) 100%) !important;
}
.skills .skills-content .btn-primary {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease !important;
}
.skills .skills-content .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -10px rgba(242, 101, 34, 0.5);
}

/* ========== 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(-10px);
}
.card-glow:hover::after {
    background: radial-gradient(circle at 50% 50%, rgba(0, 191, 179, 0.12), transparent 70%) !important;
}

/* ========== Testimonials section – light, readable redesign ========== */
.testimonials,
.ts-section.testimonials {
    background: #f5f7fb !important;
}
.testimonials .section-title,
.ts-title {
    -webkit-text-fill-color: unset !important;
    background: none !important;
    color: var(--brand-primary, #004080) !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.testimonial-card,
.ts-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}
.testimonial-card:hover,
.ts-card:hover {
    border-color: rgba(242, 101, 34, 0.45) !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: color-mix(in srgb, var(--lunix-navy) 95%, transparent) !important;
    backdrop-filter: blur(16px);
}

/* ========== Contact page – professional layout ========== */
.page-contact .contact.section {
    background: transparent !important;
}
.page-contact .ct-hero-title {
    color: #ffffff !important;
}
.page-contact .ct-form-title {
    color: var(--brand-primary, #004080) !important;
}

/* ========== Booking page – light professional canvas ========== */
.page-booking .section {
    background: #f4f7fb !important;
}
.page-booking .skills-heading {
    -webkit-text-fill-color: unset !important;
    color: var(--brand-primary, #004080) !important;
    background: none !important;
}

/* Headings & icons – always visible */
.section-title,
.skills-heading,
.work-together-title,
.skill-card-title,
.project-card-title,
.project-showcase-title,
.booking-card-title,
.hero-name {
    visibility: visible !important;
    opacity: 1 !important;
}
.skill-card-icon,
.skill-card-icon svg,
.nav-menu .nav-icon,
.nav-menu .nav-icon svg,
.footer-scroll-top svg,
.footer-chat svg,
.social-icon svg {
    visibility: visible !important;
    opacity: 1 !important;
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr !important;
        text-align: center;
        justify-items: center;
        gap: 1.5rem !important;
    }
    .footer-brand {
        align-items: center !important;
        width: 100%;
    }
    .footer-actions {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100%;
        justify-content: center !important;
        justify-self: center !important;
        display: flex !important;
        align-items: center !important;
    }
    .footer-actions .social-icons {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto !important;
        gap: 0.65rem;
    }
    .footer .social-icons {
        justify-content: center !important;
    }
    .footer-actions .footer-chat {
        display: none !important;
    }
    .footer-scroll-top {
        justify-self: end;
    }
}
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr !important;
        justify-items: center;
    }
    .footer-actions {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        justify-content: center !important;
        justify-self: stretch !important;
    }
    .footer-actions .social-icons,
    .footer .social-icons {
        width: 100% !important;
        justify-content: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
@media (max-width: 640px) {
    .hero::before {
        width: 250px;
        height: 250px;
        top: -80px;
    }
    .hero::after {
        width: 180px;
        height: 180px;
    }
}
