/* Contact Page Styles - Default and Modern UI Support */

/* Default UI Specific Styles */
.ui-default .animate-on-scroll {
  opacity: 1 !important;
  transform: none !important;
}

.ui-default [data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

/* Modern UI Specific Styles */
.ui-modern .contact-hero {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(83, 188, 252, 0.1) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.ui-modern .contact-intro {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.ui-modern .contact-card {
  transition: all 0.5s ease;
  position: relative;
}

.ui-modern .contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.ui-modern .contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(83, 188, 252, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 1rem;
  z-index: -1;
}

.ui-modern .contact-card:hover::before {
  opacity: 1;
}

/* Contact Card Icons */
.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ui-modern .contact-icon {
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
}

.ui-default .contact-icon {
  background: var(--accent);
}

/* Phone Card Specific Styles */
.ui-modern .phone-card .contact-icon {
  background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
}

.ui-modern .phone-card .glow-effect::before {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(16, 185, 129, 0.2) 50%, rgba(6, 182, 212, 0.2) 100%);
}

/* Email Card Specific Styles */
.ui-modern .email-card .contact-icon {
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
}

.ui-modern .email-card .glow-effect::before {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(236, 72, 153, 0.2) 50%, rgba(239, 68, 68, 0.2) 100%);
}

/* Address Card Specific Styles */
.ui-modern .address-card .contact-icon {
  background: linear-gradient(135deg, #f59e0b 0%, #10b981 100%);
}

.ui-modern .address-card .glow-effect::before {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(234, 179, 8, 0.2) 50%, rgba(16, 185, 129, 0.2) 100%);
}

/* Button Styles */
.ui-modern .contact-button {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ui-modern .contact-button::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.5s ease;
}

.ui-modern .contact-button:hover::before {
  left: 100%;
}

.ui-modern .contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Grid Layout */
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Text Styles */
.ui-modern .gradient-text {
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Badge Styles */
.contact-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  color: white;
}

.ui-modern .phone-badge {
  background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
}

.ui-modern .email-badge {
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
}

.ui-modern .address-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #10b981 100%);
}

.ui-default .contact-badge {
  background: var(--accent);
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .ui-modern .contact-intro {
    padding: 1.5rem;
  }
  
  .contact-card {
    padding: 1.5rem;
  }
}

/* Animation keyframes for Modern UI */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ui-modern .animate-fade-in {
  animation: fade-in 0.6s ease-out forwards;
  opacity: 0;
}

/* Glow Effects for Modern UI */
.ui-modern .glow-effect {
  position: relative;
}

.ui-modern .glow-effect::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(83, 188, 252, 0.2) 50%, rgba(147, 51, 234, 0.2) 100%);
  border-radius: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  filter: blur(8px);
}

.ui-modern .glow-effect:hover::before {
  opacity: 1;
}
