﻿/*
Theme Name: Innoteck Custom
Theme URI: https://innoteck.vn
Author: Innoteck Team
Author URI: https://innoteck.vn
Description: Custom WordPress theme for Innoteck (High-Tech Corporate, Catalog Mode).
Version: 1.0.0
Text Domain: innoteck
*/

/* --- CSS Variables & Google Sans Flex --- */
:root {
  --color-navy: #0A2D6B;
  --color-cyan: #0099DD;
  --color-bg-light: #F8F9FA;
  --color-text-dark: #333333;
  --color-text-light: #666666;
  --shadow-subtle: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 10px 20px rgba(0, 153, 221, 0.15); /* High-tech glow */
  --transition-fast: 0.2s ease-in-out;
  --transition-smooth: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { box-sizing: border-box; }

body {
  font-family: 'Google Sans Flex', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-navy);
  font-weight: 700;
  margin-top: 0;
}

a {
  color: var(--color-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover, a:active {
  color: var(--color-navy);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Buttons (High-Tech Style) --- */
.button {
  display: inline-block;
  background-color: var(--color-cyan);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.button:hover {
  background-color: var(--color-navy);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 153, 221, 0.5); /* Glowing effect */
  transform: translateY(-2px); /* Subtle lift */
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 0 5px rgba(0, 153, 221, 0.5);
}

/* --- Header & Mega Menu --- */
.site-header {
  background-color: #ffffff;
  box-shadow: var(--shadow-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  color: var(--color-navy);
  font-weight: 600;
  padding: 10px 0;
  display: block;
}

.main-navigation a:hover {
  color: var(--color-cyan);
}

/* --- Hero Section --- */
.hero-section {
  background: linear-gradient(135deg, var(--color-navy) 0%, #061A40 100%);
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
}

.hero-title {
  color: #ffffff;
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* --- Product Cards (Equal Height & High-Tech Hover) --- */
.solutions-section {
  padding: 60px 0;
}

.solution-block {
  margin-bottom: 50px;
}

.solution-heading {
  font-size: 1.8rem;
  margin-bottom: 30px;
  border-left: 4px solid var(--color-cyan);
  padding-left: 15px;
}

.product-carousel .swiper-slide {
  height: auto; /* Required for flex stretch to work */
  display: flex;
}

.product-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
  width: 100%; /* Fill slide */
}

/* High-Tech Hover Effect */
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 153, 221, 0.3); /* Glowing border */
}

.product-image {
  flex: 0 0 auto;
  text-align: center;
  margin-bottom: 20px;
}

.product-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.product-info {
  flex: 1 1 auto; /* Pushes button to bottom */
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  flex-grow: 1; /* Pushes content down */
}

.product-info .button {
  width: 100%;
  text-align: center;
  margin-top: auto; /* Aligns button to bottom consistently */
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.5rem; }
  .main-navigation ul { gap: 15px; }
}

@media (max-width: 768px) {
  .site-header .container { flex-direction: column; height: auto; padding: 15px 20px; }
  .main-navigation ul { flex-direction: column; width: 100%; text-align: center; }
  .hero-title { font-size: 2rem; }
  .hero-section { padding: 60px 0; }
}


/* --- REFERENCE THEME STYLES --- */
/*
Theme Name: Innoteck Custom Theme
Theme URI: https://innoteck.vn
Author: Innoteck Team
Author URI: https://innoteck.vn
Description: Theme Custom Ä‘á»™c quyá»n cho há»‡ sinh thÃ¡i thÆ°Æ¡ng máº¡i Ä‘iá»‡n tá»­ B2B Innoteck. Giao diá»‡n High-tech, tá»‘i Æ°u UI/UX, tÆ°Æ¡ng pháº£n cao, chuáº©n SEO.
Version: 1.0.1
Text Domain: innoteck
*/

/* ========================================================== */
/* 1. Há»† THá»NG BIáº¾N TOÃ€N Cá»¤C (GLOBAL VARIABLES)               */
/* ========================================================== */
:root {
    /* Brand Colors (MÃ u nháº­n diá»‡n thÆ°Æ¡ng hiá»‡u tá»« Logo) */
    --brand-navy: #001C66;
    --brand-blue: #0070C0;
    --brand-cyan: #00B4FF;

    /* UI Colors (MÃ u giao diá»‡n sÃ¡ng sá»§a chuáº©n B2B V9) */
    --ui-base: #F4F7FB;       /* MÃ u ná»n website: XÃ¡m xanh nháº¡t, Ä‘á»¡ má»i máº¯t */
    --ui-surface: #FFFFFF;    /* MÃ u ná»n cÃ¡c tháº» Card */
    --ui-dark: #001C66;       /* MÃ u ná»n cÃ¡c vÃ¹ng tá»‘i (Hero, Footer) */
    
    /* Text Colors */
    --ui-text: #0F172A;       /* Slate-900: Chá»¯ Ä‘en xÃ¡m Ä‘áº­m chuáº©n B2B */
    --ui-muted: #475569;      /* Slate-600: Chá»¯ phá»¥, mÃ´ táº£ */
    
    /* Borders */
    --ui-border: #E2E8F0;     /* Border xÃ¡m nháº¡t */
    
    /* Grid pattern cho ná»n sÃ¡ng */
    --grid-color-light: rgba(0, 112, 192, 0.05);

    /* Typography (Google Sans) */
    --font-main: "Google Sans", sans-serif;
    
    /* Shadows */
    --shadow-soft: 0 4px 20px -2px rgba(0, 28, 102, 0.05);
    --shadow-hover: 0 10px 40px -10px rgba(0, 112, 192, 0.15);
}

/* ========================================================== */
/* 2. GLOBAL RESET & TYPOGRAPHY                               */
/* ========================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--ui-base);
    color: var(--ui-text);
    line-height: 1.6; /* Chuáº©n Ä‘á»ƒ khÃ´ng bá»‹ láº¹m dáº¥u Tiáº¿ng Viá»‡t */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Heading Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    color: var(--brand-navy); 
    line-height: 1.4 !important;
    letter-spacing: -0.01em;
    margin-top: 0;
    margin-bottom: 0.5em;
    font-weight: 700;
    padding-bottom: 0.1em;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--ui-muted);
}

a {
    color: var(--brand-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--brand-cyan);
}

/* ========================================================== */
/* 3. Ná»€N LÆ¯á»šI CÃ”NG NGHá»† (TECH GRID)                          */
/* ========================================================== */
.tech-grid-bg {
    position: fixed; 
    inset: 0; 
    z-index: -2;
    background-image: linear-gradient(to right, var(--grid-color-light) 1px, transparent 1px), 
                      linear-gradient(to bottom, var(--grid-color-light) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ========================================================== */
/* 4. CUSTOM CURSOR HIGH-TECH (TÆ¯Æ NG PHáº¢N CAO, ZERO-LAG)      */
/* ========================================================== */
@media (pointer: fine) {
    body { cursor: none; }
    a, button, input, textarea, select, .cursor-interactive { cursor: none !important; }
    
    /* Dáº¥u cháº¥m trung tÃ¢m */
    #cursor-dot {
        position: fixed; top: 0; left: 0; width: 12px; height: 12px; 
        background: var(--brand-blue); border: 2px solid white;
        border-radius: 50%; pointer-events: none; z-index: 999999;
        transform: translate(-50%, -50%); 
        box-shadow: 0 0 4px rgba(0,0,0,0.5);
        transition: width 0.2s, height 0.2s; /* KhÃ´ng transition transform Ä‘á»ƒ trÃ¡nh lag */
    }
    
    /* VÃ²ng Radar bao quanh */
    #cursor-ring {
        position: fixed; top: 0; left: 0; width: 44px; height: 44px; 
        border: 2px solid var(--brand-cyan);
        border-radius: 50%; pointer-events: none; z-index: 999998;
        transform: translate(-50%, -50%); 
        box-shadow: 0 0 10px rgba(0, 180, 255, 0.4);
        transition: width 0.2s, height 0.2s, background 0.2s;
    }
    
    /* Hiá»‡u á»©ng khi hover/click */
    body.cursor-hover #cursor-ring { 
        width: 60px; height: 60px; 
        background: rgba(0, 112, 192, 0.1); 
        border-color: var(--brand-blue); 
    }
    body.cursor-hover #cursor-dot { 
        transform: translate(-50%, -50%) scale(0.5); 
    }
    body.cursor-click #cursor-ring { 
        width: 30px; height: 30px; 
        background: rgba(0, 180, 255, 0.3); 
        border-width: 4px; 
    }
}

/* ========================================================== */
/* 5. GLOBAL UI COMPONENTS (BUTTONS & CARDS)                  */
/* ========================================================== */

/* NÃºt báº¥m chÃ­nh (Primary) */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-blue), #005a9e); 
    color: white !important;
    border: none; 
    transition: all 0.3s ease; 
    position: relative; 
    overflow: hidden;
}
.btn-primary:hover { 
    box-shadow: 0 4px 15px rgba(0, 112, 192, 0.4); 
    transform: translateY(-1px); 
}

/* NÃºt viá»n (Outline Dark) */
.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent; 
    color: var(--brand-navy); 
    border: 1.5px solid var(--brand-navy); 
    transition: all 0.3s ease;
}
.btn-outline-dark:hover { 
    background: var(--brand-navy); 
    color: #ffffff !important; 
}

/* Tháº» Card sÃ¡ng sá»§a */
.card-light {
    background: var(--ui-surface);
    border: 1px solid var(--ui-border);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}
.card-light:hover {
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

/* ========================================================== */
/* 6. MODULE: VERTICAL MENU (SIDEBAR)                         */
/* ========================================================== */
.vertical-menu-item {
    position: relative; 
    transition: all 0.2s ease;
}
.vertical-menu-item:hover {
    background-color: var(--ui-base);
}
.vertical-menu-item:hover > a {
    color: var(--brand-blue);
}

/* Báº£ng menu con trÆ°á»£t ngang ra tá»« Sidebar */
.vertical-sub-menu {
    position: absolute; 
    top: 0; 
    left: 100%; 
    min-width: 600px; 
    min-height: 100%;
    background: white; 
    border: 1px solid var(--ui-border);
    box-shadow: 10px 10px 30px rgba(0,0,0,0.1); 
    border-radius: 0 12px 12px 0;
    opacity: 0; 
    visibility: hidden; 
    transform: translateX(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    z-index: 50;
}
.vertical-menu-item:hover .vertical-sub-menu {
    opacity: 1; 
    visibility: visible; 
    transform: translateX(0);
}

/* ========================================================== */
/* 7. MODULE: SECTOR CARDS (HIGH CONTRAST & UNIQUE FX)        */
/* ========================================================== */
.sector-card { 
    height: 360px; 
    position: relative; 
    overflow: hidden; 
    background: white; 
    border: 1px solid var(--ui-border); 
    border-radius: 16px; 
    transition: all 0.3s ease;
}
.sector-card:hover { 
    border-color: transparent; 
}

/* Tráº¡ng thÃ¡i chÆ°a hover */
.sector-default { 
    position: absolute; 
    inset: 0; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    padding: 24px; 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    z-index: 10; 
}
.sector-card:hover .sector-default { 
    opacity: 0; 
    transform: scale(0.9); 
}

/* Lá»›p Overlay phá»§ ná»n Navy Ä‘áº·c khi Hover (Äáº£m báº£o Contrast 100%) */
.sector-overlay { 
    position: absolute; 
    inset: 0; 
    padding: 30px 24px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    background: var(--ui-dark); 
    color: white;
    z-index: 20; 
    opacity: 0; 
    pointer-events: none; 
    transition: all 0.4s ease-out; 
}
.sector-card:hover .sector-overlay { 
    opacity: 1; 
    pointer-events: auto; 
}

/* Ná»™i dung bÃªn trong Overlay */
.overlay-content { 
    opacity: 0; 
    transform: translateY(15px); 
    transition: all 0.4s ease 0.1s; 
}
.sector-card:hover .overlay-content { 
    opacity: 1; 
    transform: translateY(0); 
}

/* -- Hiá»‡u á»©ng tá»«ng ngÃ nh hÃ ng (Unique FX) -- */

/* POS: Laser Scan tá»« trÃªn xuá»‘ng */
.pos-overlay { 
    clip-path: inset(0 0 100% 0); 
    border-bottom: 3px solid var(--brand-cyan); 
}
.sector-card:hover .pos-overlay { 
    clip-path: inset(0 0 0 0); 
}

/* AV: Má»Ÿ rá»™ng mÃ n hÃ¬nh TV */
.av-overlay { 
    transform: scaleY(0); 
    transform-origin: center; 
    border-top: 2px solid #a855f7; 
    border-bottom: 2px solid #a855f7; 
}
.sector-card:hover .av-overlay { 
    transform: scaleY(1); 
}

/* EDU: Touch Ripple trÃ²n */
.edu-overlay { 
    clip-path: circle(0% at 50% 50%); 
    background: var(--brand-navy); 
}
.sector-card:hover .edu-overlay { 
    clip-path: circle(150% at 50% 50%); 
}

/* IT: TrÆ°á»£t cÃ¡nh cá»­a tá»§ Server */
.it-overlay { 
    transform: translateX(-100%); 
    border-right: 3px solid var(--brand-blue); 
}
.sector-card:hover .it-overlay { 
    transform: translateX(0); 
}

/* EXPORT: Radar Zoom in */
.export-overlay { 
    transform: scale(1.3) rotate(5deg); 
    opacity: 0 !important; 
}
.sector-card:hover .export-overlay { 
    transform: scale(1) rotate(0deg); 
    opacity: 1 !important; 
}

/* ========================================================== */
/* 8. UTILITIES (CAROUSEL, SCROLL REVEAL, SPECS GRID)         */
/* ========================================================== */

/* áº¨n thanh cuá»™n cá»§a Product Carousel */
.hide-scroll::-webkit-scrollbar { display: none; }
.hide-scroll { -ms-overflow-style: none; scrollbar-width: none; }

/* Báº¯t Ä‘iá»ƒm cuá»™n mÆ°á»£t mÃ  (Snap scrolling) */
.snap-container { 
    scroll-snap-type: x mandatory; 
    scroll-behavior: auto; 
}
.snap-item { 
    scroll-snap-align: start; 
}

/* LÆ°á»›i thÃ´ng sá»‘ (Specs Grid) - CÄƒn chá»‰nh hoÃ n háº£o khÃ´ng Ä‘Ã¨ chá»¯ */
.specs-grid { 
    display: grid; 
    grid-template-columns: 1fr auto; 
    gap: 8px; 
    align-items: end; 
    border-bottom: 1px solid var(--ui-border); 
    padding-bottom: 6px; 
    margin-bottom: 6px;
}
.specs-grid:last-child { 
    border-bottom: none; 
    margin-bottom: 0;
}
.specs-label {
    color: var(--ui-muted); 
    font-size: 0.75rem; 
    line-height: 1.4;
}
.specs-value {
    color: var(--brand-navy); 
    font-family: monospace; 
    font-size: 0.75rem; 
    white-space: nowrap; 
    text-align: right;
    font-weight: 700;
}

/* Giá»›i háº¡n Ä‘á»™ rá»™ng tá»‘i Ä‘a cá»§a toÃ n bá»™ website vá» 1280px */


/* Global Sitewide Layout Rules */
.container {
    width: 95% !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
@media (min-width: 768px) {
    .container {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}
@media (max-width: 767px) {
    .container {
        width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}
