/* ===================================
   CONTATTI PAGE STYLES
   Mobile-First Responsive Design
   =================================== */

/* ===================================
   HERO SECTION
   =================================== */

.contact-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  padding: 50px 0 35px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.contact-hero .container {
  position: relative;
  z-index: 2;
}

.contact-hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.contact-hero .title-decoration {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ec4899 0%, #db2777 50%, #a855f7 100%);
  margin: 1.5rem auto;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(236, 72, 153, 0.5);
}

.contact-hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===================================
   COMMON SECTION STYLES
   =================================== */

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 1rem;
  text-align: center;
}

.title-decoration {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ec4899 0%, #db2777 50%, #a855f7 100%);
  margin: 1.5rem auto;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(236, 72, 153, 0.5);
}

.section-subtitle {
  font-size: 1.125rem;
  color: #666666;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  text-align: center;
}

/* ===================================
   MAP + INFO + HOURS SECTION
   =================================== */

.map-info-section {
  background: #ffffff;
  padding: 60px 0;
}

/* Cards Grid - Info + Hours */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 4.5rem auto 0;
}

/* Info Card */
.info-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.info-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 2rem;
  text-align: center;
}

.info-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
  border-bottom: none;
}

.info-icon {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #a855f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.info-icon svg {
  width: 22px;
  height: 22px;
  color: #ffffff;
}

.info-content {
  flex: 1;
}

.info-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #999999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.info-text {
  font-size: 1.05rem;
  color: #333333;
  margin: 0;
  line-height: 1.6;
}

.info-text a {
  color: #333333;
  text-decoration: none;
  transition: color 0.3s ease;
  outline: none;
}

.info-text a:hover {
  color: #ec4899;
}

.info-text a:focus,
.info-text a:active,
.info-text a:focus-visible {
  outline: none;
  box-shadow: none;
}

/* Hours Card */
.hours-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.hours-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 1.5rem;
  text-align: center;
}

.hours-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #a855f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.hours-icon svg {
  width: 35px;
  height: 35px;
  color: #ffffff;
}

.hours-table {
  margin-bottom: 1rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-day {
  font-weight: 500;
  color: #666666;
  font-size: 0.95rem;
}

.hours-time {
  font-weight: 600;
  color: #333333;
  font-size: 1.05rem;
}

.hours-time.closed {
  color: #ec4899;
}

.hours-note {
  font-size: 0.8rem;
  color: #999999;
  font-style: italic;
  margin: 1rem 0 0;
}

/* Map Container - Full Width */
.map-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.map-wrapper {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
}

.map-cta-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #a855f7 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
  transition: all 0.3s ease;
  z-index: 10;
}

.map-cta-btn:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.6);
}

.map-cta-btn svg {
  width: 20px;
  height: 20px;
}

/* ===================================
   DIRECTIONS SECTION
   =================================== */

.directions-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.directions-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.directions-section .container {
  position: relative;
  z-index: 2;
}

.directions-section .section-title {
  color: #ffffff;
}

.directions-section .title-decoration {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.directions-section .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.directions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.direction-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.direction-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.direction-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #a855f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

.direction-icon svg {
  width: 35px;
  height: 35px;
  color: #ffffff;
}

.direction-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.direction-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.direction-list li {
  padding: 0.75rem 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  position: relative;
  padding-left: 1.5rem;
}

.direction-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #ec4899;
  font-weight: 700;
}

.direction-list li strong {
  color: #ffffff;
}

/* ===================================
   SOCIAL SECTION
   =================================== */

.social-section {
  background: linear-gradient(135deg, #a855f7 0%, #db2777 50%, #ec4899 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.social-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="socialPattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23socialPattern)"/></svg>');
  z-index: 1;
}

.social-section .container {
  position: relative;
  z-index: 2;
}

.social-section .section-title {
  color: #ffffff;
}

.social-section .title-decoration {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.social-section .section-subtitle {
  color: rgba(255, 255, 255, 0.95);
}

.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem 2.5rem;
  border-radius: 8px;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.social-btn svg {
  width: 28px;
  height: 28px;
}

.instagram-btn {
  background: rgba(255, 255, 255, 0.98);
  color: #333333;
}

.instagram-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.instagram-btn svg {
  color: #E1306C;
}

.facebook-btn {
  background: rgba(255, 255, 255, 0.98);
  color: #333333;
}

.facebook-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.facebook-btn svg {
  color: #1877F2;
}

/* ===================================
   FINAL CTA SECTION
   =================================== */

.final-cta-section {
  background: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-section .container {
  position: relative;
  z-index: 2;
}

.final-cta-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 1rem;
}

.final-cta-subtitle {
  font-size: 1.2rem;
  color: #666666;
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-section .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.1rem 2.75rem;
  border-radius: 8px;
  font-size: 1.125rem;
  font-weight: 600;
  background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #a855f7 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}

.final-cta-section .cta-btn:hover {
  background: linear-gradient(135deg, #db2777 0%, #ec4899 50%, #a855f7 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.5);
}

.final-cta-section .cta-btn svg {
  width: 20px;
  height: 20px;
}

/* ===================================
   ANIMATIONS
   =================================== */

.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   RESPONSIVE - TABLET
   =================================== */

@media (min-width: 768px) {
  .contact-hero {
    padding: 70px 0 50px 0;
  }

  .contact-hero-title {
    font-size: 2.75rem;
  }

  .contact-hero-subtitle {
    font-size: 1.25rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .section-subtitle {
    font-size: 1.2rem;
  }

  /* Cards Grid - 2 Columns */
  .cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  /* Directions Grid */
  .directions-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  /* Social Buttons */
  .social-buttons {
    flex-direction: row;
    max-width: 100%;
    justify-content: center;
  }

  .social-btn {
    flex: 1;
    max-width: 300px;
  }
}

/* ===================================
   RESPONSIVE - DESKTOP
   =================================== */

@media (min-width: 1024px) {
  .contact-hero {
    padding: 90px 0 65px 0;
  }

  .contact-hero-title {
    font-size: 3.25rem;
  }

  .contact-hero-subtitle {
    font-size: 1.35rem;
  }

  .map-info-section,
  .directions-section,
  .social-section,
  .final-cta-section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 2.75rem;
  }

  .final-cta-title {
    font-size: 2.75rem;
  }

  .final-cta-subtitle {
    font-size: 1.3rem;
  }

  /* Cards Grid */
  .cards-grid {
    gap: 3rem;
    margin-top: 5rem;
  }

  /* Info Card */
  .info-card {
    padding: 3rem 2.5rem;
  }

  .info-card-title {
    font-size: 1.65rem;
  }

  /* Hours Card */
  .hours-card {
    padding: 3rem 2.5rem;
  }

  .hours-card-title {
    font-size: 1.65rem;
  }

  .hours-icon {
    width: 80px;
    height: 80px;
  }

  .hours-icon svg {
    width: 40px;
    height: 40px;
  }

  /* Direction Cards */
  .direction-card {
    min-height: 380px;
  }
}

/* ===================================
   ACCESSIBILITY
   =================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
