/* CSS Variables for Theme Colors - Analogous Color Scheme */
:root {
  /* Primary Analogous Colors - Blue to Teal */
  --primary-blue: #2E5BFF;
  --primary-teal: #00D4AA;
  --primary-cyan: #00B8D4;
  
  /* Secondary Analogous Colors */
  --secondary-purple: #5B2EFF;
  --secondary-green: #00AA55;
  --secondary-mint: #00FFB8;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --medium-gray: #6C757D;
  --dark-gray: #343A40;
  --black: #000000;
  
  /* Gradient Backgrounds */
  --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-purple), var(--primary-cyan));
  --gradient-accent: linear-gradient(135deg, var(--primary-teal), var(--secondary-mint));
  --gradient-overlay: linear-gradient(rgba(46, 91, 255, 0.8), rgba(0, 212, 170, 0.8));
  
  /* Typography */
  --font-heading: 'Archivo Black', sans-serif;
  --font-body: 'Roboto', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Shadows */
  --shadow-light: 0 2px 8px rgba(46, 91, 255, 0.1);
  --shadow-medium: 0 4px 16px rgba(46, 91, 255, 0.15);
  --shadow-heavy: 0 8px 32px rgba(46, 91, 255, 0.25);
  
  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
  --transition-medium: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

/* Base Typography */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark-gray);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  color: var(--dark-gray);
}

/* Adaptive Typography */
h1, .title.is-1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--spacing-md);
}

h2, .title.is-2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: var(--spacing-md);
}

h3, .title.is-3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: var(--spacing-sm);
}

h4, .title.is-4 {
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  margin-bottom: var(--spacing-sm);
}

h5, .title.is-5 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  margin-bottom: var(--spacing-sm);
}

p, .subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  margin-bottom: var(--spacing-sm);
}

/* Global Button Styles */
.button, .btn, button, input[type="submit"] {
  font-family: var(--font-body);
  font-weight: 500;
  border: none;
  border-radius: var(--radius-md);
  padding: var(--spacing-sm) var(--spacing-lg);
  cursor: pointer;
  transition: all var(--transition-medium);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.button.is-primary, .btn.is-primary {
  background: var(--gradient-primary);
  color: var(--white);
}

.button.is-primary:hover, .btn.is-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.button.is-outlined {
  background: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
}

.button.is-outlined:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.button.is-large {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.125rem;
}

/* Read More Links */
.read-more-link, .button.is-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color var(--transition-medium);
}

.read-more-link::after, .button.is-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: var(--gradient-primary);
  transition: width var(--transition-medium);
}

.read-more-link:hover::after, .button.is-link:hover::after {
  width: 100%;
}

.read-more-link:hover, .button.is-link:hover {
  color: var(--primary-teal);
}

/* Header Styles */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-light);
  transition: all var(--transition-medium);
}

.navbar.is-fixed-top {
  z-index: 1000;
}

.navbar-item {
  font-weight: 500;
  color: var(--dark-gray);
  transition: color var(--transition-fast);
}

.navbar-item:hover {
  color: var(--primary-blue);
  background-color: transparent;
}

.navbar-brand .title {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  z-index: 1;
}

.hero .hero-body {
  position: relative;
  z-index: 2;
  padding: var(--spacing-xxl) 0;
}

.hero .title {
  color: var(--white) !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: slideInUp 1s ease-out;
}

.hero .subtitle {
  color: var(--white) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  animation: slideInUp 1s ease-out 0.2s both;
}

.hero .buttons {
  animation: slideInUp 1s ease-out 0.4s both;
}

/* Card Styles */
.card {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  transition: all var(--transition-medium);
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
}

.card-image {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-image .image-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: var(--spacing-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

/* Progress Indicators */
.progress-indicator {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  z-index: 10;
}

.progress-step {
  background: var(--gradient-primary);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.125rem;
  box-shadow: var(--shadow-medium);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  transition: transform var(--transition-medium);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Pricing Cards */
.pricing-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-light);
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
}

.pricing-card .title.is-1 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
}

.field {
  margin-bottom: var(--spacing-lg);
}

.label {
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
  color: var(--dark-gray);
}

.input, .textarea, .select select {
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-md);
  padding: var(--spacing-sm);
  font-family: var(--font-body);
  transition: border-color var(--transition-fast);
}

.input:focus, .textarea:focus, .select select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(46, 91, 255, 0.1);
  outline: none;
}

/* Footer */
.footer {
  background: var(--dark-gray);
  color: var(--light-gray);
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer .title {
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: var(--light-gray);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-teal);
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.social-links a {
  color: var(--light-gray);
  text-decoration: none;
  font-weight: 500;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.social-links a:hover {
  color: var(--white);
  background: var(--gradient-primary);
  transform: translateY(-2px);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--white);
  text-align: center;
}

.success-content {
  padding: var(--spacing-xl);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-heavy);
}

/* Privacy and Terms Pages */
.privacy-page, .terms-page {
  padding-top: 100px;
}

.privacy-content, .terms-content {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  max-width: 800px;
  margin: 0 auto;
}

/* Background Utilities */
.has-background-gradient {
  background: var(--gradient-primary);
  color: var(--white);
}

.has-background-light {
  background: var(--light-gray);
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes drawLine {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translateY(0);
  }
  40%, 43% {
    transform: translateY(-30px);
  }
  70% {
    transform: translateY(-15px);
  }
  90% {
    transform: translateY(-4px);
  }
}

/* Utility Classes */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glassmorphism {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hover-lift {
  transition: transform var(--transition-medium);
}

.hover-lift:hover {
  transform: translateY(-4px);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.25rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .columns.is-multiline .column {
    margin-bottom: var(--spacing-lg);
  }
  
  .social-links {
    justify-content: center;
  }
  
  .contact-form {
    padding: var(--spacing-lg);
  }
}

/* High-resolution displays */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
  
  .hero .title {
    font-size: 4rem;
  }
  
  .hero .subtitle {
    font-size: 1.75rem;
  }
}

/* Print styles */
@media print {
  .navbar, .footer, .hero {
    display: none;
  }
  
  .section {
    padding: var(--spacing-sm) 0;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
.button:focus, .input:focus, .textarea:focus, .select select:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Navbar burger menu for mobile */
.navbar-burger {
  color: var(--dark-gray);
}

.navbar-burger:hover {
  background-color: transparent;
  color: var(--primary-blue);
}

.navbar-burger.is-active span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.navbar-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.navbar-burger.is-active span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* Content spacing */
.section {
  padding: var(--spacing-xxl) 0;
}

.section:first-of-type {
  padding-top: calc(var(--spacing-xxl) + 60px);
}

/* Ensure proper text contrast */
.has-text-dark {
  color: var(--dark-gray) !important;
}

.has-text-light {
  color: var(--light-gray) !important;
}

.has-text-white {
  color: var(--white) !important;
}

.has-text-primary {
  color: var(--primary-blue) !important;
}

/* Loading states */
.is-loading {
  pointer-events: none;
  opacity: 0.7;
}

.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-blue);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.container {
  padding: 0 10px;
}