/* ============================================
   CONTATTACI PAGE STYLES
   ============================================ */

/* Hero Section */
.contattaci-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #1f1144 50%, #302b63 100%);
  padding: 100px 5% 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #6c63ff 0%, #ff6b6b 100%);
  top: -150px;
  left: -100px;
  animation: floatOrb 10s ease-in-out infinite;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #ffdd57 0%, #6c63ff 100%);
  bottom: -100px;
  right: -50px;
  animation: floatOrb 10s ease-in-out infinite 5s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -50px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: none;
}

.hero-badge {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  color: #ffdd57;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.contattaci-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: white;
  margin: 0 0 1rem;
  line-height: 1.1;
}

.text-gradient {
  background: linear-gradient(135deg, #6c63ff 0%, #ff6b6b 50%, #ffdd57 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.contattaci-hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  margin: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
  padding: 80px 5%;
  background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.container {
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Contact Info */
.contact-info h2 {
  font-size: 2rem;
  color: #1a1a2e;
  margin: 0 0 1rem;
}

.contact-info > p {
  color: #666;
  font-size: 1.1rem;
  margin: 0 0 2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #6c63ff 0%, #5652d4 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(108, 99, 255, 0.3);
}

.contact-icon i {
  font-size: 1.2rem;
  color: white;
}

.contact-details h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: #1a1a2e;
}

.contact-details p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-details a {
  color: #6c63ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: #6c63ff;
  text-decoration: underline;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #6c63ff 0%, #5652d4 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(108, 99, 255, 0.4);
}

/* Contact Form Card */
.contact-form-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  border: 1px solid #eee;
}

.contact-form-card h3 {
  font-size: 1.4rem;
  color: #1a1a2e;
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-form-card h3 i {
  color: #6c63ff;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6c63ff;
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
  background: white;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.checkbox-group {
  margin-bottom: 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #666;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  accent-color: #6c63ff;
  margin-top: 2px;
}

.checkbox-label a {
  color: #6c63ff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'SEGO', 'Segoe UI', system-ui, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #6c63ff 0%, #5652d4 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
}

.btn-block {
  width: 100%;
}

.form-message {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.form-message.success {
  color: #27ae60;
}

.form-message.error {
  color: #e74c3c;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
  padding: 80px 5%;
  background: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: 50px;
  color: #6c63ff;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1rem;
  max-width: none;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-question i:first-child {
  color: #6c63ff;
  font-size: 1.1rem;
}

.faq-question h4 {
  flex: 1;
  margin: 0;
  font-size: 1rem;
  color: #1a1a2e;
}

.toggle-icon {
  color: #999;
  transition: transform 0.3s ease;
}

.faq-item.active .toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 1.25rem 1.25rem;
  margin: 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   MAP SECTION
   ============================================ */

.map-section {
  padding: 0;
}

.map-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #1a1a2e 0%, #1f1144 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-content {
  text-align: center;
  color: white;
}

.map-content i {
  font-size: 3rem;
  color: #ffdd57;
  margin-bottom: 1rem;
}

.map-content h3 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.map-content p {
  margin: 0;
  opacity: 0.8;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .contattaci-hero {
    min-height: 40vh;
    padding: 80px 3% 40px;
  }
  
  .contattaci-hero h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }
  
  .contattaci-hero p {
    font-size: 0.95rem !important;
  }
  
  .section-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
  }
  
  .contact-info h2 {
    font-size: 1.4rem;
  }
  
  .contact-info p {
    font-size: 0.9rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form-card {
    padding: 1.5rem;
  }
  
  .contact-form-card h3 {
    font-size: 1.2rem;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
