/* ===================================
   Prenota Page Styles
   Mobile-First Responsive Design
   =================================== */

/* ===================================
   HEADER SECTION
   =================================== */

.prenota-header {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  padding: 50px 0 35px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.prenota-header::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;
}

.prenota-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.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);
}

.prenota-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ===================================
   BOOKING CARDS SECTION
   =================================== */

.booking-cards-section {
  background: linear-gradient(135deg, #a855f7 0%, #db2777 50%, #ec4899 100%);
  padding: 50px 0 60px 0;
  position: relative;
  overflow: hidden;
}

.booking-cards-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="cardPattern" 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(%23cardPattern)"/></svg>');
  z-index: 1;
}

.booking-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.booking-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.booking-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.booking-card-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.booking-card:hover .booking-card-icon {
  transform: scale(1.1);
}

.whatsapp-icon {
  background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
  color: #ffffff;
}

.whatsapp-icon svg {
  width: 36px;
  height: 36px;
}

.phone-icon {
  background: linear-gradient(135deg, #333333 0%, #000000 100%);
  color: #ffffff;
}

.phone-icon svg {
  width: 36px;
  height: 36px;
}

.booking-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333333;
  margin-bottom: 1rem;
}

.booking-card-description {
  font-size: 1rem;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 300px;
}

.booking-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
  color: #ffffff;
}

.whatsapp-btn:hover {
  background: linear-gradient(135deg, #20BA5A 0%, #1DA851 100%);
  transform: scale(1.05);
}

.phone-btn {
  background: linear-gradient(135deg, #333333 0%, #000000 100%);
  color: #ffffff;
}

.phone-btn:hover {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  transform: scale(1.05);
}

.btn-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.booking-card-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ===================================
   HOW IT WORKS SECTION
   =================================== */

.how-it-works-section {
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  padding: 60px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333333;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #666666;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.step-item {
  text-align: center;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #a855f7 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.step-icon svg {
  width: 40px;
  height: 40px;
  color: #333333;
}

.step-item:hover .step-icon {
  background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #a855f7 100%);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4);
}

.step-item:hover .step-icon svg {
  color: #ffffff;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333333;
  margin-bottom: 0.75rem;
}

.step-description {
  font-size: 1rem;
  color: #666666;
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
}

/* ===================================
   INFO SECTION (ORARI E INDIRIZZO)
   =================================== */

.info-section {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.info-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="infoGrain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="25" cy="75" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="75" cy="25" r="1" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23infoGrain)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.info-card {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.info-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-5px);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #a855f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.info-card-icon svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

.info-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

/* Hours List */
.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-card .hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.info-card .hours-item:last-child {
  border-bottom: none !important;
}

.hours-item .day {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.hours-item .time {
  font-size: 1rem;
  color: rgba(255, 255, 255, 1);
  font-weight: 600;
}

.hours-item .time.closed {
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

.hours-item .time.summer small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-left: 0.5rem;
}

/* Location Details */
.location-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.location-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.location-item:last-child {
  border-bottom: none;
}

.location-icon {
  width: 20px;
  height: 20px;
  color: #ffffff;
  flex-shrink: 0;
}

.location-item span,
.location-item a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.location-item a:hover {
  color: rgba(255, 255, 255, 1);
}

.maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #a855f7 100%);
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.maps-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);
}

.maps-btn svg {
  width: 18px;
  height: 18px;
}

/* ===================================
   FAQ SECTION
   =================================== */

.faq-section {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  padding: 60px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #333333;
}

.faq-item.active {
  border-color: #ec4899;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.15);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f8f8f8;
}

.faq-question-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: #333333;
  padding-right: 1rem;
  line-height: 1.4;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: #333333;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 1.25rem 1.5rem 2rem;
}

.faq-answer p {
  font-size: 1rem;
  color: #666666;
  line-height: 1.7;
  margin: 0;
}

/* ===================================
   RESPONSIVE - TABLET
   =================================== */

@media (min-width: 768px) {
  .prenota-header {
    padding: 70px 0 50px 0;
  }

  .prenota-title {
    font-size: 2.75rem;
  }

  .prenota-subtitle {
    font-size: 1.25rem;
  }

  .booking-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking-card {
    padding: 3rem 2.5rem;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 2.5rem;
  }

  .section-subtitle {
    font-size: 1.2rem;
  }
}

/* ===================================
   RESPONSIVE - DESKTOP
   =================================== */

@media (min-width: 1024px) {
  .prenota-header {
    padding: 90px 0 65px 0;
  }

  .prenota-title {
    font-size: 3.25rem;
  }

  .prenota-subtitle {
    font-size: 1.35rem;
  }

  .booking-cards-section {
    padding: 80px 0;
  }

  .booking-card {
    padding: 3.5rem 3rem;
  }

  .booking-card-title {
    font-size: 1.75rem;
  }

  .booking-card-description {
    font-size: 1.125rem;
  }

  .how-it-works-section {
    padding: 70px 0;
  }

  .info-section {
    padding: 100px 0;
  }

  .faq-section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 2.75rem;
  }

  .step-icon {
    width: 90px;
    height: 90px;
  }

  .step-icon svg {
    width: 44px;
    height: 44px;
  }

  .step-title {
    font-size: 1.35rem;
  }

  .step-description {
    font-size: 1.05rem;
  }
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* ===================================
   ACCESSIBILITY
   =================================== */

.faq-question:focus {
  outline: 2px solid #000000;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
