/**
 * Modern Index Styles - HRM Theme Enhancement
 * Version: 1.0
 */

/* ============================================
   CSS Variables - Dễ dàng customize
   ============================================ */
:root {
  --primary-color: #1f87e6;
  --primary-dark: #1468b4;
  --secondary-color: #ff6b35;
  --accent-color: #ffc107;
  --text-dark: #2d3436;
  --text-light: #636e72;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Hero Slider Enhancement
   ============================================ */
.home-slides {
  position: relative;
  overflow: hidden;
}

.home-slides::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  pointer-events: none;
  z-index: 10;
}

.home-slide .item {
  position: relative;
}

.home-slide .item img {
  width: 100%;
  height: auto;
  min-height: 400px;
  object-fit: cover;
  transition: transform 8s ease-out;
}

.home-slide .item.active img {
  transform: scale(1.05);
}

/* Slider Controls */
.home-slides .lSAction > a {
  width: 50px;
  height: 50px;
  line-height: 50px;
  background: rgba(255,255,255,0.95);
  color: var(--primary-color);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
}

.home-slides:hover .lSAction > a {
  opacity: 1;
}

.home-slides .lSAction > a:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.home-slides .lSPager.lSpg > li a {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.5);
  border: 2px solid white;
}

.home-slides .lSPager.lSpg > li.active a,
.home-slides .lSPager.lSpg > li:hover a {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(1.2);
}

/* ============================================
   Main Content Section
   ============================================ */
#block-main-content {
  background: var(--bg-light);
  padding: 50px 0 60px;
}

#block-main-content > .container {
  max-width: 1200px;
}

/* ============================================
   Section Titles
   ============================================ */
#block-main-content h3,
#sidebar-home h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  position: relative;
  display: inline-block;
}

#block-main-content h3::after,
#sidebar-home h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

/* ============================================
   Property Cards - Main Grid
   ============================================ */
.warrper_box {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  margin-bottom: 25px;
}

.warrper_box:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.feature-product {
  position: relative;
}

.feature-product .thumb1 {
  position: relative;
  overflow: hidden;
}

.feature-product .thumb1 .thumb {
  overflow: hidden;
}

.feature-product .thumb1 .thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-product:hover .thumb1 .thumb img {
  transform: scale(1.08);
}

/* HOT Badge */
.feature-product .thumb1 label[for="hot"] {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #ff6b35, #ff4757);
  color: white;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(255,107,53,0.4);
  animation: pulse-badge 2s infinite;
  z-index: 5;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Product Info */
.sumary_product {
  padding: 18px 20px 10px;
}

.sumary_product h4 {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.sumary_product h4 a {
  color: var(--text-dark);
  font-weight: 600;
  transition: var(--transition);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sumary_product h4 a:hover {
  color: var(--primary-color);
}

.info_product {
  padding: 0 20px 20px;
}

.text_detail a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(31,135,230,0.1), rgba(31,135,230,0.05));
  border-radius: 25px;
  transition: var(--transition);
}

.text_detail a::after {
  content: '→';
  transition: transform 0.3s ease;
}

.text_detail a:hover {
  background: var(--primary-color);
  color: white;
}

.text_detail a:hover::after {
  transform: translateX(4px);
}


/* ============================================
   Sidebar Styles
   ============================================ */
#sidebar-home {
  position: sticky;
  top: 20px;
}

#sidebar-home .warrper_box {
  padding: 0;
  margin-bottom: 30px;
}

/* News Items in Sidebar */
.bottom-news.tin-tuc {
  padding: 0;
}

.bottom-news.tin-tuc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bottom-news.tin-tuc li {
  display: flex;
  gap: 15px;
  padding: 18px;
  border-bottom: 1px solid #f0f0f0;
  transition: var(--transition);
}

.bottom-news.tin-tuc li:last-child {
  border-bottom: none;
}

.bottom-news.tin-tuc li:hover {
  background: var(--bg-light);
}

.bottom-news.tin-tuc .thumb {
  flex-shrink: 0;
  width: 85px;
  height: 85px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.bottom-news.tin-tuc .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bottom-news.tin-tuc li:hover .thumb img {
  transform: scale(1.1);
}

.bottom-news.tin-tuc figure {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.bottom-news.tin-tuc figure h4 {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5;
}

.bottom-news.tin-tuc figure h4 a {
  color: var(--text-dark);
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: var(--transition);
}

.bottom-news.tin-tuc figure h4 a:hover {
  color: var(--primary-color);
}

.bottom-news.tin-tuc date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 6px;
}

.bottom-news.tin-tuc date i {
  color: var(--primary-color);
}

.bottom-news.tin-tuc p {
  display: none; /* Hide excerpt for cleaner look */
}

/* Video Slider */
.slider_video {
  padding: 15px;
}

.slider_video ul {
  margin: 0;
  padding: 0;
}

.slider_video iframe {
  border-radius: var(--radius-sm);
}

#anh_video .lSGallery {
  margin-top: 10px;
}

#anh_video .lSGallery li {
  border-radius: var(--radius-sm);
  overflow: hidden;
  opacity: 0.6;
  transition: var(--transition);
}

#anh_video .lSGallery li.active,
#anh_video .lSGallery li:hover {
  opacity: 1;
}

/* ============================================
   Category Title Links
   ============================================ */
#primary > .row > .col-sm-6 > h3 {
  margin-bottom: 15px;
}

#primary > .row > .col-sm-6 > h3 a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 700;
  padding: 10px 18px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

#primary > .row > .col-sm-6 > h3 a::before {
  content: '';
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

#primary > .row > .col-sm-6 > h3 a:hover {
  color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

/* ============================================
   Animations & Effects
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.warrper_box {
  animation: fadeInUp 0.6s ease forwards;
}

.col-sm-6:nth-child(1) .warrper_box { animation-delay: 0.1s; }
.col-sm-6:nth-child(2) .warrper_box { animation-delay: 0.2s; }
.col-sm-6:nth-child(3) .warrper_box { animation-delay: 0.3s; }
.col-sm-6:nth-child(4) .warrper_box { animation-delay: 0.4s; }

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Image loading placeholder */
.thumb img {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================
   Footer Enhancement
   ============================================ */
.site-footer {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #b0b0b0;
}

.footer-top {
  padding: 50px 0 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-sidebar .widget-title,
.footer-sidebar h4 {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  position: relative;
}

.footer-sidebar .widget-title::after,
.footer-sidebar h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.footer-sidebar a {
  color: #b0b0b0;
  transition: var(--transition);
}

.footer-sidebar a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  padding: 25px 0;
  text-align: center;
}

.site-info {
  font-size: 14px;
}

/* ============================================
   Back to Top Button
   ============================================ */
#topcontrol {
  position: fixed;
  right: 25px;
  bottom: -100px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  z-index: 9999;
}

#topcontrol:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(31,135,230,0.4);
}

/* ============================================
   Header Enhancement
   ============================================ */
.main-navigation {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  box-shadow: var(--shadow-md);
}

.main-navigation-inner {
  display: flex;
  justify-content: center;
}

.main-navigation #primary-menu {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-navigation #primary-menu > li > a {
  display: block;
  padding: 15px 20px;
  color: white;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
}

.main-navigation #primary-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: white;
  transition: var(--transition);
  transform: translateX(-50%);
}

.main-navigation #primary-menu > li:hover > a::after,
.main-navigation #primary-menu > li.current-menu-item > a::after {
  width: 80%;
}

.main-navigation #primary-menu > li:hover > a {
  background: rgba(255,255,255,0.1);
}

/* Dropdown Menu */
.main-navigation .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: white;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1000;
  padding: 10px 0;
  margin: 0;
  list-style: none;
}

.main-navigation #primary-menu > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-navigation .sub-menu li a {
  display: block;
  padding: 10px 20px;
  color: var(--text-dark);
  font-size: 14px;
  transition: var(--transition);
}

.main-navigation .sub-menu li a:hover {
  background: var(--bg-light);
  color: var(--primary-color);
  padding-left: 25px;
}


/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 991px) {
  #block-main-content {
    padding: 30px 0 40px;
  }
  
  #sidebar-home {
    position: relative;
    top: 0;
    margin-top: 30px;
  }
  
  .feature-product .thumb1 .thumb img {
    height: 200px;
  }
}

@media (max-width: 767px) {
  :root {
    --radius-md: 10px;
  }
  
  #block-main-content {
    padding: 20px 0 30px;
  }
  
  .col-sm-6 {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .warrper_box {
    margin-bottom: 20px;
  }
  
  .feature-product .thumb1 .thumb img {
    height: 180px;
  }
  
  .sumary_product {
    padding: 15px 15px 8px;
  }
  
  .sumary_product h4 {
    font-size: 15px;
  }
  
  .info_product {
    padding: 0 15px 15px;
  }
  
  .text_detail a {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  #sidebar-home h3,
  #block-main-content h3 {
    font-size: 18px;
  }
  
  .bottom-news.tin-tuc li {
    padding: 15px;
    gap: 12px;
  }
  
  .bottom-news.tin-tuc .thumb {
    width: 70px;
    height: 70px;
  }
  
  .bottom-news.tin-tuc figure h4 {
    font-size: 13px;
  }
  
  /* Mobile Menu */
  .menu-responsive {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    transition: var(--transition);
    overflow-y: auto;
  }
  
  .menu-responsive.show-mn {
    left: 0;
  }
  
  .menu-responsive-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 9999;
  }
  
  .menu-responsive-overlay.show-mn {
    opacity: 1;
    visibility: visible;
  }
  
  .menu-close {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
  }
  
  .menu-responsive .menu {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .menu-responsive .menu li a {
    display: block;
    padding: 15px 20px;
    color: var(--text-dark);
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
  }
  
  .menu-responsive .menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
  }
  
  .menu-responsive .sub-menu {
    background: var(--bg-light);
    display: none;
  }
  
  .menu-responsive .sub-menu li a {
    padding-left: 35px;
    font-size: 14px;
  }
  
  #topcontrol {
    width: 45px;
    height: 45px;
    right: 15px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .feature-product .thumb1 .thumb img {
    height: 160px;
  }
  
  .feature-product .thumb1 label[for="hot"] {
    padding: 5px 10px;
    font-size: 10px;
    top: 10px;
    left: 10px;
  }
  
  .home-slide .item img {
    min-height: 250px;
  }
}

/* ============================================
   Loading States & Utilities
   ============================================ */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 3px solid var(--bg-light);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Lazy load fade in */
img.lazyloaded {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Focus states for accessibility */
a:focus,
button:focus,
input:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Selection color */
::selection {
  background: var(--primary-color);
  color: white;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
  .home-slides,
  #topcontrol,
  .main-navigation,
  .menu-responsive,
  .slider_video {
    display: none !important;
  }
  
  .warrper_box {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }
}


/* ============================================
   Modern Template Specific Styles
   ============================================ */

/* Category Badge */
.property-category {
  margin-bottom: 15px;
}

.category-badge {
  display: inline-block;
  margin: 0;
  padding: 0;
}

.category-badge a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  box-shadow: 0 3px 12px rgba(31,135,230,0.3);
  transition: var(--transition);
}

.category-badge a:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(31,135,230,0.4);
}

.category-badge i {
  font-size: 12px;
}

/* Property Card Enhanced */
.property-card {
  position: relative;
}

.property-link {
  position: relative;
  display: block;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.property-link:hover .image-overlay {
  opacity: 1;
}

.view-details {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 20px;
  transform: scale(0.8);
  transition: var(--transition);
}

.property-link:hover .view-details {
  transform: scale(1);
}

/* Hot Badge Enhanced */
.hot-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #ff6b35, #ff4757);
  color: white;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(255,107,53,0.5);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: pulse-glow 2s infinite;
}

.hot-badge i {
  animation: fire-flicker 1.5s infinite;
}

@keyframes pulse-glow {
  0%, 100% { 
    box-shadow: 0 4px 15px rgba(255,107,53,0.5);
  }
  50% { 
    box-shadow: 0 4px 25px rgba(255,107,53,0.8);
  }
}

@keyframes fire-flicker {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.1); }
  50% { transform: scale(0.95); }
  75% { transform: scale(1.05); }
}

/* Button View Detail Enhanced */
.btn-view-detail {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  color: var(--primary-color) !important;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(31,135,230,0.1), rgba(31,135,230,0.05));
  border-radius: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-view-detail::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--primary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
  z-index: -1;
}

.btn-view-detail:hover::before {
  width: 300px;
  height: 300px;
}

.btn-view-detail:hover {
  color: white !important;
  transform: translateX(5px);
}

.btn-view-detail i {
  transition: transform 0.3s ease;
}

.btn-view-detail:hover i {
  transform: translateX(5px);
}

/* Sidebar Sections */
.sidebar-section {
  margin-bottom: 35px;
}

.sidebar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 18px;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--bg-white), var(--bg-light));
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.sidebar-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.sidebar-title i {
  color: var(--primary-color);
  font-size: 20px;
}

.sidebar-box {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* News List */
.news-list {
  padding: 0;
}

.news-item {
  transition: var(--transition);
}

.news-item:hover {
  background: var(--bg-light);
}

/* Property Grid */
.property-grid {
  margin-bottom: 30px;
}

.property-item {
  margin-bottom: 25px;
}

/* Modern Layout Class */
.modern-layout {
  position: relative;
}

.modern-layout::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, rgba(31,135,230,0.03), transparent);
  pointer-events: none;
}

/* Time Element Styling */
time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-light);
  font-style: normal;
}

/* Accessibility Improvements */
.property-link:focus,
.btn-view-detail:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100000;
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   AOS Animation Integration
   ============================================ */
[data-aos] {
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos].aos-animate {
  opacity: 1;
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}

[data-aos="fade-left"] {
  transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

/* ============================================
   Loading Skeleton
   ============================================ */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.skeleton-text {
  height: 16px;
  margin-bottom: 8px;
}

.skeleton-title {
  height: 24px;
  margin-bottom: 12px;
}

.skeleton-image {
  height: 220px;
  width: 100%;
}

/* ============================================
   Empty State
   ============================================ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

.empty-state i {
  font-size: 64px;
  color: #ddd;
  margin-bottom: 20px;
}

.empty-state h3 {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.empty-state p {
  font-size: 14px;
  margin-bottom: 0;
}

/* ============================================
   Hover Effects Collection
   ============================================ */
.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.hover-scale {
  transition: var(--transition);
}

.hover-scale:hover {
  transform: scale(1.02);
}

.hover-glow {
  transition: var(--transition);
}

.hover-glow:hover {
  box-shadow: 0 0 20px rgba(31,135,230,0.3);
}

/* ============================================
   Utility Classes
   ============================================ */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.shadow-soft {
  box-shadow: var(--shadow-sm);
}

.shadow-medium {
  box-shadow: var(--shadow-md);
}

.shadow-hard {
  box-shadow: var(--shadow-lg);
}

.rounded-soft {
  border-radius: var(--radius-sm);
}

.rounded-medium {
  border-radius: var(--radius-md);
}

.rounded-hard {
  border-radius: var(--radius-lg);
}

/* ============================================
   Performance Optimizations
   ============================================ */
.property-card,
.sidebar-box,
.warrper_box {
  will-change: transform;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
