/**
 * attr-main.css - Complete Stylesheet for Sri Lankan Attractions Master Page
 * Enhanced with white theme, brand color compatibility, and diagonal shimmer effects
 * 
 * Lazzora Voyages - Attractions Module
 * Integrates with main.css centralized theme system
 * 
 * UPDATED: Enhanced card hover effects, perfect button alignment, and diagonal shimmer animation
 */

/* =============================================
 * HERO SLIDESHOW STYLES - PREMIUM DESIGN
 * ============================================= */

.hero-slideshow {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 120px 0 0;
  margin-bottom: 0;
  overflow: hidden;
  min-height: 70vh;
  transition: all 2s ease-in-out;
}

.hero-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transition: opacity 2s ease-in-out;
  z-index: 0;
}

.hero-bg-layer-0 {
  opacity: 1;
  z-index: 1;
}

.hero-bg-layer-1 {
  opacity: 0;
  z-index: 0;
}

.hero-slideshow .container {
  position: relative;
  z-index: 10;
  padding-bottom: 80px;
}

.hero-slideshow h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 3.5rem;
  margin-bottom: 20px;
  position: relative;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  animation: fadeInUp 1s ease-out;
  letter-spacing: -0.02em;
}

.hero-slideshow h1::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-orange), #ff8a50);
  animation: slideIn 1.5s ease-out;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(255, 107, 53, 0.5);
}

.hero-slideshow p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
  animation: fadeInUp 1s ease-out 0.3s both;
  line-height: 1.6;
  font-weight: 400;
}

.hero-glow {
  position: absolute;
  bottom: -100px;
  left: 0;
  width: 100%;
  height: 150px;
  background: radial-gradient(ellipse at center, rgba(255, 107, 53, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 5;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-badges .badge {
  font-size: 0.9rem;
  padding: 12px 24px;
  margin: 0 5px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(15px);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: white;
  cursor: default;
}

.hero-badges .badge:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
}

.badge-primary { 
  background: linear-gradient(135deg, #007bff, #0056b3) !important;
  border-color: rgba(0, 123, 255, 0.3) !important;
}
.badge-teal { 
  background: linear-gradient(135deg, #20c997, #17a085) !important;
  border-color: rgba(32, 201, 151, 0.3) !important;
}
.badge-success { 
  background: linear-gradient(135deg, #28a745, #1e7e34) !important;
  border-color: rgba(40, 167, 69, 0.3) !important;
}
.badge-info { 
  background: linear-gradient(135deg, #17a2b8, #138496) !important;
  border-color: rgba(23, 162, 184, 0.3) !important;
}
.badge-secondary { 
  background: linear-gradient(135deg, #6c757d, #545b62) !important;
  border-color: rgba(108, 117, 125, 0.3) !important;
}

/* =============================================
 * CATEGORY FILTER SECTION - PREMIUM STYLE
 * ============================================= */

.attr-filter {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 1px solid var(--border-gray);
  padding: var(--spacing-8) 0;
  position: relative;
  overflow: hidden;
}

.attr-filter::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.05), transparent);
  animation: shimmer 3s infinite;
}

.filter-btn {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: var(--spacing-2);
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 50px;
  padding: 14px 28px;
  border: 2px solid transparent;
  background: white;
  color: #495057;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.filter-btn:hover::before {
  left: 100%;
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary-orange), #ff8a50);
  color: white;
  border-color: var(--primary-orange);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
  transform: translateY(-3px);
}

.filter-btn:hover:not(.active) {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #fff, #f8f9fa);
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
}

/* =============================================
 * DESTINATIONS SECTION - SEAMLESS INTEGRATION
 * ============================================= */

.attr-destinations {
  background: linear-gradient(180deg, #f8f9fa 0%, white 50%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
  padding: var(--spacing-20) 0;
}

.attr-destinations .section-title {
  font-weight: var(--font-weight-black);
  margin-bottom: var(--spacing-4);
  position: relative;
  display: inline-block;
  font-size: var(--text-4xl);
  letter-spacing: 0.5px;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.attr-destinations .section-title:after {
  content: '';
  position: absolute;
  width: 100px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-orange), #ff8a50);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.attr-destinations .section-subtitle {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-normal);
  color: var(--text-secondary);
  margin-top: var(--spacing-6);
  opacity: 0.9;
}

/* Premium Glow Effects */
.premium-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  border-radius: 50%;
  z-index: 1;
  animation: float 8s ease-in-out infinite;
}

.premium-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(32, 201, 151, 0.1) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  border-radius: 50%;
  z-index: 1;
  animation: float 10s ease-in-out infinite reverse;
}

/* =============================================
 * DESTINATION CARDS WITH WHITE THEME & DIAGONAL SHIMMER EFFECTS
 * ============================================= */

/* Base card styling with white theme and shimmer setup */
.attr-card {
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 2px solid #f1f3f4;
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.06);
  opacity: 1;
  transform: scale(1);
  height: 100%;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  visibility: visible;
  min-height: 450px;
  
  /* Smooth transition for hover effects */
  transition: all 0.3s ease-in-out;
  
  /* Ensure proper z-index layering */
  z-index: 1;
}

/* ===== DIAGONAL SHIMMER OVERLAY EFFECT ===== */
.attr-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  
  /* Initial position: off-screen bottom-left */
  transform: translateX(-100%) translateY(100%) rotate(45deg);
  
  /* Smooth transition for the shimmer animation */
  transition: transform 0.6s ease-out;
  
  /* Ensure shimmer is above card content but below text */
  z-index: 2;
  
  /* Prevent interaction */
  pointer-events: none;
  
  /* Initially hidden */
  opacity: 0;
  
  /* Performance optimization */
  will-change: transform, opacity;
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Shimmer animation on hover */
.attr-card:hover::before {
  /* Move to top-right off-screen position */
  transform: translateX(100%) translateY(-100%) rotate(45deg);
  
  /* Make visible during animation */
  opacity: 1;
}

/* Enhanced hover effects with shimmer */
.attr-card:hover {
  /* Scale-up animation */
  transform: scale(1.05) translateY(-8px);
  
  /* Enhanced shadow */
  border-color: rgba(255, 107, 53, 0.2);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.15),
    0 5px 15px rgba(255, 107, 53, 0.1);
  
  /* Bring card to front */
  z-index: 10;
}

/* Card animation on load */
.attr-card-animated {
  animation: fadeInUp 0.8s forwards cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: scale(1);
}

/* Image container with hover effects */
.attr-card-img-wrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
  z-index: 3;
}

.attr-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.95) saturate(1.1);
}

.attr-card:hover .attr-card-img {
  transform: scale(1.1);
  filter: brightness(1.05) saturate(1.2);
}

/* Category badge with hover effects */
.attr-card-category {
  display: inline-block;
  color: white;
  padding: 8px 16px;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 25px;
  position: absolute;
  top: 20px;
  left: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 10;
  backdrop-filter: blur(15px);
  transition: all 0.3s ease-in-out;
}

.attr-card:hover .attr-card-category {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ===== PERFECT CARD BODY ALIGNMENT ===== */
.attr-card .card-body {
  background: white !important;
  position: relative;
  z-index: 5;
  border-top: none;
  padding: 30px;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-height: 180px;
}

.attr-card .card-title {
  font-weight: 700;
  margin: 0 0 20px 0;
  color: #2c3e50 !important;
  font-size: 1.4rem;
  transition: all 0.3s ease-in-out;
  letter-spacing: 0.5px;
  text-align: center;
  font-family: var(--font-heading);
  line-height: 1.3;
}

.attr-card:hover .card-title {
  color: var(--primary-orange) !important;
  transform: scale(1.02);
}

.attr-card .card-text {
  color: #6c757d !important;
  font-size: 0.95rem;
  margin-bottom: 25px;
  line-height: 1.6;
  font-weight: 400;
  text-align: center;
  flex-grow: 1;
}

/* Perfect button alignment at bottom */
.attr-card .card-body > .text-center {
  margin-top: auto;
}

/* ===== ENHANCED BUTTON STYLING ===== */
.attr-card .btn {
  font-family: var(--font-primary);
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 12px 30px;
  border-radius: 25px;
  transition: all 0.3s ease-in-out;
  text-transform: uppercase;
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
  min-width: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.attr-card .btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.attr-card:hover .btn::after {
  left: 100%;
}

.attr-card .btn-primary {
  background: linear-gradient(135deg, var(--primary-orange), #ff8a50);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.attr-card:hover .btn-primary {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
  background: linear-gradient(135deg, #ff8a50, var(--primary-orange));
}

/* ===== SHIMMER VARIANTS FOR DIFFERENT CATEGORIES ===== */

/* Beach category - Ocean shimmer */
.attr-card[data-category="beach"]::before {
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(23, 162, 184, 0.15) 40%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(32, 201, 151, 0.15) 60%,
    transparent 70%
  );
}

.attr-card[data-category="beach"]:hover {
  box-shadow: 
    0 15px 35px rgba(23, 162, 184, 0.15),
    0 5px 15px rgba(32, 201, 151, 0.1);
}

/* Cultural category - Warm shimmer */
.attr-card[data-category="cultural"]::before {
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(220, 53, 69, 0.1) 40%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 107, 53, 0.15) 60%,
    transparent 70%
  );
}

.attr-card[data-category="cultural"]:hover {
  box-shadow: 
    0 15px 35px rgba(220, 53, 69, 0.15),
    0 5px 15px rgba(255, 107, 53, 0.1);
}

/* Wildlife category - Nature shimmer */
.attr-card[data-category="wildlife"]::before {
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(40, 167, 69, 0.15) 40%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(32, 201, 151, 0.15) 60%,
    transparent 70%
  );
}

.attr-card[data-category="wildlife"]:hover {
  box-shadow: 
    0 15px 35px rgba(40, 167, 69, 0.15),
    0 5px 15px rgba(32, 201, 151, 0.1);
}

/* Nature category - Sky shimmer */
.attr-card[data-category="nature"]::before {
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(0, 123, 255, 0.15) 40%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(23, 162, 184, 0.15) 60%,
    transparent 70%
  );
}

.attr-card[data-category="nature"]:hover {
  box-shadow: 
    0 15px 35px rgba(0, 123, 255, 0.15),
    0 5px 15px rgba(23, 162, 184, 0.1);
}

/* Urban category - Modern shimmer */
.attr-card[data-category="urban"]::before {
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(108, 117, 125, 0.15) 40%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(73, 80, 87, 0.15) 60%,
    transparent 70%
  );
}

.attr-card[data-category="urban"]:hover {
  box-shadow: 
    0 15px 35px rgba(108, 117, 125, 0.15),
    0 5px 15px rgba(73, 80, 87, 0.1);
}

/* ===== SHIMMER EFFECT VARIANTS ===== */

/* Bright shimmer variant */
.attr-card.shimmer-bright::before {
  background: linear-gradient(
    45deg,
    transparent 20%,
    rgba(255, 255, 255, 0.4) 35%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.4) 65%,
    transparent 80%
  );
}

/* Premium shimmer with orange tint */
.attr-card.shimmer-premium::before {
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 40%,
    rgba(255, 167, 53, 0.15) 50%,
    rgba(255, 255, 255, 0.25) 60%,
    transparent 70%
  );
}

/* Fast shimmer animation */
.attr-card.shimmer-fast::before {
  transition: transform 0.4s ease-out;
}

.attr-card.shimmer-fast:hover::before {
  transform: translateX(150%) translateY(-150%) rotate(45deg);
}

/* Slow shimmer animation */
.attr-card.shimmer-slow::before {
  transition: transform 0.8s ease-out;
}

/* Double shimmer effect */
.attr-card.shimmer-double::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 60%
  );
  
  transform: translateX(-120%) translateY(120%) rotate(45deg);
  transition: transform 0.7s ease-out 0.1s;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}

.attr-card.shimmer-double:hover::after {
  transform: translateX(120%) translateY(-120%) rotate(45deg);
  opacity: 1;
}

/* =============================================
 * WHY VISIT SECTION - PREMIUM STYLING
 * ============================================= */

.attr-why-visit {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
  padding: var(--spacing-20) 0;
}

.attr-why-visit::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(32, 201, 151, 0.05) 0%, transparent 50%);
  z-index: 1;
}

.attr-why-visit .container {
  position: relative;
  z-index: 2;
}

.attr-why-visit .section-title {
  color: var(--text-primary);
  font-weight: var(--font-weight-black);
  margin-bottom: var(--spacing-4);
  position: relative;
  display: inline-block;
  font-size: var(--text-4xl);
  letter-spacing: 0.5px;
  font-family: var(--font-heading);
}

.attr-why-visit .section-title:after {
  content: '';
  position: absolute;
  width: 100px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-orange), #ff8a50);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.attr-why-visit .section-subtitle {
  color: var(--text-secondary);
  font-size: var(--text-xl);
  font-weight: var(--font-weight-normal);
  margin-top: var(--spacing-6);
}

.attr-why-visit .card {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.attr-why-visit .card:hover {
  transform: translateY(-20px) scale(1.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 107, 53, 0.3);
}

.attr-why-visit .card i {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.attr-why-visit .card:hover i {
  transform: scale(1.3) rotateY(360deg);
}

.attr-why-visit .card-title {
  color: var(--text-primary);
  transition: color 0.3s ease;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
}

.attr-why-visit .card:hover .card-title {
  color: var(--primary-orange);
}

.attr-why-visit .card-text {
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* =============================================
 * LOADING STATES
 * ============================================= */

#loading-overlay {
  background: rgba(248, 249, 250, 0.95);
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
}

#error-message {
  background: rgba(248, 249, 250, 0.95);
  backdrop-filter: blur(10px);
}

#error-message h2 {
  color: var(--text-primary);
  font-family: var(--font-heading);
}

#error-message .lead {
  color: var(--text-secondary);
}

/* =============================================
 * ANIMATIONS
 * ============================================= */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    width: 0;
  }
  to {
    width: 100px;
  }
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
  }
  50% { 
    transform: translateY(-30px) rotate(180deg); 
  }
}

@keyframes shimmer {
  0% { left: -50%; }
  100% { left: 150%; }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Continuous shimmer animation (optional) */
@keyframes continuousShimmer {
  0% {
    transform: translateX(-100%) translateY(100%) rotate(45deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%) translateY(-100%) rotate(45deg);
    opacity: 0;
  }
}

/* =============================================
 * SHIMMER UTILITY CLASSES
 * ============================================= */

/* Disable shimmer for specific cards */
.attr-card.no-shimmer::before,
.attr-card.no-shimmer::after {
  display: none !important;
}

/* Continuous shimmer animation (always active) */
.attr-card.shimmer-continuous::before {
  animation: continuousShimmer 3s ease-in-out infinite;
}

/* Shimmer on load animation */
.attr-card.shimmer-on-load::before {
  animation: continuousShimmer 0.8s ease-out 0.5s;
}

/* =============================================
 * RESPONSIVE ADJUSTMENTS
 * ============================================= */

@media (max-width: 1199.98px) {
  .attr-destinations .section-title,
  .attr-why-visit .section-title {
    font-size: var(--text-3xl);
  }
  
  .hero-slideshow h1 {
    font-size: 3rem;
  }
  
  .premium-glow,
  .premium-glow-2 {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 991.98px) {
  .hero-slideshow {
    padding: 80px 0 0;
    background-attachment: scroll;
    min-height: 60vh;
  }
  
  .hero-slideshow .container {
    padding-bottom: 60px;
  }
  
  .attr-why-visit {
    padding: var(--spacing-16) 0;
  }
  
  .hero-slideshow h1 {
    font-size: 2.5rem;
  }
  
  .hero-slideshow p {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }
  
  .attr-destinations .section-title,
  .attr-why-visit .section-title {
    font-size: var(--text-2xl);
  }
  
  .filter-btn {
    padding: 12px 20px;
    font-size: 0.8rem;
    margin: 5px;
  }
  
  .attr-card .card-body {
    padding: 25px;
  }
  
  .attr-card-img-wrapper {
    height: 240px;
  }
  
  .attr-card {
    min-height: 420px;
  }
  
  .attr-card:hover {
    transform: scale(1.03) translateY(-5px);
  }
  
  .attr-card::before {
    transition: transform 0.5s ease-out;
  }
  
  .hero-badges .badge {
    font-size: 0.8rem;
    padding: 10px 20px;
    margin: 2px;
  }
  
  .premium-glow,
  .premium-glow-2 {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 767.98px) {
  .hero-slideshow {
    padding: 60px 0 0;
    min-height: 50vh;
  }
  
  .hero-slideshow .container {
    padding-bottom: 40px;
  }
  
  .hero-slideshow h1 {
    font-size: 2rem;
  }
  
  .hero-slideshow p {
    font-size: 1rem;
  }
  
  .hero-badges {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  
  .hero-badges .badge {
    font-size: 0.75rem;
    padding: 8px 16px;
  }
  
  .attr-card-img-wrapper {
    height: 220px;
  }
  
  .attr-card {
    min-height: 400px;
  }
  
  .attr-card:hover {
    transform: scale(1.02) translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  }
  
  .attr-card::before {
    transition: transform 0.4s ease-out;
  }
  
  .attr-card .card-body {
    padding: 25px;
  }
  
  .attr-card .card-title {
    font-size: 1.2rem;
  }
  
  .filter-btn {
    padding: 10px 16px;
    font-size: 0.75rem;
  }
}

@media (max-width: 576px) {
  .hero-slideshow {
    padding: 60px 0 0;
    min-height: 50vh;
  }
  
  .hero-slideshow .container {
    padding-bottom: 40px;
  }
  
  .hero-slideshow h1 {
    font-size: 2rem;
  }
  
  .hero-slideshow p {
    font-size: 1rem;
  }
  
  .hero-badges {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  
  .hero-badges .badge {
    font-size: 0.75rem;
    padding: 8px 16px;
  }
  
  .attr-card-img-wrapper {
    height: 200px;
  }
  
  .attr-card {
    min-height: 380px;
  }
  
  .attr-card:hover {
    transform: scale(1.01) translateY(-2px);
  }
  
  .attr-card .card-body {
    padding: 20px;
  }
  
  .attr-card .card-title {
    font-size: 1.2rem;
  }
  
  .filter-btn {
    padding: 10px 16px;
    font-size: 0.75rem;
  }
}

/* =============================================
 * ACCESSIBILITY IMPROVEMENTS
 * ============================================= */

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .attr-card:hover {
    transform: none;
  }
  
  .attr-card::before,
  .attr-card::after {
    transition: none !important;
    animation: none !important;
  }
  
  .attr-card:hover::before,
  .attr-card:hover::after {
    opacity: 0 !important;
  }
  
  .hero-slideshow h1,
  .hero-slideshow p,
  .hero-badges {
    animation: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .attr-card {
    border-width: 2px;
    border-color: #000;
  }
  
  .attr-card:hover {
    border-color: var(--primary-orange);
  }
  
  .filter-btn {
    border-width: 2px;
    border-color: #000;
  }
}

/* Focus management for keyboard navigation */
.attr-card:focus,
.attr-card:focus-within {
  outline: 2px solid var(--primary-orange);
  outline-offset: 2px;
}

.filter-btn:focus-visible {
  outline: 2px solid var(--primary-orange);
  outline-offset: 2px;
}

.attr-card .btn:focus-visible {
  outline: 2px solid var(--primary-orange);
  outline-offset: 2px;
}

/* =============================================
 * TOUCH DEVICE OPTIMIZATIONS
 * ============================================= */

@media (hover: none) {
  .attr-card:hover::before {
    opacity: 0;
  }
  
  .attr-card:active::before {
    transform: translateX(100%) translateY(-100%) rotate(45deg);
    opacity: 1;
    transition: transform 0.3s ease-out;
  }
  
  .attr-card:hover {
    transform: none;
  }
  
  .attr-card:active {
    transform: scale(0.98);
  }
}

@media (hover: hover) {
  .attr-card:hover {
    transform: scale(1.05) translateY(-8px);
  }
}

/* =============================================
 * PRINT STYLES
 * ============================================= */

@media print {
  .hero-slideshow,
  .attr-filter,
  .premium-glow,
  .premium-glow-2 {
    display: none !important;
  }
  
  .attr-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #000;
  }
  
  .attr-card:hover {
    transform: none;
    box-shadow: none;
  }
  
  .attr-card::before,
  .attr-card::after {
    display: none !important;
  }
}

/* =============================================
 * DARK MODE SUPPORT (OPTIONAL)
 * ============================================= */

@media (prefers-color-scheme: dark) {
  .attr-card {
    background: #1a1a1a;
    border-color: #333;
    color: #fff;
  }
  
  .attr-card .card-title {
    color: #fff !important;
  }
  
  .attr-card .card-text {
    color: #ccc !important;
  }
  
  .attr-destinations {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  }
  
  .attr-why-visit {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  }
}

/* =============================================
 * UTILITY CLASSES FOR CARD SYSTEM
 * ============================================= */

/* Card loading state */
.attr-card.loading {
  opacity: 0.6;
  pointer-events: none;
}

.attr-card.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2rem;
  height: 2rem;
  margin: -1rem 0 0 -1rem;
  border: 2px solid var(--border-gray);
  border-top-color: var(--primary-orange);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 20;
}

/* Card featured state */
.attr-card.featured {
  border-color: var(--primary-orange);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
}

.attr-card.featured::before {
  opacity: 0.3;
}

/* Card disabled state */
.attr-card.disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.attr-card.disabled:hover {
  transform: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.attr-card.disabled::before {
  display: none;
}

/* =============================================
 * ENHANCED MICROINTERACTIONS
 * ============================================= */

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Selection styling */
::selection {
  background: var(--primary-orange);
  color: white;
}

::-moz-selection {
  background: var(--primary-orange);
  color: white;
}

/* Custom scrollbar for webkit browsers */
.attr-destinations::-webkit-scrollbar {
  width: 8px;
}

.attr-destinations::-webkit-scrollbar-track {
  background: var(--bg-tertiary);
}

.attr-destinations::-webkit-scrollbar-thumb {
  background: var(--primary-orange);
  border-radius: 4px;
}

.attr-destinations::-webkit-scrollbar-thumb:hover {
  background: var(--dark-orange);
}

/* =============================================
 * PERFORMANCE OPTIMIZATIONS
 * ============================================= */

/* Hardware acceleration for smooth animations */
.attr-card,
.attr-card-img,
.attr-card-category,
.filter-btn {
  will-change: transform;
}

/* Reduce paint during animations */
.attr-card:hover {
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Contain layout and paint */
.attr-card {
  contain: layout style paint;
}

/* =============================================
 * GRID SYSTEM ENHANCEMENTS
 * ============================================= */

/* Ensure grid items stretch to fill container */
.attr-destinations .row {
  display: flex;
  flex-wrap: wrap;
}

.attr-destinations .col-md-4,
.attr-destinations .col-lg-3 {
  display: flex;
  flex-direction: column;
}

/* Masonry-like layout for varied content (optional) */
.attr-destinations.masonry {
  column-count: 3;
  column-gap: 2rem;
}

.attr-destinations.masonry .attr-card {
  break-inside: avoid;
  margin-bottom: 2rem;
}

@media (max-width: 991.98px) {
  .attr-destinations.masonry {
    column-count: 2;
  }
}

@media (max-width: 767.98px) {
  .attr-destinations.masonry {
    column-count: 1;
  }
}

/* =============================================
 * FINAL OPTIMIZATIONS
 * ============================================= */

/* Optimize font loading */
.attr-card .card-title {
  font-display: swap;
}

/* Optimize image loading */
.attr-card-img {
  content-visibility: auto;
}

/* Reduce repaints */
.attr-card .card-body {
  transform: translateZ(0);
}

/* Loading spinner for better UX */
.loading-spinner {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--border-gray);
  border-top-color: var(--primary-orange);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Smooth image transitions */
.attr-card-img {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Additional animation delays for staggered effects */
.attr-card:nth-child(1) { animation-delay: 0.1s; }
.attr-card:nth-child(2) { animation-delay: 0.2s; }
.attr-card:nth-child(3) { animation-delay: 0.3s; }
.attr-card:nth-child(4) { animation-delay: 0.4s; }
.attr-card:nth-child(5) { animation-delay: 0.5s; }
.attr-card:nth-child(6) { animation-delay: 0.6s; }
.attr-card:nth-child(7) { animation-delay: 0.7s; }
.attr-card:nth-child(8) { animation-delay: 0.8s; }

/* Enhanced shadow definitions */
.shadow-soft {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.shadow-medium {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.shadow-strong {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Text truncation utilities */
.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-truncate-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.text-truncate-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Ensure smooth transitions on all interactive elements */
.attr-card *,
.attr-card *::before,
.attr-card *::after {
  transition: inherit;
}

/* End of attr-main.css - Complete File with Diagonal Shimmer Effects */