﻿/* ==========================================
   iViDLab Premium Design System — Luxury Aesthetic
   Inspired by noithat42.mauthemewp.com
   ========================================== */

/* ===== IMPORT GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

/* ===== RESET & ROOT VARIABLES ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand Colors */
  --primary: #c89d55;       /* Premium Gold/Bronze */
  --primary-hover: #b2853e; /* Darker Gold */
  --accent-red: #c02626;    /* Hotline Red */
  --accent-blue: #1877f2;   /* Zalo/FB Blue */
  
  /* Neutral Palette - Light Mode base with Dark Luxury accents */
  --bg-dark: #111111;       /* Deep Charcoal Black */
  --bg-dark-gray: #1a1a1a;  /* Dark Gray Card/Section Panels */
  --bg-light: #ffffff;      /* Clean White Pages */
  --bg-light-gray: #f7f7f7; /* Soft Gray Separators */
  
  --text-dark: #222222;     /* High Contrast Text */
  --text-gray: #555555;     /* Descriptive paragraphs */
  --text-muted: #888888;    /* Small meta descriptors */
  --text-light: #ffffff;    /* Light text on dark sections */
  --text-light-muted: #cccccc;
  
  /* Borders & Shadows */
  --border-light: rgba(0, 0, 0, 0.08);
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(200, 157, 85, 0.3);
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --shadow-dark: 0 30px 60px rgba(0, 0, 0, 0.4);
  
  /* Backwards Compatibility Mappings for Article subpages */
  --bg-primary: var(--bg-light-gray);
  --bg-secondary: var(--bg-light);
  --border: var(--border-light);
  --shadow: var(--shadow-sm);
  --text-primary: var(--text-dark);
  --text-secondary: var(--text-gray);
  --accent-cyan: var(--primary);
  --accent-blue: var(--primary);
  --accent-green: var(--primary);
  --accent-orange: var(--primary);
  
  /* Typography */
  --font-serif: 'Space Grotesk', 'Inter', 'Montserrat', sans-serif;
  --font-sans: 'Montserrat', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Borders and Transitions */
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-light);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

/* ===== UTILITIES & CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.gradient-text {
  color: var(--primary);
  background-image: linear-gradient(135deg, var(--primary) 0%, #ecd79b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== TOP BAR ===== */
.top-bar {
  background-color: #0b0b0b;
  color: var(--text-light-muted);
  font-size: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-dark);
  z-index: 101;
  position: relative;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-contact {
  display: flex;
  gap: 1.5rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-item svg {
  color: var(--primary);
}

.top-bar-socials {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.social-circle-link {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.75rem;
  transition: var(--transition);
}

.social-circle-link:hover {
  border-color: var(--primary);
  background-color: var(--primary);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

.social-circle-link svg {
  width: 12px;
  height: 12px;
}

/* ===== MAIN HEADER / NAVIGATION ===== */
.main-header {
  position: absolute;
  top: 38px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 1.5rem;
  transition: var(--transition);
}

.main-header.sticky {
  position: fixed;
  top: 0;
  background-color: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  padding: 0;
}

.main-header.sticky .header-container {
  height: 80px;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  transition: var(--transition);
  padding: 0 1.5rem;
}

.header-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
}

.header-logo span:last-child {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: -2px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-menu-link {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-menu-link:hover {
  color: var(--primary);
}

.nav-menu-link:hover::after,
.nav-item.active .nav-menu-link::after {
  width: 100%;
}

.nav-item.active .nav-menu-link {
  color: var(--primary);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background-color: var(--bg-dark-gray);
  border-top: 2px solid var(--primary);
  list-style: none;
  min-width: 220px;
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition);
  box-shadow: var(--shadow-dark);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item a {
  display: block;
  padding: 0.6rem 1.5rem;
  color: var(--text-light-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.dropdown-item a:hover {
  color: var(--primary);
  background-color: rgba(255, 255, 255, 0.02);
  padding-left: 1.8rem;
}

/* Header Utilities */
.header-utils {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.search-toggle-btn {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.15rem;
  cursor: pointer;
  transition: var(--transition);
}

.search-toggle-btn:hover {
  color: var(--primary);
}

.header-lang-switcher {
  display: flex;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 0.25rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.header-lang-btn {
  background: none;
  border: none;
  color: var(--text-light-muted);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 15px;
  cursor: pointer;
  transition: var(--transition);
}

.header-lang-btn.active {
  background-color: var(--primary);
  color: var(--bg-dark);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-light);
  transition: var(--transition);
}

/* ===== SEARCH DRAWER OVERLAY ===== */
.search-drawer {
  position: fixed;
  top: -150px;
  left: 0;
  right: 0;
  background-color: rgba(17, 17, 17, 0.98);
  padding: 2.5rem 0;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  z-index: 99;
  transition: var(--transition);
  border-bottom: 2px solid var(--primary);
}

.search-drawer.open {
  top: 0;
}

.search-drawer-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

.search-input-field {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  font-size: 1.5rem;
  font-family: var(--font-serif);
  padding: 0.5rem 0;
  outline: none;
  transition: var(--transition);
}

.search-input-field:focus {
  border-color: var(--primary);
}

.search-close-btn {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-light-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.search-close-btn:hover {
  color: var(--accent-red);
}

/* ===== MOBILE NAVIGATION SIDE DRAWER ===== */
.mobile-side-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background-color: var(--bg-dark-gray);
  z-index: 1000;
  box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  padding: 3rem 2rem;
  transition: var(--transition);
  overflow-y: auto;
}

.mobile-side-drawer.open {
  right: 0;
}

.mobile-drawer-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-light-muted);
  font-size: 1.8rem;
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.mobile-nav-link {
  color: var(--text-light);
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link:hover {
  color: var(--primary);
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.6);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(3px);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ===== HERO SLIDER SYSTEM ===== */
.hero-slider-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background-color: var(--bg-dark);
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.15);
  transition: transform 6s ease-in-out;
}

.slide.active .slide-bg-img {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(17, 17, 17, 0.5) 0%, rgba(17, 17, 17, 0.9) 100%);
}

.slide-content {
  position: relative;
  z-index: 10;
  color: var(--text-light);
  max-width: 750px;
  margin-top: 60px;
}

.slide-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: var(--primary);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out 0.3s;
}

.slide-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out 0.6s;
}

.slide-desc {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--text-light-muted);
  margin-bottom: 2.25rem;
  max-width: 550px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out 0.9s;
}

.slide-actions {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out 1.2s;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Apply active slide animations */
.slide.active .slide-subtitle,
.slide.active .slide-title,
.slide.active .slide-desc,
.slide.active .slide-actions {
  opacity: 1;
  transform: translateY(0);
}

/* Premium Buttons */
.btn-gold {
  background-color: var(--primary);
  color: #111111;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border: 1px solid var(--primary);
  border-radius: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-gold:hover {
  background-color: transparent;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(200, 157, 85, 0.2);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--text-light);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.btn-outline-white:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

/* Slider Controls */
.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  gap: 0.75rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background-color: var(--primary);
  width: 28px;
  border-radius: 5px;
}

/* ===== GENERAL SECTION LAYOUT ===== */
.section {
  padding: 6.5rem 0;
  position: relative;
}

.bg-light-gray {
  background-color: var(--bg-light-gray);
}

.bg-dark-lux {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  font-weight: 700;
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: inherit;
  position: relative;
  padding-bottom: 1.25rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--primary);
}

.section-title-wrapper.left-aligned {
  text-align: left;
  margin-left: 0;
}

.section-title-wrapper.left-aligned .section-title::after {
  left: 0;
  transform: none;
}

.section-subtitle {
  color: var(--text-gray);
  margin-top: 1rem;
  font-size: 0.95rem;
}

.section.bg-dark-lux .section-subtitle {
  color: var(--text-light-muted);
}

/* ===== TABS & FILTER BAR ===== */
.tabs-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3.5rem;
}

.filter-tab-btn {
  background: none;
  border: 1px solid var(--border-light);
  background-color: var(--bg-light);
  color: var(--text-gray);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.65rem 1.4rem;
  cursor: pointer;
  transition: var(--transition);
}

.section.bg-dark-lux .filter-tab-btn {
  background-color: var(--bg-dark-gray);
  border-color: rgba(255,255,255,0.06);
  color: var(--text-light-muted);
}

.filter-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-tab-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #111111;
  box-shadow: 0 5px 15px rgba(200, 157, 85, 0.25);
}

/* ===== PRODUCT GRID & CARDS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.project-lux-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.section.bg-dark-lux .project-lux-card {
  background-color: var(--bg-dark-gray);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.project-lux-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.section.bg-dark-lux .project-lux-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.project-card-image-box {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.project-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-lux-card:hover .project-card-image {
  transform: scale(1.08);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(17, 17, 17, 0.4);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-lux-card:hover .project-card-overlay {
  opacity: 1;
}

.project-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary);
  color: #111111;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.35rem 0.75rem;
  z-index: 5;
}

.project-card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: inherit;
}

.project-lux-card:hover .project-card-title {
  color: var(--primary);
}

.project-card-desc {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.section.bg-dark-lux .project-card-desc {
  color: var(--text-light-muted);
}

/* Premium Project Metadata Table */
.project-meta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
  margin-bottom: 1.5rem;
  margin-top: auto;
}

.project-meta-table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.section.bg-dark-lux .project-meta-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-meta-table tr:last-child {
  border-bottom: none;
}

.project-meta-table td {
  padding: 0.4rem 0;
}

.project-meta-label {
  color: var(--text-muted);
  font-weight: 500;
}

.project-meta-val {
  text-align: right;
  font-weight: 600;
  color: inherit;
}

.project-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-card-link {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.project-card-link:hover {
  color: var(--primary-hover);
}

.project-card-link svg {
  transition: var(--transition);
}

.project-card-link:hover svg {
  transform: translateX(3px);
}

.project-card-btn-sec {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  padding: 0.3rem 0.65rem;
  transition: var(--transition);
}

.section.bg-dark-lux .project-card-btn-sec {
  border-color: rgba(255,255,255,0.08);
  color: var(--text-light-muted);
}

.project-card-btn-sec:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== DESIGN & TECHNICAL SERVICES ===== */
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.service-lux-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.service-lux-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--bg-dark);
  z-index: -1;
  transition: var(--transition);
}

.service-lux-card:hover {
  color: var(--text-light);
  border-color: var(--bg-dark);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-lux-card:hover::before {
  height: 100%;
}

.service-card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background-color: var(--bg-light-gray);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.75rem;
  transition: var(--transition);
}

.service-lux-card:hover .service-card-icon {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  transform: rotateY(180deg);
}

.service-card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-card-desc {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-lux-card:hover .service-card-desc {
  color: var(--text-light-muted);
}

.service-card-more {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ===== FACTORY / SHOWROOM SHOWCASE ===== */
.factory-showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.factory-video-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-light-gray);
}

.factory-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.factory-details-column {
  display: flex;
  flex-direction: column;
}

.factory-checklist {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.factory-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.factory-check-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.factory-check-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.factory-check-desc {
  font-size: 0.82rem;
  color: var(--text-gray);
  margin-top: 0.15rem;
}

/* ===== INTERACTIVE CONSULTATION FORM SECTION ===== */
.consultation-section {
  position: relative;
  padding: 8rem 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.consultation-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.85) 0%, rgba(17, 17, 17, 0.95) 100%);
  z-index: 1;
}

.consultation-container {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.consultation-text-column {
  color: var(--text-light);
}

.consultation-h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.consultation-desc {
  color: var(--text-light-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.consultation-hotline-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.5rem;
}

.consultation-hotline-icon {
  width: 42px;
  height: 42px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  font-size: 1.15rem;
}

.consultation-hotline-text span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-light-muted);
  letter-spacing: 0.5px;
}

.consultation-hotline-text a {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

/* Glassmorphic Form Card */
.consultation-form-card {
  background: rgba(30, 30, 30, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 2.5rem;
  color: var(--text-light);
  box-shadow: var(--shadow-dark);
}

.consultation-form-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
  color: var(--text-light);
}

.consultation-form-subtitle {
  font-size: 0.8rem;
  color: var(--text-light-muted);
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.consultation-input-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.consultation-input,
.consultation-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
}

.consultation-input:focus,
.consultation-textarea:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
}

.consultation-textarea {
  resize: vertical;
  min-height: 90px;
}

.btn-form-submit {
  width: 100%;
  background-color: var(--primary);
  color: #111111;
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.5rem;
}

.btn-form-submit:hover {
  background-color: var(--primary-hover);
  color: var(--text-light);
}

/* ===== PARTNERS LOGO GRID ===== */
.partners-slider-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background-color: var(--bg-light);
}

.partners-logos-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.partner-logo-item img {
  max-height: 38px;
  opacity: 0.45;
  filter: grayscale(100%);
  transition: var(--transition);
}

.partner-logo-item:hover img {
  opacity: 0.95;
  filter: grayscale(0%);
}

/* ===== EXPERT ARTICLES / BLOG SECTION ===== */
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-lux-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.blog-lux-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.blog-card-image-box {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-lux-card:hover .blog-card-image {
  transform: scale(1.06);
}

.blog-card-date-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background-color: rgba(17, 17, 17, 0.85);
  color: var(--primary);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  text-transform: uppercase;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-category {
  font-size: 0.68rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: block;
}

.blog-card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.blog-lux-card:hover .blog-card-title {
  color: var(--primary);
}

.blog-card-desc {
  font-size: 0.82rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.blog-card-readmore {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-lux-card:hover .blog-card-readmore {
  color: var(--primary);
}

/* ===== LUXURY MULTI-COLUMN FOOTER ===== */
.premium-footer {
  background-color: #0b0b0b;
  color: var(--text-light-muted);
  font-size: 0.85rem;
  padding-top: 5rem;
}

.footer-top {
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

/* Footer Col 1 */
.footer-about-logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.footer-about-logo span {
  color: var(--primary);
}

.footer-about-desc {
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
}

.footer-contact-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 4px;
}

/* Footer Col 2 */
.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link-item a {
  display: block;
  transition: var(--transition);
}

.footer-link-item a::before {
  content: '▪';
  color: var(--primary);
  margin-right: 8px;
  font-size: 0.6rem;
}

.footer-link-item a:hover {
  color: var(--primary);
  padding-left: 6px;
}

/* Footer Col 3 */
.footer-map-container {
  border: 1px solid rgba(255,255,255,0.08);
  height: 180px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.footer-map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer Bottom Bar */
.footer-bottom {
  padding: 1.5rem 0;
  background-color: #060606;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ===== EXPERT TERMINAL (ABOUT SECTION VISUAL) ===== */
.terminal-window {
  background-color: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-dark);
}

.terminal-body {
  padding: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 2;
  color: var(--text-light-muted);
}

.term-line {
  display: flex;
  gap: 0.75rem;
}

.prompt {
  color: var(--primary);
  font-weight: 700;
}

.term-cmd {
  color: var(--text-light);
}

.term-output {
  padding-left: 1.5rem;
}

.term-highlight {
  color: var(--primary) !important;
  font-weight: 600;
}

.term-cursor {
  animation: blink 1s step-end infinite;
  color: var(--primary);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ===== SKILLS ROW/GRID ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.skill-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.skill-icon {
  font-size: 1rem;
  color: var(--primary);
}

/* ===== MODAL & DETAILS SYSTEM ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background-color: var(--bg-light);
  border-top: 4px solid var(--primary);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.92);
  transition: var(--transition);
  box-shadow: var(--shadow-dark);
  padding: 3.5rem;
  color: var(--text-dark);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: 1px solid var(--border-light);
  color: var(--text-gray);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.5rem;
}

.modal-close:hover {
  background-color: var(--bg-dark);
  color: var(--text-light);
  border-color: var(--bg-dark);
}

.modal-header {
  margin-bottom: 2rem;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.modal-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.25rem;
}

.modal-body {
  color: var(--text-gray);
  line-height: 1.8;
  font-size: 0.95rem;
}

.modal-body h4 {
  color: var(--text-dark);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
}

.modal-body p {
  margin-bottom: 1.25rem;
}

.modal-body ul, .modal-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
}

/* ===== DETAIL ARTICLE SUBPAGE SPECIFICS ===== */
.article-page {
  padding: 180px 0 6rem;
  background-color: var(--bg-light-gray);
}

.article-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--bg-light);
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  padding: 4rem;
}

.article-header {
  margin-bottom: 2.5rem;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.article-back:hover {
  color: var(--primary);
  transform: translateX(-4px);
}

.article-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.25rem;
}

.article-image {
  width: 100%;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
}

.article-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-gray);
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-dark);
  margin: 2.5rem 0 1rem;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body ul, .article-body ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.75rem;
}

.highlight-box {
  background-color: var(--bg-light-gray);
  border-left: 3px solid var(--primary);
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-dark);
}

/* ===== VIETNAM SPECIFIC FLOATING WIDGETS ===== */
.floating-hotline {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 99;
}

.hotline-btn {
  width: 52px;
  height: 52px;
  background-color: var(--accent-red);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 10px 25px rgba(192, 38, 38, 0.4);
  position: relative;
}

/* Pulsating Hotline Ring */
.hotline-btn::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid var(--accent-red);
  opacity: 0.6;
  animation: pulse-ring 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hotline-btn::after {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 2px solid var(--accent-red);
  opacity: 0.3;
  animation: pulse-ring 1.8s cubic-bezier(0.4, 0, 0.6, 1) 0.6s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0; }
  50% { opacity: 0.7; }
  100% { transform: scale(1.1); opacity: 0; }
}

.hotline-btn:hover {
  transform: scale(1.05);
}

.floating-zalo {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.zalo-btn {
  width: 52px;
  height: 52px;
  background-color: var(--accent-blue);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 10px 25px rgba(24, 119, 242, 0.4);
  font-weight: bold;
}

.zalo-btn img {
  width: 28px;
  height: 28px;
}

.zalo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(24, 119, 242, 0.6);
}

/* ===== MULTILINGUAL SWITCHING HIDE TACTIC ===== */
[data-lang] {
  display: none;
}
[data-lang].active-lang {
  display: block;
}
span[data-lang].active-lang {
  display: inline;
}
div[data-lang].active-lang {
  display: block;
}

/* ===== RESPONSIVE STYLING ===== */
@media (max-width: 992px) {
  .header-container {
    height: 80px;
  }
  .nav-menu {
    display: none;
  }
  .search-toggle-btn {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero-slider-section {
    height: 85vh;
  }
  .factory-showcase-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .consultation-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
  }
  .footer-col-map {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .top-bar-contact {
    display: none;
  }
  .top-bar-container {
    justify-content: center;
  }
  .section {
    padding: 4.5rem 0;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-col-map {
    grid-column: span 1;
  }
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }
  .consultation-form-card {
    padding: 2.5rem 1.5rem;
  }
  .article-container {
    padding: 2.5rem 1.5rem;
  }
  .floating-hotline {
    bottom: 1.5rem;
    left: 1.5rem;
  }
  .floating-zalo {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

@media (max-width: 480px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .slide-actions {
    flex-direction: column;
  }
  .slide-actions .btn-gold,
  .slide-actions .btn-outline-white {
    width: 100%;
    justify-content: center;
  }
}

/* ===== LEGACY NAVIGATION BACKWARDS COMPATIBILITY ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  z-index: 100;
  padding: 0 1.5rem;
  transition: var(--transition);
}
#navbar .nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 1.5rem;
}
#navbar .nav-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-light) !important;
  display: flex;
  align-items: center;
  gap: 2px;
}
#navbar .logo-bracket {
  display: none;
}
#navbar .logo-text {
  color: var(--text-light) !important;
  font-family: var(--font-serif);
}
#navbar .nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
  margin-left: auto;
}
#navbar .nav-link {
  color: var(--text-light) !important;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 0;
  position: relative;
}
#navbar .nav-link:hover {
  color: var(--primary) !important;
}
#navbar .lang-switcher {
  display: flex;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 0.25rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-left: 1rem;
}
#navbar .lang-btn {
  background: none;
  border: none;
  color: var(--text-light-muted);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 15px;
  cursor: pointer;
  transition: var(--transition);
}
#navbar .lang-btn.active {
  background-color: var(--primary);
  color: var(--bg-dark);
}
