/* =================================================================
   HOME PAGE DARK THEME 2025 - Bí ẩn & Hiện đại
   Giữ nguyên structure cũ, chỉ thay đổi màu sắc sang nền đen
   ================================================================= */

/* ==================== CSS VARIABLES - DARK THEME ==================== */
:root {
  /* Màu sẽ được override bởi inline styles từ WordPress settings */
  /* --primary-color và --secondary-color được set trong <head> */

  /* Dark Theme Colors */
  --bg-black: #000000;
  --bg-dark: #0a0a0a;
  --bg-card: #1a1a1a;
  --bg-darker: #141414;

  /* Text Colors */
  --text-white: #ffffff;
  --text-light: #e5e7eb;
  --text-gray: #9ca3af;
  --text-dark-gray: #6b7280;

  /* Gradients */
  --gradient-primary: linear-gradient(360deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-dark: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
  --gradient-overlay: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 100%);

  /* Shadows & Glows - sử dụng màu phụ từ settings */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 5px 25px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.7);

  /* Border */
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);

  /* Radius */
  --border-radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== GLOBAL RESET & BASE - DARK ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--bg-black);
  -webkit-font-smoothing: antialiased;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

body.modal-open {
  overflow: hidden;
}

body.loaded {
  overflow-x: hidden;
}

/* Web App Styling */
.app-container {
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.webapp-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== SCROLL ANIMATIONS ==================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.scroll-fade-in {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.scroll-fade-in.revealed {
  opacity: 1;
}

/* ==================== WEB APP STRUCTURE - Prevent Reader Mode ==================== */
/* Use widget/ads/sidebar classes to prevent Safari Reader Mode */
#app-root,
.app-container,
.webapp-layout {
  display: block;
  position: relative;
  width: 100%;
}

.widget-dynamic,
.widget-container,
.app-module,
.app-component {
  display: block;
  position: relative;
}

[data-widget] {
  display: block;
  position: relative;
  min-height: 50px;
}

/* Specific widget IDs with negation keywords */
#hero-widget,
#about-widget-ads,
#features-sidebar,
#services-widget-menu,
#team-widget-ads,
#gallery-sidebar-widget,
#reviews-widget-ads,
#contact-widget-menu,
#newsletter-ads-widget {
  display: block;
  position: relative;
}

/* ==================== PRELOADER - DARK ==================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-icon {
  font-size: 60px;
  color: var(--secondary-color);
  animation: spin 2s linear infinite;
  filter: drop-shadow(0 0 30px var(--secondary-color));
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.preloader p {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-gray);
  letter-spacing: 1px;
}

/* ==================== HEADER - DARK FLOATING ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
  box-shadow: var(--shadow-md);
  z-index: 99;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: var(--shadow-lg), 0 0 30px var(--secondary-color);
  border-bottom-color: var(--border-light);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}

.header .logo img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.main-nav ul {
  display: flex;
  gap: 35px;
}

.main-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-white);
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--primary-color);
}

.main-nav a:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--secondary-color);
  transition: var(--transition);
}

.phone-link:hover {
  filter: drop-shadow(0 0 20px var(--secondary-color));
}

.phone-link i {
  font-size: 18px;
}

/* ==================== BUTTONS - DARK THEME ==================== */
.btn {
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 0 25px var(--secondary-color);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px var(--secondary-color);
}

.btn-outline {
  box-shadow: var(--shadow-lg), 0 0 30px var(--secondary-color);
  background: var(--secondary-color);
  color: var(--primary-color);
  border: none;
}

.btn-outline:hover {
  box-shadow: var(--shadow-lg), 0 0 30px var(--secondary-color);
  background: var(--secondary-color);
  color: white;
  border: none;
  transform: translateY(-3px);
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--secondary-color);
  transition: var(--transition);
}

.mobile-menu-btn:hover {
  filter: drop-shadow(0 0 20px var(--secondary-color));
}

/* ==================== MOBILE MENU - DARK ==================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  max-width: 350px;
  height: 100%;
  background: var(--bg-dark);
  border-left: 1px solid var(--border-dark);
  z-index: 10000;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border-dark);
}

.header-mobile-spacer {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
}

.mobile-menu-close {
  font-size: 28px;
  cursor: pointer;
  color: var(--text-white);
  transition: var(--transition);
}

.mobile-menu-close:hover {
  color: var(--primary-color);
}

.mobile-menu ul {
  padding: 20px 0;
}

.mobile-menu li {
  border-bottom: 1px solid var(--border-dark);
}

.mobile-menu a {
  display: block;
  padding: 15px 20px;
  font-weight: 600;
  color: var(--text-light);
  transition: var(--transition);
}

.mobile-menu a:hover {
  background: var(--bg-card);
  color: var(--primary-color);
  padding-left: 30px;
}

.mobile-menu-footer {
  padding: 20px;
  border-top: 1px solid var(--border-dark);
}

.mobile-menu-footer .phone-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-weight: 600;
  color: var(--secondary-color);
  padding: 10px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 18px;
  box-shadow: var(--glow-primary);
}

.social-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px var(--secondary-color);
}

/* ==================== HERO SECTION - DARK ==================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--bg-black);
}

.hero-slider {
  position: relative;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-white);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content .subtitle {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--secondary-color);
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid var(--secondary-color);
  border-radius: 50px;
  box-shadow: 0 0 30px var(--secondary-color);
  filter: drop-shadow(0 4px 15px var(--secondary-color));
}

.hero-content h1,
.hero-content h2 {
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 5px 30px rgba(0, 0, 0, 0.8);
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text-light);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-btns {
  display: inline-flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.slider-controls {
  position: absolute;
  bottom: 200px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 300px;
  z-index: 10;
}

.slider-controls button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 2px solid var(--border-light);
  color: var(--text-white);
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.slider-controls button:hover {
  background: var(--gradient-primary);
  border-color: var(--secondary-color);
  transform: scale(1.1);
  box-shadow: 0 0 25px var(--secondary-color);
}

/* ==================== SECTIONS - DARK ==================== */
.section {
  padding: 80px 0;
  background: var(--bg-black);
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 212, 170, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.section:nth-child(even) {
  background: var(--bg-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.section-header .subtitle {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 4px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  padding: 10px 30px;
  position: relative;
  border: 2px solid var(--secondary-color);
  border-radius: 50px;
  box-shadow: 0 0 20px rgb(255 230 107 / 20%), inset 0 0 20px rgba(255, 107, 107, 0.05);
  transition: var(--transition);
}

.section-header .subtitle:hover {
  box-shadow: 0 0 30px var(--secondary-color), inset 0 0 30px var(--secondary-color);
  transform: translateY(-2px);
}

.section-title {
  font-size: 42px;
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 20px;
  letter-spacing: -1px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 25px 0;
}

.divider-line {
  width: 50px;
  height: 2px;
  background: var(--gradient-primary);
  box-shadow: 0 0 15px var(--secondary-color);
}

.divider-icon {
  font-size: 24px;
  color: var(--secondary-color);
  filter: drop-shadow(0 0 20px var(--secondary-color));
}

.section-description {
  font-size: 18px;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ==================== ABOUT SECTION - MODERN REDESIGN ==================== */
.about-modern-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-stats-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out backwards;
}

.stat-card:nth-child(1) {
  animation-delay: 0.1s;
}

.stat-card:nth-child(2) {
  animation-delay: 0.2s;
}

.stat-card:nth-child(3) {
  animation-delay: 0.3s;
}

.stat-card:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.stat-card:hover::before {
  opacity: 0.1;
}

.stat-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary-color);
  box-shadow: 0 10px 40px var(--secondary-color);
}

.stat-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 32px;
  box-shadow: 0 5px 25px var(--secondary-color);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.stat-card:hover .stat-icon {
  transform: rotateY(360deg);
  box-shadow: 0 8px 35px var(--secondary-color);
}

.stat-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-number {
  font-size: 42px;
  font-weight: 900;
  background: var(--secondary-color);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-image-modern {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 40px var(--secondary-color);
  border: 2px solid var(--border-light);
  transition: var(--transition);
}

.about-image-modern:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg), 0 0 60px var(--secondary-color);
}

.about-image-modern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image-modern:hover img {
  transform: scale(1.08);
}

.about-cta-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.about-image-modern:hover .about-cta-overlay {
  opacity: 1;
}

.about-cta-overlay .btn {
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.about-image-modern:hover .about-cta-overlay .btn {
  transform: translateY(0);
}

/* ==================== FEATURES SECTION - MODERN REDESIGN ==================== */
.features-modern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
  margin-top: 40px;
}

.feature-card-modern {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  animation: fadeInUp 0.6s ease-out backwards;
}

.feature-card-modern:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-card-modern:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-card-modern:nth-child(3) {
  animation-delay: 0.3s;
}

.feature-card-modern:nth-child(4) {
  animation-delay: 0.4s;
}

.feature-card-modern:nth-child(5) {
  animation-delay: 0.5s;
}

.feature-card-modern:nth-child(6) {
  animation-delay: 0.6s;
}

.feature-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.feature-card-modern:hover::before {
  opacity: 0.08;
}

.feature-card-modern:hover {
  transform: translateY(-15px);
  border-color: var(--secondary-color);
  box-shadow: 0 15px 50px var(--secondary-color);
}

.feature-icon-wrapper {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-darker);
  border: 2px solid var(--border-dark);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.feature-card-modern:hover .feature-icon-wrapper {
  background: var(--gradient-primary);
  border-color: var(--secondary-color);
  transform: rotateY(360deg) scale(1.1);
  box-shadow: 0 0 35px var(--secondary-color);
}

.feature-icon-wrapper i {
  font-size: 40px;
  color: var(--secondary-color);
  transition: var(--transition);
}

.feature-card-modern:hover .feature-icon-wrapper i {
  color: #ffffff;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.feature-card-modern:hover .feature-title {
  color: var(--secondary-color);
}

.feature-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ==================== SERVICES SECTION - DARK ==================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg), 0 0 30px var(--secondary-color);
  border-color: var(--secondary-color);
}

.service-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bg-darker);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.service-image.loaded img {
  opacity: 1;
}

.service-card:hover .service-image img {
  transform: scale(1.15);
}

.service-card h3 {
  padding: 20px 20px 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
}

.service-card p {
  padding: 0 20px 10px;
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
}

.service-price {
  display: block;
  padding: 10px 20px 20px;
  font-size: 22px;
  font-weight: 700;
  background: var(--secondary-color);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==================== TEAM SECTION - DARK ==================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.team-member {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg), 0 0 30px var(--secondary-color);
  border-color: var(--secondary-color);
}

.member-image {
  position: relative;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 500px;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member:hover .member-image img {
  transform: scale(1.15);
}

.member-social {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member:hover .member-social {
  opacity: 1;
}

.member-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--secondary-color);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 16px;
  box-shadow: 0 0 20px var(--secondary-color);
}

.member-social a:hover {
  background: var(--gradient-primary);
  transform: scale(1.1);
}

.member-info {
  padding: 20px;
  display: inline-flex;
}

.member-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}

.member-info .book-btn {
  width: 100%;
}

/* ==================== GALLERY SECTION - DARK ==================== */
/* Gallery Section */
.gallery-section {
  background-color: var(--bg-dark);
  padding: 100px 0;
}

.gallery-grid {
  column-count: 3;
  column-gap: 20px;
  width: 100%;
}

@media (max-width: 576px) {
  .gallery-grid {
    column-count: unset;
    display: flex;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    gap: 2px;
    padding: 0 15px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-item {
    flex: 0 0 80%;
    max-width: 80%;
    scroll-snap-align: center;
    transition: filter 0.3s ease, transform 0.3s ease;
    filter: blur(4px);
    /* Mặc định blur cho các ảnh */
    opacity: 0.7;
  }

  .gallery-item.active {
    filter: blur(0);
    /* Ảnh ở trung tâm không bị blur */
    opacity: 1;
    transform: scale(1.05);
    /* Phóng to nhẹ ảnh trung tâm */
  }
}

.gallery-item {
  margin-bottom: 20px;
  margin-left: 10px;
  break-inside: avoid;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: var(--transition);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom {
  color: var(--secondary-color);
  font-size: 40px;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-zoom {
  transform: scale(1.1);
}

/* Gallery Controls */
.gallery-controls {
  display: none;
  position: absolute;
  width: 95%;
  justify-content: center;
  padding: 0 15px;
  pointer-events: none;
}

.gallery-nav {
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: var(--secondary-color);
  font-size: 24px;
  padding: 12px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s ease;
  pointer-events: auto;
}

.gallery-nav:hover {
  background: rgba(0, 0, 0, 0.9);
}

@media (max-width: 576px) {
  .gallery-controls {
    display: flex;
  }

  .mobile-only {
    display: flex;
  }
}

/* Responsive Adjustments for Masonry */
@media (max-width: 992px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    column-count: unset;
  }
}

/* ==================== REVIEWS SECTION - DARK ==================== */
.reviews-placeholder {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.shortcode-box {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 15px;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-md);
}

/* ==================== CONTACT SECTION - DARK ==================== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 550px;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  padding: 25px;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  transition: var(--transition);
  flex: 1;
}

.contact-item:hover {
  background: var(--bg-darker);
  border-color: var(--secondary-color);
  transform: translateX(5px);
  box-shadow: 0 5px 25px var(--secondary-color);
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 5px 20px var(--secondary-color);
}

.contact-item:nth-child(1) .contact-icon,
.contact-item:nth-child(4) .contact-icon {
  background: var(--secondary-color);
  box-shadow: 0 5px 20px rgba(255, 230, 107, 0.5);
}

.contact-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.contact-text p,
.contact-text a {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.7;
}

.contact-text a:hover {
  color: var(--secondary-color);
}

.contact-text .address-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-text .address-list li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 10px;
  line-height: 1.7;
}

.contact-text .address-list li::before {
  content: '';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.contact-text .address-list li strong {
  color: var(--text-white);
  font-weight: 600;
}

.contact-text .address-list li a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-text .address-list li a:hover {
  color: var(--secondary-color);
}

.contact-map {
  border-radius: 15px;
  overflow: hidden;
  height: 550px;
  border: 2px solid var(--border-dark);
  box-shadow: var(--shadow-lg), 0 0 20px var(--secondary-color);
  transition: var(--transition);
}

.contact-map:hover {
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-lg), 0 0 35px var(--secondary-color);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==================== NEWSLETTER SECTION - DARK ==================== */
.newsletter-section {
  background: var(--gradient-primary);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-primary);
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.newsletter-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.newsletter-text {
  color: #ffffff;
}

.newsletter-text h3 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.newsletter-text p {
  font-size: 16px;
  opacity: 0.95;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 500px;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--bg-dark);
}

.newsletter-form input::placeholder {
  color: var(--text-dark-gray);
}

.newsletter-form button {
  white-space: nowrap;
  background: var(--bg-dark);
  color: #ffffff;
  border: 2px solid transparent;
}

.newsletter-form button:hover {
  background: var(--bg-black);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ==================== FOOTER - DARK ==================== */
.footer {
  background: linear-gradient(180deg, var(--bg-black) 0%, var(--bg-dark) 50%, #000000 100%);
  color: var(--text-light);
  padding: 70px 0 0;
  border-top: 2px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(255, 107, 107, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 2.5fr;
  gap: 50px;
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 25px;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding-bottom: 15px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px;
  box-shadow: 0 0 15px var(--secondary-color);
}

.footer-col .logo {
  width: 120px;
  margin-bottom: 20px;
  align-self: center;
  filter: drop-shadow(0 0 15px var(--secondary-color));
  transition: var(--transition);
}

.footer-col .logo:hover {
  filter: drop-shadow(0 0 25px var(--secondary-color));
  transform: scale(1.08);
}

.footer-col .logo img {
  width: 100%;
  height: auto;
}

.footer-col > p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 25px;
  text-align: center;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
  padding: 6px 0;
}

.footer-col ul li a i {
  font-size: 12px;
  color: var(--secondary-color);
  min-width: 16px;
  text-align: center;
}

.footer-col ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
  text-shadow: 0 0 10px var(--secondary-color);
}

.footer-col ul li p {
  font-size: 14px;
  color: var(--text-gray);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.7;
}

.footer-col ul li p i {
  margin-top: 3px;
  color: var(--secondary-color);
  font-size: 14px;
  min-width: 16px;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-dark);
  color: var(--text-white);
  font-size: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.footer-social a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--gradient-primary);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.footer-social a:hover::before {
  width: 100%;
  height: 100%;
}

.footer-social a i {
  position: relative;
  z-index: 1;
}

.footer-social a:hover {
  border-color: var(--secondary-color);
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 8px 25px var(--secondary-color);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0;
  background: rgba(0, 0, 0, 0.4);
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-gray);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-gray);
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
  text-shadow: 0 0 10px var(--secondary-color);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-address {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  line-height: 1.8;
  align-items: baseline;
}

.footer-address > i {
  color: var(--secondary-color);
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-address .address-label {
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 5px;
}

.footer-address .address-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-address .address-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  padding-left: 15px;
  margin-bottom: 8px;
  line-height: 1.7;
}

.footer-address .address-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.footer-address .address-list li strong {
  color: var(--text-white);
  font-weight: 600;
}

.footer-address .address-list li a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-address .address-list li a:hover {
  color: var(--secondary-color);
}

/* ==================== BACK TO TOP - DARK ==================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 0 25px var(--secondary-color);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 40px var(--secondary-color);
}

/* ==================== MOBILE NATIVE NAVIGATION BAR ==================== */
.mobile-native-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-native-nav {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: env(safe-area-inset-bottom, 0);
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-native-nav.hidden {
    transform: translateY(100%);
  }

  .mobile-nav-container {
    background: rgba(10, 10, 10, 0.85);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--secondary-color);
    padding: 12px 0 8px;
  }

  .mobile-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    position: relative;
    min-width: 70px;
  }

  .mobile-nav-item:active {
    transform: scale(0.95);
  }

  .mobile-nav-item.active {
    color: var(--secondary-color);
  }

  .mobile-nav-item.active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 0 0 3px 3px;
    box-shadow: 0 2px 10px var(--secondary-color);
  }

  .mobile-nav-icon {
    font-size: 22px;
    transition: transform 0.3s ease;
  }

  .mobile-nav-item:active .mobile-nav-icon {
    transform: scale(0.9);
  }

  .mobile-nav-item.active .mobile-nav-icon {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--secondary-color);
  }

  .mobile-nav-text {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }

  /* Add bottom padding to body on mobile to prevent content being hidden by nav */
  body {
    padding-bottom: 80px;
  }
}

/* ==================== UTILITY CLASSES ==================== */
.text-center {
  text-align: center;
  margin: 50px;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .mobile-only {
    display: flex;
  }
}

/* ==================== RESPONSIVE - DARK THEME ==================== */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: 42px;
  }

  .section-title {
    font-size: 36px;
  }

  .about-content,
  .features-content,
  .contact-container,
  .about-modern-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-modern-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-map {
    height: 350px;
  }

  .contact-info {
    min-height: unset;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header .container {
    padding: 10px 20px;
  }

  .header .logo img {
    height: 40px;
  }

  .header-cta .phone-link {
    display: none;
  }

  .hero {
    height: 70vh;
    min-height: 500px;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-btns {
    flex-direction: column;
  }

  .slider-controls button {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .services-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .about-stats-cards {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .features-modern-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-card {
    padding: 25px 20px;
  }

  .stat-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .stat-number {
    font-size: 36px;
  }

  .newsletter-container {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    max-width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-bottom: 40px;
    padding-bottom: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .logo-url {
    height: 50%;
    width: 50%;
  }

  .back-to-top {
    bottom: 60px;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: 24px;
  }

  .section-title {
    font-size: 24px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .back-to-top {
    bottom: 60px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}
