/* Vector weya CSS Styles - v3.2.1 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&display=swap');

:root {
  --primary-color: #6366f1;
  --secondary-color: #ec4899;
  --accent-color: #f59e0b;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

.x9k5-section-block {
  position: relative;
  z-index: 1;
}

.x9k5-section-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.05;
  pointer-events: none;
  z-index: -1;
}

.font-heading {
  font-family: 'Playfair Display', serif !important;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.font-body {
  font-family: 'Inter', sans-serif;
}

/* Custom animations and transitions */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation enhancements */
nav {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(147, 51, 234, 0.1);
}

nav a {
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Button styles with advanced effects */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
  border: none;
  padding: 16px 32px;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  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.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

/* Card components */
.card-modern {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card-modern::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-modern:hover::before {
  opacity: 1;
}

.card-modern:hover {
  transform: translateY(-12px) rotateX(5deg);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* Hero section styling */
.hero-gradient {
  background: linear-gradient(135deg, 
    rgba(147, 51, 234, 0.1) 0%, 
    rgba(79, 70, 229, 0.1) 25%,
    rgba(59, 130, 246, 0.1) 50%,
    rgba(168, 85, 247, 0.1) 75%,
    rgba(236, 72, 153, 0.1) 100%);
  position: relative;
}

.hero-gradient::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%236366f1" fill-opacity="0.03"><circle cx="30" cy="30" r="4"/></g></g></svg>');
  opacity: 0.7;
}

/* Typography enhancements */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
}

p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Form styling */
.form-modern input,
.form-modern textarea,
.form-modern select {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(99, 102, 241, 0.2);
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 16px;
  transition: all 0.3s ease;
  width: 100%;
}

.form-modern input:focus,
.form-modern textarea:focus,
.form-modern select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

/* Loading animation */
@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.02);
  }
}

.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Floating elements */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-10px) rotate(1deg);
  }
  66% {
    transform: translateY(5px) rotate(-1deg);
  }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .x9k5-section-block {
    padding: 60px 0;
  }
  
  .hero-gradient {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
  
  .card-modern {
    padding: 24px;
    margin-bottom: 24px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .btn-primary {
    padding: 14px 28px;
    font-size: 14px;
  }
  
  .card-modern {
    padding: 20px;
  }
  
  nav {
    padding: 12px 0;
  }
}

/* Advanced grid layouts */
.grid-masonry {
  columns: 3;
  column-gap: 2rem;
  break-inside: avoid;
}

.grid-masonry > * {
  margin-bottom: 2rem;
  break-inside: avoid;
}

/* Scroll animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-up {
  animation: slideInUp 0.8s ease-out forwards;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #5b21b6;
}

/* Print styles */
@media print {
  .x9k5-section-block {
    page-break-inside: avoid;
  }
  
  nav, footer {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
}

/* Legacy support - TODO: Remove in v4.0 */
.old-button-style {
  background-color: #3b82f6;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
}

/* Unused utility classes - cleanup needed */
.deprecated-margin {
  margin: 25px;
}

.unused-background {
  background-color: #ff6b6b;
}

/* Mixed quote styles for testing */
.test-quotes {
  content: "double-quoted content";
  background: 'single-quoted background';
}

/* Development helper classes */
.debug-border {
  border: 1px dashed red !important;
}

.debug-background {
  background-color: rgba(255, 0, 0, 0.1) !important;
}

/* Camel case vs kebab case testing */
.camelCaseClass {
  fontWeight: bold;
}

.kebab-case-class {
  font-style: italic;
}

.snake_case_class {
  text-decoration: underline;
}

/* CSS Grid fallbacks */
.grid-fallback {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

/* Custom properties for dark mode (not implemented) */
:root {
  --dark-bg: #1a202c;
  --dark-text: #e2e8f0;
  --dark-border: #2d3748;
}

/* TODO: Implement dark mode toggle functionality */
.dark-mode {
  background-color: var(--dark-bg);
  color: var(--dark-text);
}

/* Performance optimization - TODO: Add will-change properties */
.optimized-animation {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Extra spacing utilities */
.spacing-sm { margin: 8px; }
.spacing-md { margin: 16px; }
.spacing-lg { margin: 24px; }
.spacing-xl { margin: 32px; }

/* Color palette extensions */
.text-brand-purple { color: #8b5cf6; }
.text-brand-pink { color: #ec4899; }
.text-brand-blue { color: #3b82f6; }
.bg-brand-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Component variations */
.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  padding: 14px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* Footer specific styling */
footer {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* Cookie banner custom styles */
.cookie-banner-modern {
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(20px);
  border-top: 3px solid var(--primary-color);
  padding: 20px;
  border-radius: 16px 16px 0 0;
}

/* End of styles - cleanup needed for production */