/* ===========================================
   OLIMPOSGAZAB MODERN CONTACT PAGE STYLES
   =========================================== */

/* Contact Section */
.contact-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a1a 25%, #2a0a2a 50%, #1a0a1a 75%, #0a0a0a 100%);
  background-size: 400% 400%;
  animation: contactBackgroundFlow 20s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 0, 170, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 102, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(170, 0, 255, 0.1) 0%, transparent 50%);
  animation: contactGlow 15s ease-in-out infinite;
  pointer-events: none;
}

.contact-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
  z-index: 2;
}

/* Contact Header */
.contact-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: contactHeaderFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-title {
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #ff00aa 50%, #ff6600 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 30px rgba(255, 0, 170, 0.3);
  animation: contactTitleGlow 3s ease-in-out infinite alternate;
}

.contact-description {
  font-size: 1.3rem;
  color: #cccccc;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  animation: contactDescriptionSlide 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Contact Content Grid */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  animation: contactContentFadeIn 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Contact Form */
.contact-form-container {
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 0, 170, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 0, 170, 0.05) 0%, rgba(255, 102, 0, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-form-container:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 0, 170, 0.6);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 0, 170, 0.2);
}

.contact-form-container:hover::before {
  opacity: 1;
}

.contact-form-container h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2rem;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #ff00aa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: #ff00aa;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(30, 30, 30, 0.8);
  border: 2px solid rgba(255, 0, 170, 0.3);
  border-radius: 12px;
  color: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff00aa;
  box-shadow: 
    0 0 0 3px rgba(255, 0, 170, 0.2),
    0 0 20px rgba(255, 0, 170, 0.1);
  transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
  color: rgba(255, 0, 170, 0.7);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Submit Button */
.contact-form button {
  background: linear-gradient(135deg, #ff00aa 0%, #ff6600 100%);
  color: #ffffff;
  border: none;
  padding: 1.2rem 2rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-form 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;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 10px 30px rgba(255, 0, 170, 0.4),
    0 0 20px rgba(255, 0, 170, 0.2);
}

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

.contact-form button:active {
  transform: translateY(-1px);
}

/* Contact Info */
.contact-info-container {
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 102, 0, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.05) 0%, rgba(170, 0, 255, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-info-container:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 102, 0, 0.6);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 102, 0, 0.2);
}

.contact-info-container:hover::before {
  opacity: 1;
}

.contact-info-container h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2rem;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #ff6600 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(30, 30, 30, 0.5);
  border-radius: 12px;
  border: 1px solid rgba(255, 102, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.contact-info-item:hover {
  transform: translateX(10px);
  border-color: rgba(255, 102, 0, 0.4);
  background: rgba(30, 30, 30, 0.7);
  box-shadow: 0 5px 15px rgba(255, 102, 0, 0.1);
}

.contact-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff6600 0%, #ff00aa 100%);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.contact-info-item span:last-child {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 500;
}

/* Thematic Elements */
.contact-thematic-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.thematic-lightning {
  position: absolute;
  width: 2px;
  height: 100px;
  background: linear-gradient(to bottom, transparent, #ff00aa, transparent);
  animation: lightning 2s ease-in-out infinite;
  opacity: 0.6;
}

.thematic-lightning:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.thematic-lightning:nth-child(2) {
  top: 40%;
  right: 15%;
  animation-delay: 1s;
}

.thematic-lightning:nth-child(3) {
  bottom: 30%;
  left: 20%;
  animation-delay: 0.5s;
}

.thematic-orbs {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 0, 170, 0.3) 0%, transparent 70%);
  animation: orbFloat 8s ease-in-out infinite;
}

.thematic-orbs:nth-child(4) {
  top: 15%;
  left: 5%;
  animation-delay: 0s;
}

.thematic-orbs:nth-child(5) {
  top: 60%;
  right: 8%;
  animation-delay: 2s;
}

.thematic-orbs:nth-child(6) {
  bottom: 20%;
  left: 12%;
  animation-delay: 4s;
}

/* Map Container */
.contact-map-container {
  margin-top: 3rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(255, 0, 170, 0.1);
  border: 1px solid rgba(255, 0, 170, 0.3);
  animation: contactMapFadeIn 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  filter: grayscale(20%) contrast(1.1);
  transition: filter 0.3s ease;
}

.contact-map-container:hover iframe {
  filter: grayscale(0%) contrast(1.2);
}

/* Animations */
@keyframes contactBackgroundFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes contactGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

@keyframes contactHeaderFadeIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes contactTitleGlow {
  0%, 100% { text-shadow: 0 0 30px rgba(255, 0, 170, 0.3); }
  50% { text-shadow: 0 0 50px rgba(255, 0, 170, 0.6); }
}

@keyframes contactDescriptionSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes contactContentFadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes contactMapFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes lightning {
  0%, 100% { opacity: 0; transform: scaleY(0); }
  50% { opacity: 0.6; transform: scaleY(1); }
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-title {
    font-size: 2.8rem;
  }
  
  .contact-container {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .contact-title {
    font-size: 2.2rem;
  }
  
  .contact-description {
    font-size: 1.1rem;
  }
  
  .contact-form-container,
  .contact-info-container {
    padding: 1.5rem;
  }
  
  .contact-container {
    padding: 2rem 1rem;
  }
  
  .contact-map-container iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .contact-title {
    font-size: 1.8rem;
  }
  
  .contact-form-container,
  .contact-info-container {
    padding: 1rem;
  }
  
  .contact-form button {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .contact-section,
  .contact-section::before,
  .contact-title,
  .thematic-lightning,
  .thematic-orbs {
    animation: none;
  }
  
  .contact-form-container:hover,
  .contact-info-container:hover,
  .contact-form button:hover {
    transform: none;
  }
}
