/* ========================================
   CONTRUST LAB - CUSTOM CSS ZA ELEMENTOR
   ======================================== */

/* === OSNOVNI GLASSMORPHISM STILI === */

/* Glass Card - Osnovna kartica */
.glass-card-contrust {
  background: rgba(238, 238, 238, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(238, 238, 238, 0.1);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.glass-card-contrust:hover {
  background: rgba(238, 238, 238, 0.05);
  border: 1px solid rgba(134, 55, 49, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(134, 55, 49, 0.2);
}

/* Glass Button - Primarni gumb */
.glass-button-contrust-primary {
  background: linear-gradient(135deg, rgba(134, 55, 49, 0.8) 0%, rgba(166, 74, 67, 0.8) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(134, 55, 49, 0.4);
  border-radius: 16px;
  color: #EEEEEE;
  padding: 12px 32px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(134, 55, 49, 0.3);
}

.glass-button-contrust-primary:hover {
  background: linear-gradient(135deg, rgba(134, 55, 49, 1) 0%, rgba(166, 74, 67, 1) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(134, 55, 49, 0.5);
  color: #EEEEEE;
}

/* Glass Button - Sekundarni gumb */
.glass-button-contrust {
  background: rgba(238, 238, 238, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(238, 238, 238, 0.2);
  border-radius: 16px;
  color: #EEEEEE;
  padding: 12px 32px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.glass-button-contrust:hover {
  background: rgba(238, 238, 238, 0.1);
  border: 1px solid rgba(134, 55, 49, 0.5);
  color: #EEEEEE;
}

/* === LIQUID GRADIENT OZADJE === */
.liquid-gradient-contrust {
  background: linear-gradient(45deg, #863731, #2F2F2F, #863731, #2F2F2F);
  background-size: 400% 400%;
  animation: liquidGradient 15s ease infinite;
}

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

/* === NAVBAR GLASS === */
.navbar-glass-contrust {
  background: rgba(26, 26, 26, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(238, 238, 238, 0.1);
  border-radius: 20px;
  padding: 12px 24px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* === GRADIENT TEKST === */
.gradient-text-contrust {
  background: linear-gradient(135deg, #863731 0%, #a64a43 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* === FLOATING ORBS (Animirane krogle) === */
.floating-orb-1 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(134, 55, 49, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.floating-orb-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(47, 47, 47, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: float 10s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.15;
  }
  50% {
    transform: translate(30px, -30px) scale(1.2);
    opacity: 0.25;
  }
}

/* === STATS KARTICE === */
.stats-card-contrust {
  background: rgba(238, 238, 238, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(238, 238, 238, 0.1);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.stats-card-contrust:hover {
  background: rgba(238, 238, 238, 0.05);
  border: 1px solid rgba(134, 55, 49, 0.3);
  transform: translateY(-5px);
}

.stats-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #863731 0%, #a64a43 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.stats-label {
  color: rgba(238, 238, 238, 0.6);
  font-size: 1rem;
}

/* === SERVICE KARTICE === */
.service-card-contrust {
  background: rgba(238, 238, 238, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(238, 238, 238, 0.1);
  border-radius: 24px;
  padding: 40px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card-contrust::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(134, 55, 49, 0.1) 0%, rgba(166, 74, 67, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 24px;
}

.service-card-contrust:hover::before {
  opacity: 1;
}

.service-card-contrust:hover {
  transform: translateY(-10px);
  border: 1px solid rgba(134, 55, 49, 0.3);
  box-shadow: 0 20px 60px rgba(134, 55, 49, 0.2);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(134, 55, 49, 0.2) 0%, rgba(166, 74, 67, 0.2) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.service-card-contrust:hover .service-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(134, 55, 49, 0.3) 0%, rgba(166, 74, 67, 0.3) 100%);
}

/* === PROJECT KARTICE === */
.project-card-contrust {
  background: rgba(238, 238, 238, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(238, 238, 238, 0.1);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.project-card-contrust:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.project-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.project-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card-contrust:hover .project-image-wrapper img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(47, 47, 47, 0.9) 0%, rgba(47, 47, 47, 0.5) 50%, transparent 100%);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.project-card-contrust:hover .project-overlay {
  opacity: 0.8;
}

.project-content {
  padding: 24px;
}

.project-category {
  color: #863731;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(134, 55, 49, 0.1);
  border: 1px solid rgba(134, 55, 49, 0.2);
  border-radius: 20px;
  font-size: 0.75rem;
  color: rgba(238, 238, 238, 0.7);
  margin-right: 8px;
  margin-bottom: 8px;
}

/* === CONTACT FORM === */
.contact-form-contrust input,
.contact-form-contrust textarea {
  background: rgba(47, 47, 47, 0.3);
  border: 1px solid rgba(238, 238, 238, 0.1);
  border-radius: 12px;
  color: #EEEEEE;
  padding: 16px;
  width: 100%;
  transition: all 0.3s ease;
}

.contact-form-contrust input:focus,
.contact-form-contrust textarea:focus {
  outline: none;
  border: 1px solid rgba(134, 55, 49, 0.5);
  background: rgba(47, 47, 47, 0.4);
  box-shadow: 0 0 20px rgba(134, 55, 49, 0.2);
}

.contact-form-contrust input::placeholder,
.contact-form-contrust textarea::placeholder {
  color: rgba(238, 238, 238, 0.4);
}

.contact-info-item {
  display: flex;
  align-items: start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  background: rgba(238, 238, 238, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(238, 238, 238, 0.1);
  border-radius: 12px;
  padding: 12px;
  transition: all 0.3s ease;
}

.contact-info-item:hover .contact-icon {
  background: rgba(134, 55, 49, 0.2);
  border: 1px solid rgba(134, 55, 49, 0.3);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .stats-number {
    font-size: 2rem;
  }
  
  .service-card-contrust,
  .project-card-contrust {
    margin-bottom: 24px;
  }
  
  .floating-orb-1,
  .floating-orb-2 {
    width: 250px;
    height: 250px;
  }
}

/* === ELEMENTOR DODATKI === */

/* Za Elementor Section Ozadje */
.elementor-section.contrust-dark-bg {
  background: linear-gradient(135deg, #1a1a1a 0%, #2F2F2F 50%, #1a1a1a 100%);
  position: relative;
}

/* Za Elementor Heading Widget */
.elementor-heading-title.contrust-gradient {
  background: linear-gradient(135deg, #863731 0%, #a64a43 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Za Elementor Button Widget */
.elementor-button.contrust-primary {
  background: linear-gradient(135deg, rgba(134, 55, 49, 0.8) 0%, rgba(166, 74, 67, 0.8) 100%) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(134, 55, 49, 0.4) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 20px rgba(134, 55, 49, 0.3);
  transition: all 0.3s ease !important;
}

.elementor-button.contrust-primary:hover {
  background: linear-gradient(135deg, rgba(134, 55, 49, 1) 0%, rgba(166, 74, 67, 1) 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(134, 55, 49, 0.5);
}

/* === UTILITY CLASSES === */
.contrust-text-light {
  color: rgba(238, 238, 238, 0.7);
}

.contrust-text-white {
  color: #EEEEEE;
}

.contrust-brand-color {
  color: #863731;
}

.contrust-mb-small {
  margin-bottom: 16px;
}

.contrust-mb-medium {
  margin-bottom: 32px;
}

.contrust-mb-large {
  margin-bottom: 64px;
}
