/* Style dla szybkiego menu */

/* Przycisk w nawigacji */
.quick-menu-btn {
  background-color: #0055A4;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.quick-menu-btn:hover {
  background-color: #00AEEF;
  transform: translateY(-2px);
}

.quick-menu-btn i {
  font-size: 14px;
}

/* Przycisk transparentny w hero sekcji */
.transparent-menu-btn {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  font-size: 18px;
  position: relative;
  z-index: 15; /* Increased z-index for better clickability */
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
  min-height: 48px;
}

.transparent-menu-btn:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.transparent-menu-btn i {
  font-size: 18px;
  pointer-events: none;
}

/* Modal */
.quick-menu-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1100;
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

.quick-menu-modal.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.quick-menu-content {
  position: relative;
  background-color: #fff;
  margin: 40px auto;
  padding: 25px;
  width: 90%;
  max-width: 900px;
  border-radius: 8px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.4s ease;
}

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

.quick-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #0055A4;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.quick-menu-header h2 {
  font-size: 2rem;
  color: #001C33;
  margin: 0;
}

.quick-menu-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #0055A4;
  transition: color 0.3s ease;
}

.quick-menu-close:hover {
  color: #00AEEF;
}

.quick-menu-body {
  max-height: 70vh;
  overflow-y: auto;
}

/* Sections */
.quick-menu-section {
  margin-bottom: 25px;
}

.quick-menu-section h3 {
  font-size: 1.5rem;
  color: #001C33;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
}

.quick-menu-section h3::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 80px;
  height: 2px;
  background-color: #0055A4;
}

.quick-menu-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quick-menu-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 10px;
  border-bottom: 1px dashed #e0e0e0;
  transition: background-color 0.3s ease;
}

.quick-menu-item:hover {
  background-color: #f5f8fb;
}

.quick-menu-name {
  font-weight: 500;
}

.quick-menu-price {
  font-weight: 600;
  color: #0055A4;
}

.quick-menu-footer {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
}

.quick-menu-print-btn {
  background-color: #0055A4;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.quick-menu-print-btn:hover {
  background-color: #00AEEF;
}

.quick-menu-print-btn i {
  font-size: 16px;
}

/* Media Queries */
@media (max-width: 768px) {
  .quick-menu-items {
    grid-template-columns: 1fr;
  }
  .transparent-menu-btn {
    padding: 12px 20px;
    font-size: 16px;
    min-height: 48px;
    min-width: 160px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    position: relative;
    z-index: 10;
  }
  
  .quick-menu-content {
    width: 95%;
    padding: 20px;
    margin: 20px auto;
  }
  
  .quick-menu-header h2 {
    font-size: 1.7rem;
  }
}

@media print {
  body * {
    visibility: hidden;
  }
  
  .quick-menu-modal,
  .quick-menu-modal * {
    visibility: visible;
  }
  
  .quick-menu-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    box-shadow: none;
    margin: 0;
    padding: 15px;
  }
  
  .quick-menu-close,
  .quick-menu-print-btn {
    display: none;
  }
}
