/**
 * Giúp việc Lagi - Main Stylesheet
 * Dịch vụ giúp việc nhà theo giờ giá rẻ, chuyên nghiệp tại Lagi, Bình Thuận
 * 
 * @package GiupviecLagi
 * @author Hồ Quốc Huân <hqhuan@gmail.com>
 * @version 1.0.0
 */

/* ==========================================================================
   1. CSS VARIABLES - DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Colors - Primary */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-900: #1e3a8a;

  /* Colors - Success */
  --success-50: #ecfdf5;
  --success-500: #10b981;
  --success-600: #059669;

  /* Colors - Accent */
  --accent-50: #fffbeb;
  --accent-500: #f59e0b;
  --accent-600: #d97706;

  /* Colors - Neutral */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --black: #000000;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-cta: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
  --gradient-primary: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-600) 0%, var(--accent-500) 100%);

  /* Typography */
  --font-heading: 'Be Vietnam Pro', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Font Sizes - Refined & Friendly */
  --text-xs: 0.75rem;
  /* 12px */
  --text-sm: 0.875rem;
  /* 14px */
  --text-base: 1rem;
  /* 16px */
  --text-lg: 1.125rem;
  /* 18px */
  --text-xl: 1.25rem;
  /* 20px */
  --text-2xl: 1.5rem;
  /* 24px */
  --text-3xl: 1.875rem;
  /* 30px */
  --text-4xl: 2.25rem;
  /* 36px */
  --text-5xl: 3rem;
  /* 48px */

  /* Font Weights */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;

  /* Line Heights */
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;

  /* Spacing (8px grid system) */
  --space-1: 0.25rem;
  /* 4px */
  --space-2: 0.5rem;
  /* 8px */
  --space-3: 0.75rem;
  /* 12px */
  --space-4: 1rem;
  /* 16px */
  --space-5: 1.25rem;
  /* 20px */
  --space-6: 1.5rem;
  /* 24px */
  --space-8: 2rem;
  /* 32px */
  --space-10: 2.5rem;
  /* 40px */
  --space-12: 3rem;
  /* 48px */
  --space-16: 4rem;
  /* 64px */
  --space-20: 5rem;
  /* 80px */
  --space-24: 6rem;
  /* 96px */
  --space-32: 8rem;
  /* 128px */

  /* Border Radius */
  --radius-sm: 0.25rem;
  /* 4px */
  --radius-md: 0.5rem;
  /* 8px */
  --radius-lg: 0.75rem;
  /* 12px */
  --radius-xl: 1rem;
  /* 16px */
  --radius-2xl: 1.5rem;
  /* 24px */
  --radius-3xl: 2rem;
  /* 32px */
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;

  /* Breakpoints (for JS) */
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;

  /* Container */
  --container-max-width: 1280px;
  --container-padding: var(--space-4);
}

@media (min-width: 768px) {
  :root {
    --container-padding: var(--space-6);
  }
}

@media (min-width: 1024px) {
  :root {
    --container-padding: var(--space-8);
  }
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-regular);
  line-height: var(--leading-normal);
  color: var(--gray-900);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--gray-900);
  margin-bottom: var(--space-4);
}

h1 {
  font-size: var(--text-5xl);
  font-weight: var(--font-extrabold);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
}

p {
  margin-bottom: var(--space-4);
  line-height: var(--leading-relaxed);
}

a {
  color: var(--primary-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-700);
}

a:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

/* ==========================================================================
   3. UTILITY CLASSES
   ========================================================================== */

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* Text Utilities */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Display */
.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

/* Flex Utilities */
.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-2 {
  gap: var(--space-2);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-8 {
  gap: var(--space-8);
}

/* Width */
.w-full {
  width: 100%;
}

.w-auto {
  width: auto;
}

/* Screen Reader Only */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ==========================================================================
   4. BUTTON STYLES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  line-height: 1;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}

/* Button Sizes */
.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  min-height: 48px;
  /* Touch-friendly */
}

.btn-xl {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-xl);
  min-height: 56px;
}

/* Button Variants */
.btn-primary {
  color: var(--white);
  background: var(--gradient-primary);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-accent {
  color: var(--white);
  background: var(--gradient-accent);
  box-shadow: var(--shadow-md);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  color: var(--gray-700);
  background: var(--white);
  border-color: var(--gray-300);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
}

.btn-outline {
  color: var(--primary-600);
  background: transparent;
  border-color: var(--primary-600);
}

.btn-outline:hover {
  color: var(--white);
  background: var(--primary-600);
}

/* Full Width Button */
.w-full {
  width: 100%;
}

/* ==========================================================================
   5. HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-container {
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--container-padding);
  max-width: var(--container-max-width);
  margin: 0 auto;
}

/* Logo */
.site-branding {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--font-extrabold);
  color: var(--primary-600);
}

.custom-logo-link {
  display: block;
  line-height: 0;
}

.custom-logo {
  height: 40px;
  width: auto;
}

/* Desktop Navigation */
.main-navigation {
  display: none;
}

@media (min-width: 1024px) {
  .main-navigation {
    display: block;
    flex-grow: 1;
    margin: 0 var(--space-8);
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin: 0;
  padding: 0;
}

.nav-menu a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  color: var(--gray-700);
  transition: color var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu .current-menu-item>a {
  color: var(--primary-600);
}

/* Header CTA */
.header-cta {
  display: none;
  gap: var(--space-3);
}

@media (min-width: 1024px) {
  .header-cta {
    display: flex;
  }
}

.btn-call svg {
  width: 20px;
  height: 20px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: var(--z-fixed);
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.hamburger {
  position: relative;
  width: 24px;
  height: 18px;
}

.hamburger-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gray-900);
  transition: all var(--transition-base);
}

.hamburger-line:nth-child(1) {
  top: 0;
}

.hamburger-line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-line:nth-child(3) {
  bottom: 0;
}

/* Mobile Menu Active State */
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-modal);
  background: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  overflow-y: auto;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  padding: 80px var(--container-padding) var(--space-8);
}

.mobile-nav-menu {
  list-style: none;
  margin: 0 0 var(--space-8) 0;
  padding: 0;
}

.mobile-nav-menu li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--gray-200);
}

.mobile-nav-menu a {
  display: block;
  padding: var(--space-4) 0;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--gray-900);
}

.mobile-nav-menu .current-menu-item>a {
  color: var(--primary-600);
}

.mobile-menu-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* ==========================================================================
   6. FOOTER
   ========================================================================== */

.site-footer {
  background: var(--gray-900);
  color: var(--gray-300);
}

.footer-main {
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-branding {
  margin-bottom: var(--space-4);
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--font-extrabold);
  color: var(--white);
  margin: 0;
}

.footer-description {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--gray-400);
  background: var(--gray-800);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.social-link:hover {
  color: var(--white);
  background: var(--primary-600);
  transform: translateY(-2px);
}

.social-link.zalo-link {
  background: var(--white);
  border: 2px solid #0068ff;
}

.social-link.zalo-link:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.footer-title {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--white);
  margin-bottom: var(--space-4);
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li {
  margin-bottom: var(--space-2);
}

.footer-menu a {
  color: var(--gray-400);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer-menu a:hover {
  color: var(--white);
}

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
}

.contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary-500);
}

.contact-item a {
  color: var(--gray-400);
}

.contact-item a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: var(--space-6) 0;
  border-top: 1px solid var(--gray-800);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.copyright,
.credits {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--gray-500);
}

.footer-bottom a {
  color: var(--gray-400);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ==========================================================================
   7. FLOATING ACTION BUTTONS (FAB)
   ========================================================================== */

.fab-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-fixed);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
}

.fab:hover {
  transform: scale(1.1);
}

.fab-zalo {
  background: var(--white);
  border: 3px solid #0068ff;
  color: #0068ff;
}

.fab-phone {
  background: var(--success-500);
  color: var(--white);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }
}

.fab-scroll-top {
  background: var(--gray-800);
  color: var(--white);
}

/* ==========================================================================
   8. RESPONSIVE UTILITIES
   ========================================================================== */

@media (max-width: 639px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .hide-tablet {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hide-desktop {
    display: none !important;
  }
}

/* ==========================================================================
   9. ANIMATIONS
   ========================================================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease-out;
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out;
}

.animate-slideInLeft {
  animation: slideInLeft 0.6s ease-out;
}

.animate-slideInRight {
  animation: slideInRight 0.6s ease-out;
}

/* Hover Lift Effect */
.hover-lift {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* ==========================================================================
   10. PRINT STYLES
   ========================================================================== */

@media print {

  .site-header,
  .site-footer,
  .fab-container,
  .mobile-menu-toggle {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.copyright,
.credits {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--gray-500);
}

.footer-bottom a {
  color: var(--gray-400);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ==========================================================================
   7. FLOATING ACTION BUTTONS (FAB)
   ========================================================================== */

.fab-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-fixed);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
}

.fab:hover {
  transform: scale(1.1);
}

.fab-zalo {
  background: var(--white);
  border: 3px solid #0068ff;
  color: #0068ff;
}

.fab-phone {
  background: var(--success-500);
  color: var(--white);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }
}

.fab-scroll-top {
  background: var(--gray-800);
  color: var(--white);
}

/* ==========================================================================
   8. RESPONSIVE UTILITIES
   ========================================================================== */

@media (max-width: 639px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .hide-tablet {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hide-desktop {
    display: none !important;
  }
}

/* ==========================================================================
   9. ANIMATIONS
   ========================================================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease-out;
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out;
}

.animate-slideInLeft {
  animation: slideInLeft 0.6s ease-out;
}

.animate-slideInRight {
  animation: slideInRight 0.6s ease-out;
}

/* Hover Lift Effect */
.hover-lift {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* ==========================================================================
   10. PRINT STYLES
   ========================================================================== */

@media print {

  .site-header,
  .site-footer,
  .fab-container,
  .mobile-menu-toggle {
    display: none !important;
  }

  body {
    font-size: 12pt;
  }

  a {
    text-decoration: underline;
  }
}

/* ==========================================================================
   7. SINGLE POST STYLES
   ========================================================================== */

/* Breadcrumbs */
.breadcrumb-section {
  padding: var(--space-6) 0;
  background: var(--gray-50);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: var(--space-2);
  align-items: center;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  color: var(--gray-600);
}

.breadcrumb-list li a {
  color: var(--gray-900);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb-list li a:hover {
  text-decoration: underline;
  color: var(--primary-600);
}

.breadcrumb-separator {
  margin: 0 var(--space-1);
  opacity: 0.6;
}

/* Single Post Container */
.single-post-section {
  padding: var(--space-12) 0;
}

.single-post-container {
  max-width: 800px;
  margin: 0 auto;
}

/* Blog Post Card */
.blog-post-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-8);
}

.post-thumbnail-wrapper {
  margin: calc(var(--space-8) * -1) calc(var(--space-8) * -1) var(--space-6) calc(var(--space-8) * -1);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  overflow: hidden;
}

.post-thumbnail-img {
  width: 100%;
  height: auto;
  min-height: 300px;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.post-thumbnail-wrapper:hover .post-thumbnail-img {
  transform: scale(1.05);
}

/* Entry Header */
.entry-header {
  margin-bottom: var(--space-6);
}

.entry-title {
  font-size: var(--text-3xl);
  font-weight: var(--font-extrabold);
  margin-bottom: var(--space-4);
  line-height: var(--leading-tight);
}

.entry-title a {
  color: var(--gray-900);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.entry-title a:hover {
  color: var(--primary-600);
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--gray-600);
  margin-bottom: var(--space-4);
  align-items: center;
}

.meta-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
}

.posted-on,
.byline,
.cat-links {
  display: inline-flex;
  align-items: center;
}

/* Entry Content */
.entry-content {
  font-size: 1.125rem;
  /* 18px */
  line-height: 1.75;
  color: var(--gray-700);
}

.entry-content p {
  margin-bottom: var(--space-6);
}

.entry-content h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.entry-content h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.entry-content ul,
.entry-content ol {
  margin-bottom: var(--space-6);
  padding-left: var(--space-6);
}

.entry-content li {
  margin-bottom: var(--space-2);
}

.entry-content blockquote {
  border-left: 4px solid var(--primary-500);
  padding-left: var(--space-4);
  margin-left: 0;
  margin-right: 0;
  font-style: italic;
  color: var(--gray-600);
  background: var(--gray-50);
  padding: var(--space-6);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.entry-content img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin: var(--space-8) auto;
}

.page-links {
  margin-top: var(--space-6);
  display: flex;
  gap: var(--space-2);
}

.read-more-btn {
  margin-top: var(--space-4);
}

/* Entry Footer */
.entry-footer {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--gray-200);
}

.tags-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tag-icon {
  color: var(--primary-500);
  margin-right: 4px;
}

/* Post Navigation */
.post-navigation {
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
}

.nav-links {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.nav-previous,
.nav-next {
  max-width: 45%;
}

.nav-next {
  text-align: right;
  margin-left: auto;
}

.nav-subtitle {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  font-weight: var(--font-semibold);
  display: block;
  margin-bottom: var(--space-1);
}

.nav-title {
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  color: var(--gray-900);
  transition: color var(--transition-fast);
}

.nav-previous a:hover .nav-title,
.nav-next a:hover .nav-title {
  color: var(--primary-600);
}

/* Related Posts */
.related-posts-section {
  padding: var(--space-12) 0;
  background: var(--gray-50);
}

.related-posts-title {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  text-align: center;
  margin-bottom: var(--space-8);
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
}

.related-post {
  background: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

.related-post:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.related-post-thumbnail {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.related-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.related-post:hover .related-post-thumbnail img {
  transform: scale(1.05);
}

.related-post-content {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.related-post-title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-3);
  line-height: var(--leading-snug);
}

.related-post-title a {
  color: var(--gray-900);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.related-post-title a:hover {
  color: var(--primary-600);
}

.related-post-excerpt {
  font-size: var(--text-sm);
  color: var(--gray-600);
  margin-bottom: var(--space-4);
  flex: 1;
}