/* AVVOCÀ - CONTACT PAGE STYLES */

.contact-container {
  min-height: 100vh;
  background-color: #f8f9fa;
}

/* Contact Hero Section */
.contact-container .hero {
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 50%, #667eea 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.contact-container .hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.contact-container .hero-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Success Banner */
.success-banner {
  background: #d4edda;
  border-bottom: 1px solid #c3e6cb;
  padding: 1rem 0;
}

.success-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.success-icon {
  font-size: 1.5rem;
}

.success-content h3 {
  color: #155724;
  margin: 0 0 0.3rem 0;
  font-size: 1.1rem;
}

.success-content p {
  color: #155724;
  margin: 0;
  font-size: 0.9rem;
}

.close-btn {
  background: none;
  border: none;
  color: #155724;
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: auto;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.close-btn:hover {
  background: rgba(21, 87, 36, 0.1);
}

/* Contact Content */
.contact-content {
  padding: 4rem 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

/* Contact Form & Summary */
.contact-form,
.contact-summary {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-form h2,
.contact-summary h2 {
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.contact-form p,
.contact-summary p {
  color: #666;
  margin-bottom: 2rem;
}

/* Summary Step Specifics */
.summary-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.summary-section {
  margin-bottom: 1.5rem;
}

.summary-section:last-child {
  margin-bottom: 0;
}

.summary-section h3 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.summary-row {
  display: flex;
  margin-bottom: 0.5rem;
}

.summary-row .label {
  font-weight: 500;
  color: #666;
  min-width: 80px;
}

.summary-row .value {
  color: #333;
}

.message-row {
  flex-direction: column;
}

.message-content {
  background: white;
  padding: 1rem;
  border-radius: 6px;
  margin-top: 0.5rem;
  border: 1px solid #e0e0e0;
  line-height: 1.5;
}

/* Action Options */
.action-options {
  margin-bottom: 2rem;
}

.action-options h3 {
  color: #333;
  margin-bottom: 1.5rem;
  text-align: center;
}

.option-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.option-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.option-card.featured {
  border-color: #667eea;
  background: linear-gradient(135deg, #f8f9ff, #ffffff);
}

.option-header {
  margin-bottom: 1rem;
}

.option-header h4 {
  color: #333;
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.option-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #667eea;
}

.option-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  text-align: left;
}

.option-features li {
  padding: 0.3rem 0;
  color: #666;
  font-size: 0.9rem;
}

.option-features li:before {
  content: '✓ ';
  color: #28a745;
  font-weight: bold;
}

.back-action {
  text-align: center;
}

/* Contact Info Sidebar */
.contact-info {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  height: fit-content;
}

.contact-info h2 {
  color: #333;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.contact-methods {
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.method-icon {
  font-size: 1.5rem;
  width: 40px;
  text-align: center;
}

.method-details h3 {
  color: #333;
  margin: 0 0 0.3rem 0;
  font-size: 1rem;
}

.method-value {
  color: #667eea;
  font-weight: 600;
  margin: 0 0 0.2rem 0;
}

.method-description {
  color: #666;
  font-size: 0.85rem;
  margin: 0;
}

.office-hours h3 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.hours-list {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
}

.hour-item {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem;
  border-bottom: 1px solid #e0e0e0;
}

.hour-item:last-child {
  border-bottom: none;
}

.hour-item span:first-child {
  color: #666;
}

.hour-item span:last-child {
  color: #333;
  font-weight: 500;
}

/* Map Section */
.map-section {
  padding: 4rem 0;
  background: white;
}

.map-section h2 {
  text-align: center;
  color: #333;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.map-container {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
}

.map-placeholder {
  text-align: center;
  padding: 3rem;
}

.map-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.map-placeholder h3 {
  color: #333;
  margin-bottom: 0.5rem;
}

.map-placeholder p {
  color: #666;
  margin-bottom: 2rem;
}

.transport-info {
  display: grid !important; 
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.transport-item {
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #666;
  border: 1px solid #e0e0e0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contact-container .hero h1 {
    font-size: 2.5rem;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .option-cards {
    grid-template-columns: 1fr;
  }
  
  .transport-info {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-form,
  .contact-summary,
  .contact-info {
    padding: 1.5rem;
  }
}

/* Pulsanti coerenti con il resto del sito - stile home page */
.contact-container .btn {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-container .btn-primary {
  background: linear-gradient(135deg, #f39c12, #f1c40f, #f39c12);
  background-size: 200% 200%;
  color: #2c3e50;
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
  animation: gradientShift 3s ease-in-out infinite, pulse 2s ease-in-out infinite;
}

.contact-container .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.7s;
}

.contact-container .btn-primary:hover::before {
  left: 100%;
}

.contact-container .btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(243, 156, 18, 0.6);
  background: linear-gradient(135deg, #f1c40f, #f39c12, #e67e22);
  color: #2c3e50;
  text-decoration: none;
}

.contact-container .btn-outline {
  background: linear-gradient(135deg, transparent, rgba(241, 196, 15, 0.1));
  color: #f1c40f;
  border: 2px solid #f1c40f;
  box-shadow: 0 4px 15px rgba(241, 196, 15, 0.2);
  animation: buttonGlow 2s ease-in-out infinite alternate;
}

.contact-container .btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(241, 196, 15, 0.3), transparent);
  transition: left 0.7s;
}

.contact-container .btn-outline:hover::before {
  left: 100%;
}

.contact-container .btn-outline:hover {
  background: linear-gradient(135deg, #f1c40f, #f39c12);
  color: #2c3e50;
  border-color: #f39c12;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(241, 196, 15, 0.4);
  text-decoration: none;
}

.contact-container .btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

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

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
  }
  50% {
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.6), 0 0 0 10px rgba(243, 156, 18, 0.1);
  }
}

@keyframes buttonGlow {
  0% {
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.2);
  }
  100% {
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.4), 0 0 0 3px rgba(241, 196, 15, 0.1);
  }
}

/* Map Section Styles */
.google-map {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.google-map iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 12px;
}

.office-info {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.office-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e9ecef;
}

.office-header .map-icon {
  font-size: 2rem;
  color: #3498db;
}

.office-header h3 {
  margin: 0;
  color: #2c3e50;
  font-size: 1.4rem;
  font-weight: 600;
}

.office-header p {
  margin: 5px 0 0 0;
  color: #666;
  font-weight: 500;
}

.office-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.detail-icon {
  font-size: 1.2rem;
  margin-top: 2px;
  color: #3498db;
}

.detail-item strong {
  color: #2c3e50;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.detail-item p {
  margin: 0;
  color: #666;
  line-height: 1.5;
}

.detail-item a {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
}

.detail-item a:hover {
  text-decoration: underline;
}

.transport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.transport-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.transport-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.transport-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.transport-item strong {
  color: #2c3e50;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.transport-item small {
  color: #888;
  font-style: italic;
}

.map-actions {
  margin-top: 25px;
  text-align: center;
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
  margin: 0 5px;
}

/* Responsive adjustments for map */
@media (max-width: 768px) {
  .google-map iframe {
    height: 250px;
  }
  
  .office-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .office-details {
    grid-template-columns: 1fr;
  }
  
  .transport-grid {
    grid-template-columns: 1fr;
  }
  
  .map-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .btn-small {
    margin: 0;
  }
}