/* Premium SecondLife Auto CSS - Modern Design System */

/* === CSS RESET & VARIABLES === */
:root {
  /* Refined Color Palette - Lighter, warmer theme */
  --primary: #ff6b35;        /* Warm orange-red from reference */
  --primary-25: #fffaf8;
  --primary-50: #fff5f2;
  --primary-100: #ffe6d9;
  --primary-200: #ffd1b8;
  --primary-300: #ffab85;
  --primary-400: #ff8a5b;
  --primary-500: #ff6b35;
  --primary-600: #f5552a;
  --primary-700: #e6401e;
  --primary-800: #cc3817;
  --primary-900: #a82d12;
  
  --accent: #4a90e2;         /* Soft blue accent */
  --accent-50: #f0f7ff;
  --accent-100: #e0efff;
  --accent-200: #bde0ff;
  --accent-300: #7cc7ff;
  --accent-400: #4ea8ff;
  --accent-500: #4a90e2;
  --accent-600: #2b7de9;
  
  --success: #28a745;
  --success-50: #f0f9f4;
  --success-100: #dcf4e3;
  --success-600: #1f7a34;
  
  --secondary: #8e8e93;      /* iOS-like secondary gray */
  --secondary-50: #fbfbfc;
  --secondary-100: #f7f7f8;
  
  /* Warmer, softer grays */
  --gray-25: #fdfdfd;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-150: #efefef;
  --gray-200: #e8e8e8;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  
  /* Typography */
  --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-montserrat: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing Scale */
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-3xl: 0 35px 60px -12px rgba(0, 0, 0, 0.3);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-inter);
  line-height: 1.65;
  color: var(--gray-900);
  background: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px; /* Ensure readable base size */
  font-weight: 400;
}

/* === ENHANCED TYPOGRAPHY SYSTEM === */
.font-inter { font-family: var(--font-inter); }
.font-montserrat { font-family: var(--font-montserrat); }

/* Mobile-optimized text sizes */
.text-xs { font-size: 0.75rem; line-height: 1.2rem; letter-spacing: 0.025em; }
.text-sm { font-size: 0.875rem; line-height: 1.35rem; }
.text-base { font-size: 1rem; line-height: 1.65rem; }
.text-lg { font-size: 1.125rem; line-height: 1.8rem; }
.text-xl { font-size: 1.25rem; line-height: 1.9rem; }
.text-2xl { font-size: 1.5rem; line-height: 2.1rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.4rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.7rem; }
.text-5xl { font-size: 3rem; line-height: 3.2rem; }
.text-6xl { font-size: 3.75rem; line-height: 3.9rem; }

/* Display text for hero sections */
.text-display-sm { font-size: 2rem; line-height: 2.4rem; font-weight: 700; }
.text-display-md { font-size: 2.5rem; line-height: 3rem; font-weight: 700; }
.text-display-lg { font-size: 3.5rem; line-height: 4rem; font-weight: 800; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }

/* === COLOR UTILITIES === */
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-secondary { color: var(--secondary); }
.text-gray-300 { color: var(--gray-300); }
.text-gray-400 { color: var(--gray-400); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-gray-800 { color: var(--gray-800); }
.text-gray-900 { color: var(--gray-900); }
.text-white { color: white; }
.text-yellow-300 { color: #fcd34d; }
.text-yellow-400 { color: #fbbf24; }

/* Dark background link colors */
.text-primary-light { color: #60a5fa; }
.text-accent-light { color: #fbbf24; }

.bg-primary { background-color: var(--primary); }
.bg-accent { background-color: var(--accent); }
.bg-success { background-color: var(--success); }
.bg-white { background-color: white; }
.bg-gray-25 { background-color: var(--gray-25); }
.bg-gray-50 { background-color: var(--gray-50); }
.bg-gray-100 { background-color: var(--gray-100); }
.bg-gray-900 { background-color: var(--gray-900); }
.bg-green-500 { background-color: #10b981; }
.bg-green-600 { background-color: #059669; }
.bg-purple-500 { background-color: #8b5cf6; }
.bg-purple-600 { background-color: #7c3aed; }
.bg-pink-500 { background-color: #ec4899; }
.bg-pink-600 { background-color: #db2777; }

/* === LAYOUT UTILITIES === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-md { max-width: 28rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.w-full { width: 100%; }
.w-4 { width: 1rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-48 { width: 12rem; }
.w-72 { width: 18rem; }

.h-4 { height: 1rem; }
.h-6 { width: 1.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-48 { height: 12rem; }
.h-80 { height: 20rem; }
.h-auto { height: auto; }

.min-h-screen { min-height: 100vh; }

/* Flexbox */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.flex-shrink-0 { flex-shrink: 0; }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Spacing */
.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.px-3 { padding-left: var(--space-3); padding-right: var(--space-3); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }
.px-8 { padding-left: var(--space-8); padding-right: var(--space-8); }

.py-2 { padding-top: var(--space-2); padding-bottom: var(--space-2); }
.py-3 { padding-top: var(--space-3); padding-bottom: var(--space-3); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-12 { padding-top: var(--space-12); padding-bottom: var(--space-12); }
.py-16 { padding-top: var(--space-16); padding-bottom: var(--space-16); }
.py-20 { padding-top: var(--space-20); padding-bottom: var(--space-20); }

.pt-2 { padding-top: var(--space-2); }
.pt-32 { padding-top: 8rem; }
.pb-3 { padding-bottom: var(--space-3); }
.pb-6 { padding-bottom: var(--space-6); }

.m-0 { margin: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-16 { margin-top: var(--space-16); }
.mr-1 { margin-right: var(--space-1); }
.mr-2 { margin-right: var(--space-2); }
.mr-3 { margin-right: var(--space-3); }
.mr-4 { margin-right: var(--space-4); }
.ml-2 { margin-left: var(--space-2); }

/* Gap */
.gap-4 { gap: var(--space-4); }
.gap-8 { gap: var(--space-8); }
.gap-16 { gap: var(--space-16); }

.space-x-2 > * + * { margin-left: var(--space-2); }
.space-x-3 > * + * { margin-left: var(--space-3); }
.space-x-4 > * + * { margin-left: var(--space-4); }
.space-x-8 > * + * { margin-left: var(--space-8); }

.space-y-1 > * + * { margin-top: var(--space-1); }
.space-y-2 > * + * { margin-top: var(--space-2); }
.space-y-3 > * + * { margin-top: var(--space-3); }
.space-y-4 > * + * { margin-top: var(--space-4); }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.-top-1 { top: -0.25rem; }
.-right-1 { right: -0.25rem; }
.-top-4 { top: -1rem; }
.bottom-4 { bottom: 1rem; }
.bottom-6 { bottom: 1.5rem; }
.left-4 { left: 1rem; }
.left-6 { left: 1.5rem; }
.left-1\/2 { left: 50%; }

.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* Display */
.block { display: block; }
.hidden { display: none; }
.overflow-hidden { overflow: hidden; }

/* Border & Rounded */
.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-2 { border-width: 2px; }
.border-gray-100 { border-color: var(--gray-100); }
.border-gray-200 { border-color: var(--gray-200); }
.border-gray-800 { border-color: var(--gray-800); }
.border-primary { border-color: var(--primary); }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Object Fit */
.object-cover { object-fit: cover; }

/* Transforms */
.transform { transform: translateX(var(--tw-translate-x, 0)) translateY(var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1)); }
.scale-105 { --tw-scale-x: 1.05; --tw-scale-y: 1.05; }
.rotate-3 { --tw-rotate: 3deg; }
.-translate-x-1\/2 { --tw-translate-x: -50%; }
.-translate-y-12 { --tw-translate-y: -3rem; }
.translate-x-12 { --tw-translate-x: 3rem; }
.translate-y-12 { --tw-translate-y: 3rem; }
.-translate-x-12 { --tw-translate-x: -3rem; }

/* Shadows */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }

/* Opacity */
.opacity-0 { opacity: 0; }
.opacity-5 { opacity: 0.05; }
.opacity-90 { opacity: 0.9; }

/* === COMPONENT CLASSES === */

/* Buttons - Updated for refined color scheme */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-700));
  color: white;
  font-weight: 600;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
  background: linear-gradient(135deg, var(--primary-700), var(--primary-600));
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-600));
  color: white;
  font-weight: 600;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.25);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.35);
  background: linear-gradient(135deg, var(--accent-600), var(--accent-500));
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: white;
  color: var(--primary);
  font-weight: 600;
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-normal);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.15);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Viber-specific button styling for better visibility */
.btn-viber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: #665CAC;
  color: white;
  font-weight: 600;
  border: 2px solid #665CAC;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-normal);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(102, 92, 172, 0.25);
}

.btn-viber:hover {
  background: #5a4f9a;
  border-color: #5a4f9a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 92, 172, 0.35);
  color: white;
}

/* WhatsApp-specific button styling */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: #25D366;
  color: white;
  font-weight: 600;
  border: 2px solid #25D366;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-normal);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background: #22c55e;
  border-color: #22c55e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  color: white;
}

/* Consultation button - high contrast for gradient backgrounds */
.btn-consultation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: white !important;
  color: #ff6b35 !important;  /* Use direct color value for maximum visibility */
  font-weight: 700;
  border: 3px solid white;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-normal);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  /* Force text to be visible */
  -webkit-text-fill-color: #ff6b35 !important;
  text-shadow: none !important;
}

.btn-consultation:hover {
  background: #ff6b35 !important;  /* Use direct color value */
  color: white !important;
  border-color: #ff6b35;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  -webkit-text-fill-color: white !important;
  text-shadow: none !important;
}

.btn-consultation:active {
  transform: translateY(0);
}

.btn-consultation:visited {
  color: #ff6b35 !important;
  -webkit-text-fill-color: #ff6b35 !important;
}

.btn-consultation:focus {
  color: #ff6b35 !important;
  -webkit-text-fill-color: #ff6b35 !important;
  outline: 2px solid #ff6b35;
  outline-offset: 2px;
}

/* Ensure consultation button text and icons are always visible */
.btn-consultation *,
.btn-consultation i,
.btn-consultation span {
  color: #ff6b35 !important;
  -webkit-text-fill-color: #ff6b35 !important;
}

.btn-consultation:hover *,
.btn-consultation:hover i,
.btn-consultation:hover span {
  color: white !important;
  -webkit-text-fill-color: white !important;
  text-shadow: none !important;
}

/* Extra specificity for WhatsApp icon */
.btn-consultation:hover .fab,
.btn-consultation:hover .fas {
  color: white !important;
  -webkit-text-fill-color: white !important;
}

/* Force visibility on hover for all text */
.btn-consultation:hover {
  opacity: 1 !important;
}

.btn-consultation:hover * {
  opacity: 1 !important;
}

/* Override any parent gradient interference */
.bg-gradient-to-r .btn-consultation:hover,
.bg-primary .btn-consultation:hover,
.bg-accent .btn-consultation:hover {
  color: white !important;
  -webkit-text-fill-color: white !important;
}

.bg-gradient-to-r .btn-consultation:hover *,
.bg-primary .btn-consultation:hover *,
.bg-accent .btn-consultation:hover * {
  color: white !important;
  -webkit-text-fill-color: white !important;
}

/* Transitions */
.transition-all { transition: all var(--transition-normal); }
.transition-colors { transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast); }
.transition-transform { transition: transform var(--transition-normal); }
.transition-opacity { transition: opacity var(--transition-normal); }

.duration-300 { transition-duration: 300ms; }

.hover\:shadow-xl:hover { box-shadow: var(--shadow-xl); }
.hover\:shadow-2xl:hover { box-shadow: var(--shadow-2xl); }
.hover\:shadow-3xl:hover { box-shadow: var(--shadow-3xl); }
.hover\:-translate-y-1:hover { --tw-translate-y: -0.25rem; }
.hover\:-translate-y-2:hover { --tw-translate-y: -0.5rem; }
.hover\:scale-110:hover { --tw-scale-x: 1.1; --tw-scale-y: 1.1; }
.hover\:scale-105:hover { --tw-scale-x: 1.05; --tw-scale-y: 1.05; }
.hover\:rotate-0:hover { --tw-rotate: 0deg; }
.hover\:opacity-100:hover { opacity: 1; }

.hover\:text-primary:hover { color: var(--primary); }
.hover\:text-accent:hover { color: var(--accent); }
.hover\:text-white:hover { color: white; }
.hover\:bg-gray-100:hover { background-color: var(--gray-100); }
.hover\:bg-green-600:hover { background-color: #059669; }
.hover\:bg-purple-600:hover { background-color: #7c3aed; }
.hover\:bg-pink-600:hover { background-color: #db2777; }

.group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:scale-110 { --tw-scale-x: 1.1; --tw-scale-y: 1.1; }

/* Animations */
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-bounce {
  animation: bounce 1s infinite;
}

.animate-pulse-slow {
  animation: pulse-slow 3s ease-in-out infinite;
}

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

@keyframes bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
  50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

@keyframes pulse-slow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* Focus */
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }

/* === BACKGROUND UTILITIES === */
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }

.from-primary-50 { --tw-gradient-from: var(--primary-50); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(239 246 255 / 0)); }
.from-primary { --tw-gradient-from: var(--primary); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(37 99 235 / 0)); }
.from-gray-50 { --tw-gradient-from: var(--gray-50); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(249 250 251 / 0)); }
.from-accent { --tw-gradient-from: var(--accent); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(245 158 11 / 0)); }

.via-white { --tw-gradient-stops: var(--tw-gradient-from), white, var(--tw-gradient-to, rgb(255 255 255 / 0)); }
.via-transparent { --tw-gradient-stops: var(--tw-gradient-from), transparent, var(--tw-gradient-to, rgb(0 0 0 / 0)); }

.to-accent-50 { --tw-gradient-to: var(--accent-50); }
.to-white { --tw-gradient-to: white; }
.to-primary { --tw-gradient-to: var(--primary); }
.to-accent { --tw-gradient-to: var(--accent); }
.to-gray-100 { --tw-gradient-to: var(--gray-100); }
.to-primary-100 { --tw-gradient-to: var(--primary-100); }
.to-transparent { --tw-gradient-to: transparent; }

/* Complex gradients */
.from-black\/70 { --tw-gradient-from: rgb(0 0 0 / 0.7); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(0 0 0 / 0)); }
.from-black\/50 { --tw-gradient-from: rgb(0 0 0 / 0.5); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(0 0 0 / 0)); }

.bg-primary\/10 { background-color: rgb(37 99 235 / 0.1); }
.bg-accent\/10 { background-color: rgb(245 158 11 / 0.1); }

.text-white\/80 { color: rgb(255 255 255 / 0.8); }

/* === ENHANCED MOBILE-FIRST RESPONSIVE DESIGN === */

/* Mobile-first base styles (default - up to 639px) */
.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1.25rem; /* Better mobile padding */
}

/* Mobile-specific minimalistic adjustments */
@media (max-width: 639px) {
  /* Enhanced mobile container padding */
  .container {
    padding: 0 1.5rem;
  }
  
  /* Specific sections get even better padding */
  .max-w-7xl,
  .max-w-4xl,
  .max-w-3xl,
  .max-w-2xl {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  /* Typography - smaller, more readable on mobile */
  .text-4xl { font-size: 1.875rem; line-height: 2.25rem; }
  .text-3xl { font-size: 1.5rem; line-height: 2rem; }
  .text-2xl { font-size: 1.25rem; line-height: 1.75rem; }
  
  /* Reduce spacing on mobile for minimalistic feel */
  .py-20 { padding-top: 3rem; padding-bottom: 3rem; }
  .py-16 { padding-top: 2rem; padding-bottom: 2rem; }
  .py-12 { padding-top: 2rem; padding-bottom: 2rem; }
  .mb-16 { margin-bottom: 2rem; }
  .mb-12 { margin-bottom: 1.5rem; }
  .gap-16 { gap: 2rem; }
  .gap-8 { gap: 1rem; }
  
  /* Simplified buttons on mobile */
  .btn-primary, .btn-secondary, .btn-outline {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
  }
  
  /* Stack elements on mobile */
  .mobile-stack {
    flex-direction: column;
  }
  
  /* Hide decorative elements on mobile */
  .mobile-hide {
    display: none;
  }
  
  /* Simplified shadows on mobile */
  .shadow-xl, .shadow-2xl, .shadow-3xl {
    box-shadow: var(--shadow-md);
  }
  
  /* Reduced transform effects on mobile */
  .hover\:-translate-y-2:hover,
  .hover\:-translate-y-1:hover {
    --tw-translate-y: 0;
  }
  
  /* Footer specific mobile padding */
  footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  /* Navigation mobile padding */
  nav .max-w-7xl {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* Extra small screens (iPhone SE, etc.) */
@media (max-width: 375px) {
  .container {
    padding: 0 1rem;
  }
  
  .max-w-7xl,
  .max-w-4xl,
  .max-w-3xl,
  .max-w-2xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Even more compact on very small screens */
  .py-20 { padding-top: 2rem; padding-bottom: 2rem; }
  .py-16 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
}

/* Small screens and up (640px+) */
@media (min-width: 640px) {
  .container {
    max-width: 640px;
    padding: 0 1.5rem;
  }
  
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .sm\:text-left { text-align: left; }
  .sm\:w-auto { width: auto; }
  
  /* Restore button styling */
  .btn-primary, .btn-secondary, .btn-outline {
    width: auto;
    padding: 0.75rem 1.5rem;
  }
}

/* Medium screens and up (768px+) */
@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
  
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:flex-row { flex-direction: row; }
  .md\:mt-0 { margin-top: 0; }
  .md\:block { display: block; }
  .md\:hidden { display: none; }
}

/* Large screens and up (1024px+) */
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
  
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:block { display: block; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:text-left { text-align: left; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .lg\:justify-start { justify-content: flex-start; }
}

/* Extra large screens and up (1280px+) */
@media (min-width: 1280px) {
  .container {
    max-width: 1200px;
  }
  
  .xl\:px-0 { padding-left: 0; padding-right: 0; }
}

/* === CUSTOM COMPONENTS === */

/* Gallery Filter */
.filter-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.filter-btn.active {
  background: var(--primary);
  color: white;
}

/* FAQ - Updated for new color scheme with softer borders */
.faq-item {
  border: 1px solid var(--gray-150);
  transition: all 0.4s ease;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--primary-200);
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.08);
  transform: translateY(-1px);
}

.faq-question {
  border: none;
  background: transparent;
  position: relative;
  transition: all 0.3s ease;
  font-weight: 500;
}

.faq-question:hover {
  background-color: var(--gray-25) !important;
}

.faq-question:focus {
  outline: 2px solid var(--primary-200);
  outline-offset: -2px;
  border-radius: var(--radius-md);
}

.faq-item.active {
  border-color: var(--primary-300);
  background-color: var(--primary-25);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.12);
  transform: translateY(-2px);
}

.faq-item.active .faq-question {
  background-color: var(--primary-50) !important;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-answer {
  border-top: 1px solid var(--gray-100);
  background-color: var(--gray-25);
}

/* Mobile Menu - Enhanced styling */
#mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  z-index: 1000;
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  border-radius: 0 0 1rem 1rem;
  margin: 0 0.5rem;
  max-height: 80vh;
  overflow-y: auto;
}

#mobile-menu:not(.hidden) {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

#mobile-menu .space-y-1 > * + * {
  margin-top: 0.25rem;
}

#mobile-menu a {
  display: block;
  padding: 1rem 1.25rem;
  color: var(--gray-700);
  font-weight: 500;
  text-decoration: none;
  border-radius: 0.5rem;
  margin: 0 0.75rem;
  transition: all 0.2s ease;
  position: relative;
}

#mobile-menu a:hover {
  background-color: var(--primary-50);
  color: var(--primary);
  transform: translateX(4px);
}

#mobile-menu a:active {
  background-color: var(--primary-100);
}

/* Mobile menu button improvements */
#mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

#mobile-menu-btn:hover {
  background-color: var(--primary-50);
  color: var(--primary);
}

#mobile-menu-btn:active {
  background-color: var(--primary-100);
  transform: scale(0.95);
}

#mobile-menu-btn i {
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

/* Menu icon animation */
#mobile-menu-btn .fa-bars,
#mobile-menu-btn .fa-times {
  transform-origin: center;
  transition: all 0.3s ease;
}

#mobile-menu-btn .fa-times {
  transform: rotate(90deg);
}

/* Ensure button is always visible when menu is open */
#mobile-menu:not(.hidden) + div #mobile-menu-btn,
.lg\:hidden #mobile-menu-btn {
  z-index: 1001 !important;
  position: relative !important;
}

/* Ensure mobile menu appears on mobile devices */
@media (max-width: 1023px) {
  .lg\:hidden {
    display: block !important;
  }
  
  #mobile-menu-btn {
    display: flex !important;
  }
  
  /* Force show mobile menu button even if JS fails */
  .lg\:hidden {
    visibility: visible !important;
  }
}

/* CSS-only fallback for mobile menu toggle */
@media (max-width: 1023px) {
  /* Style the checkbox hack */
  .mobile-menu-toggle {
    display: none;
  }
  
  .mobile-menu-toggle:checked + nav #mobile-menu {
    display: block !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: all !important;
  }
  
  .mobile-menu-toggle:checked + nav #mobile-menu-btn i.fa-bars {
    display: none;
  }
  
  .mobile-menu-toggle:checked + nav #mobile-menu-btn i.fa-times {
    display: inline-block;
  }
  
  #mobile-menu-btn i.fa-times {
    display: none;
  }
}

/* Phone button on mobile */
@media (max-width: 639px) {
  .lg\:hidden .btn-primary {
    padding: 0.5rem;
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .lg\:hidden .btn-primary i {
    margin: 0;
  }
}

/* === UTILITIES FOR MISSING CLASSES === */
.text-text-primary { color: var(--gray-900); }
.bg-background { background-color: white; }

.w-0 { width: 0; }
.h-0\.5 { height: 0.125rem; }

.group-hover\:w-full:hover { width: 100%; }
.group:hover .group-hover\:w-full { width: 100%; }

/* Text decoration and list styles */
.text-decoration-none { text-decoration: none; }
.no-underline { text-decoration: none !important; }
.list-none { list-style: none; }

/* Additional hover states */
.hover\:bg-accent\/90:hover { background-color: rgb(245 158 11 / 0.9); }

/* Additional responsive classes */
@media (max-width: 1023px) {
  .lg\:hidden { display: none; }
}

@media (max-width: 767px) {
  .md\:mt-0 { margin-top: 0; }
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}

/* === DARK BACKGROUND FIXES === */
/* Footer and dark sections - use appropriate colors for links */
footer a {
  color: #60a5fa !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #93c5fd !important;
}

/* Dark gradient sections */
.bg-gradient-to-r a,
.bg-primary a,
.bg-accent a,
.bg-gray-900 a {
  color: white !important;
}

.bg-gradient-to-r a:hover,
.bg-primary a:hover,
.bg-accent a:hover,
.bg-gray-900 a:hover {
  color: #e5e7eb !important;
}

/* Contact section phone number on dark background */
.bg-gradient-to-r .text-primary {
  color: white !important;
}

.bg-gradient-to-r .hover\:text-accent:hover {
  color: #fbbf24 !important;
}
