/*
 Theme Name:   Inspiro Child
 Description:  FamiTec Child Theme - Modern, Clean, Bright (Iteration 5 - Deep Atmosphere)
 Author:       FamiTec / Xiaotuzhi
 Template:     inspiro
 Version:      1.0.4
*/

/* ---------------------------------------------------------
   GLOBAL RESETS & VARS
--------------------------------------------------------- */
:root {
    --ft-primary: #004e92;
    --ft-accent: #00d2ff;
    --ft-text: #333;
    --ft-bg: #f4f7f6;
    --ft-radius: 8px;
}

body {
    font-family: "Noto Sans JP", sans-serif !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Fix the Top White Line - Reset WP margins */
html, body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Hide WP Admin Bar for cleaner view (optional, but good for dev preview) */
#wpadminbar { display: none !important; }
html { margin-top: 0 !important; }

/* ---------------------------------------------------------
   HEADER - FIXED & TRANSPARENT
--------------------------------------------------------- */
.top-bar, .site-top-bar { display: none !important; }

.site-header {
    background: transparent !important;
    box-shadow: none !important;
    position: fixed !important; /* Fixed to viewport */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 20px 40px;
    border: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    padding: 0;
    margin: 0;
}

.site-title a {
    color: #fff !important;
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* MENU FIX */
.main-navigation {
    display: block !important;
}

.navbar-nav {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
    position: relative;
}

.nav-item a:hover {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.8);
}

/* Hide toggle on desktop */
.navbar-toggler { display: none; }

/* ---------------------------------------------------------
   HERO - ATMOSPHERIC AURORA (CSS ONLY)
--------------------------------------------------------- */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #000428; /* Deep base */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}

/* Aurora Layers */
.hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Layer 1: Deep Blue Gradient Base */
.hero-bg-1 {
    background: radial-gradient(circle at 50% 120%, #004e92, #000428 60%);
}

/* Layer 2: Moving Aurora Blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: #00d2ff; /* Cyan */
    animation-delay: 0s;
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: #0056b3; /* Deep Blue */
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: rgba(0, 210, 255, 0.2);
    animation-delay: -10s;
}

/* Layer 3: Grid Overlay (Subtle) */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Hero Content */
.hero-content-wrapper {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin-bottom: 30px !important;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    letter-spacing: 0.05em;
}

.hero-section p {
    font-size: 1.25rem !important;
    font-weight: 300 !important;
    color: rgba(255,255,255,0.9) !important;
    max-width: 700px;
    margin: 0 auto 40px auto !important;
}

/* ---------------------------------------------------------
   CONTENT SECTIONS
--------------------------------------------------------- */
.wp-block-group:not(.hero-section) {
    position: relative;
    z-index: 2; /* Sit above fixed hero if needed */
    background: #fff; /* Ensure bg covers hero when scrolling */
}

/* Smooth Scrolling for Anchors */
html {
    scroll-behavior: smooth;
}

/* Offset for fixed header when jumping to anchors */
#solutions, #company {
    scroll-margin-top: 80px;
}

/* Service Cards & Table (Keeping previous good styles) */
.service-card {
    background: #fff;
    border-radius: var(--ft-radius);
    padding: 40px 30px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: rgba(0, 210, 255, 0.3);
}
.service-card h3 { color: var(--ft-primary); margin-bottom: 20px; }
.tech-tag {
    background: #eef7ff; color: var(--ft-primary);
    padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600;
    display: inline-block; margin-right: 5px; margin-top: 5px;
}
.company-table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    background: #fff; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border-radius: 8px; overflow: hidden;
}
.company-table td { padding: 18px 25px; border-bottom: 1px solid #eee; }
.company-table td:first-child { font-weight: 700; color: var(--ft-primary); width: 30%; background: #fafbfc; }

/* Button */
.wp-block-button__link {
    background: var(--ft-accent) !important;
    color: #fff !important;
    font-weight: 700;
    padding: 15px 45px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(0,210,255,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,210,255,0.6);
}
